| Directory |
Content |
Comment |
| /data/local/tmp/sysroot/bin | a few binaries and symbolic links for the
tools |
|
| /data/local/tmp/sysroot/usr/bin |
binaries for the tools |
|
| /data/local/tmp/sysroot/usr/lib |
libraries for the tools |
|
| /data/local/tmp/sysroot/usr/libexec |
helper files and binaries for the tools |
|
| /data/local/tmp/sysroot/etc |
config files for the tools |
|
| /data/local/tmp/sysroot/usr/include/ |
some include files that might be used to
compile the binaries |
|
| /data/local/tmp/sysroot/usr/share |
data files for the tools |
|
| /data/local/tmp/sysroot/usr/ndk/#ndkversion# |
#ndkversion# is the NDK version | |
| /data/local/tmp/sysroot/usr/clang19/ |
directory tree with the clang files |
|
| /data/local/tmp/sysroot/usr/clang19/bin/ |
directory with the binaries for clang |
In case of an error when executing a
self compiled binary, I recommend to create a binary with debug
infos and execute the binary from within the GNU debugger gdb,
which is part of the toolchain/develop/sysroot/include
or simply /develop/include),
and gcc should then accept it.| Directory |
Contents |
Comment |
| /data/data/com.termux/files |
base directory for the files used by Termux |
|
| /data/data/com.termux/files/usr |
binaries, config files, etc: ASUS_I006D:/ # ls /data/data/com.termux/files/usr/ bin etc include lib libexec share tmp var ASUS_I006D:/ |
|
| /data/data/com.termux/files/home/ |
writable home directory for Termux |
| URL |
App |
Comment |
| https://f-droid.org/ | F-Droid |
"F-Droid is an installable catalogue of
FOSS (Free and Open Source Software) applications for the
Android platform. The client makes it easy to browse,
install, and keep track of updates on your device" |
| https://termux.dev/ |
Termux app |
|
| https://github.com/termux-user-repository/tur |
Termux user repository |
additional packages for Termux |
| https://packages.termux.dev/ |
Links to the Termux repositories |
|
| https://hax4us.github.io/2021-11-22-install-android-sdk-in-termux/ | Instructions to install the SDK in the Android OS | |
| https://github.com/lzhiyong/termux-ndk | Android NDK version r29 (as of 20.04.2026) compiled for arm64 CPUs | Note that the files for arm64 are
in directories called x86_64 in this archive,
example: [xtrnaw7@t15g /data/develop/android/test/android-ndk-r29]$ file ./toolchains/llvm/prebuilt/linux-x86_64/bin/clang-21 ./toolchains/llvm/prebuilt/linux-x86_64/bin/clang-21: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped [xtrnaw7@t15g /data/develop/android/test/android-ndk-r29]$ |
| https://play.google.com/store/apps/details?id=moe.shizuku.privileged.api |
Shizuku |
App that can be used to become the user shell
in a local shell on the phone see How to become the user shell in a local terminal on the phone |
| https://github.com/bk138/droidVNC-NG?tab=readme-ov-file |
droidVNC |
VNC server for Android that does NOT
require root access see Remote Access to an Android phone |
| https://github.com/AmanoTeam/android-gcc-cross/ |
GitHub repository with a GCC toolchain for
Android and GCC cross-compiler for Android on Linux,
Windows, and MacOS |
see How
to compile a C or C++ program for Android in Android
with gcc without root access and How to compile a C program for Android using a recent GCC cross-compiler |