Jailbreak your iPhone

How to Install busybox on a rooted device


android256 In our last post we talked about Droid Explorer to manage your Android device using Windows Explorer. Droid Explorer works with a rooted android device with busybox already installed. BusyBox is a single multicall binary that packages the functionality of many popular standard Unix tools. BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc

Now the question is how to install busybox? Here is the workaround, you need to do in order to install busybox on your rooted device

  • Download the busybox (version 1.15.2) ,
  • Connect device and start adb shell
  • Make the system path Read/Write so we can push the file there
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
  • copy busybox to the device
adb push ./busybox /system/sbin
  • open the adb shell again and setup and install busybox with following commands.
$ su
# cd /system/sbin
# chmod 0755 ./busybox
# busybox --install .
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
# busybox
# exit


Comments ( 6 )

Have Something To Say ?

  1. MikiNP February 4, 2011 Reply

    on my u8110
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
    didnt work, system is mounted of mtblock4, u can check with command mount
    # mount

    /dev/block/mtdblock4 /system yaffs2 rw 0 0

    so I did:
    # mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    # chmod 0775 /system
    # chmod 0775 /system/xbin
    # exit
    and adb push worked
    # chmod 0775 /system/xbin/busybox
    # cd /system/xbin
    # busybox –install .
    and that worked!
    then I put back permisions:
    # chmod 0755 /system
    # chmod 0755 /system/xbin
    # reboot

  2. panie January 23, 2011 Reply

    I meant It did not affect my busybox folder.
    Sorry for the typing mistake.

  3. panie January 23, 2011 Reply

    I tried to edit the /init.rc
    I did so acquiring the necessary rights. The problem is that after reboot my mobile reinstall the initial settings. Hopefully it did affect my busybox installation.
    However the problem remains. How can I set the global PATH variable to include my busybox installation.

  4. panie January 23, 2011 Reply

    Hi again.
    I have managed to overcome the adb push command using cat file1 > file2 command.
    I installed the busybox to another system folder. Not the /system/bin. I need to include this folder in the PATH variable. How can I do it?

  5. panie January 22, 2011 Reply

    I followed your instructions but the following command failed:
    adb push ./busybox /system/sbin
    with this error: Permission denied
    What should I do?
    How can I push the busybox to the /system/bin folder/

  6. Pål A. December 20, 2009 Reply

    I have no /system/sbin/ folder on my Hero. What to do?

Leave your comment here