[Android Software/Hacking General [Developers Only]] YashdSaraf:
Update 14-Jul/18: Busybox v1.29.0 released (Complete changelog: here)

Hello XDA,

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 401 applets included in the normal and 413 applets included in the selinux build.

Here's a list for the same.

NOTE: Installing busybox does not modify your device's selinux status.

Architectures supported

: arm, arm64, x86, x86_64, mipsel, mips64el and mipseb.

The attached zips install busybox in one of /magisk/bbxyds, [/data/adb]/su/xbin, /system/xbin, [/system]/vendor/bin after cleaning older busybox binaries and their symlinks from the device (if any).

Universal busybox installer flashable zip detects the architecture and installs busybox accordingly.

Code for mounting the su.img and running in embedded mode is borrowed from the SuperSU project.
​

SELinux status is automatically detected by the installers.

Behaviour of all the installers as well as the cleaner can be manipulated using a bbx.conf file which should be placed in one of /sdcard, /data or /cache. For more details refer to the second post.

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:

Open Gapps

Apps2SD

Project Skynet

StØck ROM Sense 5 by @denkem

Stock Debloated roms for nexus 5, 6, 5x and 6p by @tupac4u

Inlightning Org

Universal SafetyNet Fix by [MENTION=4476591]Deic[/MENTION]

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. :)

Credits:

@7175 for his thread

@bovirus @Chinaboy5216 @skulldreamz for testing and reporting

XDA for...do I need to say it :D

Disclaimer:

Neither me nor anyone else at XDA is responsible for what happens to your device. Please use the tools/utilites attached at your own discretion.

Having said that, I'll try my best to help you with any bugs or exceptions you might face.
​

Download:

Click here

Mirror:

Sourceforge
​

Busybox-CLEANER.zip and all the installers clean BusyBox in /su/xbin /data/adb/su/xbin /system/xbin /system/vendor/bin /vendor/bin /data/adb/su/bin /system/bin /su/bin /magisk/phh/bin /su/xbin_bind /data/adb/su/xbin_bind and /magisk/bbxyds

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)

File list:

Busybox-<VERSION>-YDS-UNIVERSAL.zip

Flashable zip compatible with all architectures.

Busybox-<VERSION>-YDS-<ARCHITECTURE>.zip

Architecture specific flashable zip files.

Busybox-<VERSION>-YDS-<ARCHITECTURE>.tgz

Consists of pre-compiled busybox binaries.

Not flashable

Busybox-installer-<ARCHITECTURE>.bin

Executable files for installing busybox without rebooting in recovery mode. See 2nd post for more details.

Not flashable

Source code (zip, tar.gz)

Source code files automatically generated via Github releases.

Not flashable

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.

Source:

https://github.com/yashdsaraf/busybox

https://sourceforge.net/p/busybox-yds/code