yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey,

I managed to build ssl_helper using wolfssl (ssl_helper.c wasn't updated for the latest matrixssl release).

Here's the link to the zip containing ssl_helper for all archs - https://dl.dropboxusercontent.com/s/jqjhze4li9z53xx/ssl_helper.zip

Just copy the one appropriate to your device to /system/xbin or /su/xbin whichever you prefer and give it executable permissions rwxr-xr-x(755) and your'e good to go.

I tested wget with https links and it worked for me.

Do report back if it works for you so I can update the op. :good:
[Android Software/Hacking General [Developers Only]] jcfunk:
I'm glad you got it to compile I've been trying all day and was unable to get it done

tested arm version it works great, thanks
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=3811709]yashd[/MENTION]sraf

Errro installing latets build (24.05.2016) of ALL Arch busybox

http://postimg.org/image/tgo571dmj/

Could you make an add in first post about the error log with the info

If you get an error check the file

/sdcard/BusyBox-YDS-Installer.log

It can useful to post it to report your problems.
[Android Software/Hacking General [Developers Only]] Allen_Walker:
[MENTION=5423715]YashdSaraf[/MENTION]

Hi. In some Android path Cyrillic names not show if busybox installed.

My Android 6.1 use toybox and Cyrillic names work good.

for example this way /mnt/runtime/default/emulated/0

Second screenshot is toybox work, busybox uninstall.

You can improve this or I need to use system toybox?

Thanks.
[Android Software/Hacking General [Developers Only]] TheUndertaker21:
busybox uninstaller wasn't able to delete busybox on the pixel xl

i need busybox gone for samsung pay gear 3
[Android Software/Hacking General [Developers Only]] LilBlinx:
I have a problem with the latest release Xperia M4, arm64 and SELinux disabled. The busybox isn't installed at all.
[Android Software/Hacking General [Developers Only]] Kywrosaki:
The problem with installing busybox on xiaomi mi6(android 7.1.1), in the log mentioned magisk, why? No magisk, no, only SUPERSU. First installing SuperSU,after busybox.

The latest version of busybox. Please fixed this.

https://cloud.mail.ru/public/95xb/5uhLQZTUS
[Android Software/Hacking General [Developers Only]] uudruid74:
Busybox installs for me, but the bash is horribly broken.

Here is a test case

if [[ "hello=world" == *"="* ]]; then echo found; fi

Under busybox's bash, it prints nothing. On my Linux box with real bash, it says found. On my previous busybox, it also works.
[Android Software/Hacking General [Developers Only]] martyfender:
[MENTION=5423715]YashdSaraf[/MENTION] Will this be updated to work with the new SuperSU v2.82-SR2 and v2.82-SR3 SBIN mode?

https://xdaforums.com/showpost.php?p=73327315&postcount=10762

See release notes. I haven't tried the SBIN mode, so your busybox may work with it, I don't know.

There has been some discussion on the supersu beta thread concerning the new SBIN mode and busybox. I recommend taking a look.

Thanks
[Android Software/Hacking General [Developers Only]] Allen_Walker:
[MENTION=5423715]YashdSaraf[/MENTION]

17 August 2017 -- BusyBox 1.27.2 (stable) update please :)
[Android Software/Hacking General [Developers Only]] R1kM@n:
Hi guys! I want to learn how to install a tar.bz2 (or tar.gz) file, and I want to try with the busybox-1.27.2.tar.bz2 file. Someone that knows how to do it? Thank everyone!
[Android Software/Hacking General [Developers Only]] martyfender:
That is not a precompiled binary. You would have to compile that to use it. Those are the source files.
[Android Software/Hacking General [Developers Only]] R1kM@n:
Ok, I understand. That's why I couldn't find any guide on how to install this type of file. Thanks for your response
[Android Software/Hacking General [Developers Only]] YashdSaraf:
They're not source files, they're pre-compiled binaries.

The tar files consist of binaries for those who do not want to use the installers i.e you can manually copy these binaries to a desired location.

Mainly the target users for these files are rom or mod devs who'd want just the bins.
[Android Software/Hacking General [Developers Only]] R1kM@n:
Ok, thank, now I try to install the binary into /system/bin

---------- Post added at 07:57 AM ---------- Previous post was at 07:51 AM ----------

But tar.gz file can be installed? Or it is the same thing or tar.bz2 file? Thank
[Android Software/Hacking General [Developers Only]] martyfender:
Forgive me, but this sure looks like the source files to me. It is on the front page of the busybox site. In which folder is the pre-compiled binary?

