yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] jcfunk:
The x86 can be built on any regular computer, natively. Why cross compile using arm cpu to x86. If you mean on android x86, everything would be the same except you would use a x86 linux img and ulibc.
[Android Software/Hacking General [Developers Only]] bovirus:
What's about busybox 1.23.1?
[Android Software/Hacking General [Developers Only]] berryman13:
If you don't know what it is then you don't need it
[Android Software/Hacking General [Developers Only]] bovirus:
Are you sure that I don't know what's is busybox? I know it vey well and posted it because 1.23.1 is unstable instead 1.23.1 is stable.

I beleive that your answer is no sense answer (and I'm quite elegant).

Pelase avoid so unsefull answer. And please sure what you abouut saying.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
BusyBox 1.23.1 (Stable)

On the request of [MENTION=637263]bovirus[/MENTION] I've compiled and made flashable zips of busybox 1.23.1.

First two are flashable zips and the tar file consists of both the binaries.
[Android Software/Hacking General [Developers Only]] bovirus:
Thanks a lot!!!!
[Android Software/Hacking General [Developers Only]] Darkapolo:
What flashable zip I must install in lollipop stock rooted? The selinux enable or the other one? Thanks for your time.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
SELinux enabled one holds significance only if you're using android 4.3+. It has some extra arguements in a few applets such as the '-Z' arg in 'ls' applet to list security contexts and such. If you need these options install the SELinux one else the normal one. However I'd recommend SELinux one, you never know when those options come in handy. :p
[Android Software/Hacking General [Developers Only]] birdie:
Color me paranoid but has anyone else recompiled busybox according to the instructions in the original message?

Can you confirm that the resulting binary has the same md5sum?

I don't feel at ease installing a system app, which I'm going to use under the root user.

I need to know it doesn't have backdoors and sh*t.

For instance YashdSaraf and 7175 have wildly different SeLinuxOff binaries:

ls -la
total 2532
-rwxr-xr-x 1 root root 1143536 Feb 7 09:31 busybox.7175
-rwxr-xr-x 1 root root 1442792 Feb 6 12:33 busybox.YashdSaraf

300KB difference.
[Android Software/Hacking General [Developers Only]] jcfunk:
Size of binary, can very. Different Compiler, and options, ie O3 or O2. Also md5sum will not be the same, because date of build is coded into binary.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5109059]7175[/MENTION]

Could you update it with new busybox 1.23.2 stable?

.
[MENTION=5423715]YashdSaraf[/MENTION]

Could you compile the new source (1.32. stable)? Thanks.
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
Here is 1.23.2,its simple bin as flashable zip and not my work,ive extracted from my rom and its working fine.

https://docs.google.com/file/d/0B6XgEtS48fvxRmgtX2wxY25UdFk/edit?usp=docslist_api

NERDIFIED TILL DEATH!!!
[Android Software/Hacking General [Developers Only]] bovirus:
Where did you get 1.23.2 binary? Did you compile it?
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
No,ive updated with app and have copy it from rom to zip,have tested on different roms,it works normal on KK.

NERDIFIED TILL DEATH!!!
[Android Software/Hacking General [Developers Only]] bovirus:
Did you update with app? what's app name?
[Android Software/Hacking General [Developers Only]] thereassaad:
Well here is the Name of Apk

BusyboxOn Rails
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
Yes,this is the app,sorry ive forgotten to add the name.

NERDIFIED TILL DEATH!!!
[Android Software/Hacking General [Developers Only]] YashdSaraf:
BusyBox 1.23.2

Again as [MENTION=637263]bovirus[/MENTION] requested busybox 1.23.2 flashable zip and a tar containing the binary. It's the SeLinux enabled one compiled against the uclibc toolchain by [MENTION=4084072]amit.bagaria[/MENTION] so the size is reduced by ~300Kbs. Also crond is fixed if someone wants to use cron (Previously it errored out saying no such user).
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Sorry if I stressed you... :):):)

