STANDROID v0.6.0 — Extension Updates Support
What's New
Extension Updates Now Works
x86_64 support: Now runs on Android Emulator, BlissOS, ChromeOS, and Windows Subsystem for Android (WSA).
Per-ABI APK splits: Smaller downloads — choose only your device's architecture (~50 MB instead of ~140 MB for universal).
Fixed
- SELinux denied execute on shell wrappers → switched to symlinks pointing to
nativeLibraryDir/*.so(executable context) - Missing libpcre2-8.so → corrected Termux package name in setup script (
libpcre2→pcre2) - Missing libgit-remote-https.so → Termux uses symlink; manually duplicated from http binary
- LD_LIBRARY_PATH not inherited by child processes → now set explicitly in
ProcessBuilder.environment() - SSL certificate errors: "trust anchors from /data/data/com.termux/..." → set
GIT_SSL_CAPATHto Android system certs +http.sslCAPathgit config - libcurl.so requires libngtcp2_crypto_ossl.so (HTTP/3 QUIC) → added ELF
remove_dt_needed()patcher to strip unused dependency (git never uses HTTP/3) - bin_wrapper/ in cacheDir fails on some ROMs (noexec mount) → moved to
filesDir/bin_wrapper/
Added
- x86_64 ABI support —
setup-native-libs.py --abi x86_64downloads Intel binaries for emulator/PC- Use
--abi allto download both arm64-v8a and x86_64
- Use
- APK splits per-ABI — separate APK for each architecture:
standroid-arm64-v8a-{debug|release}.apk(~50 MB)standroid-armeabi-v7a-{debug|release}.apk(~45 MB)standroid-x86_64-{debug|release}.apk(~50 MB)standroid-universal-{debug|release}.apk(~140 MB, all ABIs)
libssh2.so— optional git SSH transport librarylibngtcp2_crypto_ossl.so— QUIC crypto module (bundled from Termuxlibngtcp2package)remove_dt_needed()ELF patcher insetup-native-libs.py— strips unavailable/unused DT_NEEDED entries from shared libraries
Changed
- bin_wrapper location — moved from
cacheDirtofilesDir(avoids noexec mount issues on some Android ROMs) - Build configuration — replaced
productFlavors("arm"/"x86") withsplits.abiblock for cleaner per-architecture outputs applicationVariants.allcustom naming logic added for APK outputs