>_TERNUXARM64 / ON-DEVICE LINUX
বাংলা
MENU
ANDROID × LINUX · ARM64


NO ROOT · ARM64

Run a Linux desktop on Android without root. Debian, Ubuntu, Kali Linux, and Alpine are the four verified v2 desktop profiles, with Debian as the recommended default. Eleven more named distro recipes are available, but are not in the v2 verified baseline. Device evidence is from one Redmi Turbo 4 Pro and differs by feature; the release report lists its exact coverage.

NO ROOT REQUIRED / OPEN SOURCE / EVIDENCE LED
SYSTEM ROUTE / READYANDROID HOSTTERMUX SHELLPRoot DEBIAN · UBUNTU · KALI · ALPINETERMUX:X11 DISPLAY · AUDIO
01 / V2 SUPPORTED DESKTOP GUESTS

Choose your Linux guest.

These four profiles form the v2 verified baseline. Debian is the default; eleven more recipes are available but not qualified.

SUPPORTED GUESTUbuntuXfce · APT · snap-safe
SUPPORTED GUESTKali LinuxXfce · APT · security tools
SUPPORTED GUESTAlpineXfce · APK · Avro m17n
02 / SYSTEM MAP

One device.
A layered workstation.

Each boundary has a clear job. Ternux assembles the host, Linux environment, display and graphics route into one inspectable system.

Android

Phone hardware and kernel

Termux

Native ARM64 tools

PRoot · 15 named profiles

Independent guests · Xfce

Termux:X11

Android X server · tagged guest windows

VirGL · Zink

Native distro Mesa · four installed profiles checked on Adreno 825; qualification is device-bounded

Ternux

One complete workstation

03 / FIRST BOOT

Bring your Linux workstation online.

Install Termux and Termux:X11 from compatible sources, then use one of the copyable installation paths below. Add-on downloads are linked here too. Keep Termux and its add-ons from the same signing source. The Termux:X11 shared-UID debug APKcan reduce Android background throttling while the X11 desktop is foreground; it requires the GitHub-signed Termux app. F-Droid and Google Play users should use the standard universal debug APK from the same release page.

READ INSTALLATION NOTES ↗REVIEW THE MANUAL INSTALL ↗QUICK START ↗

Ternux v2.0.0 and its stable APT distribution were withdrawn on 2026-11-14. The source tag remains for provenance. Use the source installer below; /apt-rc is reserved for opt-in candidate testing. Termux:API also needs the matchingtermux-api package inside Termux.

TERMUX · ONE-COMMAND INSTALLSAFE BOOTSTRAP · CURL WITH WGET FALLBACKpkg update -y && pkg upgrade -y && pkg install -y curl wget && bash -c 's=$(mktemp) && (curl -fsSL https://raw.githubusercontent.com/soobujmiah/ternux/c2a008cc4e6dc038fdf324f5128e2205e8a1583a/install.sh -o "$s" || wget -qO "$s" https://raw.githubusercontent.com/soobujmiah/ternux/c2a008cc4e6dc038fdf324f5128e2205e8a1583a/install.sh) && bash "$s"; r=$?; rm -f "$s"; exit "$r"'

The command finishes the Termux package upgrade, installs both downloaders, and retries the script download with wget if curl fails. It runs the saved script only after a successful download. If an installation stops at a required phase, rerun this command to download the current installer and resume from that phase. If a partial upgrade broke pkg or curl, repair it with the apt-first command above. The stable APT channel is withdrawn, so pkg install ternux is currently unavailable;see current channel status ↗.

PROJECT STATUS · 20 NOV 2026

v2.0.0 withdrawn. v2.0.1 source release published.

The v2.0.0 GitHub release and stable APT distribution were withdrawn on 2026-11-14; the source tag is retained for provenance. Debian, Ubuntu, Kali Linux and Alpine form the four verified v2 desktop profiles; evidence depth differs by profile. Current main includes four read-only manager CLI commands, a foreground Unix-socket service, and `tx control`, a loopback dashboard with confirmed desktop start/stop actions and durable local job records (optional Python 3). The v2.0.1 source archive is published from the verified tag; see theexact-version installation guide. Full service supervision, broader dashboard coverage and the new v3 platform architecture remain future work. Stable APT remains withdrawn.

04 / ANDROID DEVELOPMENT

Ternux runs Linux. ADT develops Android.

Ternux v2 verifies Debian, Ubuntu, Kali Linux and Alpine desktop guests; Debian is the recommended default. Eleven more named distro recipes are available but not in the v2 verified baseline. Ubuntu has its own snap-safe setup. ADT adds Android SDK build-tools, platform-tools, signing, ADB, Flutter/Dart and native build tools inside the guest. ADT's Android development workflow is documented separately.

ANDROID SDKADBNDKFLUTTER · DARTCMAKE · NINJA
OPEN ADT TOOLCHAIN ↗
05 / ON-DEVICE INFERENCE

One model. Three compute paths.

Compare CPU and Adreno Vulkan measurements from one Android reference device. Hexagon HTP appears separately as experimental; these results are not performance guarantees for other devices.

MODEL / WORKLOADQWEN2.5 · 1.5B · Q4_0REDMI TURBO 4 PRO

CPU · ARM64

MEASURED
TOTAL RUN264.39 s
DEVICE STATEClean idle
SAME MODEL · THREE BACKENDS

Measured speed

One sequential run per backend. * HTP is experimental; HVX matmul and flash attention off; not a supported Ternux route.

QWEN2.5 · 0.5B-NAMED GGUF · Q4_0

Median generation · three runs each

EXPERIMENTAL HTP
4-thread CPU8.0 tok/s
Adreno Vulkan24.8 tok/s
Hexagon HTP46.2 tok/s

GGUF filename says 0.5B; llama.cpp metadata identifies Qwen2 1B with 630.17M parameters. Same prompt/settings and 64-token output; three interleaved CPU → Vulkan → HTP runs. Short single-device throughput only; quality and sustained speed are unqualified.

QWEN2.5 · 1.5B · Q4_K_M

Median generation · three runs each

EXPERIMENTAL HTP
4-thread CPU7.6 tok/s
Adreno Vulkan18.2 tok/s
Hexagon HTP18.9 tok/s

Same Qwen2.5 1.5B Q4_K_M model, prompt/settings and four threads; three interleaved runs, with known-answer 4 on each route. HTP was slightly ahead of Vulkan in this short single-device test; no sustained or general performance claim.

QNN · STABLE DIFFUSION 1.5 · HTP

Two-image batch · lower total time

EXPERIMENTAL
Separate singles · 2 images59.20 s
One batch · 2 images46.90 s
Batch average · per image23.45 s

QNN SD1.5, 512×512 at 20 steps on SM8735. Across three small paired runs, batching lowered total time by 20.8%; the sample was neither randomized nor large. Same-seed image hashes matched, but independent CLIP/UNet/VAE tensor correctness is unverified. The 3–5 second target remains unmet; this is not a production performance claim.

06 / VERIFIED 3D OUTPUT

From mesh to motion.

Measured on the Redmi Turbo 4 Pro with Blender 4.3.2, MPFB2 2.0.18 and EEVEE Next. Each point shows a real output stage.

01 / GENERATE

Base mesh

0.4 s

19,158 vertices

02 / ASSEMBLE

Character build

3.9 s

mesh · skin · assets · rig

03 / STILL

Still image

~4 s

460 × 800 · EEVEE Next

04 / ANIMATE

Animation frame

3.8 s

540 × 960 · EEVEE Next

05 / SEQUENCE

Five-second shot

~7.5 min

120 frames · 24 fps

27-second animated short648 frames1.126 s per frame mean · EEVEE Next
One-minute Bengali short film1,440 frames1.944 s per frame mean · EEVEE Next

MPFB2 creates an anatomically correct base mesh. Grooming, finished materials, expressive posing and photoreal presentation need further work.

OPEN COMPLETE BENCHMARK LOG →
07 / TESTS · REPORTS · CAPABILITY

See what is tested. Read what is measured.

Ternux publishes the boundaries as clearly as the results. Automated repository checks, device measurements and supported guest profiles answer different questions; none should be mistaken for universal device certification.