• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

BusyBox Setup - flashable zip

Search This thread

jazzruby

Senior Member
Aug 3, 2010
613
727
First of all, a BIG THANKS to | CyanogenMod | Linus Yang | Stephen (Stericson) | for the BusyBox binaries; "More suitable for Android than the prebuilt ARM binaries from busybox.net"

This is a flashable zip that will install the latest/stable BusyBox:
(1.24.2-Stericson) built 2016.04.23

(1.22.1 bionic) built 2015.01.01
(1.21.1-linusyang) built 2013.10.08

Install location is /system/xbin with system-wide symlinks to all necessary applets (and then some...)

A simple flash from recovery is all that's needed

BusyBox
BusyBox-v1.22.1-bionic.zip
md5: f1490b50bea3bb8ed2f3267178907dba
chart


Stericson
BusyBox-v1.24.2-Stericson.zip
md5: 65973c4ca508cbbdd4ee603af8f78049
chart


Linus Yang
WITH SymLinks:
BusyBox_v1.21.1-linusyang.zip
md5: 45eac5dff48ebbd236cf2403df41a6b7
chart


Linus Yang
WITHOUT Symlinks:
BusyBox_v1.21.1-linusyang-nosymlink.zip
md5: 30a2101f7443aa99e3757880ac6ac30e
chart


BusyBox Cleaner
BusyBox-Cleaner.zip
md5: d0215a1c25ae5cc7254fed2269a93c21
chart


BusyBox Cleaner can be used to remove all symlinks in /system/xbin that point to BusyBox (useful for testing builds/removing broken links) but does not delete the BusyBox binary.
(thanks @Phil3759 for the delcount function/idea)

As always make a NANDroid backup: YOU PROCEED AT YOUR OWN RISK

-JR-
 
Last edited:

MediocreFred

Member
Nov 12, 2010
36
23
Thanks very much for the flashable zip - this is the only way I've been able to install Busybox on my HTC One.

Can you please create an updated flashable zip for the most recent version of Busybox - v1.21.

Thanks in anticipation!
 

jazzruby

Senior Member
Aug 3, 2010
613
727
Thanks very much for the flashable zip - this is the only way I've been able to install Busybox on my HTC One.

Can you please create an updated flashable zip for the most recent version of Busybox - v1.21.

Thanks in anticipation!
Your welcome, glad it worked for you.

The BusyBox binary I'm using was built by Linus Yang (not myself), I only put the pkg together to make a flashable zip.

-JR-
 

jazzruby

Senior Member
Aug 3, 2010
613
727
What is symlink and non symlink busybox?
BusyBox has many built-in utilities referred to as 'applets'
To use an applet you call busybox with the utility (applet) as an argument from the command line.
E.G.
/system/xbin/busybox ls
/system/xbin/busybox wget
etc...

Now, since /system/xbin is in the $PATH variable we can eliminate the path and call busybox directly
E.G.
busybox ls
busybox wget
etc...

A 'symlink' (Symbolic Link) is a special type of file that contains a reference to another file or directory see HERE
By creating symlinks for all the applets pointing to the busybox binary allows you to call a utility (applet) directly
E.G.
'busybody wget' now is simply 'wget'

One thing to note; Android has a similar binary set of utilities called 'toolbox' (with symlinks) in the /system/bin directory which is searched before system/xbin in the $PATH variable, so calling any utility (e.g. 'ls') which is also in 'toolbox' will use that one, to use the busybox 'ls' you must call busybox on the command line with 'ls' as its argument.

-JR-
 

jong31

Senior Member
Nov 25, 2011
80
21
Are there any major differences in v 1.22.1 that would be worth making a new flashable zip, or are we still fine with 1.21.1?
 
  • Like
Reactions: xda26

jazzruby

Senior Member
Aug 3, 2010
613
727
Are there any major differences in v 1.22.1 that would be worth making a new flashable zip, or are we still fine with 1.21.1?
I wasn't even aware 1.22 went stable till your post and I checked the BB site.

I think we're fine for now and I'd rather hold off updating the zip; at least until I run with it for awhile and also see it in CM's builds. ;-]

-JR-
 

thefisch6

Senior Member
Mar 23, 2011
127
99
Bloomington, IL
Which version?

I'm a little out of my depth here as far as understanding the whole symlink discussion, so are all these zips effectively the same as far as functionality? More to the point, I don't know which one I should flash, as I don't really understand the differences. For reference, I'm running Sprint HTC One on stock 4.4.2, rooted, s-off, just in case that's relevant to my question. Thanks in advance.
 

jazzruby

Senior Member
Aug 3, 2010
613
727
I'm a little out of my depth here as far as understanding the whole symlink discussion, so are all these zips effectively the same as far as functionality? More to the point, I don't know which one I should flash, as I don't really understand the differences. For reference, I'm running Sprint HTC One on stock 4.4.2, rooted, s-off, just in case that's relevant to my question. Thanks in advance.
The 'Linus Yang' (linusyang) BusyBox build has the most 'applets' (some non-functional in Android) and the installer script symlinks the most used/preferred. Run busybox with no args will show all built-in applets (however, not all are symlinked).

The other builds/zips (CyanogenMod, Stericson) are more tailored to just Android (usable applets) and use a simple script command to list/symlink ALL the built-in applets:
E.G.
Code:
ui_print "- Symlinking BB applets"
for i in $(/system/xbin/busybox --list); do
    busybox ln -sf busybox "/system/xbin/$i"
done
The busybox --list command lists/shows all built-in applets

I've been using the CyanogenMod build on all my devices and that should be good for you if you so choose.

-JR-
 
Last edited:

Jason1712

Member
Mar 22, 2014
12
1
Does this version of Busybox work with FolderMount?

I wasn't even aware 1.22 went stable till your post and I checked the BB site.

I think we're fine for now and I'd rather hold off updating the zip; at least until I run with it for awhile and also see it in CM's builds. ;-]

-JR-
Hi,
I'm new to rooting and stuff. I really wanted to use FolderMount so I could have more internal storage space, so I rooted my phone. Now, I have trouble using the Busybox installer from Gplay, so I downloaded your flashable zip. However, FolderMount STILL doesn't work, I keep getting an error regarding external SD card permissions. Does FolderMount require Busybox version 1.22.1, or can I use the current one?
Thanks,
Jason
 
  • Like
Reactions: xda26

bovirus

Senior Member
Oct 7, 2007
2,154
788
Hi.

Thanks for your job

Please take care that now busybox 1.22.1 is stable version.

If you can please update the archive inf irst post with new busybox 1.22.1.

Stericcson updated busybox version to 1.22.1.
 
  • Like
Reactions: xda26

jazzruby

Senior Member
Aug 3, 2010
613
727
Hi everybody,

I've been dealing with the death of my Mother (expired 2014.03.20) so please bear with me during this extremely difficult time.

I'm still monitoring my subscribed threads here at XDA and even posted some replies (early on) but I find it more difficult to concentrate on anything outside my responsibility to Mother's estate.

Thanks for your understanding,

-JR-
 
  • Like
Reactions: xda26

Top Liked Posts

  • There are no posts matching your filters.
  • 136
    First of all, a BIG THANKS to | CyanogenMod | Linus Yang | Stephen (Stericson) | for the BusyBox binaries; "More suitable for Android than the prebuilt ARM binaries from busybox.net"

    This is a flashable zip that will install the latest/stable BusyBox:
    (1.24.2-Stericson) built 2016.04.23

    (1.22.1 bionic) built 2015.01.01
    (1.21.1-linusyang) built 2013.10.08

    Install location is /system/xbin with system-wide symlinks to all necessary applets (and then some...)

    A simple flash from recovery is all that's needed

    BusyBox
    BusyBox-v1.22.1-bionic.zip
    md5: f1490b50bea3bb8ed2f3267178907dba
    chart


    Stericson
    BusyBox-v1.24.2-Stericson.zip
    md5: 65973c4ca508cbbdd4ee603af8f78049
    chart


    Linus Yang
    WITH SymLinks:
    BusyBox_v1.21.1-linusyang.zip
    md5: 45eac5dff48ebbd236cf2403df41a6b7
    chart


    Linus Yang
    WITHOUT Symlinks:
    BusyBox_v1.21.1-linusyang-nosymlink.zip
    md5: 30a2101f7443aa99e3757880ac6ac30e
    chart


    BusyBox Cleaner
    BusyBox-Cleaner.zip
    md5: d0215a1c25ae5cc7254fed2269a93c21
    chart


    BusyBox Cleaner can be used to remove all symlinks in /system/xbin that point to BusyBox (useful for testing builds/removing broken links) but does not delete the BusyBox binary.
    (thanks @Phil3759 for the delcount function/idea)

    As always make a NANDroid backup: YOU PROCEED AT YOUR OWN RISK

    -JR-
    16
    BusyBox-v1.25.1-Stericson attached.
    @jazzruby, please add it to the OP when you have some free time. Thanks:cool:
    15
    Version 1.26.2 attached.
    10
    Version 1.27.2 attached.
    9
    Here is the 1.30.1.