View Single Post
  #1 (permalink)  
Old 11-29-2009, 01:07 AM
mercado79's Avatar
mercado79
PPCGeeks Regular
Offline
Location: Boston, MA
 
Join Date: Aug 2008
Posts: 241
Reputation: 290
mercado79 is becoming a PPCGeeks regularmercado79 is becoming a PPCGeeks regularmercado79 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
The commands worked, but it didn't stick after reboot either.

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!
Reply With Quote