yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Zackptg5:
Many of you already know that I have them all of my projects listed with their respective xda threads and download links on my website, but not all of them had an xda thread. So rather than cluttering xda with a new thread for each individual mod I make, I decided to put the smaller ones here :victory:

Binaries

Cross Compiled Binaries For Android Build Script

The new home for my binary build script. Combines what was formerly GNU and Misc build scripts into one. It contains a good number of useful binaries such as aria2, bash, coreutils (with advanced cp/mv - adds progress bar functionality), curl, gawk (GNU awk), sed, vim, zsh, and more. Check it out to see the expanding list

Keycheck

Finally tracked down the source code for this. This will compile the keycheck binary so you can use vol key selections and what not. Uses a modified build script by @osms0sis. Instructions on the repo

Zip for Android

This builds the zip binary, prepared for android by cloudchou @github in addition to a build script by @osm0sis that I modified for this. Just clone the repo, cd to jni, chmod the build script, and run it

Mods

Cross Compiled Binaries For Android

This zip contains a term script which can install any number of the growing list of binaries I've managed to cross compile for android. Here's the repo where they're all stored

Codec Power Gating Disabler [Deprecated]

Another straightforward one. Disables codec power gating. It's needed for some audio mods like @chdloc's Biquads

Kernel Sepolicy Patcher [Deprecated]

Unlike most sepolicy mods out there, this one changes sepolicy at the kernel level - meaning no boot script crap so it'll work regardless of other mods/root solutions (or lack there of). You can choose between enforcing or permissive while flashing it - you can use this to switch at will to test stuff out or whatever

Module Manager [Deprecated - not needed with magisk v24]

Magisk Canary v23.x got rid of the magisk-modules-repo from the app. This term script replaces that temporarily until an in-app solution is implemented. Allows you to update and install mods with ease.

Overlay Mount Fix [Deprecated]

Fix for overlay mount related issues with magisk - often seen in oneplus devices with /product

Misc

Searx Instance

Searx is a metasearch engine with a focus on privacy. It allows you to search many search engines at once without being tracked by them - I use it to remain private while using google and to for scientific journal article searching (science tab). I have more details on what it is/setup here on my website

More will be added when I come out with them. For a complete list of all of the stuff I work on, check out my website linked at the top of this post :)

Audio Mod Troubleshooting Guide

XDA:DevDB Information

Zackptg5's Misc Projects, Tool/Utility for all devices (see above for details)

Contributors

Zackptg5
[Android Software/Hacking General [Developers Only]] cmo220:
Earlier this week I got Android Auto in my car. I never considered that Viper4Android wouldn't work with it. I was hoping the USB Policy Patcher would fix that but it didn't. It looks like this is a problem for most, if not all people.

Has anyone found a way to use V4A while connected to Android Auto through a USB cable? If so, please explain what you had to do. Thanks.
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated mods for new unity 2.2

Also added option to notification_helper remover to remove libvolumelistener.so
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
[MENTION=6037748]Zackptg5[/MENTION]

If i want to use your Bash for android in a kitkat stockrom.. then the following zip is fine?..

I extracted the main files from your zip and made a simple zip...

since in Magisk Manager ..description about your bash for android says it needs 5.0+.....

Thanks
[Android Software/Hacking General [Developers Only]] Zackptg5:
The compiled zip is for lollipop+. If you want it for older, go to the bash build script link in the OP and compile arm binary for Api 19 (or older)
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Thanks for quick reply...

But I dont have a pc sir...:(
[Android Software/Hacking General [Developers Only]] Zackptg5:
Build script is for Linux. I'll try building later today
[Android Software/Hacking General [Developers Only]] Zackptg5:
Here you go, latest bash stable compiled for kitkat (API=19) (and newer) arm devices
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Thanks a lot for your time..

and Happy New Year...

but I just place in xbin without any other files?

i.e., /system/etc/bash/bashrc

/system/etc/bash.bash_logout

/system/etc/bash.bashrc

are not needed?
[Android Software/Hacking General [Developers Only]] Zackptg5:
Right. Then chmod 0755 it
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
/system/etc/bash/bashrc

/system/etc/bash.bash_logout

/system/etc/bash.bashrc

are not needed?

I saw these files in your main zip v1.8.4
[Android Software/Hacking General [Developers Only]] Zackptg5:
They're technically not needed but can be useful. You can place them manually, or unzip the bash module zip and replace the bash binary in the arm folder in the custom.tar.xz folder with the one I attached
[Android Software/Hacking General [Developers Only]] Zackptg5:
Added zip and zipalign binary build repos :)
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated bash to v5.0 stable
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
API 19?

also why nanodroid bash is 4.*mb and yours is 1.*mb?
[Android Software/Hacking General [Developers Only]] Zackptg5:
I have it as minimum of 21 because that's the magisk minapi so I'm just keeping it consistent. You can always compile it for 19 with my build script here: https://github.com/Zackptg5/Bash-for-Android-Build-Script

My compiled binaries are stripped which means that inessential stuff (things not required for normal functions) were removed. See more on that here: https://en.wikipedia.org/wiki/Strip_(Unix)
[Android Software/Hacking General [Developers Only]] tutibreaker:
the Kernel Sepolicy Patcher dont work for j5 pro android 8.1 twrp says error 1 when try to install
[Android Software/Hacking General [Developers Only]] Zackptg5:
Log?
[Android Software/Hacking General [Developers Only]] tutibreaker:
That all the rom installed busybox, and i try 2 versions of it and Same results
[Android Software/Hacking General [Developers Only]] Zackptg5:
Can you save the actual recovery log so I can see the cause of the error? After flashing zip, go to advanced -> copy log
[Android Software/Hacking General [Developers Only]] Zackptg5:
Due to the recent additions of several more non-gnu binaries to my cross compiled success list, I combined them into one build script repo. Updated the OP with it so check it out!

https://github.com/Zackptg5/Misc-Binaries-For-Android-Build-Script

Currently contains htop, patchelf, strace, vim, and zsh (compiled binaries are in the same place as always (https://github.com/Zackptg5/Cross-Compiled-Binaries-Android/
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated ccbins with addition of zstd and added ohmyzsh to zsh binary - it's pretty slick
[Android Software/Hacking General [Developers Only]] Zackptg5:
Pushed updates for several binaries. Cpio won't be updated to 2.13 because it got issues :/
[Android Software/Hacking General [Developers Only]] Mogster2K:
What's the best way to use the GNU utilities? There used to be a Magisk module, but it doesn't seem to be in the repo anymore.
[Android Software/Hacking General [Developers Only]] Zackptg5:
It's the ccbins module now (cross compiled binaries). It got replaced, ccbins has way more
[Android Software/Hacking General [Developers Only]] Zackptg5:
Finally checked off something on my bucket list for a while now - got full selinux support in coreutils. I'll be pushing the updated binaries later today
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated overlay fix! Now supports loop mounts present in overlay mount destinations (i.e. reserve.img on some OP devices)
[Android Software/Hacking General [Developers Only]] BostonDan:
Zackptg5,

I am very interested in this, and have installed V2.0 via magisk canary on my Pixel 3xl with June Security Patches, however going into terminal and typing

su

ccbins

I get an error

"/system/bin/sh: ccbins: inaccessible or not found"

Am I missing something?

Thanks in advanced for any assistance.

Cheers,

B.D.
[Android Software/Hacking General [Developers Only]] BostonDan:
Zackptg5,

I have investigated the addition of your cross compiled binaries and I have a suggestion.

My Pixel 3xl on Android 10 cannot write to /system/bin (or other bin directories as your program tries to do). The outcome is that while ccbins believes the binaries are installed to these directories, no file is written.

But one thing you could do is write the binaries to the /data/abd/modules/ccbins directory and then create symbolic links to these files. This is permitted on the file system.

Just a suggestion as I would love to use these binaries but currently cannot (well, I could read your code and modify it as suggested above, but I don't want to get into your swim lane as I respect your work).

Thanks for the hard work.

Cheers,

B.D.
[Android Software/Hacking General [Developers Only]] jcmm11:
The default install location, which ccbins shows as /system/bin is actually /data/adb/modules/ccbins/system/bin
[Android Software/Hacking General [Developers Only]] BostonDan:
I just figured it out. Requires a reboot after install (either I missed this in the instructions or it wasn't in there). Also, I found that it would only create the symbolic links in /system/bin, not vendor or product.

In any case, thanks for this module! All is well now.

Cheers,

B.D.
[Android Software/Hacking General [Developers Only]] akashavel:
Hi when I install overlay mount fix 2.1 my stock os ( realme xt C5 version) have problems like WiFi,hotspot, rotation screen not working. Please help ..
[Android Software/Hacking General [Developers Only]] BRANDENDEUCE:
Overlay fix is Causing my oneplus 6 10.3.5 to not recognize earphone plugged in to the jack. Not sure why.
[Android Software/Hacking General [Developers Only]] Zackptg5:
/sbin doesn't exist in android 11 (least on my pixel 4a) which breaks some hard paths I had setup. Working on updating applicable mods. I recommend being on latest magisk stable (20.4) or latest canary if updating to 11

Edit: Turns out only overlayfix and ccbins needed updated so fixes have been pushed
[Android Software/Hacking General [Developers Only]] Zackptg5:
Pushed a couple more fixes to overlayfix and updated several binaries in ccbins - possibly be adding custom repo support and more binaries in the near future :)
[Android Software/Hacking General [Developers Only]] Zackptg5:
Big update for ccbins! Added a few dynamic linked binaries and some new static ones too
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated ccbins again! Changed up connection test so people won't have problems with it anymore, changed to using curl for most things (fixes other problems ppl were having), and added an option to disable automatic checking for binary updates each launch (helpful for users with slow network speeds)
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated ccbins again to v5! Added md5sum checks on all downloads and removed all wget/ping stuff - curl only for everything. Should help eliminate download issues users were having
[Android Software/Hacking General [Developers Only]] Zackptg5:
Ccbins has been updated yet again with more changes to attempt to accommodate the varying internet connection issues of users. Hoping this is the last update related to it. Also pushed some updates server side so the module.prop is updated too so you don't need to flash the zip again, ccbins will update everything itself at launch
[Android Software/Hacking General [Developers Only]] Truant_Luce:
I'll try to get a logcat next time, but I have (I believe) narrowed down an issue that causes my phone's cellular signal to not function.

Sometimes a reboot fixes it, but it's not a guarantee, and sometimes I have to uninstall the package for it to work again.

This is the overlay mount fix.

I'd consider not using it, but it's bundled with another package and is required. Anyone else have a similar issue?
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated ccbins has been updated to 7.0! Finally got the connection issues ironed out for chinese users with a doh workaround. Also reworked the options a bit
[Android Software/Hacking General [Developers Only]] mj084:
[MENTION=6037748]Zackptg5[/MENTION]

jfi - v2.4 was the last working version here on OP7T...
[Android Software/Hacking General [Developers Only]] Zackptg5:
Of which mod? If ccbins, you'll want to completely remove the old one first
[Android Software/Hacking General [Developers Only]] mj084:
Oh sorry, meant the Overlay Mount Fix - used it in combination with xXx - if you remember? ;)

https://xdaforums.com/showpost.php?p=81514427&postcount=48

Stayed a long time on xXx 11.5 which included v2.1 of the Overlay Mount Fix and worked perfectly:cowboy:

With xXx v12.1 - v2.4 of your fix was included:

https://xdaforums.com/oneplus-8/one...-speed-ram-t4088609/post83638207#post83638207

Using v12.2 of xXx with the old Overlay Mount Fix (v2.1) at the moment (replaced the 4 files in the xXx zip) and it works normal :)
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated a few of the binaries. I had the versioning decimals incorrect for bash though (fixed now) so you'll need to remove bash and then reinstall it to get the updated one
[Android Software/Hacking General [Developers Only]] Zackptg5:
Added exa binary to ccbins - it's a better version of ls essentially. See here for more details: https://github.com/ogham/exa

Edit: rather than make another post for this, updated tcpdump to 4.99.0 but only dynamic compiled - static was throwing errors so the static tcpdump is still 4.93. With this new dynamic one though, I also got openssl built in for ssl support
[Android Software/Hacking General [Developers Only]] Zackptg5:
Been busy updating the binaries and scripts - I combined the GNU and Misc build scripts into 1 build script in the Cross Compiled Binaries repo. Easier and more manageable to keep everything under one roof :)

Check it out here: https://github.com/Zackptg5/Cross-Compiled-Binaries-Android/tree/master/build_script

Also combined the curl and aria2 scripts into 1 here: https://github.com/Zackptg5/Curl-and-Aria2-For-Android
[Android Software/Hacking General [Developers Only]] Zackptg5:
Long time coming but finally got nano to compile with libmagic! Means that nano now has all the customizations i wanted. Its still the same version so you'll need to uninstall/reinstall nano to get jt5
[Android Software/Hacking General [Developers Only]] Zackptg5:
Big update to the binary build script! Completely reworked it so it's much more clear/concise. Added wavemon (for the few devices with kernels that can use it), updated tcpdump, and finally figured out how to get strace to compile (newer than v5.5 was throwing errors with m32 support for arm64/x64 architectures) :D

Edit: Added curl and aria2 to it, now all my main build scripts are in 1!
[Android Software/Hacking General [Developers Only]] Zackptg5:
To anyone interested in static curl, I updated the repo with static curl compiles that have everything enabled now (got that figured out). Removed the dynamic ones since there's no need for them anymore. Also zeroing in on the dns resolution problem when not root. It's related to some permissions changes in oreo+ but I pushed a workaround for now to ccbins (if you specify the dns servers in curl -

--dns-servers whatever,whatever

- then it'll work fine as non-root) so this workaround is automatic.

If you're running curl in a zip, then you're already root so you don't need to worry about this. Some of the additions to static curl include ssh/sftp support (libssh2), http3 (quiche - experimental) support, and cookie support (libpsl)
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated ccbins with a fix for wireguard - you can now run it while having wireguard tunnels active :)

Also figured out how to get openssl to work with tcpdump static compile so updated that and removed the dynamic one since there's no need for it anymore (also removed aria2 dynamic)
[Android Software/Hacking General [Developers Only]] MockTuMacho:
What does Overlay Mount Fix do? Im using it so i can fix a Magisk Module but now my game space Fnatic mode on my OnePlus 6t is not working propperly :c
[Android Software/Hacking General [Developers Only]] Zackptg5:
It essentially unmounts and remounts any overlay mounts with the addition of any magisk module files/folders that would be mounted to those directories. Overlay mounts essentially "overlay" the contents of the mount on top of whatever already exists and does so in a way so that only the overlay mount files/folders are accessible. So anything else that used to be present before the overlay mounted on top of it is not accessible. I don't have a device with any overlay mounts currently so I've been unable to look at it as of late
[Android Software/Hacking General [Developers Only]] Zackptg5:
Finally figured out the dns resolution problem with curl and aria2 - dynamic linked builds work fine without root without the need for any hacky workarounds if using native resolver rather than c-ares. So I added those binaries to the repo. If you're device is new enough, I highly recommend using those over the static copies (API of 26 aka Oreo).

If your device is older, static will work fine cause google didn't add the restrictions until the above
[Android Software/Hacking General [Developers Only]] ioneng:
Hi I'm trying to fix a Magisk module by using your overlay mount fix module. But installation fails with ”no overlay mounts detected”. I have a samsung note10+ running android 11. The other Magisk module is Ambient Music Mod. It supposed to mount under /system/product.
[Android Software/Hacking General [Developers Only]] mrrocketdog:
@Zackptg5 , just found ur Searx. thank you ,

dave
[Android Software/Hacking General [Developers Only]] Zackptg5:
No problem :)

Changed default to start page. Ran into the Google captcha issue for a hot second but seems to have solved itself. Google still works for now :/
[Android Software/Hacking General [Developers Only]] ale82to:
first of all thanks for ccbins.

I've got a small problem downloading from mixdrop using aria2.

I use fenix with a UserScript to get file url

for example from https://mixdrops.icu/e/l6zvogkqhnoe4z

I get

https://s-delivery25.mxdcontent.net/v/1f6023b462afb1dff54b3e7bf85df8ea.mp4?s=f2MfHMlbeZnjE9xcIuMpoA&e=1619167840&_t=1619148157

when I pass it to aria with shell command

cd /storage/emulated/0/Download

/data/local/tmp/aria2c --check-certificate=false -j 16 -x 16 -s 8 -k 1M -o u.mp4 https://s-delivery25.mxdcontent.net...HMlbeZnjE9xcIuMpoA&e=1619167840&_t=1619148157

download won't start.

I placed aria in tmp folder giving right permission, I tested that command and for many others host file (mp4/apk) work wonderfully.

can someone help me with right flag (like cookie or header) I might be missing

thanks for the help
[Android Software/Hacking General [Developers Only]] Zackptg5:
@ale82to I got the same results as you. I'm not expert in the actual use of aria2 so afraid I won't be of much help there :/ You could try curl or something

Updated bash - fix for seg fault with regex
[Android Software/Hacking General [Developers Only]] danny b.:
Overlay mount fix doesn't work with Android auto on latest build op7p.

Everything else works. But Android auto keeps crashing (just a black screen on the phone) doesn't connect to car unit.
[Android Software/Hacking General [Developers Only]] daemonspudguy:
Ccbin is broken.
[Android Software/Hacking General [Developers Only]] Eng.Raman:
How to revert changes of Overly Mount fix module?

My device run in a bootloop after flashing this module and just uninstall it or dirty flash my latest device software did nothing.
[Android Software/Hacking General [Developers Only]] Zackptg5:
You need to remove it like any other magisk module - either remove in magisk module or if you're stuck in boot loop, follow directions here: https://topjohnwu.github.io/Magisk/faq.html
[Android Software/Hacking General [Developers Only]] Zackptg5:
Updated ccbins! Had an issue with my text editor messing with EOL again leading to bugged version that was up for a few minutes. If you get a weird error, just reflash latest 8.1 zip here: https://zackptg5.com/android.php#ccbins

Changelog:

Updated built-in busybox and curl binaries

Added fix for android 12
[Android Software/Hacking General [Developers Only]] Zackptg5:
Trimming down mods I can actually work on ones that I can't. Updated the OP with mods I'm abandoning (I no longer or will ever own a oneplus device again and any TWRP related mods are gone)
[Android Software/Hacking General [Developers Only]] rodken:
@Zackptg5 Is the Module Manager compatible with Magisk-Alpha?
[Android Software/Hacking General [Developers Only]] Zackptg5:
It's only compatible with canary builds (you could call them alphas). Magisk version > 23.0.

Technically it's compatible with older versions but I disabled that cause there's no reason for it in v23 and older
[Android Software/Hacking General [Developers Only]] Zackptg5:
ccbins updated to v9.0, lots of updates to the binaries and build script - added wget2, fixed htop, fixed bash
[Android Software/Hacking General [Developers Only]] Buddhaog:
For some reason flashing this and running the installer and terminal emulator rooted downloads fine targeted for system/bin/ boot loops on proton rom and stock rom rooted A12 pixel 5. It has never happened before with cabins. Anybody else updated with success? Idk if the magisk canary, zygisk situation has something to do with it.
[Android Software/Hacking General [Developers Only]] Buddhaog:
I also couldn't get your magisk module zip to work in terminal emulator. It wouldn't show any modules but that one.
[Android Software/Hacking General [Developers Only]] Zackptg5:
I'll need logs to see what's going on. Save log in magisk manager when flashing, ccbins log is in /data/local/tmp/
[Android Software/Hacking General [Developers Only]] kgursu:
Hi @Zackptg5, thanks for these tiny, but useful modules.

I encountered Module Manager lately here and in your website. As Topjohnwu archieves and removes his repository, which source will you use later? Could there be a possibility in the future to make this selective from possible alternatives and even from custom entries?
[Android Software/Hacking General [Developers Only]] Zackptg5:
My understanding was that he would deploy an alternative solution before stable release so module_manager should be temporary. Custom entries are already allowed for any GitHub repo
[Android Software/Hacking General [Developers Only]] Mogster2K:
Does Cross Compiled Binaries conflict at all with Busybox from osm0sis?
[Android Software/Hacking General [Developers Only]] Zackptg5:
Nope, the BusyBox it uses is not mounted so no issue there
[Android Software/Hacking General [Developers Only]] hsnhasantr:
Hi. It gives internet connection error. I am unable to install ccbins.

View attachment 5630509
[Android Software/Hacking General [Developers Only]] mrrocketdog:
@Zackptg5 , glad to see you still around sharing all this good work of yours.

thank you lots!!

dave
[Android Software/Hacking General [Developers Only]] Zackptg5:
What kind of internet are you using? That looks like a download error usually due to poor network connection or github getting blocked by a country/workplace firewall