yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Update BB 1.29.0

Hello people, Busybox has been updated to 1.29.0 and I've added a possible fix for the xbin error (thanks to [MENTION=6870018]Tecalote[/MENTION] for pointing that out).

I realize that my updates are very delayed, due to this I'll soon post the instructions on how to compile the toolchains for compiling busybox and improve the almost non-existent :silly: documentation of BB-Bot (the bot that I use to compile, package and release busybox). This way you guys can churn out busybox builds yourself as well. :D

It seems the busybox x86 binary was not getting executed in your device, if the error is as serious as it seems (which I hope it isn't) I might have to recompile the x86 toolchain to include support for your device. Although before we jump to that conclusion, could you please test the busybox binary manually from here. This is to make sure that the error is with the binary and not the installer.

Just extract the busybox-x86-sel binary from the tar to your sdcard and execute these commands in a terminal,

cd /data/local/tmp
cp /sdcard/busybox-x86-sel .
chmod 555 busybox-x86-sel
./busybox-x86-sel

If busybox works you should see the whole help text for busybox. Please report back with the results.

Thanks for your support :)

Thank you for pointing this out, in addition to the previous locations /su/xbin /data/adb/su/xbin /system/xbin /system/vendor/bin /vendor/bin now the installer also looks for /su/bin /data/adb/su/bin /system/bin.
[Android Software/Hacking General [Developers Only]] jakson7474:
Can you help me with this error, I can not install, give this error and restart to twrp automatically
[Android Software/Hacking General [Developers Only]] martyfender:
I have a Nextbook Ares 8A Android 6.0.1 Intel x5-Z8350 Cherry Trail, kernel version 3.14.64-x86_64 and the test x86 binary runs on my system.

I am currently using the Magisk Module Busybox for Android NDK 1.28.4, but may test your install zip on one of my 4 Ares 8A's.

I assume it still installs as a Magisk Module?

EDIT: I first attempted to install through the Magisk Manager's add module fuction and it failed. Then I recalled that you had wrote in the past that this was no longer supported, so I installed it through TWRP and it is installed and functioning when I run it through the terminal. And, as in the past, it does show up as a Magisk Module.

Before I installed yours, I disabled and uninstalled the Osmosis Busybox for Android NDK, then rebooted the system. Was that necessary or will your installer also clean it if it is a Magisk Module, still installed?

UPDATE: I answered my own question. I installed it on a second device and both versions show up as installed in the MM module section, so apparently I must remove my old one first.

Thanks
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
When selecting the zip and before sliding to install, uncheck the option to check the digest file
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Thanks for reporting back. I did successfully install the latest busybox builds using Magisk Manager v5.8.1 running Magisk v16.0 on my Oneplus 5. It's strange how unpredictable the results are on different devices using magisk. Nevertheless, you are right in pointing out that if a busybox build (other than mine) is already installed using Magisk Manager, it will need to be uninstalled manually using Magisk Manager before switching to my busybox builds. I'll update the op with these details

Also could you please get me the BusyBox-YDS-installer.log of the busybox installation attempt from Magisk Manager that failed? :)
[Android Software/Hacking General [Developers Only]] martyfender:
The original one was, of course, overwritten when I flashed it in TWRP. I did it again in mm but the system crashed and rebooted. I tried it again in mm and it failed again. Attached it the result. Of course, your bb is is already installed, but I think it is the same error as the first.

As you can see in my signature, I am on the latest unofficial Magisk build by [MENTION=3306843]kantjer[/MENTION]. I would expect the same result with the official beta 16.6 and mm 5.8.1 since they are essentially at the same commit point, currently.

And thanks for the new update, as your busybox has been my bb of chose until recently when the mm one was more current. If you need any other tests on my x86 device, let me know. almost everything I have installed on my 4 Nextbook Ares 8A tablets are testing or beta apps, when they are available. I keep TWRP backups since Nextbook has never released stock roms.
[Android Software/Hacking General [Developers Only]] ale5000:
BusyBox 1.29.1 (stable) was released.
[Android Software/Hacking General [Developers Only]] daitalos:
Very nice!

1.29 on Nexus9 &Nexus7 flo - Slim 7.1.2 works correctly without problems for me...The same on mtk heliox20 - mados 8.1 stable!

Thanks for update & sry for english
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Please update your busybox version with latest STABLE version 1.29.1 sources

