PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Hero (http://forum.ppcgeeks.com/forumdisplay.php?f=114)
-   -   ADB Remount, Superuser, and Busybox | 12/03/09 (http://forum.ppcgeeks.com/showthread.php?t=99925)

mercado79 12-03-2009 01:37 PM

ADB Remount, Superuser, and Busybox | 12/03/09
 
1 Attachment(s)
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

****

flipzmode 12-03-2009 01:54 PM

Re: ADB Remount, Superuser, and Busybox | 12/03/09
 
Quote:

Originally Posted by mercado79 (Post 1383010)
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.

mercado79 12-03-2009 02:56 PM

Re: ADB Remount, Superuser, and Busybox | 12/03/09
 
Quote:

Originally Posted by flipzmode (Post 1383074)
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.

flipzmode 12-03-2009 03:16 PM

Re: ADB Remount, Superuser, and Busybox | 12/03/09
 
Quote:

Originally Posted by mercado79 (Post 1383224)
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.

mercado79 12-03-2009 03:32 PM

Re: ADB Remount, Superuser, and Busybox | 12/03/09
 
Quote:

Originally Posted by flipzmode (Post 1383270)
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.


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

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


Content Relevant URLs by vBSEO 3.6.0