http://busybox.net/downloads/busybox-1.27.2.tar.bz2
[Android Software/Hacking General [Developers Only]] YashdSaraf:
I'll add some more description about all the downloadable files when releasing the 1.27.2 update. :)
[Android Software/Hacking General [Developers Only]] martyfender:
There is a separate link for pre-compiled binaries but they are not the .tar.bz2 files the other person asked about.

Also, do you plan on supporting SBIN mode in SuperSU?

Thanks
[Android Software/Hacking General [Developers Only]] R1kM@n:
Thank you very much for your work! ?
[Android Software/Hacking General [Developers Only]] ogisha:
Thank you very much.

Please make Magisk friendly version. :eek:
[Android Software/Hacking General [Developers Only]] ale5000:
It is already Magisk friendly and it can already be installed also as Magisk module.
[Android Software/Hacking General [Developers Only]] RSDamasceno:
I'm trying to install the busybox module.

I installed via recovery (without errors) and after starting the ROM the module does not appear in MagiskManager.

I also tried to install via MagiskManager and the installation did not finish.

Recovery: TWRP 3.1.1 (With MultiROM v33)

Secondary ROM: AospExtended-v4.5-quark-20170815-1402-OFFICIAL

Magisk-v13.6-170819 (Snapshot)

MagiskManager-v5.2.0-170819 (Snapshot)
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
If possible please add installation support on the new folder introduced on SuperSU v2.82-SR3 in SBIN Mode, /data/adb/su/xbin
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Please update busybox to 1.27.2 (stable).
[Android Software/Hacking General [Developers Only]] Ibuprophen:
First of all, it's 1.27.2...LMAO!

Secondly, it you were to go back, only 9 posts, you'll be able to locate the following post that already reflects the answer to your question as being identified and being worked on by [MENTION=5423715]YashdSaraf[/MENTION].

[MENTION=637263]bovirus[/MENTION], you really need to be patient since some updates do take time and can't just be magically done in minutes. :what:

Just be cool and hang tight for the release... :cool:

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

I Am The Egg Man,

They Are The Egg Men.

I Am The Walrus!

Coo Coo Cachoo!

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]] bovirus:
@lbuprophen

Sorry for the error about version (fixed).

I'm afraid but I post a request like "please update" without any request about "when".
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I understand that. I've made typos before :eek: .

To answer your question, most developers, like myself, can't/doesn't post any specific time frames for certain developments because, most of the time, it's really difficult to do so considering how much work is needed as well as other factors. :screwy:

You can understand that... :thumbup:

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

I Am The Egg Man,

They Are The Egg Men.

I Am The Walrus!

Coo Coo Cachoo!

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]] k1ks:
Hi [MENTION=5423715]YashdSaraf[/MENTION].

Everything works great since last update.

I always recommend your custom busybox version for my members.
[Android Software/Hacking General [Developers Only]] R1kM@n:
Idem. In my opinion, YashdSaraf's Busybox works better than Stericson's Busybox. YashdSaraf update busybox faster than Stericson
[Android Software/Hacking General [Developers Only]] jugoslavpetrovic:
Why such hurry. Is there something wrong with 1.27.1?
[Android Software/Hacking General [Developers Only]] R1kM@n:
No, 1.27.1 works perfect. But 1.27.2 have bug fixes
[Android Software/Hacking General [Developers Only]] jugoslavpetrovic:
Lol, bug fixes of works perfect?
[Android Software/Hacking General [Developers Only]] R1kM@n:
This is what busybox.net site says.
[Android Software/Hacking General [Developers Only]] bovirus:
Please read carefully the 1.27.2 changelog before to comment.

In some specific conditions (explained in changelog) busybox 1.27.1 failed and 1.27.2 is bug fixes for that.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
BB 1.27.2 Pre-release

Hello guys, I've fixed many errors related to magisk compatibility and added support to blacklist some applets.

SuperSU's SBIN mode is also supported now.

Please test and report if this release works for you.

https://github.com/yashdsaraf/bb-bot/releases/tag/v1.27.2-YDS-201708302154

NOTE: This is a pre-release, so please do not use it for purposes other than testing. I'll publish a proper release once we're convinced this works. :p

I've also REMOVED the support to install the flashable zips directly from Magisk Manager app. You're free to use Magisk Manager for installation, but please note it is not officially supported.
[Android Software/Hacking General [Developers Only]] R1kM@n:
With me it work. But I noticed that among the BusyBox applets there is also "su" (Root binary). Is it normal? The root works without problems, but I wanted to be sure. Thank you
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Yes I have not removed the su applet, but it is blacklisted so it won't be installed by the installers, but it is still accessible by calling

