>_TERNUXARM64 / ON-DEVICE LINUX
বাংলা
MENU
HomeDocsTernux v2 release readiness
TERNUX · DOCUMENTATION

Ternux v2 release readiness

Published v2.0.1 release record, v2.0.0 withdrawal history, and four-distro evidence boundaries.

Current status — 2026-11-20

The v2.0.0 source tag is retained, but its GitHub Release object was removed and stable APT withdrawn on 2026-11-14. The owner revoked the 2026-11-14 scope change that moved former v3 features into v2: v2 is frozen to the existing implementation, and new architecture/capabilities remain v3 work.

v2.0.1 is published from annotated tag v2.0.1, which resolves to source commit 5be29360c9ca7e4516366711ec09f7a9b4d56940. The GitHub Release provides ternux-v2.0.1-source.tar.gz and SHA256SUMS; the downloaded archive matched SHA-256 276cf6ffa8cdd3586a358dcf5d2e0f87292d7d7fd29098045a0922259fc7ff7a. See the exact-version installation guide and release audit reconciliation. The stable APT channel remains withdrawn and is not a v2 release requirement. The owner-confirmed v2 verified desktop baseline is Debian, Ubuntu, Kali Linux, and Alpine; evidence depth differs by distro. The clean-container Firefox CI matrix currently covers Debian, Ubuntu, and Alpine. See the feature matrix and device evidence.

Pre-publication local evidence snapshot — 2026-11-18

  • python3 tests/window_fit_geometry.py: 13 geometry/state cases passed.
  • bash tests/focused.sh: 211 passed, 0 failed.
  • bash tests/update_transaction.sh: passed the pinned update, 2.0.0→2.0.1 upgrade, 1.4.0→2.0.1 migration fixture, rollback, interrupted-update recovery, concurrency, and symlink-safety checks.
  • Astro build: 90 static pages built; finalizer reported 56 HTML routes.
  • python3 tests/docs_check.py: 6,518 assertions, 621 internal links, and 24 bilingual page pairs passed. npm run format:check passed after formatting both modified landing pages.
  • An earlier live X11 check used xdotool windowsize, so it did not exercise a pointer resize and was insufficient evidence for the reported behavior. The corrected live pointer test is recorded below.
  • npm audit --json found nine high-severity dependency paths, all through Picomatch versions 4.0.7 and 2.3.2 in the website build tree. GitHub Advisory Database lists CVE-2026-112366 as affecting Picomatch through 4.0.7 with no patched version; the installed Ternux CLI has no Node dependency. The vulnerable code is therefore in the website build toolchain, not the guest runtime. No dependency downgrade or override was applied because no verified safe fix is available; the upstream issue remains unresolved. This is a documented CI/build-chain risk, not evidence of a v2 runtime exploit.

Live resize correction and X11 stall investigation — 2026-11-18

The earlier live check above used programmatic xdotool windowsize and did not exercise the pointer resize path. It was insufficient evidence for the user's reported resize bug. The repeated live test found that the window fitter reapplied its launch-time minimum size during resize events and used StaticGravity with frame coordinates, which could fight XFWM and shift a decorated window by its title-bar extent.

The local fix now limits minimum-size policy to initial placement, keeps the user's chosen size and position during interactive resizing, and sends frame coordinates with EWMH NorthWestGravity. On the live Debian/XFCE session, a temporary window was moved to client position (74, 244) and pointer-resized from 280x240 to 340x300, then 380x340. Its position remained (74, 244) after each drag and after a one-second settle. No resize-time correction was logged. The candidate helper was installed through tx distro root debian, Python syntax-checked in Debian, and the desktop was restarted through tx restart debian.

The X11 stall itself was not reproduced during this check. The device is Android 16 on Xiaomi model 25053RT47C, with F-Droid Termux 0.119.0-beta.3, Adreno 825, and Zink/Turnip. Termux:X11 stayed alive; 80 X11 request round trips measured 1.41 ms minimum, 1.84 ms median, 2.93 ms p95, and 4.81 ms maximum. At sampling, Termux:X11 used about 228 MiB RSS and the host reported roughly 4.1 GiB available RAM. These short measurements cannot rule out an intermittent Android scheduling or GPU-driver stall. The upstream Termux:X11 documentation states that Android may give Termux less CPU time while the separate X11 app is foregrounded. Its shared-UID workaround requires GitHub-signed Termux and is not compatible with this F-Droid install.

Termux:Boot is installed. It can start a script after reboot and can invoke termux-wake-lock to prevent device sleep; it does not correct an already running X11/GPU hang or the separate-app scheduling behavior. Battery unrestricted settings for Termux and Termux:X11 are documented in Troubleshooting.

At the final status sample, Ternux and X11 reported READY/running, but the PulseAudio bridge had transitioned back to pulseaudio_ready=no after briefly reporting ready on restart. This is separate from the resize test and remains an observed runtime issue to investigate; tx verify debian still passed its desktop and GPU checks. The desktop was left running with Termux:X11 open.

The standalone and CLI fallback now share an immutable local source snapshot at f7d2a43d97df2bec90cf0a481926e6f57234cbd9. Its deterministic source archive SHA-256 is 2924d17dce9a3971c5765b115c81f13c80f2914a3072c6fd627b012201b123b2, and TERNUX_SOURCE_ARCHIVE_OVERRIDE=<archive> bash tests/bootstrap_source_sync.sh passed against that archive. A known published commit established that this local git archive | gzip -n format reproduces GitHub's short-SHA codeload archive digest. Since the new snapshot is not on GitHub yet, its live codeload URL cannot be checked until repository synchronization; the exact-commit CI check remains required after approval.

This section records the local state on 2026-11-18 before publication. It is historical evidence; the exact published commit and post-publication checks are recorded in the release reconciliation above and below.

Ctrl zoom shortcut correction — 2026-11-18

The live report that Ctrl zoom did not work was reproduced. The X11 helper had installed passive key grabs with an asynchronous keyboard mode, then called ReplayKeyboard; the intercepted key was consequently not delivered to the focused application. For an active XFCE Terminal, the helper also consumed a recognized zoom shortcut after saving the font preference, preventing the terminal from resizing its current content.

The local correction uses a synchronous keyboard grab and replays every intercepted key immediately, before any xfconf-query preference I/O. Thus a slow settings service cannot hold the X11 keyboard frozen. The focused Debian live session received Ctrl+Shift+= as plus and Ctrl+- as minus in an xev window. A Terminal screenshot comparison measured 13.55% pixel difference after zoom-in and an exact pixel match after zoom-out. The helper installed in the running Debian guest matches the local file at SHA-256 db70293cf69ce8e6b8f7a459a95cfb79b8e0d128cbbd429038a4c7d453809c4d; Debian was restarted through tx restart debian. The X11 session reports READY, but PulseAudio readiness again reports no and remains a separate issue.

The pure geometry and shortcut regression suite passes 13 cases, and the full focused suite passes 211/211. python3 tests/docs_check.py passes 6,518 assertions, 620 internal links, and 24 bilingual page pairs. tx verify debian passes desktop-service and Turnip checks. Exact-commit CI for this follow-up is pending; the preceding merged main commit f7963c6b7bcacf43cabf30a1da3d5bdbf1ebf490 passed Validate, Repository State Contract, Termux APT package artifact, and Repo Knowledge Sync. The local Termux Node executable could not start because of an Android C++ runtime symbol mismatch, so its npm run format:check did not run; the preceding exact-main CI formatter check passed and this follow-up does not modify website source files. The intermittent X11 stall has not been reproduced; the earlier short response-time measurements remain insufficient to rule it out. This correction is local and is not yet part of main or a published v2 artifact.

The standalone installer and CLI fallback now pin this corrected source to commit 024fd260ac11e5b93786c5ecfcb7e5b045fc7b3e, with full-commit source archive SHA-256 0fe66a54a0071f1539c638b25756f644e348ffc17d85e74f038601d34668392a. tests/bootstrap_source_sync.sh passes using that exact archive. After pushing the snapshot, the installer's short-SHA GitHub codeload URL returned the same SHA-256 and the expected ternux-024fd260ac11e5b93786c5ecfcb7e5b045fc7b3e/ archive root.

A reversible live comparison paused the helper while opening and moving a separate Xmessage window and resizing it to 360x220. With the helper running and paused, xdotool reported the same moved position (78,138) and resized geometry (360x220); the reported recenter-after-move symptom was not reproduced in this synthetic test. The helper was resumed and confirmed running. This does not rule out a touch-driven or device-specific XFWM/X11 issue. Removing the whole helper would also remove launch-time fit/clamp behavior and the Ctrl zoom shortcut, so the test does not support deleting it as a fix.

