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 12-03-2009, 01:37 PM
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, Superuser, and Busybox | 12/03/09

I'd been trying to figure out how to set up a few simple things in my rooted, post-MR, but otherwise stock CDMA Hero. Namely, ADB Remount permissions (/default.prop file), set up Superuser to properly manage permissions for apps that require root, and install Busybox. Ideally, I wanted to set these up manually. Turns out it's not as simple as one might hope. ADB Remount, for example, requires that you modify and repackage the boot.img/recovery.img.

So, what I've got here is a minimal update.zip file you can apply to your phone via the recovery console. Nothing crazy, it's just MoDaCo's ROM 1.1, but with everything taken out except for the aforementioned items. Once you patch your phone, just these items will be configured and your phone will still look, run, etc. the same as before. Also, a2sd will be copied to your /system/bin directory, but it's something that had to stay in the file for some reason, otherwise the phone wouldn't boot. Probably a setting Paul built into the boot.img.

In any case, here it is. It's working well for me. Hope it helps some of you out too.

****

Thanks goes to Paul of course (MoDaCo) camalot (Droid Explorer) and dagnasty for telling me about the auto-sign plugin that's available in Droid Explorer.

Instructions for manually installing Busybox over here:
http://forum.xda-developers.com/showthread.php?t=591303
Instructions for manually installing Busybox over here:
http://forum.xda-developers.com/showthread.php?t=591303

****
Attached Files
File Type: zip update_remount-su-busybox_20091203.zip (2.69 MB, 50 views) Click for barcode!
__________________
Sprint Hero - Rooted!!
__________________

Hit me with some THANKS!
Reply With Quote
  #2 (permalink)  
Old 12-03-2009, 01:54 PM
flipzmode's Avatar
VIP Member
Offline
Pocket PC: HTC Hero - Fresh ROM
Carrier: Sprint
 
Join Date: Jan 2009
Posts: 390
Reputation: 2820
flipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: ADB Remount, Superuser, and Busybox | 12/03/09

Quote:
Originally Posted by mercado79 View Post
IAlso, a2sd will be copied to your /system/bin directory, but it's something that had to stay in the file for some reason, otherwise the phone wouldn't boot. Probably a setting Paul built into the boot.img.
Yup. It's a script that was added to the boot.img-ramdisk that copies all of your apps to your sd when apps2sd's requirements are met.
__________________
Fresh Evo: 4.2 (Android 2.3.3) || 3.5.0.1 (Android 2.2)
Fresh Hero: 2.4.0 (Android 2.1) || Fresh Kitchen
CDMA Hero Development & Fresh ROM home: http://GeekFor.Me || Twitter
Reply With Quote
This post has been thanked 1 times.
  #3 (permalink)  
Old 12-03-2009, 02:56 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, Superuser, and Busybox | 12/03/09

Quote:
Originally Posted by flipzmode View Post
Yup. It's a script that was added to the boot.img-ramdisk that copies all of your apps to your sd when apps2sd's requirements are met.
Good to know! So, does that mean that by just having that in the package, a2sd is "working"...assuming you partition the sd card using the recovery menu's partition and format ext2 option.
Reply With Quote
  #4 (permalink)  
Old 12-03-2009, 03:16 PM
flipzmode's Avatar
VIP Member
Offline
Pocket PC: HTC Hero - Fresh ROM
Carrier: Sprint
 
Join Date: Jan 2009
Posts: 390
Reputation: 2820
flipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: ADB Remount, Superuser, and Busybox | 12/03/09

Quote:
Originally Posted by mercado79 View Post
Good to know! So, does that mean that by just having that in the package, a2sd is "working"...assuming you partition the sd card using the recovery menu's partition and format ext2 option.
There is also a wrapper script and a few others that I'm pretty sure are required to make it fully functional. I haven't read the actual source code on all of them.
Reply With Quote
  #5 (permalink)  
Old 12-03-2009, 03: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, Superuser, and Busybox | 12/03/09

Quote:
Originally Posted by flipzmode View Post
There is also a wrapper script and a few others that I'm pretty sure are required to make it fully functional. I haven't read the actual source code on all of them.
I guess I'll poke around the original file a bit and see what I can find. Thanks again.
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:12 AM.


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