busybox su

:)
[Android Software/Hacking General [Developers Only]] R1kM@n:
Thank you for your perfect explanation ?
[Android Software/Hacking General [Developers Only]] martyfender:
This appears to work fine on my Intel x86 32bit, Android 6.0.1 Nextbook Ares 8A tablet, flashed in twrp. I have only tested a couple of applets in the terminal and with apps2Sd, Kernel Aduitor and lspeed. SuperSU SR3 2.82 in system mode.

I also flashed SuperSU SR3 2.82 in systemless mode and it is working fine.
[Android Software/Hacking General [Developers Only]] Tecalote:
[MENTION=5423715]YashdSaraf[/MENTION] I have tested your new stable BusyBox 1.27.2 on my Huawei P9. It is rooted with Magisk v14. I use 3 additional modules: Enable Doze for GMS - Huawei Property Fix (instead Universal Safetynet Fix) and Magisk SELinux Permissive Script.

First I tried flashing your BusyBox with TWRP - it was not possible, I got same error as with BusyBox 1.27.1 - Error while mounting /data/magisk.img to /magisk - Falling back to normal installation - ETC directory is NOT accessible.

After TWRP shows error 134...

So I restart to system, opened Magisk Manager and flashed your zip directly from Magisk Manager. This worked :D

Only Restart Button was not possible after flashing with Magisk Manager, so I did manually restart the phone.

Everything okay now, all perfect. :cool:

I would think the problem is cause Huawei - Huawei is different :)

But if you have any idea how to solve this on my Phone - this would be very fine. Cause I like to integrate your Busybox in my Magisk Rom....

Thank you ;)

Let me know if you need something what could help for solving this installing issue with TWRP...

Installer Log from Magisk Manager install has also some faults, but I think they are not really a problem.

Update: Maybe its an issue of TWRP 3.1.1-1 - because another User flasht it with TWRP without problem.

I try it with TWRP 3.1.1-0 and tell you the result.
[Android Software/Hacking General [Developers Only]] R1kM@n:
On my ARM 32bit, your stable busybox works perfectly. I have tested a few applets and some app and its works without problem. Flashed this with twrp 3.1.0

Thank you for your work [MENTION=5423715]YashdSaraf[/MENTION]
[Android Software/Hacking General [Developers Only]] ogisha:
Please tell us the results back.

Thank you.
[Android Software/Hacking General [Developers Only]] Tecalote:
I'll do. Soon I am at home I'll test and report
[Android Software/Hacking General [Developers Only]] ogisha:
Meanwhile, I have tested it.

Installation went smooth through Magisk Manager and I was able to tap on reboot, but after reboot Root Checker showed that there is no busybox installed, so I rebooted into recovery and flashed it without a problem.

I did not have any problems you have mentioned here or on other threads. Maybe because I used arm instead universal version.

Regards.
[Android Software/Hacking General [Developers Only]] Tecalote:
I dont know whats happened with my phone - but it does not accept busybox 1.27.1 and not 1.27.2 - I tried it now several times, flashing with TWRP (3.1.1-1, 3.1.1-0) from internal storage, from external storage. I deleted Busybox from Magisk Manager, rebooted the phone. I cleaned up busybox in TWRP with yds busybox uninstaller.

I tried fresh install 1.27.2 with TWRP but without succes. I tried it also with arm.zip and get always the same error in TWRP!

Same issue like I posted here: https://xdaforums.com/showpost.php?p=73733493&postcount=417

And you are right, installing from Magisk Manager looks like, if it is installed - but Root Checker tells its not installed!

I tried it flashing in TWRP with 1.26.2 - no problem.

In the moment if have 1.26.2 in /system/xbin installed.

No way for me to install 1.27.2.... :(
[Android Software/Hacking General [Developers Only]] Tecalote:
[MENTION=5423715]YashdSaraf[/MENTION] Just one question, did you see the recommendation from topjohnwu in this Thread:

https://xdaforums.com/apps/magisk/o...systemless-t3473445/post73690093#post73690093

He said developer should use the "new template"

Maybe this could be the problem with 1.27.2 in relation to Magisk v14?
[Android Software/Hacking General [Developers Only]] youssef0789:
⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
[Android Software/Hacking General [Developers Only]] bovirus:
The ZIP of busybox required for the installation a mod recovery (not stock) but not required a rooted device.
[Android Software/Hacking General [Developers Only]] R1kM@n:
It requires root ONLY if you use Flashfire to flash this, but if you use twrp or other custom recovery you can do that without having root
[Android Software/Hacking General [Developers Only]] Thomas_BA:
I had problems with the BusyBox Module in the Magisk repository, broke xposed recognition in xposed installer.

So i found the one from this thread, flashed the latest universal zip with Magisk 14 on my Samsung Tab S2 with Lineage 14.1, and everything seams to works perfect.

Just checked the install log, some error messages, something to worry about?

#Wed Sep 20 02:41:46 GMT 2017
#Ignore umount errors!
================================================
BusyBox 1.27.2-YDS Universal (stable: 06 Sep/17)
-- by @YashdSaraf https://xda-developers.com --
----- http://bit.ly/bbxyds -----
================================================

Mounting /system --
Checking Architecture --
** arm ** 64 bit architecture detected --
Checking if busybox needs to have SELinux support --

SELinux support is ENABLED --
Extracting files --
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: arm/bins.md5
inflating: arm/busybox-sel.xz
inflating: arm/ssl_helper
inflating: arm/xzdec
inflating: magisk_install.sh
Checking md5sums of extracted bins --
Magisk detected --
Extracting module.prop --
/data/user/0/com.topjohnwu.magisk/cache/META-INF/com/google/android/update-binary: [: bins.md5: unexpected operator/operand

Cleaning older busybox versions (if any) --
Copying binary to /system/xbin --
Setting up applets --
Adding OTA survival script --
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: 88-busybox.sh
Adding common system users and groups --
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: addusergroup.sh
Unmounting /system --
umount: can't unmount /system: Device or resource busy

All DONE! -- Check /sdcard/BusyBox-YDS-installer.log for more info
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Is it normal that for ex. in Busybox ARM installer zip file all files are date 30.07.2017 (instead 06.09.2017)?
[Android Software/Hacking General [Developers Only]] zputnyq:
Hello guys,

If I wanna update this busybox, do I need to uninstall the previous version?
[Android Software/Hacking General [Developers Only]] R1kM@n:
No, just flash the new zip version. It will remove the previous version itself without problem
[Android Software/Hacking General [Developers Only]] ykkfive:
[MENTION=5423715]YashdSaraf[/MENTION]

can u kindly pls add tar selinux support in the future when u have time (the -p option)? i used to built one in the past myself for an older version bb but facing some problems now based on your sources. maybe i have totally forgot how i fixed it before

thank you
[Android Software/Hacking General [Developers Only]] Fif_:
This version if BusyBox doesn't support uid/gid mappings:

ls -l .
total 8
drwxrwx--- 2 0 9997 4096 Sep 25 04:55 2017-09-27-20:53:44
drwxrwx--- 2 0 9997 4096 Sep 27 20:53 latest

Is that expected or is it a build problem?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
The C libs meant for linux rely on /etc/passwd and /etc/group for uid/gid mappings. Whereas bionic (the C lib used by ndk and other android tools) is patched to read hardcoded uid/gid values https://android.googlesource.com/pl...s/include/private/android_filesystem_config.h

Nevertheless I've added the code to create passwd and group files with those values in the installer, are you not using one of the given installers?

If not, take a look at this script https://github.com/yashdsaraf/bb-bot/blob/master/bbx/addusergroup.sh

This approach is not a proper solution, but until we can figure out how to patch uClibc to read android's hardcoded values, we're stuck with this. :)
[Android Software/Hacking General [Developers Only]] Fif_:
I just downloaded the tar.gz, not the Magisk module, and missed the creation of the passwd and group files.

So your busybox is uclibc-based, not bionic nor glibc based.

Thanks.

My hunt for a bionic, selinux-enabled busybox is still ongoing then.
[Android Software/Hacking General [Developers Only]] jamal2367:
Hey [MENTION=5423715]YashdSaraf[/MENTION]

I have tried to install your latest stable busybox on my Oreo ROM.

It's installed fine on TWRP but when i show in the app if its installed they say to me its not installed...

On Nougat all is working fine...

Device: OnePlus 3 - Open Beta 25 - Android 8.0.0 - SuperSU 2.82 SR5

I hope you can help me out.

Thank you for your great work :)
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey, please post the /sdcard/BusyBox-YDS-installer.log here.

Also try executing

su
busybox

in a terminal and post the output here.

Thanks for reporting. :)
[Android Software/Hacking General [Developers Only]] jamal2367:
Hey!

Thank you for your reply..

I will post it later when i'm home :)
[Android Software/Hacking General [Developers Only]] RSDamasceno:
I'm using an old Asus Zenfone 5.