Is this Selinux version? Could be possible to have also Not Selinux version (For Android 4.4.x user...)? Thanks.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
This is the SeLinux version. I didn't compile the normal version as the goal behind compiling it previously was its smaller size. As of now we have amit's uclibc with selinux support which gives us a pretty small binary. Selinux busybox doesn't deprecate <5.0 support so you can use it on lower android versions too. I myself use it on JB 4.1.2 and you're not "stressing" me. :silly:
[Android Software/Hacking General [Developers Only]] bovirus:
Then does it mean that Selinux version could be OK for JB (4.2.x), KK (4.4.x) and Lollipop (5.x) Android system?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Yes!
[Android Software/Hacking General [Developers Only]] exodius48:
[MENTION=5109059]7175[/MENTION] Busybox 1.23.2 has been released http://www.busybox.net/downloads/busybox-1.23.2.tar.bz2 & http://www.busybox.net/downloads/snapshots/busybox-snapshot.tar.bz2
[Android Software/Hacking General [Developers Only]] momojuro:
Check the post from the quote, he already done the update. :)
[Android Software/Hacking General [Developers Only]] exodius48:
Yes but I like [MENTION=5109059]7175[/MENTION] release. :D
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5109059]7175[/MENTION]

Please update busybox in first post tpo 1.23.2 version.

[MENTION=5670369]BlackGunZ[/MENTION]

Busybox 1.23.2 selinux and not selinux is already available thaks to [MENTION=5423715]YashdSaraf[/MENTION]).

You can fiond it on http://xdaforums.com/showpost.php?p=59954865&postcount=45
[Android Software/Hacking General [Developers Only]] 29y6145:
WOrk on X86 or only ARM
[Android Software/Hacking General [Developers Only]] bovirus:
The busybox are different for ARM and Intel x86.
[Android Software/Hacking General [Developers Only]] exodius48:
Can you share busybox for x86 too?
[Android Software/Hacking General [Developers Only]] bovirus:
Someone should compile it.
[Android Software/Hacking General [Developers Only]] jcfunk:
Someone did

http://busybox.net/downloads/binaries/latest/

Now I thought this thread was about building your own in chroot, not making request for different CPUs
[Android Software/Hacking General [Developers Only]] bovirus:
The binaries available in the link posted are quite older (are not 1.23.2)
[Android Software/Hacking General [Developers Only]] bovirus:
Busybox 1.23.2 selinux and not selinux is already available thaks to [MENTION=5423715]YashdSaraf[/MENTION]).

You can find it on http://xdaforums.com/show...5&postcount=45

[MENTION=5109059]7175[/MENTION]

Please could update first post with busybox SELinux 1.23.2 and also not SELlinux?

[MENTION=5423715]YashdSaraf[/MENTION]

Could you please also compile busybox 12.3.2 NOT SELinux version?
[Android Software/Hacking General [Developers Only]] blastagator:
[MENTION=5109059]7175[/MENTION] - Would you mind posting the compiled libraries for libselinux and libsepol?

libselinux.a and libsepol.a

That would be appreciated.
[Android Software/Hacking General [Developers Only]] :
BusyBox 1.23.2 for x86 SElinux enabled

couldn't find a selinux version for x86 (i needed a native one because i was using it in an initram so no arm emulating there) so i compiled one myself, all options enabled (except for the really really obsolete, not useful at all ones)

i also included a upx-packed one
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5109059]7175[/MENTION]

Could you please compile the busybox with latest source (124.0)? Thanks.

---------- Post added at 09:44 AM ---------- Previous post was at 09:42 AM ----------

@YashdSaraf

Could you please compile an post your busybox files using last source (1.24.0)?

Thanks. Bye.
[Android Software/Hacking General [Developers Only]] L.F.B.:
Plus one here! With full permissive selinux.

Thanks in advance :)
[Android Software/Hacking General [Developers Only]] jcfunk:
I got 1.24 but can't get 1.25 to compile

1.24 is optimized for LG G3, if anyone wants I'll post
[Android Software/Hacking General [Developers Only]] exodius48:
will it work on miui?
[Android Software/Hacking General [Developers Only]] jcfunk:
Yes. It optimized for mcpu=cortex-a15 -mfpu=neon-vfpv4

might not work on other cpu.
[Android Software/Hacking General [Developers Only]] exodius48:
I don't know about mcpu, i use this device http://www.gsmarena.com/xiaomi_redmi_note-6217.php

If it compatible with my device, please share it to me. hehe :D