https://www.busybox.net/
[Android Software/Hacking General [Developers Only]] R1kM@n:
Busybox 1.29.0 works very good for me. Android 4.4.2 AOSP ROM
[Android Software/Hacking General [Developers Only]] ISoreo:
I flashed BusyBox 1.28.3 as module of Magisk it seem Titanium Backup won't work. i use Magisk v.16.0 on N910C 6.0.1 Stock Rom

please help me thanks

update i remove from magisk module and flash again it's work!! but in TB still says BusyBox 1.27.1-YDS from system.. but i flashed version 1.28.3 why still show 1.27.1 in TB i really don't understand
[Android Software/Hacking General [Developers Only]] Ibuprophen:
This looks like one of the Binaries is installed in a path like "/system/bin" and the other in an alternate path like "/system/xbin" whereas Magisk is looking at one path and TB is looking to the other path.

[MENTION=5423715]YashdSaraf[/MENTION], I'm not sure what needs to be done in this situation since I don't use Magisk nor TB but, I just wanted to provide my first instinct as to what's possibly happening here.

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] martyfender:
Will you be including the fix for this bug, that osmosis did in his Busybox for Android NDK 1.29.1?

https://bugs.busybox.net/show_bug.cgi?id=11171

https://xdaforums.com/showpost.php?p=77158748&postcount=6190

Thanks
[Android Software/Hacking General [Developers Only]] ale5000:
[MENTION=5423715]YashdSaraf[/MENTION] Since there are a few changes maybe it would be better to skip 1.29.1 and go with 1.29.2 directly.
[Android Software/Hacking General [Developers Only]] Sr. Zé Alguém:
1.29.1 was built two days ago: https://github.com/yashdsaraf/bb-bot/releases/tag/v1.29.1-YDS-201807291348
[Android Software/Hacking General [Developers Only]] ISoreo:
I already try BusyBox from Mr.Osmosis Android NDK 1.29.1 but Titanium Backup seem didn't work and Crossbreeder in magisk break after i flash this from Mr.Osmosis:eek::silly: i decided flash to remove Crossbreeder and wait for YDS fix this
[Android Software/Hacking General [Developers Only]] Sr. Zé Alguém:
Quick follow up: 1.29.2 is ready.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for new build 1.29.2.

Please mantain updated first post with latest news.

The current first post show again 1.29.0.

I propose you to add in first post also the link (always good) to all releases

Busybox releases

..
[Android Software/Hacking General [Developers Only]] Tecalote:
[MENTION=5423715]YashdSaraf[/MENTION] Thank you for the new build :good:
[Android Software/Hacking General [Developers Only]] YashdSaraf:
[MENTION=637263]bovirus[/MENTION] I haven't gotten around to testing the latest release (hence the pre-release version). I'll update the OP as soon as I'm done testing.
[Android Software/Hacking General [Developers Only]] ale5000:
[MENTION=5423715]YashdSaraf[/MENTION]

Please add support for TLS 1.3.
[Android Software/Hacking General [Developers Only]] ogisha:
It says it is prerelease.
[Android Software/Hacking General [Developers Only]] Sr. Zé Alguém:
It only does explain the why the first post wasn't updated, and just to indicate YashdSaraf haven't got time to test it. Imo, there should be no problem at all since .1 and .2 are very small bugfix versions of 1.29.
[Android Software/Hacking General [Developers Only]] bovirus:
Please if are not final but pre-release add in the name pre-release to enhance it.

I propose you to add in first post also the link (always good) to all releases

Busybox releases
[Android Software/Hacking General [Developers Only]] ale5000:
You can see if it is release or pre-release here.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Please update the info and link in first post to point to new stable 1.29.2. (point to 1.29.0)

https://github.com/yashdsaraf/bb-bot/releases/download/v1.29.2-YDS-201808012015/Busybox-CLEANER.zip
[Android Software/Hacking General [Developers Only]] martyfender:
But 1.29.2 is still flagged as pre-release.

Edit: It has been 19 days since the pre-release version. Does anyone know why this has not been finalized?

Thanks
[Android Software/Hacking General [Developers Only]] Sr. Zé Alguém:
[MENTION=8126387]martyfender[/MENTION] What does a flag matter? Nothing.
[Android Software/Hacking General [Developers Only]] ale5000:
Probably just because YashdSaraf hasn't yet had time to test it under many devices.
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Sir I dont know to ask this in your thread...

My device have a custom kernel..

It has inbuilt bosybox i.e., in /sbin...... 1.22.1 Dorimanx