I installed via recovery (Busybox-1.27.2-YDS-UNIVERSAL) without errors, but after rebooting the busybox was not installed.
[Android Software/Hacking General [Developers Only]] martyfender:
Are you sure? your BusyBox-YDS-installer.log states that you have systemless root and it installs busybox to /su/xbin/, not /system/xbin/. That is where mine is installed with systemless root on my Nextbook Ares 8A x86 tablet with Android 6.0.1.

I see you are on Android 7.1.2. It should have the same path, I believe, unless you using root in sbin mode. Are you using the latest, Supersu 2.82 SR5, or Magisk 14.0?
[Android Software/Hacking General [Developers Only]] D-dy:
Installing v1.27.2.YDS, but on terminal said v1.26.2.YDS...?

Rom Nitrogen-magenta Oreo

SuperSu 2.82 sr5

Kernel agni

Here log :

#Sat Dec 2 10:53:26 THAIST 2017

#Ignore umount errors!

================================================

BusyBox 1.27.2-YDS arm (stable: 06 Sep/17)

-- by [MENTION=5423715]YashdSaraf[/MENTION] https://xda-developers.com --

----- http://bit.ly/bbxyds -----

================================================

Mounting /system --

Checking Architecture --

Looking for => 'arm', found => 'arm64-v8a'

64 bit architecture detected --

Checking if busybox needs to have SELinux support --

SELinux support is ENABLED --

Extracting files --

Archive: /sdcard/ADM/Busybox-1.27.2-YDS-ARM.zip

inflating: bins.md5

inflating: busybox-sel.xz

inflating: magisk_install.sh

inflating: ssl_helper

inflating: xzdec

Checking md5sums of extracted bins --

Systemless root detected (Running in SBIN mode) --

Cleaning older busybox versions (if any) --

Found in /data/adb/su/xbin --

Total applets removed => 412 --

Copying binary to /data/adb/su/xbin --

Setting up applets --

Adding OTA survival script --

Archive: /sdcard/ADM/Busybox-1.27.2-YDS-ARM.zip

inflating: 88-busybox.sh

Adding common system users and groups --

Archive: /sdcard/ADM/Busybox-1.27.2-YDS-ARM.zip

inflating: addusergroup.sh

Unmounting /system --

All DONE! -- Check /sdcard/BusyBox-YDS-installer.log for more info
[Android Software/Hacking General [Developers Only]] ale5000:
[MENTION=5423715]YashdSaraf[/MENTION]

Hi,

is it possible to include keycheck inside BusyBox?

It would be really useful.
[Android Software/Hacking General [Developers Only]] Allen_Walker:
[MENTION=5423715]YashdSaraf[/MENTION]

Hi, Magisk is updated to 15.0 and your bb is not installed for this, your can check this?
[Android Software/Hacking General [Developers Only]] martyfender:
It works for me on two of my Intel x86, Nextbook Ares 8A, Android 6.0.1 tablets with Magisk 15.1. I had to flash Magisk, reboot, install Magisk Manager, reboot To TWRP again then reflash the busybox.zip again, though.

For some reason though, it is installed both in /sbin/.core/busybox and /system/xbin. Not sure why, is that normal [MENTION=5423715]YashdSaraf[/MENTION] ?

Should I use the busybox cleaner and try again?
[Android Software/Hacking General [Developers Only]] Allen_Walker:
2 Jan 2018 -- BusyBox 1.28.0 (unstable) released. :)
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Guys I've updated busybox to 1.28.0, please test and report if you face any errors.

I know there have been some issues with the installers, I'll fix them as soon as I have some time on my hands.

Thank you for your support. Enjoy! :D
[Android Software/Hacking General [Developers Only]] R1kM@n:
For me it works perfectly. I try some applets and it works fine. I have a stock AOSP rom 4.4.2. I've installed with Busybox-installer-arm.bin file in terminal emulator. Thank you very much YashdSaraf for your work :D
[Android Software/Hacking General [Developers Only]] ogisha:
Hi [MENTION=5423715]YashdSaraf[/MENTION],

Is there any way or any installer I could use to install your busybox on one of my tablets which is x86 based and do not have custom recovery?

FlashFire does not work and custom recovery cannot be installed.

I used Stericson BusyBox which has custom installer not recovery based, but I would like to use yours which I liked on my other devices very much.

Thank you.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
As long as you have root, you can use the offline installers (.bin files). Check out the second post for more details.
[Android Software/Hacking General [Developers Only]] ogisha:
Thank you very much!

I must have been blind.

Everything went flawlessly.