Im using kitkat rom. MIUI 7.
[Android Software/Hacking General [Developers Only]] jcfunk:
It has a Octa-core 1.4/1.7 GHz Cortex-A7. When I figure why it won't build the latest git source. I'll post for Cortex-A7 cpu
[Android Software/Hacking General [Developers Only]] exodius48:
Hope you can build it :)
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5109059]7175[/MENTION] [MENTION=5423715]YashdSaraf[/MENTION]

Could please compile latest busybox stable (1.24.1) and update zip file in first post? Thanks.
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
here is BusyBox 1.24.0 Stable to flash in custom recovery.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=4513035]-CALIBAN666-[/MENTION]

Busybox 1,24,0 is the instable version. Some days ago was released v. 1.24.1 stable.

Did you build yourself?

Is it SELinux compatible?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Busybox 1.24.1

Here you go guys, busybox 1.24.1 compiled against the standard glibc toolchain hence the slight increase in size; uclibc is not compiling on my mi4 giving a linker error of which I don't know the source yet. Anyhow, attached are the flashable zips of busybox with and without selinux support and a tar consisting of both the binaries. ENJOY!

Busybox-1.24.1-SELinux_Enabled.zip

Busybox-1.24.1.zip

Busybox_bins.tar
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for your files. [MENTION=5109059]7175[/MENTION]

Could you please update the files in first post?

Could you please change the buildbox version in the title and add "flashable zip in the title"?

Thanks.
[Android Software/Hacking General [Developers Only]] jcfunk:
I can't figure out why I'm getting libselinux errors when compiling. What's your build configuration? I'm using Ubuntu xenial, GCC 5.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
I haven't been able to build SELinux enabled busybox on my x86_64 Trusty pc at all. On my mi4 though I'm able to build using the standard glibc (gcc 4.8.1) on Saucy following the instructions in OP. You just have to get the source of selinux and sepol libs and compile them before building busybox. I use the configs attached in the OP by running a 'make oldconfig' before building.
[Android Software/Hacking General [Developers Only]] jcfunk:
I'm using my G3 to build in chroot. I've tried compiling the libs but still get error. Going to try on Evo3D.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Busybox minimal

All right guys, attached here is a flashable zip of busybox compiled against uclibc (gcc 5.2) for smaller size, using android_defconfig, which basically means it's minimal yet complete. Here's a list of applets NOT included compared to my previous binaries. If you do not use the above mentioned applets I'd recommend using the attached busybox as it's only 804kbs.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Busybox 1.24.1 for x86

Hey guys, I managed to compile busybox for x86 devices as well. I've tested the binaries on an emulator running on Intel atom x86 system image. So if you encounter any errors please give your feedback.

Attached are the two flashable zips and a tar containing the binaries. ENJOY!

Busybox-1.24.1_x86.zip

Busybox-1.24.1-SELinux_Enabled_x86.zip

Busybox_bins_x86.tar
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

When do you suggest (in which device with which hardware resourecs) the minimal version of busybox (ex. RAM < 1GB)?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Busybox in itself isn't that resource hungry. I just compiled it for those who have a space crisis in their system partition (I know a few kbs don't matter for most but for some they do). Bottom line, you've got enough space in /system use normal busybox else use the minimal one.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for the clarification.

What's about SELinux version (or not Selinux) version use?

Can I say that SELinux is ideal for Androdi 4.4 or up and not-SElinux version for Android 4.3 or lower?

Or is there other any sggestion to identify the right use of SELinux version?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
The explanation in the OP is pretty brief and precise.

If you'd still like me to break it down, just look at the applets mentioned above in the first two lines. If you use any of those, and by you I mean YOU and not any mods or apps you might've installed, then I'd recommend installing the SELinux enabled busybox else go for the normal one. Now let me be very clear here "Installing normal busybox won't break any functionality of your apps or mods "

(unless the dev has explicitly mentioned so)

. I hope this clears up things for you.
[Android Software/Hacking General [Developers Only]] JazzMartian:
[MENTION=5423715]YashdSaraf[/MENTION] , I downloaded and attempted to install the Full 1.24.1 SELinux Enabled version you had uploaded (multiple times), and the installation kept failing. So I compiled a version, using your files, that I was able to get to install successfully. I tested it multiple times, and it worked w/o fail. I figured in case anybody else was having the same issue, I'd provide the version I got to work, until you can fix it maybe. And thanks for sharing your work here with us. :)

This is the full version, and the flashable zip will install 307 applets.

Root Validator screenshot:

[IMG="Root Validator screenshot"]http://i.imgur.com/fi87HQ1.png[/IMG]

http://www.mediafire.com/download/wuldknncpx5am9h/BusyBox-1.24.1-YDS-ARM-SELinux.zip
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=6406232]Ziontist[/MENTION]

Which is the error log of the original ZIP?
[Android Software/Hacking General [Developers Only]] JazzMartian:
I don't recall what error I was getting (pretty sure I tried with both CWM and TWRP, and it failed w/ both). I don't have the log anymore. Were you able to successfully flash it?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey I just downloaded and tried it on my mi4 running 5.1.1 and as you can see in the screenshots it's running fine.

If you could, please try flashing it again to reproduce the error so maybe we can solve it.

EDIT: I just realized, I haven't uploaded any binary with 307 applets. Please make sure the one you downloaded is in fact mine.

Here's the applet count for my bins.

Normal - 380

SELinux - 390

Minimal - 277
[Android Software/Hacking General [Developers Only]] JazzMartian:
Hey, thanks for the prompt reply and support. Ok I re-DL'd your SELinux Enabled zip and installed it. This time it was successful. Not sure what the issue was before. However, Root Validator is still showing 307 applets. However, when I uninstalled and reinstalled it, I saw that 387 symlinked applets were uninstalled. Any thoughts.. and a recommendation of a way to properly count the number of currently installed applets?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Just enter following command in any terminal,

busybox --list | busybox wc -l
[Android Software/Hacking General [Developers Only]] exodius48:
Just asking, what is benefits using selinux busybox? Currently I'm using KitKat 4.4.2, can i use non selinux busybox?
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5210243]exodius48[/MENTION]

Suggested version

Android 4.3 and lower - Busybox 1.24.1 not SELinux

Android 4.4 and highe - Busybox 1.24.1 SELinux
[Android Software/Hacking General [Developers Only]] bovirus:
Pelse take care that zip for 1.24.1 SELinux failed the installation.

Without any detauils about fail reason.

Please fix it. Thanks.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey, I haven't updated or re-uploaded the files. Maybe it was an incomplete download? Could you please cross check the md5sum of the download with this one 142b9b38a1440e271738d8b76cb018e7

If it still doesn't work after re-downloading tell me the recovery and device you're using and have you ever successfully flashed my zips before.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=6406232]Ziontist[/MENTION]

Could you please re-upload you mod busyboxv version zip on mediafire?

[MENTION=5423715]YashdSaraf[/MENTION]

I believe that cannot be an incomplete downlaod because I checkec the CRC consistecncy and it's OK.

The zip, copied into teh device, launchd by TWRO recovery (TWRP 2.8.4.0 on Jiayu S3 Advanced with KK ROM 13.08.2015) show all message (without errors) until to "All DONE" then show and error (without any other detail) and told "Faiield".

Merry Xmas.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
FIXED zips

Hey, guys I've uploaded the fixed flashable zips for people who were getting errors earlier when flashing. Thanks to [MENTION=637263]bovirus[/MENTION] for testing and reporting. Some recoveries do not have a "/tmp" folder thus the zips were not flashing properly. However, these new zips do not use a "/tmp" folder and extract to the system partition directly.

NOTE: If the previous zips worked for you, there is no need to update to these. NO changes have been made to the busybox binaries, just to the zips.

Busybox_1.24.1_arm.zip

Busybox_1.24.1_SELinux_arm.zip

Busybox_1.24.1_x86.zip

Busybox_1.24.1_SELinux_x86.zip
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for the update

I propose you for next releases to use the zip filename scheme

busybox_x.xx.xx_Arm_by_YashdSaraf.zip

busybox_x.xx.xx_Arm_SELinux_by_YashdSaraf.zip

busybox_x.xx.xx_Intel_x86_by_YashdSaraf.zip

busybox_x.xx.xx_Intel_x86_SELinux_by_YashdSaraf.zip

Thanks.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Busybox for MIPS devices

Hey guys, I've compiled busybox for MIPS platform as well. I've tested these on an emulator so please leave your feedback.

Busybox_1.24.1_mips_YDS.zip

Busybox_1.24.1_mips_SELinux_YDS.zip
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for all creations.

.

[MENTION=5109059]7175[/MENTION]

Please update first post with latets creation of YashdSaraf.

- busybox 1.24.1 Not SELinux/SELinux for ARM

- busybox 1.24.1 Not SELinux/SELinux for Intel x86

- busybox 1.24.1 Not SELinux/SELinux for MIPS
[Android Software/Hacking General [Developers Only]] doomscooter:
What different selinux or not selinux?
[Android Software/Hacking General [Developers Only]] exodius48:
Read 1st post before ask!
[Android Software/Hacking General [Developers Only]] jcfunk:
I will test on my router when I get a chance.

Update:

got this error

./busybox: line 1: syntax error: unexpected "("
[Android Software/Hacking General [Developers Only]] JazzMartian:
[MENTION=5423715]YashdSaraf[/MENTION], yeah I continued to receive errors, and noticed it was the folder hierarchy/structure. I used one? of Stericson's scripts on the lastest zip I threw together. Thanks for the fix though!

[MENTION=637263]bovirus[/MENTION], sorry, I missed a notification about your request, or else I would have uploaded that.
[Android Software/Hacking General [Developers Only]] jcfunk:
[MENTION=5423715]YashdSaraf[/MENTION]

I need busybox mips Big endian
[Android Software/Hacking General [Developers Only]] YashdSaraf:
So that's the cause. I've been searching your error all over the net :confused:

I can build the big endian binary but you gotta give me a couple of days. Great find though.
[Android Software/Hacking General [Developers Only]] jcfunk:
Yes I believe, from what I seen mips are big or small. The SoC on my router uses Big.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Hey, please check if this binary works for you, it doesn't have the selinux support but I can add that later on if you need, first we gotta verify if it works or not.
[Android Software/Hacking General [Developers Only]] jcfunk:
Ok will check, no selinux need. OS on router is very lean. 4 megs [emoji6]
[Android Software/Hacking General [Developers Only]] jcfunk:
[MENTION=5423715]YashdSaraf[/MENTION]

your busybox mips Big Endian works great. Thanks.
[Android Software/Hacking General [Developers Only]] vjtigas:
The recovery of my device uses /tmp, but when I install your original BusyBox 1.24.1 SELinux arm zip, it still fails. Going to try this.
[Android Software/Hacking General [Developers Only]] bovirus:
@ vjtigas

Which version of busybox do youw ant to install?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
BusyBox v1.24.2

Please refer to this thread for download links and further releases. Thank you.:)

Hello people,

I've put together installer flashable zips for busybox version 1.24.2 for arm, x86 and mips.

These zips create an installer script in /system/etc which copies the busybox binary to /system/xbin or /su/xbin whichever is available (/su is preferred). Installer deletes itself and undoes all the changes to the /system (except of course the busybox binary itself if /system/xbin was chosen).

Links:

ARM => Normal SELinux Tar

x86 => Normal SELinux Tar

MIPSEL(Little Endian) => Normal SELinux Tar

MIPSEB(Big Endian) => Tar

I'm working on an All-In-One installer, should be ready soon:good:.

Update: ALL-IN-ONE busybox installer

Above attached AIO flashable zip detects the architecture and installs busybox accordingly.

For android versions 4.2.2 and above, SELinux enabled busybox is used and Non-SELinux for lower android versions. This can be overridden (before flashing the AIO zip) 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:D.

Please report any discrepancies you might face as most of the testing has been done on emulators.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Thanks for your busybox.

Could you please add to your busybox libraries the busybox for MIPSEL (processsor for TV box)?

Do you think that should be possible in the future to add laso busybox for processor like the CPU used in Android IP TV box like Amlogic S805/S905 and Rockchip RK3368?
[Android Software/Hacking General [Developers Only]] m0han:
please see this post and suggest how binary for arm64 alone can be retained in the zip. thanks.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
You don't need to do that. Just use the zip meant for ARM.
[Android Software/Hacking General [Developers Only]] m0han:
thanks. but,....

- does 'SELinux_Enabled' mean selinux

enforcing

?

- does arm zip include

arm64 binary also

? and...

- will 'BusyBox-arm-1.24.2-YDS.zip' retain my selinux

permissive

status?

'noobestions', maybe. but, please reply. which variant is best to use?