FORUMS
Remove All Ads from XDA

[Guide] All about BusyBox

3,305 posts
Thanks Meter: 742
 
By fotak-x, Senior Member on 27th January 2013, 08:39 PM
Post Reply Email Thread
BusyBox



BusyBox info

Owner Erik Andersen

BusyBox is maintained by developer Denys Vlasenko

It's licensed under the GNU GENERAL PUBLIC LICENSE version 2 (GNU GPLv2)

5 December 1999 one of the oldest BusyBox version was relesed (0.38)

Newest version BusyBox 1.21.0 (21.1.2013)


What is BusyBox

Busybox is set of programs which allow users to have Unix/Linux utilities in single small executable file,

busybox multi-platform and it is made for linux based operating systems (Androd,FreeBSD...), to install busybox you must use linux kernel 2.4.*

You can find BusyBox in not only android devices but also in internet modems,wirles acces points...etc

Supported architectures are ARM, CRIS, H8/300, x86, ia64, x86_64, m68k, MIPS, PowerPC, S390, SH3/4/5, Sparc, v850e,


Usage

BusyBox directory /system/xbin or /system/bin folder

But you dont have to execute cd /system/xbin to start using busybox,just type command that you like (Works only if busybox is symlinked)


Installation through ADB


Requirements
  • Rooted device
  • ADB
  • USB debugging enabled

1.Place busybox binary in root of ADB folder on your PC

2.Start ADB and connect your device with PC (USB)
Code:
adb push busybox /data/local/busybox

adb shell

su

cd /data/local

chmod 755 busybox

./busybox

/data/local/busybox cp /data/local/busybox /system/xbin

/data/local/busybox cp /data/local/busybox /system/bin

cd /system/xbin

busybox --install .

reboot
Or install app from market,and install busybox Click here if you are noob


Commands

To see commands on your device type "busybox" in terminal emulator

Syntax

Code:
busybox <applet> [arguments]
Input:

Code:
busybox
Output:

Code:
[, [[, acpid, addgroup, adduser, adjtimex, ar, arp, arping, ash,
        awk, basename, beep, blkid, brctl, bunzip2, bzcat, bzip2, cal, cat,
        catv, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot,
        chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab,
        cryptpw, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod,
        devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname,
        dos2unix, dpkg, du, dumpkmap, dumpleases, echo, ed, egrep, eject,
        env, envdir, envuidgid, expand, expr, fakeidentd, false, fbset,
        fbsplash, fdflush, fdformat, fdisk, fgrep, find, findfs, flash_lock,
        flash_unlock, fold, free, freeramdisk, fsck, fsck.minix, fsync,
        ftpd, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, hd,
        hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id,
        ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init, inotifyd,
        insmod, install, ionice, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink,
        iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5, klogd,
        last, length, less, linux32, linux64, linuxrc, ln, loadfont,
        loadkmap, logger, login, logname, logread, losetup, lpd, lpq, lpr,
        ls, lsattr, lsmod, lzmacat, lzop, lzopcat, makemime, man, md5sum,
        mdev, mesg, microcom, mkdir, mkdosfs, mkfifo, mkfs.minix, mkfs.vfat,
        mknod, mkpasswd, mkswap, mktemp, modprobe, more, mount, mountpoint,
        mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od,
        openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
        pivot_root, pkill, popmaildir, printenv, printf, ps, pscan, pwd,
        raidautorun, rdate, rdev, readlink, readprofile, realpath,
        reformime, renice, reset, resize, rm, rmdir, rmmod, route, rpm,
        rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,
        scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,
        setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sha256sum,
        sha512sum, showkey, slattach, sleep, softlimit, sort, split,
        start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv,
        svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tac,
        tail, tar, taskset, tcpsvd, tee, telnet, telnetd, test, tftp, tftpd,
        time, timeout, top, touch, tr, traceroute, true, tty, ttysize,
        udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq,
        unix2dos, unlzma, unlzop, unzip, uptime, usleep, uudecode, uuencode,
        vconfig, vi, vlock, volname, watch, watchdog, wc, wget, which, who,
        whoami, xargs, yes, zcat, zcip

BusyBox emulator in web browser

Need some time to load but its good for learning

--->HERE<---


Screenshot
fotak-x 2013




Thank me if this was usefull and if you like you can donate to me

DO NOT copy/paste this guide to other forums without permission
and if you want to paste this guide to other website...dont even ask for permission because answer is NO

The Following 33 Users Say Thank You to fotak-x For This Useful Post: [ View ] Gift fotak-x Ad-Free
 
 
27th January 2013, 09:52 PM |#2  
Account currently disabled
Flag Republic of Wadiya
Thanks Meter: 155
 
More
Re: [Guide] All about BusyBox
Nice.

Sent from my E15i using Tapatalk 2
The Following User Says Thank You to Admiral General Aladeen For This Useful Post: [ View ] Gift Admiral General Aladeen Ad-Free
27th January 2013, 11:12 PM |#3  
Junior Member
Thanks Meter: 6
 
More
lepo jebamu bog mater
The Following User Says Thank You to gogicaa For This Useful Post: [ View ] Gift gogicaa Ad-Free
27th January 2013, 11:14 PM |#4  
fotak-x's Avatar
OP Senior Member
Flag Varaždin /dev/null
Thanks Meter: 742
 
Donate to Me
More
Quote:
Originally Posted by gogicaa

lepo jebamu bog mater

thanks dude
The Following 2 Users Say Thank You to fotak-x For This Useful Post: [ View ] Gift fotak-x Ad-Free
28th January 2013, 02:01 AM |#5  
Gogeta's Avatar
Senior Member
Flag Gingertown
Thanks Meter: 824
 
More
Re: [Guide] All about BusyBox
You must have mentioned that updating busybox causes brick on stock kernel

Sent from my X8 using xda app-developers app

---------- Post added at 07:31 AM ---------- Previous post was at 07:31 AM ----------

Quote:
Originally Posted by gogicaa

lepo jebamu bog mater

Don't make me report you

Sent from my X8 using xda app-developers app
The Following User Says Thank You to Gogeta For This Useful Post: [ View ] Gift Gogeta Ad-Free
28th January 2013, 02:56 AM |#6  
dagger's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 2,614
 
Donate to Me
More
Re: X8 Off Topic - You'll Never Close This Thread
Good work bro..

sent from my phone using hands and brain...
The Following User Says Thank You to dagger For This Useful Post: [ View ] Gift dagger Ad-Free
28th January 2013, 03:10 PM |#7  
Senior Member
Thanks Meter: 220
 
More
Quote:
Originally Posted by Gogeta

You must have mentioned that updating busybox causes brick on stock kernel

Wrong.

There's at least one ROM in which you can update BusyBox without any problems: MiniCM6. And this holds true for any ROMs based on it, such as AtiFroyo.

So, the problem is not with the kernel.
The Following User Says Thank You to Fortun For This Useful Post: [ View ] Gift Fortun Ad-Free
28th January 2013, 03:22 PM |#8  
Gogeta's Avatar
Senior Member
Flag Gingertown
Thanks Meter: 824
 
More
Re: [Guide] All about BusyBox
Quote:
Originally Posted by Fortun

Wrong.

There's at least one ROM in which you can update BusyBox without any problems: MiniCM6. And this holds true for any ROMs based on it, such as AtiFroyo.

So, the problem is not with the kernel.

I got a brick with gdx v029 once while updating busybox on stock kernel

sent from.......
28th January 2013, 05:25 PM |#9  
paulebe525's Avatar
Senior Member
Flag VELLORE
Thanks Meter: 52
 
Donate to Me
More
Re: [Guide] All about BusyBox
Very useful guide thank you so much
Dude
Sent from my X8 using xda app-developers app
The Following User Says Thank You to paulebe525 For This Useful Post: [ View ] Gift paulebe525 Ad-Free
28th January 2013, 06:35 PM |#10  
fotak-x's Avatar
OP Senior Member
Flag Varaždin /dev/null
Thanks Meter: 742
 
Donate to Me
More
Quote:
Originally Posted by paulebe525

Very useful guide thank you so much
Dude
Sent from my X8 using xda app-developers app

5th June 2013, 01:53 AM |#11  
Member
Flag Sydney
Thanks Meter: 2
 
More
I learned from here what busybox is, but as for usage, it's rather unclear to me. Can someone please tell me how busybox would help me running other apps on a rooted android phone using 4.1.2? What do I do with it after I installed it?
Post Reply Subscribe to Thread

Tags
busybox:busybox instalation

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes