Hi,
i was trying to change the /system permissions using adb shell... commands shown in the attached screenshot
my main purpose was to install CWM for which we need to push modified recovery into /system/bin which requires rw permissions....
to do that i used the command chmod 6 /system from root and then tried to mv recovery file from sd root to /system/bin but that failed
when i checked the /system attributes using stat -c %A /system it returned "d------rw-"
after that i tried to mount the system from shell command but failed... then the phone got hanged and when i removed the USB cable it rebooted straight into recovery...
since the ive tried to check directory listing with adb ls /system command but it returns nothing... adb ls /data also shows only 3 files... i had taken a backup of /system using adb pull but i dont knw how much that'll help...
i did not take any backups before that... was trying to install CWM so that i could take rom backup....
im not able to boot the phone normally...
i would like to know if i can go back to original state?? if not is ther any other solution like flashing a new ROM or something...??
i would like to extract contacts nd messages if possible...
System config:
- Samsung Galaxy S 4G... everything stock
- Rooted!!
thanks in advance...
chi_visor said:
Hi,
i was trying to change the /system permissions using adb shell... commands shown in the attached screenshot
my main purpose was to install CWM for which we need to push modified recovery into /system/bin which requires rw permissions....
to do that i used the command chmod 6 /system from root and then tried to mv recovery file from sd root to /system/bin but that failed
when i checked the /system attributes using stat -c %A /system it returned "d------rw-"
Click to expand...
Click to collapse
'chmod 6 /system' did what you asked it to do. chmod, on a basic level, uses three (3) sets of permissions: global, group, and user. What you effectively did was set the user permissions to rw but blanked out everything else (like chmod 006).
If you can get into the shell, do this:
chmod 755 /system
That should put it back the way it was (7 = rwx for global, 5=rx for group, 5=rx for user)
See if that helps. Report back and let me know.
Real quick; I had my permissions backward. Although you still want 755 it should've read like this:
rwx for user
rx for group
rx for global
I had them backward.
Thanks stephen_w for ur reply...
I cant get into shell when i enter adb shell it throws this message
- exec '/system/bin/sh' failed: Permission denied (13)
any idea??
chi_visor said:
Thanks stephen_w for ur reply...
I cant get into shell when i enter adb shell it throws this message
- exec '/system/bin/sh' failed: Permission denied (13)
any idea??
Click to expand...
Click to collapse
I was worried about something like that. My guess is that your best bet is to see if you can get into download mode and flash a new ROM. Were you on Froyo or GB before? If you were on Froyo & you're trying to get to GB you'll need to insure you flash a ROM with the right boot loaders first, like chadster's KG4 (http://forum.xda-developers.com/showthread.php?t=1183413).
Let me know if I can be of help.
I was worried that I would have to flash a new ROM. Not that i mind doing it but ive not backed up anything!! I'd atleast like to see my contacts somewhere... let me know if that's possible...
So there's no other way to come out of this deadlock??
Im on Froyo... If its possible to roll back to stock Froyo it'll be great... If not i'll go for GB... Ive nothing against GB but i'd like to be sure everything works the way it was b4...
Its great to know you have and understanding of my problem... thanks mate...
chi_visor said:
I was worried that I would have to flash a new ROM. Not that i mind doing it but ive not backed up anything!! I'd atleast like to see my contacts somewhere... let me know if that's possible...
So there's no other way to come out of this deadlock??
Im on Froyo... If its possible to roll back to stock Froyo it'll be great... If not i'll go for GB... Ive nothing against GB but i'd like to be sure everything works the way it was b4...
Its great to know you have and understanding of my problem... thanks mate...
Click to expand...
Click to collapse
If your contacts were set to sync with Google or your carrier, then they will sync back to your phone after you flash. Given you were on Froyo, you can grab one of the Froyo ROMs from the bible (http://forum.xda-developers.com/showthread.php?t=1117554). Those will likely be rooted, deodexed, or something along those lines. If you want pure stock, you can grab that from samfirmware.com. You'll have to register to navigate to the firmware, though. I'd post a link but it wouldn't work right. Just go to the 'mobile' link and look for the SGH-T959V stuff. Either way, KD1 was the latest Froyo out there from Samsung.
Yup... I'll check on samfirmware.com..
sad abt contacts cuz dint sync the latest ones with google...
anyway i'll try the other method...
thanks..
Sorry man. Best of luck to you. Let me know if you get it fixed.
hi stephen_w,
I downloaded the T959VUVKD1 firmware from samfirmware.com....
I used odin to flash it...
after switchin on the phone in download mode... i flashed the firmware by browsing the file in PDA and leaving PIT, BOOTLOADER, Phone and CSC blank...
the process started and after cache.fs... below it was message:Complete(Write) operation failed.... it stopped nd showed fail in red...
i held the power key for a long time but then it started to show a phone linked to the computer with a yellow exclamation sign...
what does this mean?? im not able to boot into either recovery or download mode now...
please help...
ODIN will still see it when it looks that way, so don't fret! I had similar issues before but mine was a faulty download. Try using this one. It's not 100% stock as it's been deodexed, but it should work:
http://www.multiupload.com/7L5YDG8X8V
Ya im downloading tat one... Odin is detecting nd working... so i guess re-flashing should do the trick...
Jus to confirm I should leave fields other than PDA blank rite?
Yes, PDA only & let ODIN decide what should be checked.
Sent from my SGH-T959V using XDA App
Up and running jus like b4...
Thanks bro...
No worries; glad you're working again!
Related
Update: I'd recommend using the full update found here instead - it's less likely to fail than this one based on the patch update.
I've managed to build a working RC30 update that retains root via adb shell. Much of the credit goes to the people in this thread. All I did was build an updated boot.img with ro.secure set to 0, and reinsert it into the RC30 update.
Installing it will require the modded RC29 recovery image found in that thread.
A warning: if you've modified any files that are patched in the RC30 update, bad things will happen. Also, I had to disable the version check, so if you attempt to apply the update to anything but RC29, bad things will happen. I'm not responsible if your phone is bricked, bursts into flames, or even starts walking around on it's own and attacks you.
Modified RC30 update
did you have any trouble installing it? I will give it a try later today.
1 question, so theres no root on the phone Only by adb?
Edit:2 questions have you try to put busybox on?
It worked fine for me. Just follow the manual firmware update procedure, and it should work, as long as you're already running the modified RC29.
humble said:
1 question, so theres no root on the phone Only by adb?
Click to expand...
Click to collapse
Yeah, it closes the root console bug. However, once you have root via adb, you can do pretty much anything you want, including create a new suid root shell.
yes thats all i need to know disregard my edit
it dose not work I'm stuck! i got some sort of error
It won't let me mount the SD card... gonna ask in the other thread
What was the error exactly? Did it come at the recovery screen when you first tried to update, or later? Is your phone still working?
rale00 said:
What was the error exactly? Did it come at the recovery screen when you first tried to update, or later? Is your phone still working?
Click to expand...
Click to collapse
Thanks for asking the error was 105, yes later, and yes
and this is what i did
THANK GOD!! for JesusFreke Restore Original RC29 Boot Image.zip. if what happened to me happens to anyone just rename that file up above to update and your golden.
Note: i used it and now i have
kila-user 1.0 TC4-RC30 116143
ota-rel-keys,release-keys
i dont understand... and i sill have root on my phone and busybox, and telnetd exploit still works
maybe i should try it again?
It sounds like the update partially completed for you, since it claims to be RC30, but it failed either sometime before or during the flash of the updated boot.img. boot.img has the fix for the telnetd exploit, which is why it's still working for you after restoring the RC29 version.
If you try to run the RC30 update again, it will probably fail, since some or all of your other files are already updated.
The bad news is, you probably won't be able to install any future updates with the state you're in now. What you probably want to do now is try to figure out how far along in the update script it failed.
If you can download the following files off your phone, and post them somewhere, I'll compare them to the versions in a completely updated RC30 and should be able to get a better idea of where you are.
/system/framework/android.awt.jar
/system/app/GoogleSearch.apk
/system/app/Bugreport.apk
What good thing i made a backup of my flash i am going to see if i can restore it using this methodhttp://forum.xda-developers.com/showthread.php?t=442831
but witch partitions should i flash? and is it a good idea
rale00 said:
/system/framework/android.awt.jar
/system/app/GoogleSearch.apk
/system/app/Bugreport.apk
Click to expand...
Click to collapse
how do i get them to the sdcard? i will post them
I can get root through adb shell after this, which is fantastic!
So I try this from adb shell:
cd /system/bin
echo sh > su
chmod 4755 su
But when I run su from the phone's terminal, I don't get a root shell. (reboot gives me a reboot: Operation not permitted.
Any ideas?
humble said:
What good thing i made a backup of my flash i am going to see if i can restore it using this methodhttp://forum.xda-developers.com/showthread.php?t=442831
but witch partitions should i flash? and is it a good idea
Click to expand...
Click to collapse
Oh, that's good news. If you have a backup of mtd3 / "system", then you should be able to just restore that and be in good shape.
rale00 said:
Oh, that's good news. If you have a backup of mtd3 / "system", then you should be able to just restore that and be in good shape.
Click to expand...
Click to collapse
thanks, but i wanna help out with those files. and do you know the exact commands to copy(i know cp and"???? ") and to restore mtd3
SORRY........
to restore is this right....
cat /dev/zero >> /dev/mtd/mtd3
flash_system /sdcard/mtd3.img
To copy them to sd card:
cat /system/framework/android.awt.jar > /sdcard/android.awt.jar
cat /system/app/GoogleSearch.apk > /sdcard/GoogleSearch.apk
cat /system/app/Bugreport.apk > /sdcard/Bugreport.apk
I haven't tried this, so I don't know if it works, but to restore system, if you backed it up using the directions in the other thread, should just be:
flash_image system /sdcard/mtd3.img
I wouldn't recommend cat /dev/zero to it first, because flash_image is actually on the system partition.
rale00 said:
To copy them to sd card:
cat /system/framework/android.awt.jar > /sdcard/android.awt.jar
cat /system/app/GoogleSearch.apk > /sdcard/GoogleSearch.apk
cat /system/app/Bugreport.apk > /sdcard/Bugreport.apk
I haven't tried this, so I don't know if it works, but to restore system, if you backed it up using the directions in the other thread, should just be:
flash_image system /sdcard/mtd3.img
Click to expand...
Click to collapse
Thanks rale00, when im finish if it works i'l post
im using the stock .7 official, rooted. i deleted a bunch of crap, running clockwork mod recovery.
i cant adb remount or push to /system/framework. says its read only or some junk...will someone please help me fix this?? ive tried 'cooking' a rom, im not great at it and get frustrated. is there any way to get it while using the rom im currently running? i just want to edit the ev icon and the bars but cant push the file to my device. please help!!
thank you thank you
try the Q & A forum.....
http://forum.xda-developers.com/forumdisplay.php?f=650
someonenewhere said:
try the Q & A forum.....
http://forum.xda-developers.com/forumdisplay.php?f=650
Click to expand...
Click to collapse
but that would be to easy!
I'd recommend just remounting the /system partition while in Clockwork Mod... there is no real point to pushing a file while out of recovery since 1. You won't see the change, and 2. You'll start getting FC's. Note that you shouldn't have to use adb remount either in recovery... go to Partitions, and then mount /system.
mrinehart93 said:
I'd recommend just remounting the /system partition while in Clockwork Mod... there is no real point to pushing a file while out of recovery since 1. You won't see the change, and 2. You'll start getting FC's. Note that you shouldn't have to use adb remount either in recovery... go to Partitions, and then mount /system.
Click to expand...
Click to collapse
ill try that, thank you for the INFORMATIVE response...
mrinehart93 said:
I'd recommend just remounting the /system partition while in Clockwork Mod... there is no real point to pushing a file while out of recovery since 1. You won't see the change, and 2. You'll start getting FC's. Note that you shouldn't have to use adb remount either in recovery... go to Partitions, and then mount /system.
Click to expand...
Click to collapse
thanks a lot man. i did that and now ive rid my display of that ugly ass Ev icon. thanks!
tailsthecat3 said:
thanks a lot man. i did that and now ive rid my display of that ugly ass Ev icon. thanks!
Click to expand...
Click to collapse
No problem. Just next time remember to post in the Questions and Answers forums, as this forum we are in right now is for HTC Hero projects, such as new ROM's, etc.
mrinehart93 said:
I'd recommend just remounting the /system partition while in Clockwork Mod... there is no real point to pushing a file while out of recovery since 1. You won't see the change, and 2. You'll start getting FC's. Note that you shouldn't have to use adb remount either in recovery... go to Partitions, and then mount /system.
Click to expand...
Click to collapse
You can do it while your phone is running.
Code:
adb remount
adb shell stop
adb push framework-res.apk /system/framework/framework-res.apk
adb shell start
Phone reboots and you have your new framework mods up and running.
in your build.prop replace the current text with this: you can get things like tv.com back
Code:
ro.build.description=passion-user 2.2.1 FRG83 60505 release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.2.1/FRG83/60505:user/release-keys
i would upload one for people to flash but as some many people are on diff roms/kernels it would just cause more issues then its worth best way to go about fixing it is pulling the file from your phone (or the zip from teh rom your on). swapping out the text and pushing it back to /system
all credit goes to Decad3nce for the fix
Didn't s work for me...
Sent from my SPH-D700 using XDA App
you may have to reboot
Worked for me! Thanks.
Sent from Froyo!
Thanks worked great!!
shabbypenguin said:
in your build.prop replace the current text with this:
Click to expand...
Click to collapse
Wouldn't you like to be more specific? Your current instructions technically mean to replace the entire file with just those three lines...
Sent from my SPH-D700 using XDA App
Please note that users of Quantum Rom already have this fix applied, since 1.3
(Used the epic 2.1 key in 1.3, 1.4+ use the nexus one key)
Thanks shabby xD
Sent from my SPH-D700 using Tapatalk
Here's what I did from my PC with adb. (I have adb in my PATH so adjust the commands for wherever you might have adb.exe)
adb pull /system/build.prop
Then I edited the 2 lines on my PC with notepad++ and saved. Then I put it on my sdcard, remounted /system readwrite and copied it over to /system/build.prop and then rebooted.
adb push build.prop /sdcard/build.prop
adb shell
su (if your ROM didn't already drop you in to root, and check your phone for the superuser popup)
mount -t rfs -o remount,rw /dev/block/stl9 /system
cat /sdcard/build.prop > /system/build.prop
reboot
Sent from Froyo!
didnt work for me. I been trying to get the PayPal 2.2 to show up on the market but its a no go.
Im using Froyo also.
anyway we could just get the paypal.apk??
This didn't work for me either. Trying to get Pocket Blu installed, but it isn't working. TV.com isn't showing either. FWIW I have the new Market app if that means anything.
Any ideas?
Milkman00 said:
This didn't work for me either. Trying to get Pocket Blu installed, but it isn't working. TV.com isn't showing either. FWIW I have the new Market app if that means anything.
Any ideas?
Click to expand...
Click to collapse
Did you reboot your phone?
yes, and after rebooting a rechecked my build.prop file to make sure it took, and it was correct
Nevermind, I got it to work...
The end of the second line was missing the s. Put the s in, and it works perfect.
Can I get some clarification on this? I am using Mammon 1.0.3.1 and cannot get my sprint football ap to work.
Would this be an example of what this would fix?
Could the MSID number in my phone being different from my phone number be the reason it doesn't think this is a SPrint phone?
Thanks for posting a fix but it also didn't seem to work for me. I have been trying to load a program called Laser Appraiser from maket with no avail. Can anyone find it in their market?
worldlyinquirer said:
Thanks for posting a fix but it also didn't seem to work for me. I have been trying to load a program called Laser Appraiser from maket with no avail. Can anyone find it in their market?
Click to expand...
Click to collapse
Laser Appraiser shows up for me.
Milkman00 said:
Laser Appraiser shows up for me.
Click to expand...
Click to collapse
Thanks, Hmm I think I'll just wait for the latest froyo release and see if that helps
I tried downloading it and saving it to my SD card, but it's a protected app. I use AppMonster, which backs up all the apps for when I do flashing, but it doesn't do protected ones. Sorry man, I tried.
sorry i havent replied, most of the roms out there SHOULD have this baked in... i know acs and quantum do and the cm rom should but ill ask noob just to be sure.
So I accidentally bricked the new Samsung Stellar and my backups got wiped during the process.
Can anyone find the stock firmware/kernel for the Samsung Stellar?
Much appreciated.
sovereign73811 said:
So I accidentally bricked the new Samsung Stellar and my backups got wiped during the process.
Can anyone find the stock firmware/kernel for the Samsung Stellar?
Much appreciated.
Click to expand...
Click to collapse
mines isnt bricked but im looking for the same thing. Deleted some stuff I shouldnt have and no getting system ui force close. Let me know if you have an luck. Ill do the same
Do you still have the stock recovery? I may be able to get into my old OS if you can get the stock recovery pulled off.
Unfortunately I'm not sure how you will extract the recovery ROM off of your phone...I'll keep looking around.
mcarrion78 said:
mines isnt bricked but im looking for the same thing. Deleted some stuff I shouldnt have and no getting system ui force close. Let me know if you have an luck. Ill do the same
Click to expand...
Click to collapse
I'm curious, have you reinstalled the pesky stock apps to see if the OS crashes would stop? There may be something to that.
Also I possibly can help you get an image but I need a recovery image. If you're still rooted, download this:
http://android.podtwo.com/romdump/
Download Terminal Emulator from the Google Play Store and then follow these instructions:
http://forum.xda-developers.com/showthread.php?t=1771347
If I can get back into my phone by restoring the stock recovery, I may be able to get you an image that works.
Uh...OK...feel free to; it keeps the topic up fresh on the first page! lol.
Anyways I managed to theorize that a recovery is all I need....dang, looks like that's both of us now eh?
Im still rooted. im trying to figure out how to pull the recovery myself to possibly help in building CWM for the phone. I know removing some stock apps is what caysed my force close i just dont know all of the ones i deleted. I didn't think to back any of them up
I've got something up there that should help you pull out the stock recovery as well.
Romdump should work and should not brick anything so please give it a try.
sovereign73811 said:
Also I possibly can help you get an image but I need a recovery image. If you're still rooted, download this:
http://android.podtwo.com/romdump/
Download Terminal Emulator from the Google Play Store and then follow these instructions:
http://forum.xda-developers.com/showthread.php?t=1771347
If I can get back into my phone by restoring the stock recovery, I may be able to get you an image that works.
Click to expand...
Click to collapse
used romdump and this is what i get. it leaves me a text file thats 2.46 know that cant be it
c:\SDK\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # /data/local/romdump
/data/local/romdump
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : IMM76D.I200VRALG4
Creating required files... cat: can't open '/proc/mtd': No such file or directory
Opening mtd table... Segmentation fault
139|[email protected]:/ #
mcarrion78 said:
used romdump and this is what i get. it leaves me a text file thats 2.46 know that cant be it
c:\SDK\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # /data/local/romdump
/data/local/romdump
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : IMM76D.I200VRALG4
Creating required files... cat: can't open '/proc/mtd': No such file or directory
Opening mtd table... Segmentation fault
139|[email protected]:/ #
Click to expand...
Click to collapse
That's complicated. It looks like you use ADB from your PC. I'm curious, is your phone stable enough to run the Romdump from the phone itself? You will need terminal emulator to do this.
There is also a method that just works for recovery and boot partitions (the ones I and a few others need). Take a look here and scroll down to the heading that says "Alternative Method If The Above Does Not Work:".
http://www.addictivetips.com/mobile...es-boot-recovery-and-system-partition-images/
i get the same thing using terminal on my phone
http://www.addictivetips.com/mobile...es-boot-recovery-and-system-partition-images/
Have you looked at this link? It even has an alternate way to use romdump.
I don't know if this has anything to do with what we need for a stock ROM but here's something interesting:
http://androidforums.com/elite-all-things-root/551775-well-lets-get-ball-rolling-11.html
Again to any of you who have a rooted Samsung Stellar, please help us with a Stock ROM image!
heres the verizon stuff you were looking for
https://www.dropbox.com/sh/chkru9gi16k9ar8/G-DHp6SgnD
Thanks, although we already have that and we got a phone fixed for it...too bad not mine.
Hey did you get the message? Here I'll post it again:
OK people: here's a tip I've received from an XDA developer expert:
Quote:
a quick and dirty explanation (need root)
Code:
dd if=/dev/block/mmcblk0p1 of=/sdcard/output.img
this will save the partition mmcblk0p1 to output.img
now, to determine what partitions are
on my device its:
Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name/
but you're scheme and directory structure there might be a little different, so adjust accordingly
Longer Version:
http://www.darkyrom.com/index.php?th...with-adb.8059/
yeah i got that message and i got the output.img just havent uploaded it
What were you able to extract by chance?
If you could find a recovery partition, that would be great.
even in recovery its actually loaded to RAM and not mounted (this allows you to flash to it while in recovery)
do:
Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name
(its msm_sdcc.1 on my device, yours may be different but it should be similar)
Click to expand...
Click to collapse
Another tip to extract and backup the stock recovery.
stock rom
hey so im reading the threads and i wanted to know some kind of update. Did people test out the stock rom yet? Any good news?
Yes, thankfully we've got them working (thanks invisiblek!) and I'll make a further update in a few hours.
Where is the thread for this at?
Has this been dropped all together? I was looking for some stock and/or stock-rooted roms for this thing. Any hope out there?
1. place the phone in download mode
2. open odin
3.download this file(https://www.dropbox.com/s/l96om7p00owmw0r/boot.tar.md5?dl=0) and place it in the ap section of odin
4.choose start
5.do the steps here http://galaxys7root.com/galaxy-s7-s...-attt-mobilesprintverizon-galaxy-s7s7-edge/3/
I only needed pages 3 and 4 because you need to use the files above instead!
6.Rooted
Please let me know if you have any issues!
activefan01 said:
Please let me know if you have any issues!
Click to expand...
Click to collapse
Is there a specific rom you need to do this on?
Edit: Don't bother the MD5 isn't going to work in Odin anyway as it's been modified and doesn't match.. Besides what makes you think the S7 is anything similar to the 5?
MrMike2182 said:
Is there a specific rom you need to do this on?
Edit: Don't bother the MD5 isn't going to work in Odin anyway as it's been modified and doesn't match.. Besides what makes you think the S7 is anything similar to the 5?
Click to expand...
Click to collapse
it always does that when i rename it idk why they get confusing when i leave them the same but here is the unrenamed file https://www.dropbox.com/s/l96om7p00owmw0r/boot.tar.md5?dl=0
finally i real developer. would this work on s6 edge plus?
warriorpluto said:
finally i real developer. would this work on s6 edge plus?
Click to expand...
Click to collapse
no but i can get it pm me the model number and build number
activefan01 said:
no but i can get it pm me the model number and build number
Click to expand...
Click to collapse
I got that kernel to go after so many tries but when you try to do root.bat it freezes the entire phone however I do have root access via adb shell from command prompt but that's it and when trying to issue the remount command on /system it freezes also.
that kernal should allow you to root what all steps did you do?
activefan01 said:
that kernal should allow you to root what all steps did you do?
Click to expand...
Click to collapse
I did everything you did.. Still freezes right when it tries to adb shell mount -o rw,remount /system and then you can't do nothing but reboot. Went back to stock backup already.
MrMike2182 said:
I did everything you did.. Still freezes right when it tries to adb shell mount -o rw,remount /system and then you can't do nothing but reboot. Went back to stock backup already.
Click to expand...
Click to collapse
How'd you go to stock backup? Does this seem promising?
tylerlawhon said:
How'd you go to stock backup? Does this seem promising?
Click to expand...
Click to collapse
It might be promising however I've been working on this all night and haven't gotten anywhere except for root access within command prompt. As soon as you type root.bat the first thing it does is adb shell mount -o rw,remount /system but the entire phone freezes! I can't seem to get past this freezing crap because you can't do anything with the phone when it freezes it.
MrMike2182 said:
It might be promising however I've been working on this all night and haven't gotten anywhere except for root access within command prompt. As soon as you type root.bat the first thing it does is adb shell mount -o rw,remount /system but the entire phone freezes! I can't seem to get past this freezing crap because you can't do anything with the phone when it freezes it.
Click to expand...
Click to collapse
If it's giving you root access in a terminal, could you not push the root files that way? Or do you have to remount to do that? I honestly don't know is why I ask. Would love to root this beast, but I'm not a lot of help with the more deep down technical stuff.
tylerlawhon said:
If it's giving you root access in a terminal, could you not push the root files that way? Or do you have to remount to do that? I honestly don't know is why I ask. Would love to root this beast, but I'm not a lot of help with the more deep down technical stuff.
Click to expand...
Click to collapse
You have to remount the system as writable otherwise trying to write a file to system doesnt work, and as soon as I issue the command adb shell mount -o rw,remount /system then phone just freezes but I'm looking into an answer for that but no luck so far.
MrMike2182 said:
You have to remount the system as writable otherwise trying to write a file to system doesnt work, and as soon as I issue the command adb shell mount -o rw,remount /system then phone just freezes but I'm looking into an answer for that but no luck so far.
Click to expand...
Click to collapse
What is it supposed to do? Is it supposed to reboot? I might be open to trying on mine.
tylerlawhon said:
What is it supposed to do? Is it supposed to reboot? I might be open to trying on mine.
Click to expand...
Click to collapse
No it's supposed to remount the system as writable because I need to be able to push su into /system/xbin but when I try to it gives me the error system READ only which means I cannot write to it. And if I were you be prepared to lose everything and factory reset in the end otherwise it's not going to hold no WiFi passwords or nothing every time I reboot I need to rein put all the WiFi crap and it's getting annoying.
MrMike2182 said:
No it's supposed to remount the system as writable because I need to be able to push su into /system/xbin but when I try to it gives me the error system READ only which means I cannot write to it. And if I were you be prepared to lose everything and factory reset in the end otherwise it's not going to hold no WiFi passwords or nothing every time I reboot I need to rein put all the WiFi crap and it's getting annoying.
Click to expand...
Click to collapse
I'm pretty much where you are at. I don't think DM-Verify is turned off in the kernel but it is a eng one. If you get tired of it just flash the boot.img below and you will be back to normal. It says PI1 but it should work fine if you are on MM. I flashed it on PL4 no problem.
View attachment 4004361
Misterxtc said:
I'm pretty much where you are at. I don't think DM-Verify is turned off in the kernel but it is a eng one. If you get tired of it just flash the boot.img below and you will be back to normal. It says PI1 but it should work fine if you are on MM. I flashed it on PL4 no problem.
View attachment 4004361
Click to expand...
Click to collapse
Yeah I already flashed back but apparently I'm going to have to factory reset again anyway because after flashing the original kernel it still won't keep my WiFi passwords saved and I have to keep redoing it.
---------- Post added at 12:35 PM ---------- Previous post was at 12:26 PM ----------
I'm curious as to why the file system would deny me to mv su from my sdcard into /system/xbin when I'm ROOT... But if I so much as try to mount it as re writable it freaks out and freezes. But I can adb shell mount -o rw,remount / and adb shell mount rw,remount rootfs / with no issue but just that /system absolutely will not.
MrMike2182 said:
Yeah I already flashed back but apparently I'm going to have to factory reset again anyway because after flashing the original kernel it still won't keep my WiFi passwords saved and I have to keep redoing it.
---------- Post added at 12:35 PM ---------- Previous post was at 12:26 PM ----------
I'm curious as to why the file system would deny me to mv su from my sdcard into /system/xbin when I'm ROOT... But if I so much as try to mount it as re writable it freaks out and freezes. But I can adb shell mount -o rw,remount / and adb shell mount rw,remount rootfs / with no issue but just that /system absolutely will not.
Click to expand...
Click to collapse
I feel like it's infuriating because root is right there but just out of reach. I've been using my m8 because I have root and my screen is peeling on my note, so if someone wants to shoot me some instructions, I can see what I get.
tylerlawhon said:
I feel like it's infuriating because root is right there but just out of reach. I've been using my m8 because I have root and my screen is peeling on my note, so if someone wants to shoot me some instructions, I can see what I get.
Click to expand...
Click to collapse
I really don't think you should try right now considering that both myself and @Misterxtc know what we're doing already and there really isn't much point in trying to give instructions out just to end up in the same exact situation we are.
And by the way, there is root. It's just in the console that's it!
By the way you can adb pull the /efs/carrier/HiddenMenu from the phone to your computer and change it and then push it back and then viola secret codes in the phone dialer work such as *#0*# and many others! If you do change it reboot before it'll take effect. Also it will remain this way even with doing a factory reset.
Misterxtc said:
I'm pretty much where you are at. I don't think DM-Verify is turned off in the kernel but it is a eng one. If you get tired of it just flash the boot.img below and you will be back to normal. It says PI1 but it should work fine if you are on MM. I flashed it on PL4 no problem.
View attachment 4004361
Click to expand...
Click to collapse
I tried doing adb shell mount -o rw,remount /system /system and I get permission denied as root.. wth?