yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] osm0sis:
There's a whole thread. Link in the OP.
[Android Software/Hacking General [Developers Only]] trias10:
Sorry for this very noob question, but I've only ever used BusyBox Pro by stericson and so am kind of confused by how your Magisk BusyBox module works in comparison.

I am currently rooted via a patched boot.img via Magisk 17.3. If I install your Busybox module via Magisk Manager, does it by default install your Busybox binary into /system/xbin or /sbin (or somewhere else)? Are there any other installation configurations/options which I need to deal with when installing the module via Magisk Manager?

Edit: Also, if your module installs Busybox somewhere other than /system, then how does it survive a reboot?
[Android Software/Hacking General [Developers Only]] guest4711:
It installs systemless (without modifying /system). It survives reboots because it is installed into the Magisk image which is mounted as loopback device and the busybox binaries are remapped onto system partition - the same way e.g. systemless host works.
[Android Software/Hacking General [Developers Only]] trias10:
I understand, thank you for that. So in terms of noob instructions then, in order to get it working systemless as you say, do I just need to download the Busybox Module in my Magisk Manager and reboot? There are no options I need to configure after the download to get it working correctly?
[Android Software/Hacking General [Developers Only]] guest4711:
Right. Download and install it in Magisk Manager and you are done.
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
[MENTION=4544860]osm0sis[/MENTION]

sh applet is listed in github page..

but there is no sh applet for busybox-arm latest one...
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Ok..but here is my output..

another thing is ssl_helper is only for use of wget applet right ? Or any other also?
[Android Software/Hacking General [Developers Only]] marcdw:
Ah, so I take it the missing sh is only in the 1.29.3 previous build then. Because it's also not present on this ROM with September version.

BusyBox v1.29.3-osm0sis (2018-09-25 16:48:06 ADT) multi-call binary.
...
scriptreplay, sed, sendmail, seq, setconsole, setfont,
setkeycodes, setlogcons, setpriv, setserial, setsid,
setuidgid, sha1sum, sha256sum, sha3sum, sha512sum,
showkey, shred, shuf, slattach, sleep, smemcap, sort,
split, ssl_client, start-stop-daemon, stat, strings,
...

LG G3 D851, Mahdi v2.9 ROM (4.4.4), microG (NoGApps), MultiROM, XDA Legacy
[Android Software/Hacking General [Developers Only]] osm0sis:
Correct. "sh is ash" only got added in this most recent build. That and nano date timestamp support ([MENTION=7836705]Sr. Zé Alguém[/MENTION] ;)) should be the only functional differences.
[Android Software/Hacking General [Developers Only]] osm0sis:
'ere dem tings.

First up, lots of work behind the scenes to bring up the android-busybox-ndk patchset and configs for the Android NDK Unified Headers. I now support only API 21 compiles (no big deal since my compiles are static), but both Unified and Deprecated headers patches/configs. The repo had a nice little cleanup of old unneeded patches!

Next, the latest Magisk Canary, v17.4-a9f265a5(17318), includes a fix thanks to [MENTION=4470081]topjohnwu[/MENTION] for a post-fs-data.d issue introduced in Magisk v16.6 (1664) I painstakingly tracked down that was affecting large scripts with `( {}& ) >> $out` piped output like my gappsintegrator script on some devices (indicating a larger issue with the shell environment), so I took some time to fix up the gappsintegrator script today now that it works on my trusty old Galaxy Nexus again.

Tested personally on Marshmallow and Nougat; I haven't received any reports about Oreo yet, and haven't tried, but would be very interested to know. Useful for those end-of-life devices that aren't getting any more ROM updates but you want to keep GApps integrated without downloading the entire GApps packages regularly. Remember this is experimental, so not for the faint of heart nor lacking of nandroid, but it seems to be working well!

I work on these projects in my limited time off, so if you like the progress I'm making, or enjoy anything else I've done on xda, please do hit the donate link from my profile. Thanks for your support!

UPDATE-Busybox.Installer.v1.29.3-ALL-signed.zip:

- update to NDK Unified Header builds, enabling nano timestamps, also "sh is ash"

See the related commits here: https://github.com/osm0sis/android-busybox-ndk

UPDATE-nano.Terminal.Editor.v3.2-signed.zip:

- update to latest nano official source

gappsintegrator: v11.5 - update Magisk support, add new dryrun mode, fixes:

- ensure under Magisk that the mirror target is a directory to find the actual mountpoint, since (for now) Magisk Manager makes backwards compatibility symlinks which would confuse the mere existence check

- add support for /data/adb/post-fs-data.d and /sbin/.magisk/mirror (Magisk v17.4) system mirror altering

- fix system write timeout log output

- add more apparent "epoch" dates to wait out during boot to get the actual system date

- introduce "dry run" mode, enabled by changing dryrun=0 to dryrun=1; does everything except make changes to /system, /data/app and /data/system files, so no actual changes to your working device

https://github.com/osm0sis/gappsintegrator/commit/fe18d6bfd16e39ef189ca12abd47b1ed9edfa3e2

Download via GitHub's raw copy of the latest version, or extract it from the repo zip. :good:

zip and zipalign binaries to be unzipped and placed in /system/bin or xbin (/sbin/.magisk/mirror/system/bin or xbin when booted with Magisk) for full integration are available from my BasketBuild: http://basketbuild.com/devs/osm0sis/binaries

Don't forget to set the correct 755 executable permissions for the script and binaries. Have fun! ;)
[Android Software/Hacking General [Developers Only]] marcdw:
Ooh, here's something I've never seen before. I was updating busybox on all the ROMs. No probs. When I flashed against my primary I guess the installer went looking for installed root, found a directory with an unzipped SuperSU, and decided to install there. That was unexpected but funny at the same time.

LG G3 D851, Mahdi v2.9 ROM (4.4.4), microG (NoGApps), MultiROM, XDA Legacy
[Android Software/Hacking General [Developers Only]] osm0sis:
Haha, yeah, Chainfire intentionally made it with that supersu_is_here or whatever file so he could move it around easily if Google blocked the use of /data/adb somehow, so searching for that file is the correct way to find an installation. I'd suggest just keeping it zipped, or deleting that file if you absolutely need it unzipped.
[Android Software/Hacking General [Developers Only]] jcmm11:
[MENTION=4544860]osm0sis[/MENTION]

The following post may be of interest to you. Not sure how much you've already incorporated. (In other words it may also be useless ? )

https://xdaforums.com/showthread.php?t=1523691&p=78289326
[Android Software/Hacking General [Developers Only]] osm0sis:
Not sure what to make of that.. some of it is just plain wrong and would generate an invalid config (e.g. setting things =n).. but the rest (i.e. fixing unicode display) looks reasonable. I'll add it in the next build that comes up. :good:

Edit: I really don't think this makes much sense either:

Edit 2: Only supporting info I've found on it: https://forum.qt.io/topic/83001/unicode-on-es-files-aren-t-shown-in-the-correct-encoding/8

Edit 3: https://github.com/osm0sis/android-busybox-ndk/commit/707180d9f6abbb14c11d793d423ffea05fa17978 :highfive:
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
[MENTION=4544860]osm0sis[/MENTION]

sh is now available in latest one you linked..

any plans to make ssl_helper?

https://xdaforums.com/android/software-hacking/tool-busybox-flashable-archs-t3348543/post66918820

with your permission I will add your busybox, nano-terminal editor, Franco devs init.d pack to this ROM..
[Android Software/Hacking General [Developers Only]] osm0sis:
Why? Looks like it's a separate binary, and looks like he already built it for people. Also.. https seems to work fine in my busybox?

Yeah, go ahead and use things if you like. Test them first, those scripts might be quite outdated. @ mention me with credit for whatever you do end up using.
[Android Software/Hacking General [Developers Only]] ale5000:
Hi,

does anyone have a static compile of sqlite3 that work on any device (also from recovery)?

Possibly that work from android 2.2 to 9.

Versions needed for: armeabi, x86, mips
[Android Software/Hacking General [Developers Only]] @srmahunt:
The new magisk v18 has busybox pre installed, so is this mod useful anymore??
[Android Software/Hacking General [Developers Only]] osm0sis:
That's completely incorrect. Magisk has pretty much always had its own busybox, but it's not exposed to userspace except in boot script environments. To the contrary, the busybox bundled in Magisk v18 actually removed the majority of applets to make it build with fewer patches, so my busybox is more important for those wanting full features, not less.
[Android Software/Hacking General [Developers Only]] Nebrassy:
If I'm on a custom rom that has ota updates but also support addon.d scripts, what's the procedure for TWRP retention script?, because I'm not sure when addon.d scripts are executed, right after the ota is installed or after a reboot, so do I just flash the retention script and reboot or do I do that then install Magisk to inactive slot?
[Android Software/Hacking General [Developers Only]] osm0sis:
Really, a TWRP addon.d-v2 script would be the way to go for custom ROMs, but yeah, same as stock OTA I imagine: just allow the OTA to install in background, then use the TWRP A/B Retention zip via Magisk Manager to flash TWRP to the inactive slot, then to be safe manually install Magisk to inactive slot to reroot properly.
[Android Software/Hacking General [Developers Only]] Fr0stmatic:
SUmount script link is gone (error 410). Re-upload pls.

UPD: Sorry, XDA site bugs =_=
[Android Software/Hacking General [Developers Only]] KitsuneFoxy:
Is there Mako in here? Dont see it on the list for nexus media ?
[Android Software/Hacking General [Developers Only]] osm0sis:
Starts at hammerhead. Not that drastically different media-wise. Plus can't put them all in there or the zip would be massive.

I use hammerhead on my Galaxy Nexus even, you'll be fine. :good:
[Android Software/Hacking General [Developers Only]] cossak2007:
BusyBox Error on Pie Roms

Installed Magisk Busybox module on all the Pie roms I have tried on my Asus ZE520KL.

Checking for root gives me a Busybox error " Busybox binary file was not found in the system defined environment PATH"

Installed Busybox Pro from Play Store and no issues until I do a reboot and then have to reinstall Busybox Pro on every reboot.

Suggestions?????
[Android Software/Hacking General [Developers Only]] osm0sis:
I wouldn't trust that root check app. Check it yourself.

Don't use any busybox apps, install my module, go to a terminal emulator app and type busybox.

If it doesn't work and show my "-osm0sis" busybox, then reinstall the module and send me the log.
[Android Software/Hacking General [Developers Only]] Skulldriver:
Hello!

I am hoping someone has the answer... will this magisk module busybox 1.29.3 interfere with Titanium Backup?

Also is this safe to install and use on Note 9 N9600?

Thank you!
[Android Software/Hacking General [Developers Only]] osm0sis:
Titanium uses its own internal busybox unless you tell it to use the system one. Most people's Android busybox packages aren't built with the correct options to work with Titanium, but I debugged it way back and fixed it in my configs.
[Android Software/Hacking General [Developers Only]] Skulldriver:
Yee thank you Sir! Going to install now.
[Android Software/Hacking General [Developers Only]] jcmm11:
Just for anyone's info, I've configured Titanium to use system BusyBox (osm0sis') (and Sqlite, via Magisk module). It's working fine.
[Android Software/Hacking General [Developers Only]] usablefawn:
Renamed the Nexus Media zip, but I get an invalid message. I have a feeling I'm doing something wrong. I'm on magisk 18. OnePlus 6 OOS 9.2
[Android Software/Hacking General [Developers Only]] osm0sis:
Renaming doesn't work in Magisk Manager since it just copies everything to "install.zip". Put your media choice device name in an otherwise empty file located at /data/.nexusmedia instead. :good:
[Android Software/Hacking General [Developers Only]] The Analog Kid:
Apparently Busybox is not compatible with Apps2SD (it can't mount SD second partition) how to fully wipe busybox in order to test?
[Android Software/Hacking General [Developers Only]] osm0sis:
I don't see anywhere in Apps2SD's documentation that busybox is required, nor should my busybox ever interfere with system commands, so I have doubts that there would be a conflict. Either way, it's a Magisk module, so just uninstall it the normal way in Magisk Manager.
[Android Software/Hacking General [Developers Only]] The Analog Kid:
Well, I dare to mention busybox as the culprit since mounting second partition started failing after busybox install. No more modules have been installed ever since... However, probably I should use this option inside Apps2SD settings and see...
[Android Software/Hacking General [Developers Only]] osm0sis:
That option suggests that Apps2SD contains its own busybox. My busybox would get used only if you check that box.
[Android Software/Hacking General [Developers Only]] The Analog Kid:
Ok... So still not related? Do you think checking that box and use your busybox instead of Apps2SD's own, could make any difference?
[Android Software/Hacking General [Developers Only]] osm0sis:
You're the one using the app. Try it and let us know. ;)
[Android Software/Hacking General [Developers Only]] The Analog Kid:
... I'll try.
[Android Software/Hacking General [Developers Only]] alecxs:
the only reason why it could make any difference i can imagine is, busybox is not found from mount script, when a) option ignore systemless root is enabled or b) path to init.d folder is not set. better check in Apps2SD thread, this is not a busybox issue
[Android Software/Hacking General [Developers Only]] The Analog Kid:
[/COLOR]

Ok. Actually, "Ignore systemless root" is not enabled, and path to init.d folder is not set on my device. I'll take this to Apps2SD thread. Thanks.
[Android Software/Hacking General [Developers Only]] DragonFire1024:
I cannot begin to describe the amazing difference your 900colorsettings init script makes on the display of my Amazon Fire HD 10. It has a pretty awesome display already for a budget tablet, but this script took it to a whole new level. Your work here is impressive and has done a lot for this tablet and many of the several other devices I own. Thank you again for all your contributions.
[Android Software/Hacking General [Developers Only]] remarkablecow913:
I know. He and countless others are the backbone of what Xda is all about. Id be lost and never have ventured into this realm without these guys. I still have a Ton to learn, but what I do know came from people like osmosis, ashyx, Messi, Travis, and too many I don't remember. To all those guys (and girls) Thank you. I hope all of yalls xmas is full of the love that you show everyday of the year here. You all deserve more than you get.

Oh and i know a lot of people that have supoorted me on here live and work where Postmates is HQ. Can someone pass them a message for me. Tell them thank you for the chance to do something i love (driving and helping people and food and stare at my phone obsesively lol) and make some money doing it. It means a lot to me, as silly as that may sound. Thx

From Phoenix with L and R

Your favorite obnoxious cow

Warren C
[Android Software/Hacking General [Developers Only]] fred_gaou:
Would the "TWRP_A_B_Retention_Script-Magisk.zip" be able to keep "twrp-3.2.3-x_blu_spark_v9.86_op6" after an ota on a Magisk rooted OP6?
[Android Software/Hacking General [Developers Only]] osm0sis:
Yep.

I pushed a fix to it for the latest Magisk on Dec. 8, so just make sure you've got the latest version downloaded. :good:
[Android Software/Hacking General [Developers Only]] Watanabe_You:
Been a while since I checked here and saw some things I'm curious about. I can integrate the init.d support into my ak2 files to use the 900colour settings right? Or will spectrum scripts by flar2 be able to use it as well? Gonna try it on the redmi note 4.
[Android Software/Hacking General [Developers Only]] osm0sis:
I sincerely doubt the Redmi Note 4 has the same color interfaces as a Samsung Galaxy Nexus, so don't bother.

As for init.d in general, also don't bother since if you're still using SuperSU you've got su.d, and if you're using Magisk you've got post-fs-data.d and service.d to choose from.
[Android Software/Hacking General [Developers Only]] alecxs:
btw. can you please clarify full paths for Magisk? i know for SuperSU (its a ext4 file /data/su.img mounted -> to /su ) init.d = /su/su.d , (and for systemless binaries like busybox xbin = /su/xbin ) but for Magisk i don't know...
[Android Software/Hacking General [Developers Only]] osm0sis:
Magisk doesn't have direct paths affecting system outside of modules unless you use the simple mount. It's all pretty well documented in the Magisk threads.
[Android Software/Hacking General [Developers Only]] osm0sis:
Important progress over Christmas:

su -c "am start -n com.android.egg/.neko.NekoActivationActivity"
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
[MENTION=4544860]osm0sis[/MENTION]

Happy New Year and Congratulations for 29000+ thanks...

Can you please give your busybox in form of BB_$ARCH, EX_$ARCH variables like in Magisk update-binary.... by build.py..

So that people who don't have PC and want to learn more by trying different things like me

use your busybox instead of topjohnwu's one...

If it is possible with android then share the process sir..

I am using your edify-replacement and anykernel2

as template for all flashable zips... that zip is attached..
[Android Software/Hacking General [Developers Only]] osm0sis:
Happy New Year's! Your request doesn't immediately make much sense to me..

I think what you're requesting is an update-binary with busybox bundled into it in hex code which would then be dumped by xzdec, like Magisk does.

I won't be doing this because TWRP and Magisk provide their own full-featured flashing environment using either busybox or toybox, and I find these to be sufficient.

If you do want to do that then I suggest you look into doing it yourself.. You most likely don't even need a PC and could do it on device, probably using busybox. ;)

And any good file explorer app will zip up your files into a flashable zip.
[Android Software/Hacking General [Developers Only]] Homeboy76:
Happy New Years everyone :)

Friendly reminder for the New Year

XDA etiquette

If someone helps you, etiquette requires you thank the person that helped you.

The way to do that on XDA is tap the thanks button/icon or tap the Developer's donate link.
[Android Software/Hacking General [Developers Only]] The Analog Kid:
Yep, that box certainly must be checked. Updated yesterday to Magisk v18.0 and now Apps2SD seems to mount and bind faster at boot after installing and switching to your busybox ?. Thanks and happy new year!
[Android Software/Hacking General [Developers Only]] korom42:
Happy new year everyone! [MENTION=4544860]osm0sis[/MENTION] Attachement link for busybox seems to be broken. Just mentioning because some new people to magisk might have troubles downloading it.
[Android Software/Hacking General [Developers Only]] osm0sis:
Working fine here. Maybe wait a bit and try again. Probably just ghosts in xda's servers.
[Android Software/Hacking General [Developers Only]] petermg:
Hey thanks a lot for this. I'm running into an issue I didn't see anyone else posting about. I am trying to use this on my rooted LG G4 but I have to manually copy it to xbin. When I try to run it I get

"error: could not install *smartsocket* listener: Address already in use

ADB server didn't ACK"

:\

I've had better luck with the 1.0.37 binary you posted elsewhere but sometimes it when using it, it doesn't cause the devices I'm connected to to prompt for the RSA authorization :\. So any help is SUPER GREALY appreciated.. been working on this for hours and hours... thanks again for these awesome binaries!!!!!:good::good::good:
[Android Software/Hacking General [Developers Only]] osm0sis:
Yup that RSA problem is the reason that 1.0.37 binary build never got released in my zip package. No idea what's going on with your G4 unfortunately, mileage definitely varies with adb and fastboot on-device support.

You can always try 1.0.36 from my repo's history to see if it'll work better on your device: https://github.com/Magisk-Modules-Repo/adb-ndk/commits/master

https://github.com/Magisk-Modules-Repo/adb-ndk/archive/7cc29103414c474c649b7022190af54ebb049d88.zip
[Android Software/Hacking General [Developers Only]] petermg:
1.0.36 did the trick! THANK YOU!!!!
[Android Software/Hacking General [Developers Only]] osm0sis:
Why did you need to manually install it to xbin as you mentioned about the 1.0.39 zip? Install log?
[Android Software/Hacking General [Developers Only]] petermg:
Because I am unable to get a custom recovery on my variant. Well, at least that used to be the case, I've got the H810. Running stock rooted Lollipop ;)!
[Android Software/Hacking General [Developers Only]] osm0sis:
Magisk Manager or (if you're using SuperSU) FlashFire installs should both work still.
[Android Software/Hacking General [Developers Only]] petermg:
Ah thanks. I didn't know that.. however I am considering just, what's it called, sus'ing or is it usu'ing, my G4 to install a custom ROM. Only thing holding me back is I've yet to find (doesn't mean it doesn't exist-I bet it does and just haven't found it yet) a way to fully back-up and restore my SMS and MMS database. This is literally the ONLY THING that gives me pause when I think about switching between ROMs (when I had a G3).. or DEVICES.
[Android Software/Hacking General [Developers Only]] jcmm11:
I just use Titanium backup. You could also try something like https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestore
[Android Software/Hacking General [Developers Only]] petermg:
Thanks! Never thought to try that, I've owned the pro version for years, never looked there. I'll give it a shot. Thanks!
[Android Software/Hacking General [Developers Only]] osm0sis:
TiBU's is xml only and so you lose the MMS. SMS Backup and Restore is what I use when I change my DD. It's a tank of an app and free.
[Android Software/Hacking General [Developers Only]] alecxs:
best solution for SMS synch with Windows MyPhoneExplorer (very popular in Austria and Germany)
[Android Software/Hacking General [Developers Only]] m0han:
another app suggestion: mybackup pro. lots of other features too.
[Android Software/Hacking General [Developers Only]] jcmm11:
TiBU claims to also backup MMS. It reads:

Messages (SMS & MMS)

SMS Backup and Restore also uses xml. From the app description:

APP FEATURES:

- Backup SMS (text) messages, MMS and call logs in XML format.
[Android Software/Hacking General [Developers Only]] osm0sis:
IIRC with TiBU it means it only backs up the text from the MMS, the pictures all get lost. SMS Backup And Restore keeps all the pictures. I'll have to try again next time I switch to see if they updated it I guess! :fingers-crossed:
[Android Software/Hacking General [Developers Only]] TKruzze:
I had to quit using TiBu a year or 2 ago for the same reason. SMS Backup & Restore has worked flawlessly on my multiple device conversions I've made in the past few months... My backup includes 5+ years of SMS and MMS and is over 125MB in size.
[Android Software/Hacking General [Developers Only]] Bobbaloo:
I've used that app for years also but why would that make you stop using tibu? Unless you don't use the batch restore feature...?