PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Android > Android HTC Devices > Legacy HTC Android Devices > HTC Hero
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2009, 01:07 AM
mercado79's Avatar
PPCGeeks Regular
Offline
Pocket PC: Hero
Carrier: Sprint
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
  #2 (permalink)  
Old 11-30-2009, 04:11 PM
athlet1c's Avatar
Kind of a BIG Deal
Offline
Pocket PC: HTC EVO
Carrier: SPRINT
Location: NEW YORK - NORTH CAROLINA
 
Join Date: Aug 2007
Posts: 1,021
Reputation: 950
athlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to athlet1c Send a message via Yahoo to athlet1c Send a message via Skype™ to athlet1c
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
Reply With Quote
  #3 (permalink)  
Old 12-03-2009, 01:32 PM
mercado79's Avatar
PPCGeeks Regular
Offline
Pocket PC: Hero
Carrier: Sprint
Threadstarter
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)
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
Reply With Quote
  #4 (permalink)  
Old 12-03-2009, 02:35 PM
athlet1c's Avatar
Kind of a BIG Deal
Offline
Pocket PC: HTC EVO
Carrier: SPRINT
Location: NEW YORK - NORTH CAROLINA
 
Join Date: Aug 2007
Posts: 1,021
Reputation: 950
athlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuffathlet1c knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to athlet1c Send a message via Yahoo to athlet1c Send a message via Skype™ to athlet1c
Re: ADB Remount Command

Its Ok im glad you found it
Reply With Quote
Reply

  PPCGeeks > Android > Android HTC Devices > Legacy HTC Android Devices > HTC Hero

Tags
hero, root


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:10 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com