I don't know about kernel modification...

I want to change that busybox to something other latest one....

After decompile, just replace busybox file or any further modification required?

Is replacing custom busybox is safe?

Thanks
[Android Software/Hacking General [Developers Only]] Tecalote:
Normally you can just flash the new Busybox with TWRP.

Busybox from [MENTION=5423715]YashdSaraf[/MENTION] will remove the old one and replace it with the new.

I would use the universal zip.
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Sir in /sbin there is busybox by kernel that always reinstall after boot...
[Android Software/Hacking General [Developers Only]] Tecalote:
Okay, then it's better to ask in the related Thread of the Custom Rom you are using!
[Android Software/Hacking General [Developers Only]] daitalos:
I'm using 1.29.2..almost always Ι use universal zip & works correctly until now on different roms & devices...fast & easy job
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Why 1.29.1/1.29.2 didn't leave the status of pre-release (1.29.1/1.29.2 are official)?

Now it's available the source of busybox 1.29.3

Ref: https://busybox.net/
[Android Software/Hacking General [Developers Only]] NPriyo:
I flashed 1.29.0 version through recovery, but the phone didn't boot up. BusyBox cleaner zip didn't help either. Then booted up by removing it through mm recovery. Is that a ROM problem or BusyBox problem?

Asus Zenfone Max Pro M1

Android 9

AEX 6.0

ARM64
[Android Software/Hacking General [Developers Only]] Tecalote:
First you should flash newest BusyBox by [MENTION=5423715]YashdSaraf[/MENTION] You installed 1.29.0

1.29.2 Here: https://github.com/yashdsaraf/bb-bot/releases/tag/v1.29.2-YDS-201808012015

(Click on Assets and take arm zip)

The Installer Log shows: installed correctly.

If the system doesn't boot, it's maybe because your system hasn't the folder xbin.

This is a permission problem, which wasn't solved with 1.29.0 but surely with 1.29.2

Another workaround is, manually create the folder xbin, reboot the phone and then flash Busybox.

The other thing is, that you are on Pie.

I don't know if there are any compatibility issues between Busybox and Pie.

This would be a question for the chief :)
[Android Software/Hacking General [Developers Only]] Paget96:
Hello [MENTION=5423715]YashdSaraf[/MENTION] I'm asking for permission to use busybox in my app, L Speed. You can add app link to first page.

Thank you in advance.
[Android Software/Hacking General [Developers Only]] martyfender:
You may have better luck with asking [MENTION=4544860]osm0sis[/MENTION] permission to use his, as [MENTION=5423715]YashdSaraf[/MENTION] has been mia for some time now. Real life may have taken priority, as it should.
[Android Software/Hacking General [Developers Only]] alecxs:
osm0sis build has a good installer, too. But i prefer YashdSaraf build with full SELinux support
[Android Software/Hacking General [Developers Only]] Rasit82:
I installed the busybox 1.29.2 Stericson from Google playstore. It is installed to /sbin. Every time I reboot the mobile, I have to install it again.

The flashable zip file "Busybox-<VERSION>-YDS-UNIVERSAL.zip" remains installed after reboot?
[Android Software/Hacking General [Developers Only]] psychem:
just flashed 1.29 but mount applet missing when i type busybox in terminal
[Android Software/Hacking General [Developers Only]] ale5000:
[MENTION=5423715]YashdSaraf[/MENTION]: BusyBox 1.30.0 is out.
[Android Software/Hacking General [Developers Only]] zputnyq:
Hi Guys,

Any news about this project ?

Is this project still continue ?
[Android Software/Hacking General [Developers Only]] lldomingo6:
BusyBox 1.30.1 is out ! Someone could take care of this version please.
[Android Software/Hacking General [Developers Only]] ale5000:
[MENTION=5423715]YashdSaraf[/MENTION]: Travis CI has failed to build the latest commit here.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Yeah, the install dependencies script failed, need to debug further, will check in sometime.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Why so many time on your busybox update.

Busybox team released busybox 1.29.2/1.30.0/1.30.1 but your version was stopped at 1.29.0.

Could you please your tool up to busybox 1.3..1? Thanks.
[Android Software/Hacking General [Developers Only]] ANDROIDXFOREVER:
i update from magisk module
[Android Software/Hacking General [Developers Only]] ANDROIDXFOREVER:
[emoji6]View attachment 4763410

XDROID [emoji3][emoji106]
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey, similar kind of error was faced by opengapps a while ago. Installing applets as wrapper scripts fixed it for them. Could you please test and report if the problem still persists after flashing the attached installers. :)

I've applied a patch from openwrt forums in the busybox source and it seems to recognize unicode characters now. Please test and report if the attached installers work for you. :good:
[Android Software/Hacking General [Developers Only]] Allen_Walker:
[MENTION=5423715]YashdSaraf[/MENTION]

Arm Se working finally. Many thanks for you!!!
[Android Software/Hacking General [Developers Only]] Evgen_17:
Thank's for this patch. Everything works perfectly whith cyrilic and unicode for now.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for the fix.

Could you please update all busybox archives in first post with the Unicode patch? Thanks.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for the update.

What do you think to make a single ARM/ARM64 and x86/x86_64 zip file to install

ARM Standard busybox

ARM SELinux busybox

ARM64 Standard busybox

ARM64 SELinux busybox

Intel x86 Standard busybox

Intel x86 SELinux busybox

Intel x64 Standard busybox

Intel x64 SELinux busybox

I believe that could be more useful than separate 32bit/64bit package.
[Android Software/Hacking General [Developers Only]] Allen_Walker:
When I check busybox version in terminal it is show bb from /sbin folder.

But bb 1.24.2 installed to /su/xbin.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=7437408]Allen_Walker[/MENTION]

Probably you have two busybox.

The first screenshot is about version 1.2.2.1 and not not 1.24.2.

Use find command to find the two busybox files and delete the older.
[Android Software/Hacking General [Developers Only]] Allen_Walker:
[MENTION=637263]bovirus[/MENTION]

It is not make bootloop?

Dangerous. :))

I found bb only /sbin

/system/bin contain toybox

And I not found symlink or applets for adb(d?), health(d?) in bb 1.24.2
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=7437408]Allen_Walker[/MENTION]

toolbox and busybox are two set come commands.

You didn't delete toolbox.

You have to identify because when type busybox answer busybox 1.22.1 (and not 1.24.2).

Probably you have two busybox file in two different folders pointed by path.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

I propose to remove numeric version in the thread title (the title will be always OK).

[TOOL][BIN]BusyBox Recovery Flashable Zips **ALL-ARCHS**

Now it's available busybox 1.25.0 (unstable)

https://www.busybox.net/
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey,

The busybox found in /sbin is used by the recovery so my cleaner doesn't mess with it. Actually you shouldn't be able to see it unless in recovery mode:confused:. Anyways I would not recommend deleting it. Keep both the busybox bins installed.

The adbd and healthd bins are shipped with the device, so they aren't available through busybox. :)

Yes I'm aware of the new release. I'll be posting it shortly, preferably after an updated lzip patch is released - http://lists.nongnu.org/archive/html/lzip-bug/2016-06/msg00006.html
[Android Software/Hacking General [Developers Only]] Allen_Walker:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks. I also don't understand why I see this bb version. :)
[Android Software/Hacking General [Developers Only]] complicazio:
I have a MTK 6582 phone with Android 4.4.2., I flashed the last zip but when I give the command sm exits this
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
Type su and enter,now type sm and enter.
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
Hm,thats weird and cant understand it,sorry.Here its working.
[Android Software/Hacking General [Developers Only]] goldchang:
It is working here
[Android Software/Hacking General [Developers Only]] complicazio:
Which Android version have you?
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
6.0.1
[Android Software/Hacking General [Developers Only]] complicazio:
Which version of Android have you?
[Android Software/Hacking General [Developers Only]] bovirus:
The busybox update is available here (until YashdSaraf will update his project)

https://github.com/Magisk-Modules-Repo/busybox-ndk
[Android Software/Hacking General [Developers Only]] alecxs:
the project was updated 1 week before. i will stay at 1.29 until new selinux build is available
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Any future plan to update your busybox?

---------- Post added at 08:01 AM ---------- Previous post was at 08:00 AM ----------

[/COLOR [MENTION=5423715]YashdSaraf[/MENTION]

Any future plan to update your busybox?
[Android Software/Hacking General [Developers Only]] JazzMartian:
@YashdSaraf I hope to see you return soon with new BusyBox builds. You were my goto years back!
[Android Software/Hacking General [Developers Only]] mirfatif:
BusyBox aarch64 v1.31.1 with SELinux

BusyBox aarch64 v1.31.1 with SELinux

Built with musl libc, without any patches and without many unnecessary, not working and buggy applets.

Until the OP provides updated version, if someone finds it useful.

Currently defined functions:
[, [[, ar, arch, arp, arping, ash, awk, base64, basename, bbconfig, bc, blkdiscard, blkid, blockdev, brctl, bunzip2, busybox, bzcat, bzip2,
cal, cat, chattr, chcon, chgrp, chmod, chown, chroot, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cut, date, dc, dd, depmod, df, diff,
dirname, dmesg, dos2unix, du, echo, egrep, env, expand, expr, factor, fallocate, false, fatattr, fdisk, fgrep, find, findfs, flock, fold,
free, fstrim, fsync, ftpget, ftpput, fuser, getenforce, getopt, grep, groups, gunzip, gzip, hd, head, hexdump, hexedit, hostname, hwclock,
id, ifconfig, ifdown, ifup, inotifyd, insmod, ionice, iostat, ipcalc, kill, killall, less, linux32, linux64, ln, logger, losetup, ls, lsattr,
lsmod, lspci, lsscsi, lsusb, lzcat, lzma, lzop, lzopcat, md5sum, microcom, mkdir, mkfifo, mknod, mktemp, modinfo, modprobe, more, mount,
mountpoint, mpstat, mv, nc, netstat, nice, nl, nmeter, nohup, nproc, nslookup, od, partprobe, passwd, paste, patch, pgrep, pidof, ping,
pipe_progress, pivot_root, pkill, pmap, printenv, printf, ps, pscan, pstree, pwd, pwdx, readlink, realpath, renice, reset, resize, rev,
rfkill, rm, rmdir, rmmod, route, run-parts, runcon, script, sed, seq, setarch, setenforce, setfattr, setpriv, setsid, sh, sha1sum, sha256sum,
sha3sum, sha512sum, showkey, shred, shuf, sleep, sort, split, start-stop-daemon, stat, strings, stty, su, sum, swapoff, swapon, switch_root,
sync, sysctl, syslogd, tac, tail, tar, tee, test, time, timeout, top, touch, tr, traceroute, true, truncate, tty, ttysize, tunctl, udhcpc,
udhcpd, uevent, umount, uname, uncompress, unexpand, uniq, unix2dos, unlink, unlzma, unlzop, unshare, unxz, unzip, uptime, usleep, uudecode,
uuencode, watch, wc, wget, which, whoami, whois, xargs, xxd, xz, xzcat, yes, zcat
[Android Software/Hacking General [Developers Only]] MAOQ:
Hello. Previously, BusyBox always used this and went to another.

A week ago I wanted to install BusyBox from YDS(v1.29.2).

Then he returned a clean backup and the installation went (without looking for a long time).

In a day I watch BusyBox no. I wanted to reinstall, it didn’t work. Installation is on and BusyBox does not appear.

What's wrong?

Phone Samsung Galaxy Note 4, custom firmware (port), eRobot v1.2 (the site has a profile theme) from another device (Galaxy Note 7). Route Magisk (even through Magisk is not installed).

Please help if possible to fix.

https://xdaforums.com/attachment.php?attachmentid=5057605&stc=1&d=1594337302
[Android Software/Hacking General [Developers Only]] alecxs:
from where did you install this zip (Magisk/TWRP)? How do you know that busybox is not installed (it's just binary, not a app)? What is your prefered install location (when Magisk Manager is disabled that might prevent loading xbin)?
[Android Software/Hacking General [Developers Only]] MAOQ:
1). It doesn’t matter, not through TWRP, not through Magisk.

The last time after restoring backup firmware, the installation went and after a day again no.

2). So, in the first I’m not a child,))) and the second there are many programs that you can find out about installed BusyBox.))) For example, this: https://play.google.com/store/apps/...box&pcampaignid=APPU_1_a58IX5DlA-uhrgT1_4_YBw

3). I have custom firmware and it’s clear that the installation should be in xbin.

4). "(when Magisk Manager is disabled that might prevent loading xbin)?"

I did not understand this.

I suspect that this is because of TWRP, but it is not installed through Magisk either.

Today I tried to install through Magisk what is in the repository, is also not installed.

So backup firmware is clean and there is some kind of old version (1.25.1) installed. :(

The firmware is: https://www.erobotrom.net/2018/06/erobot-port-rom-v12-for-note4-android.html?m=1

I can leave this BusyBox which is from meefik, but I wonder the reason why the BusyBox from YDS is not installed (especially the old BusyBox).

You see, through this the program is normally installed.