We have 209 guests and 1 member online

Fanatics Login

Content Feeds

  • Team Blog RSS Feed Team Blog RSS Feed AndroidFanatic - Team Blog RSS Feed
  • Android App Reviews Android App Reviews Applications, unofficial repository, discussion and news from the world of the Android Mobile OS. Join the chat and have your say, ask questions, and buy phones and accessories.
Got root? Need more? Install Busybox! (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Got root? Need more? Install Busybox!
#1689
mikedmeyer (Moderator)
Moderator
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 6 Months ago Karma: 2  
ghostwalker wrote:
QUOTE:
Regarding that PATH EXPORT, it is persistent on 3 of our test G1's - looking into that for you now.


Has there been any progress on this? The path change is not persistent on my phone either.

I tried to edit the PATH statement in my /init.rc and no matter what I try can't get it writable (even as su; tried to chmod it; nothing works)



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1730
SadisticMonk27 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 6 Months ago Karma: 0  
ok. when i type: ./busybox -install i get: -install: applet not found. all was just fine until this step. Once again I need your help O Great One!



 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1732
dangermouse (Admin)
Admin
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 6 Months ago Karma: 9  
SadisticMonk27 wrote:
QUOTE:
ok. when i type: ./busybox -install i get: -install: applet not found. all was just fine until this step. Once again I need your help O Great One!:dry:


try
./busybox --install

(thats two hyphens)

Dont forget to post results?



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/26 18:33 By dangermouse.
  The administrator has disabled public write access.
#1739
zabouth (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 6 Months ago Karma: 0  
[Removed Dupe Post]



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/26 23:34 By zabouth.
  The administrator has disabled public write access.
#1740
zabouth (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 6 Months ago Karma: 0  
Tested on G1 With JF 1.43 (Fixed)

There is a file called init.rc that be found in /system/init.rc

This is loaded on Start-up


So here we go

1. Type
su

2.Type (This will make your system path writable) on your phone
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

3. On a system with the Android SDK Installed type
adb pull /system/init.rc c:/init.rc

NB Note the system there are 2 init.rc files /init.rc loads first the calls /system/init.rc

4. Add the line To the File (I use notepad++ to edit on windows because it saves with linux brakelines)
Code:

export PATH=/data/busybox:/usr/bin:/usr/sbin:/bin:/sbin:/system/sbin:/system/bin:/system/xbin:/system/xbin/bb:/data/local/bin
You can edit this to sute your needs. This is mine for busybox. 5. Type adb push c:/init.rc /system/init.rc 6. Reboot your Phone For some reason after the install su did not work i had to use /usr/bin/su I will try to add an alis to fix this.



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/26 23:41 By zabouth.
  The administrator has disabled public write access.
#1741
mikedmeyer (Moderator)
Moderator
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 6 Months ago Karma: 2  
I tried that already, but not using adb. Couldn't overwrite the original init.rc no matter what I tried.

EDIT: I was trying to change the /init.rc, not /system/init.rc.

I was able to do it in system as you said but ran into other problems. When I open terminal I get the $ prompt and the colors, but when I type su it says must be setuid and won't go to the # prompt.



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/27 00:39 By mikedmeyer.
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop