I've been building busybox for android for sometime now.
All the flashable zips include two builds.
SELinux Enabled and Normal
This post will give you a pretty good idea about the difference.
There are 388 applets included in the normal and 400 applets included in the selinux build.
Here's a list for the same.
NOTE: Installing busybox does not modify your device's selinux status.
The attached zips install busybox in either /su/xbin if systemless root is detected or /system/xbin after cleaning older busybox binaries and their symlinks from the device (if any).
Code for mounting the su.img and running in embedded mode is borrowed from the SuperSU project.
All Archs busybox installer flashable zip detects the architecture and installs busybox accordingly.
SELinux status is automatically detected by the installers.
This can be overridden (before flashing the zips) by creating a file named "bbxselinuxenabled" to force enable the SELinux support or "bbxselinuxdisabled" to force disable the SELinux support in busybox in either /sdcard, /data or /cache whichever is suitable.
TWRP recovery or Flashfire is recommended for flashing the attached installers, however the code is pretty generic and should work on other recoveries too.
Projects using my BusyBox builds are:
StØck ROM Sense 5 by @denkem
Stock Debloated roms for nexus 5, 6, 5x and 6p by @tupac4u
If you would like to include my builds in your project, a link to this thread in the project thread would be expected.
Also, if you can, pm me about it so I can add the name to this list.
@7175 for his thread
@bovirus @Chinaboy5216 @skulldreamz for testing and reporting
XDA for...do I need to say it
Having said that, I'll be trying my best to help you with any bugs or exceptions you might face.
Download: Click Here
- All the attached installers will wipe any previous busybox installations found in /system or /su
- The installers will automatically detect 32/64 bit arch and install the appropriate binary
- NOTE: If FlashFire gets stuck on a black screen or errors out when flashing, please flash from recovery instead. (There seems to be a /system mounting issue on some devices in FlashFire)
Busybox Cleaner (Cleans BusyBox in /system/bin,/system/xbin,/su/bin,/su/xbin,/magisk/phh/bin)
Caution: Removing busybox may break functionality of some mods or apps.
For older versions refer to my androidfilehost, drive, mediafire or sourceforge folders.
Toolchains used for building these binaries can be found here (host arch -> x86_64).
For official busybox source and changelog refer here.
Do report how these work out for you, as most of the testing has been done on emulators.
You can request any applet in this thread. If it does not affect the size of the whole binary or there are enough users backing it, I'll add it in the next release. When reporting please attach the BusyBox-YDS-installer.log, it should be in either /sdcard, /data or /cache.