Historical v2.0.0 qualification snapshot

Status: withdrawn from public distribution Audit date: 2026-11-16 Target: Ternux 2.0.0 v2 GitHub release: withdrawn 2026-11-14; tag retained for provenance. Stable APT paths return HTTP 404 after withdrawal run 43532161200; signed RC remains available.

Ternux v2 desktop support is limited to Debian, Ubuntu, and Alpine; other named distro recipes are not v2-qualified. The 20-gate inventory records the pre-publication approval state; all blocking gates passed before release. The source tag remains, while the GitHub release and stable APT channel were withdrawn on 2026-11-14. See the historical v2.0.0 release report for the exact tag, package hashes, CI runs, post-publication APT preservation, supported scope, and device limits. Exact-main Validate run 43372097795 passed on release commit 9106b04fc8627ae98b1d63c9912a28c8a4677441.

Current acceptance gates

Gate Status What closes it
P1-03 updater safety COMPLETE Source/hash pinning, stage-before-replace, interrupted-update recovery, downgrade guard, concurrency and symlink fixtures pass; the v1.4.0 source fixture upgrades to v2. A published v2 rollback demonstration is not required.
P1-09 default browser COMPLETE Clean Debian Trixie, Ubuntu 24.04, and Alpine 3.24 Firefox X11 window checks passed in exact-main Validate run 43372097795 on release commit 9106b04fc8627ae98b1d63c9912a28c8a4677441; Ubuntu uses Mozilla ESR without Snap.
P1-APT signed Termux package PASSED AT RELEASE; CHANNEL WITHDRAWN Stable signed APT publication workflow 43362569559 succeeded on exact main faa5f0c4733e82fa0e82c88c6a2cd4531a1c3442. Public stable InRelease verifies against fingerprint E5527F4D5B83037FF77B65AE5E894BBB81168B1D; Packages.xz SHA-256 is 3bbab20f0119b3c038e14c9a49714e499325b0c7036a899c3304e67b3b39e137 and the indexed package SHA-256 is 4ef03210c71e3d5671671e9a49fc83f6aebf7cdb5e5a28cb32db61d49e85c89f. Native pkg update, clean package uninstall/install, dpkg --verify, active-default and explicit db/ub/alp JSON verification passed. Evidence is in release-gates.json and audit/REPOSITORY-STATE.md.

HTP/HMX and QNN remain experimental or research-only and are excluded from stable v2 promises. CPU/Vulkan claims are limited to the named model, task, and SM8735/Adreno 825 evidence in the accelerator plan. Other guest recipes and other Android GPU families are not covered by these v2 gates.

Device evidence

The reference device is Xiaomi 25053RT47C (Redmi Turbo 4 Pro), Android 16, ARM64, SM8735 / Adreno 825. Existing Debian :0, Ubuntu :1, and Alpine :2 sessions were observed READY with Termux:X11 and PulseAudio routes. The sessions were left running. Live Firefox titlebars showed visible close controls. The owner reports that physical keyboard input switching works in all installed distros. The latest Alpine follow-up on 2026-11-16 started its display at :4; a focused Xfce Terminal switched IBus with synthetic Ctrl+Space from English to Avro and back to English. This supersedes the earlier Alpine event discrepancy for this focused X11 check.

On 2026-11-13, runtime D-Bus queries confirmed the GTK, icon, and XFWM themes, |HMC titlebar controls, and active Ctrl+Space binding in every guest. The assigned IBus helper switched to the other installed language and restored the original engine. Temporary 1800×1900 X11 clients were constrained inside each 640×1386 display, then only those test clients were destroyed. This tests the managed switch command, not a physical Android keyboard event.

The window-fit helper now translates client coordinates in the correct direction, reads EWMH _NET_CLIENT_LIST as WINDOW IDs, clamps a stale work area to current screen dimensions, and retains valid maximized geometry. Its source and installed helper hashes match across all three guests. Ubuntu's already-open XFCE About window was moved into its phone viewport without closing it or restarting the desktop. Full detail and test limitations are in the current-state audit and device verification.

Prior device evidence records Turnip/Vulkan-backed Zink on all three profiles for this device. A renderer probe using the wrong display number for Ubuntu and Alpine was discarded; it is not used as contrary or qualifying evidence. Qualification does not extend to other GPUs or devices.

Verification snapshot

  • bash tests/update_transaction.sh: passed the pinned update, migration, interrupted-update, recovery, rollback-fixture, concurrency, and symlink checks during this audit.
  • python3 tests/release_gates.py --check --self-test: valid 20-gate inventory; all blocking gates complete; recorded owner authorization is accepted only after the gate inventory is ready.
  • bash tests/firefox_package_matrix.sh: added to exact-head CI for Debian, Ubuntu, and Alpine. It starts Firefox in Xvfb/Openbox and checks the mapped visible application window; exact-main run 43372097795 passed on release commit 9106b04fc8627ae98b1d63c9912a28c8a4677441. This Termux host has no Docker executable, so the container matrix is established by CI, not claimed as a local pass.
  • bash tests/focused.sh: the audit exposed a test-hygiene regression because its py_compile step wrote __pycache__ into packaged assets; the test now directs bytecode to its temporary directory. The complete exact-main suite passed in 43372097795 on 9106b04fc8627ae98b1d63c9912a28c8a4677441.
  • Stable publication run 43362569559 signed and deployed exact-main package faa5f0c4733e82fa0e82c88c6a2cd4531a1c3442. The public bootstrap, key, InRelease, and Packages.xz endpoints returned HTTP 200; gpgv verified the signature against E5527F4D5B83037FF77B65AE5E894BBB81168B1D. Stable index and package SHA-256 values are recorded above and in release-gates.json. Native Termux fetched the stable index, removed and freshly reinstalled ternux, and passed dpkg --verify, ternux verify --json, ternux verify db --json, tx verify ub --json, and tx verify alp --json. The three existing guests remained READY with their original PIDs. The GitHub release and stable APT channel were withdrawn on 2026-11-14; see the historical release report and current APT channel status.

Completed release sequence

  1. PR #189 updated English/Bengali install and release documentation; its checks passed and it was merged.
  2. Repository workflow generated .repo/ state in PR #190; its checks passed and it was merged without manual edits.
  3. Stable APT signature/index/package, native package lifecycle, per-guest verification, and post-publication website preservation passed.
  4. Tag v2.0.0 was published on validated main 9106b04fc8627ae98b1d63c9912a28c8a4677441.
  5. The final v2.0.0 publication and qualification record is the historical release report. The 2026-11-14 decision to move former v3 scope into the next v2 release was revoked on 2026-11-18; see the current project roadmap.

Detailed audit records

The v2.0.0 source tag is retained for provenance. Its GitHub release was removed and its signed stable APT paths were withdrawn on 2026-11-14; only the opt-in RC channel remains public. The 2026-11-14 scope change was revoked on 2026-11-18: the former v3 platform scope remains future v3 work. See the current project roadmap.

Candidate follow-up — 2026-11-19

  • The live v1.4.0 release page now links its dedicated guide; the guide's installer/version commands were checked against the immutable tag and its codeload archive. v2.0.1 still has no tag, Release page, archive, or checksum.
  • Fresh Ubuntu Resolute, Kali rolling, and Alpine v3.24 installs reached READY; each played an owner-confirmed two-second audio test tone through the shared PulseAudio route. The installed Termux:API companion and client package were confirmed. A local detector fallback fixes the prior false-negative report; mic/camera permission and capture remain untested.
  • bash tests/focused.sh: 212/212. python3 tests/docs_check.py: 6,638 assertions, 632 internal links, 24 bilingual pairs. Bash syntax and git diff --check pass. tests/bootstrap_source_sync.sh fails against the old pinned snapshot because the local bootstrap URL/digest correction is not in that immutable source; refresh only after exact source approval.
  • Current PR #298 has a failing shell/documentation job due to trailing spaces on four reconciliation header lines; those lines are trimmed in the local working tree. Hosted checks must rerun after an approved repository update.
  • The LAI-adapter ADR is now rejected history, not planned integration. Current Ternux v3 design confines AI workloads and integrations to Ternux-owned scope.

Final local pre-release verification — 2026-11-19

  • After the authorized tx uninstall all --yes, Debian, Ubuntu, Kali, and Alpine were installed from the local checkout on the reference Termux device. Ubuntu was removed and reinstalled once more for a clean first-run optional workload check: jq was selected in the initial interactive menu, appeared in the confirmation plan, and installed as jq 1.8.1-4ubuntu2 during that same install run. No resume or later manual package install was used for this final pass.
  • The first Ubuntu attempt exposed an optional APT phase that ran through the regular guest user's sudo while consuming a setup script on stdin; it could loop on a sudo password prompt. The local fix runs optional APT work as the guest root PRoot login. The first-run clean Ubuntu retest completed all installer phases, and jq --version returned jq-1.8.1.
  • tx verify passed for all four guests. tx doctor --json reported 54 OK, zero warnings, zero failures, and no issues. All four XFCE sessions reached READY concurrently; bounded xdpyinfo round trips succeeded on displays :1 through :4. A stale :4 lock whose PID had been reused by IBus was reproduced; cleanup now checks the recorded PID's command line and clears an orphan lock only when no matching Termux:X11 server owns that display.
  • bash tests/focused.sh: 215 passed, 0 failed. The optional-workload PTY regression also verifies selecting jq from the initial menu by navigation and number entry; the live clean-install run verifies that the selected workload reaches the same install run's optional phase. bash -n and git diff --check passed. python3 tests/docs_check.py passed 6,768 assertions, 642 internal links, and 25 bilingual page pairs; env -u LD_LIBRARY_PATH npm run format:check passed. The live Debian Xfce Terminal move/resize test retained its valid user position after resizing and a five-second wait; Ctrl-minus changed the terminal font from 10 to 8.33 and Ctrl-plus restored
  • A Firefox window on a 312-pixel-wide X11 root remained 510 pixels wide because the client/window manager rejected the helper's smaller size request. This is a live limitation for applications whose minimum size exceeds a narrow portrait display; it is not evidence of the tested terminal being recentered.
  • Low-volume test playback commands ran through each guest's PulseAudio route, and all four routes report ready. Owner confirmation that the tones were physically audible is pending. The installer still printed a Termux:API companion detection warning even though host cmd package path, pm path, and pm list packages subsequently confirmed com.termux.api; investigate this discrepancy before claiming the optional camera/microphone permission probes passed. Those permission/capture paths were not tested here.

Optional workload live qualification — 2026-11-19

  • The initial interactive selector was exercised with the exact Blender + Ternux ADT Build Tools pair. The PTY regression found and fixes numeric-list whitespace being misread as a Space toggle; the pair now reaches the phase as exactly blender,adt-build-tools. The phase preinstalls the ADT JDK, curl, git, and unzip requirements as guest root before running ADT command-line setup.
  • On Debian, Ubuntu Resolute, and Kali rolling, the local phase installed Blender + Xvfb and the integrated ADT command-line tools/build-tools from the companion soobujmiah/adt repository. Live GUI smoke checks opened and closed Blender on the active Xfce display in all four guests. Debian, Ubuntu, and Kali also passed Java, sdkmanager --version, and ADT aapt2 version; Blender background startup under xvfb-run passed on all four. Kali’s Blender 5.2 asset add-on initially lacked cattrs and requests; the recipe now installs python3-cattr and python3-requests, and the clean GUI smoke no longer logs those import errors.
  • Alpine v3.24 supports the Blender workload through APK. The recipe installs Blender, Xvfb, xvfb-run, and NumPy; a live Blender background smoke test under xvfb-run passed. Alpine's musl JDK fails in PRoot with “Failed to mark memory page as executable”; the ADT build-tools aapt2 requires glibc symbols absent from Alpine. Testing gcompat did not resolve the missing symbols. Therefore the Alpine selector and installer now offer Blender only and reject ADT before making guest changes. The earlier compatibility probe did install ADT files and Java packages into Alpine; they remain in that guest for transparency and were not removed.
  • bash tests/focused.sh: 219 passed, 0 failed after the final Alpine selector, APK recipe, ADT preflight guard, and Blender Python-module dependency edits.
  • The explicit owner request for smooth Blender + ADT installation on every baseline distro is only partially met: all three APT guests pass; Alpine passes Blender, while ADT is technically incompatible with the current musl/PRoot runtime. This remains an owner-visible v2 qualification limitation, not a successful all-distro ADT result.

Publication verification — 2026-11-19

  • Annotated tag v2.0.1 resolves to 5be29360c9ca7e4516366711ec09f7a9b4d56940.
  • Exact-commit Validate, repository-state contract, and Termux APT artifact checks passed before publication.
  • Published archive ternux-v2.0.1-source.tar.gz SHA-256: 276cf6ffa8cdd3586a358dcf5d2e0f87292d7d7fd29098045a0922259fc7ff7a; the downloaded manifest matched.
  • The GitHub Release publishes the source archive and checksum manifest only. Stable APT remains withdrawn.