PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Hero (http://forum.ppcgeeks.com/forumdisplay.php?f=114)
-   -   ADB Remount Command (http://forum.ppcgeeks.com/showthread.php?t=99127)

mercado79 11-29-2009 01:07 AM

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?

athlet1c 11-30-2009 04:11 PM

Re: ADB Remount Command
 
Ask Flipz Im sure he does

mercado79 12-03-2009 01:32 PM

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

athlet1c 12-03-2009 02:35 PM

Re: ADB Remount Command
 
Its Ok im glad you found it


All times are GMT -4. The time now is 11:11 PM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0