Repository navigation
Android Setup
thecbr600 edited this page Nov 14, 2026
·
1 revision
Install the official GitHub builds rather than Google Play Store versions:
-
Termux: GitHub Releases —
termux-app_...github-debug_arm64-v8a.apk(recommended) or..._universal.apk. -
Termux:X11: Nightly Releases —
termux-x11-universal-debug.apk. -
Termux:API (optional, for battery metrics in benchmarks): GitHub Releases —
termux-api-app_...github.debug.apk.
Why GitHub instead of Google Play? The Play Store build of Termux is outdated and signed with a different key, preventing Termux from communicating with the GitHub builds of Termux:X11 and Termux:API.
Starting with Android 12, Android enforces the Phantom Process Killer, limiting background child processes to 32. Heavy multitasking (Chromium tabs, compilers, background daemons) will trigger this kill-switch unless disabled.
- Open Settings > Developer options.
- Scroll down to the Apps section.
- Enable Disable child process restrictions.
- Open App info for both Termux and Termux:X11 > Battery > select Unrestricted.
If the toggle is hidden on your firmware, execute this once via ADB:
adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
adb shell settings put global settings_enable_monitor_phantom_procs false- Install Termux:Widget from the same release source as Termux (GitHub Releases or F-Droid).
- Grant Display over other apps permission to Termux in Android Settings (required so Termux can launch
Termux:X11directly from the background). - Run the shortcut generator in Termux:
curl -fsSL [https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/addon/shortcuts.sh](https://raw.githubusercontent.com/thecbr600/dex-linux-workstation/main/addon/shortcuts.sh) | bash - Add the Termux:Widget widget to your DeX or phone home screen to launch
DeX DesktoporDeX Mobilewith a single tap.