|
||||
ADB Remount Command
I asked over at XDA but didn't get any responses, so... I figure I'll ask here as well. Does anyone know how to edit the /default.prop file so that "adb remount" will work? I know you have to change one line in the file from ro.secure=1 to ro.secure=0. I've tried editing it several ways, and each time the file reverts to the original "ro.secure=1" one.
Tonight, I thought to try again and found this site: http://www.math.ucla.edu/~jimc/g1-htc/debian.shtml Code:
adb pull /default.prop . (Edit it on your real machine) adb push ./default.prop /sdcard adb shell . . . su root mount -t rootfs -o remount,rw rootfs / dd if=/default.prop of=/default.prop.orig dd if=/sdcard/default.prop of=/default.prop mount -t rootfs -o remount,ro rootfs / Reboot the phone. I know that if I install the MoDaCo ROM (and probably others), this setting will be there by default, but I was hoping to do it on my own...manually. Any ideas?
__________________
Sprint Hero - Rooted!!
__________________ Hit me with some THANKS! |
|
||||
Re: ADB Remount Command
Ask Flipz Im sure he does
__________________
I can do all things through Christ who strengthens me
Have a listen to my music as well tell me what you think http://www.myspace.com/siremusicgroup Thank a Fellow Geeker If you have been helped by hitting the button below |
|
||||
Re: ADB Remount Command
Thanks athlet1c. Sorry, I hadn't noticed you'd replied. I tracked this down, sort of. Turns out this requires modifying the boot.img/recovery.img and then re-packaging it. Seems somewhat involved. More info here:
http://forum.xda-developers.com/showthread.php?t=443994 I've come up with a solution though. Posted it on XDA and will add a thread here in a sec. http://forum.xda-developers.com/showthread.php?t=593952 |
|
Tags |
hero, root |
|
|