We have 181 guests 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!
#228
dangermouse (Admin)
Admin
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Got root? Need more? Install Busybox! 1 Year, 7 Months ago Karma: 9  
UPDATED!!!

NOTE YOU DO NOT NEED THIS IF YOU ARE RUNNING JF's RC9(UK) or RC33(US) modded firmware as busybox is already installed.


The toolbox that is provided on the Android environment is pretty limited. I wanted something more useful and familiar. Busybox to the rescue! Thanks to patient member 'trapsler' for his procedure mods.

Download the busybox binary from here:
http://androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=14

To use it simply do (as root)

mkdir /data/busybox, on your G1 terminal.

Then copy the busybox binary (link above) across to to your SDCARD

Then move it to your newly created /data/busybox folder like this:

cat /sdcard/busybox > /data/busybox

Make the busybox binary executable:

chmod 4755 /data/busybox/busybox

Once you do this you can install the necessary hardlinks by doing:

cd /data/busybox

./busybox --install.

Once doing this you should have links to all the applets in the /data/busybox directory.

To make this useful you probably want to put this into your PATH:

# export PATH=/data/busybox:$PATH.

You should now be able to get access to all the useful busybox applets.



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/03/21 12:16 By dangermouse.
  The administrator has disabled public write access.
#348
NinjaNerdBGM (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 7 Months ago Karma: 0  
I get as far as typing:

# su ./busybox --install

And then I get the following error:

'./busybox: 1: Syntax error: word unexpected (expecting ""'

What am I doing wrong?



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/17 19:31 By NinjaNerdBGM.
  The administrator has disabled public write access.
#349
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, 7 Months ago Karma: 9  
Are you running the modded firmware by 'jesusfreke' ? As per here: http://www.androidfanatic.com/cms/component/fireboard/?func=view&id=250&catid=9

You have root?



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/17 20:11 By dangermouse.
  The administrator has disabled public write access.
#368
traspler (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 7 Months ago Karma: 0  
Puh... finally got it all running
It would be great if you could add the step to copy it:
Code:

cat /sdcard/busybox > /data/busybox
Because cp is only available after you installed busybox and mv doesn't work here. Oh and before I was able to install it I had to do:
Code:

$ su # chmod 755 /data/busybox/busybox
after that your instructions worked perfectly. After # export PATH=/data/busybox:$PATH all the new tools like cp are available but it looks like I have to do this everytime I relaunch the Terminal and it also changes the look completely. I like that but is there a way to make it persistent and can I somehow change the blue color of the folders? All the apps are also not available after a terminal relaunch... It would also be great to know which version of busybox this is. Thank you



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/18 18:38 By traspler.
  The administrator has disabled public write access.
#370
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, 7 Months ago Karma: 9  
Thanks Trapsler, mods to the procedure have been implemented above. Well done, it seems there are slight variations to procedure in different countries, but we are getting there now.



UPDATE: Anyone else getting the color changes in terminal? We don't get them here?

Note to Trapsler - check your Private Messages.



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/18 19:34 By dangermouse.
  The administrator has disabled public write access.
#372
traspler (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Got root? Need more? Install Busybox! 1 Year, 7 Months ago Karma: 0  
So normally my Terminal looks like this:


But after I do the export, it looks like this:

neat, isn't it?

But the PATH adjustment is not persistent and I've got no clue how I would make it so (where do I have to add the export? How can I edit that file?):




 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop