Skip to content

STANDROID v0.6.0 — Extension Updates Support

Choose a tag to compare

@nattaphat010447 nattaphat010447 released this 05 Jun 18:25

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

  1. SELinux denied execute on shell wrappers → switched to symlinks pointing to nativeLibraryDir/*.so (executable context)
  2. Missing libpcre2-8.so → corrected Termux package name in setup script (libpcre2pcre2)
  3. Missing libgit-remote-https.so → Termux uses symlink; manually duplicated from http binary
  4. LD_LIBRARY_PATH not inherited by child processes → now set explicitly in ProcessBuilder.environment()
  5. SSL certificate errors: "trust anchors from /data/data/com.termux/..." → set GIT_SSL_CAPATH to Android system certs + http.sslCAPath git config
  6. 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)
  7. bin_wrapper/ in cacheDir fails on some ROMs (noexec mount) → moved to filesDir/bin_wrapper/

Added

  • x86_64 ABI supportsetup-native-libs.py --abi x86_64 downloads Intel binaries for emulator/PC
    • Use --abi all to download both arm64-v8a and x86_64
  • 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 library
  • libngtcp2_crypto_ossl.so — QUIC crypto module (bundled from Termux libngtcp2 package)
  • remove_dt_needed() ELF patcher in setup-native-libs.py — strips unavailable/unused DT_NEEDED entries from shared libraries

Changed

  • bin_wrapper location — moved from cacheDir to filesDir (avoids noexec mount issues on some Android ROMs)
  • Build configuration — replaced productFlavors ("arm"/"x86") with splits.abi block for cleaner per-architecture outputs
  • applicationVariants.all custom naming logic added for APK outputs