Notable changes to ternux. Dates are ISO 8601.
[Unreleased] — Next Version foundation
- Mark development for the next version as active following publication of the verified source release. Add APT feasibility recommendations, an eight-distro qualification matrix, a security roadmap, and a layered test strategy; no unfinished next-version capability is presented as shipped.
- Reconcile English/Bengali project status and the document-scope inventory with the completed release gate and current next-version boundary.
- Fix stale update-lock recovery status propagation and add regression coverage for stale locks with and without recovery journals. Add a ShellCheck error-level CI baseline for production shell sources.
[Historical source tag] — 2026-11-19
Android diagnostics
- Add bilingual phantom-process guidance for native Termux ADB, Shizuku
rish, and computer ADB, including shell identity checks, DeviceConfig sync scope, verification, rollback, and the current Android 16 device observation.
Desktop reliability
- The published source release preserves a user's window position after resizing; the window is moved only when needed to keep it inside the X11 work area. Added geometry regression coverage and verified the behavior in a live Debian/XFCE session.
- Ctrl zoom shortcuts now reach the focused X11 application immediately; Ternux replays the key before XFCE Terminal preference I/O. A synchronous passive keyboard grab allows the event to be replayed safely; Ctrl+Shift+= and Ctrl+- were verified in a live Debian session, including a visual zoom-in/zoom-out comparison.
Installer
- Keep each package-manager launcher under its native name: Synaptic Package Manager, APK, Pacman, DNF, Zypper, or XBPS. Non-APT entries use their distro's native tools for refresh, upgrade, search, install, remove, and package listing; duplicate Synaptic entries are hidden.
- Detect guest IPv6 default-route availability before APT work, prefer IPv4 when IPv6 has no route, and retry failed APT operations once with the alternate IP family; apply this to base bootstrap and optional package installs. Map Ubuntu's
godotselection to its availablegodot3package. - Resume now compares the requested optional workload set with the set recorded after a successful extras phase, so adding Blender or ADT to an existing guest reruns that phase. Noninteractive multi-distro installs also retain and require the supplied shared startup password instead of clearing it before guest setup.
- ADT selection now adds the SDK, command-line tools, platform-tools, and installed build-tools paths to the guest user's profile, Bash, and Zsh startup files.
doctorresolves anautoGPU route before comparing it with the recommended route, avoiding a false mismatch warning when both select Zink. - Fix interactive numeric multi-selection so Blender + Ternux ADT Build Tools are passed together without toggling a neighboring workload. Preinstall ADT prerequisites in the guest-root package phase. Add Alpine APK support for Blender with Xvfb,
xvfb-run, NumPy, andpython3-requests; includepython3-cattrandpython3-requestsfor the APT Blender package; Alpine's musl/PRoot runtime cannot execute the integrated glibc ADT tools, so the selector rejects ADT there. Live Blender/ADT checks pass on Debian, Ubuntu, and Kali; Alpine Blender passes. - Use the full immutable commit SHA in codeload URLs so the requested archive root and verified SHA-256 match the pinned source snapshot. Termux:API detection now falls back to Termux
pm pathif Android'scmd package pathquery cannot confirm the installed companion; a regression test covers the false-negative case. - The one-command installer now retries the script download with wget when curl cannot start or fetch it. The standalone bootstrap and CLI fallback share a checksum-verified source snapshot kept in sync with current installer and CLI code; regression tests verify the fallback and snapshot freshness.
- Large desktop setup scripts now stream into the guest over stdin instead of exceeding Linux's per-argument limit. Installation guidance explains how rerunning the current one-command installer resumes an interrupted guest.
Terfetch
- Export the one-time startup guard so nested interactive shells and terminal integrations do not repeat the automatic Terfetch display; the explicit
terfetchcommand still redraws it on demand. - Native Termux now randomly selects Android, a compact Ternux Worklab mark, all 15 managed distro logos, or a large SOBUJ monogram. Guest logos remain fixed to each distro. Terfetch switches to a stacked layout in narrow terminals so logos stay clear of system details. Added environment, architecture, package-manager, locale, init, privilege and user details; values fit terminal width. The CLI help now centers the Ternux name, Workstation In Your Pocket tagline, description and version, and groups its color-coded command tree, aliases, options and examples. The quick guide and system information use matching section colors and aligned fields; distro help lists user/root shell shortcuts. Locale generation and font-cache refresh now have hard deadlines, so a slow post-APT font step cannot leave setup waiting indefinitely.
Control Center
- Added loopback-only, confirmation-bound start/stop actions for installed Ternux desktop guests, with idempotent durable job records, restart reconciliation, a 30-day terminal-job retention window, and display-migration safety guards. The partial implementation is source-only and is not in the withdrawn earlier package; device-browser rendering remains unverified.
[Withdrawn source-tag release] - 2026-11-13
Guest profiles and installer
- Expanded named guest profiles across APT, APK, pacman, DNF, Zypper and XBPS families, with independent per-guest launchers/settings, sequential multi-guest installation and guarded
start/stop/restart DISTROcommands. The installer profile picker now shares the optional-workload keyboard checklist (arrows orj/k, Space/number toggle, Enter confirm) and identifies supported profiles and their evidence. The standalone bootstrap now accepts--distros LISTfor repeatable multi-guest installs, and its help documents the option. Debian, Ubuntu, and Alpine are the only desktop profiles qualified at that time on the documented device. Ubuntu uses its snapd-safe Mozilla ESR recipe and distro-matched graphics stack; other recipes were not qualified at that time. The English and Bengali homepage copy buttons both copy the exact one-line installer command.
Release operations
- Production Pages deployment now requires an explicit
workflow_dispatch; merging routine source or documentation changes no longer deploys the live site automatically.
Desktop experience
- Added Celestia astronomy simulator as an optional ARM64 workload. Its publisher-signed package metadata and package hashes are verified before install; astronomy data is opt-in and the default desktop stays lean.
- Ternux Camera now corrects EXIF rotation and fits its capture actions into a compact two-row phone layout. The desktop theme adds original, larger touch targets for minimize/maximize/close and icon mappings for every audited base application with a hard-coded icon path. Fifteen original portrait-first wallpapers are available in the selector.
- Added an on-demand, low-resource GTK Sound Recorder to the base desktop and panel. Mic capture starts only after Start; save as AAC/M4A or locally encoded MP3 inside Debian at
~/Music/Ternux.
AI artifact delivery
- Added managed, checksum-verified llama.cpp CPU/Vulkan and Stable Diffusion CPU/Vulkan extensions, plus an experimental device-specific HTP artifact. Fresh installs can opt in to eligible workloads; model weights stay user-managed. These are preview/experimental paths, not production-qualified AI products; see the release plan for current limits.
Storage privacy
- Android shared storage is no longer mounted or permission-requested during setup by default.
ternux storage grant /sdcard/Folderexposes only a chosen existing directory to new guest sessions; list and revoke commands are available. Generated desktop and shell aliases validate the same private allowlist.
CLI reliability
- Fixed state updates for stored URLs and paths; the GPU updater can now be rerun without
sedreplacement errors. Added a focused regression check. - Pinned the standalone host-CLI fallback to the reviewed source commit and SHA-256 already used by the installer bootstrap; mismatched archives now fail before extraction or installation. Refreshed both pins when the interactive profile checklist landed so the one-command
curl | bashpath loads the current installer instead of a stale Debian/Ubuntu-only prompt.
Desktop reliability
ternux startnow brings the Termux:X11 activity to the foreground and reuses a live XFCE session when launcher state is stale, preventing accidental duplicate launches and a missing desktop view.- Fixed the GTK 4 theme's invalid built-in stylesheet resource path. On Debian Trixie GTK 4, the old Adwaita resource did not exist and caused a theme parser error; the theme now imports GTK's bundled dark stylesheet. The live pavucontrol launch no longer emitted that parser error, and its OpenSL ES Output controls rendered visibly. The release audit recorded a successful menu-entry launch with readable Playback and OpenSL input controls; repeated launch behavior is not part of the qualification claim at that time.
- Verified menu-entry-launched PulseAudio Volume Control on the connected Xfce desktop: Playback controls and the OpenSL input are readable in the shared dark theme. The microphone source returns to idle when the app closes.
- Fixed intermittent black PulseAudio Volume Control windows by keeping
GALLIUM_DRIVER=zinkscoped to GPU workloads instead of exporting it to every desktop app; the desktop still selects accelerated Zink throughMESA_LOADER_DRIVER_OVERRIDE=zink.
Performance
Added the exact Mesa source-tag license overview and license texts to the Termux package;
ternux gpu updatenow checksum-verifies and installs them beside the pinned Turnip driver. The live Debian update passed notice verification. The release includes the source-tag license overview and notices; exhaustive binary-to-source mapping and transitive-license review remain follow-up work, not a release gate at that time.Updated the pinned Turnip source to Mesa 27.0.0 after its checksum-verified archive passed staged Vulkan enumeration and Zink GLX checks on Adreno 825; a short interleaved small-model sample measured a 27.2 tok/s median versus 26.6 on the previous driver.
Pinned the bundled JetBrainsMono Nerd Font to v3.5.1, verify its SHA-256 before extraction, and use the 7.3 MB xz archive instead of the unpinned 100+ MB ZIP.
Removed Turnip's forced
sysmemdebug mode from the Zink desktop launcher so the driver can choose system-memory or tile-memory rendering per workload. A separate cool-device performance comparison was not part of that release evidence.
Desktop welcome and media
Added Ternux Camera and Photos one-click panel launchers and Ristretto as the default image viewer. Camera captures validate JPEG output in Termux app storage, then save inside Debian at
~/Pictures/Ternux; the app previews photos after capture. Termux:API does not expose a continuous live preview stream. The selector now includes fifteen distinct portrait-first branded wallpapers.Made the first-GUI welcome flow one-time per guest user whether or not Firefox ESR is installed. On the first GUI run Firefox opens the project website, or a welcome guide appears without a browser; later boots do not redirect.
Added Zenity to the Debian desktop base so the no-browser welcome dialog is available on fresh installs and upgrades. Raised the base installed-size estimate to about 4 GB to include the added fonts, IBus, themes and window-fit helper.
Added Noto Bengali fonts and the Avro IBus phonetic keyboard by default (English-first, Ctrl+Space switch), Xfce Task Manager and Mousepad. The graphite-and-emerald Ternux theme now covers GTK apps, menus, panel and window frames, with branded app, folder, Thunar-action and panel icons; Adwaita remains a neutral fallback for unmapped apps. An event-driven Devilspie2 rule fits oversized windows to the live X11 screen. The first-run guide adapts to the display. VLC defaults to XCB output and a compact mobile layout. Added a minimal system D-Bus and correctly owned ICE socket to reduce PRoot desktop startup errors.
Termux APT packaging and installation
Made the install-time Termux:API microphone-permission probe use a private, unique temporary file, stop only the recording whose output path matches that probe, and leave an existing recording untouched. The API still records to files; live desktop input remains the separate on-demand PulseAudio OpenSL source.
Fixed the doctor renderer probe to pass the active Termux:X11 display into the Debian guest instead of reporting unknown when the command starts outside Xfce.
Added
ternux gpu update(alsoternux backend update) to refresh the pinned, SHA-256-validated Debian Turnip userspace driver on Zink devices; it explicitly leaves Android vendor drivers to the OS.Made the optional Firefox website welcome a first-GUI-run action per guest user; later desktop boots do not redirect. PulseAudio Volume Control now uses Debian’s stock menu entry without a per-app launcher environment override. Replaced detached session-bus startup with supervised
dbus-run-sessionand IBus helper cleanup to prevent orphaned desktop processes from accumulating after restarts.Replaced the installer’s oversized duplicate wordmark and patterned frame with a compact mobile header and clean separators; expanded portrait log space, kept routine APT chatter in the full log instead of the dashboard, and added renderer assertions.
Fixed black Termux:X11 screens with the documented legacy drawing mode; the managed XFCE launcher applies the shared Ternux GTK and icon theme after the session bus is ready.
Fixed PulseAudio bridge port collisions: the desktop launcher now tries loopback ports 4713–4722 and passes the selected endpoint into Debian, instead of silently launching with an unrelated listener.
Added a Termux
ternuxpackage manifest and reproducible local APT repository builder. It checks package identity and SHA-256, pins signing to the configured primary-key fingerprint, exports only the public key, refuses symlinked artifact roots, rejects stale packages, and removes stale signatures on unsigned rebuilds. CI builds unsigned review artifacts; a manual release workflow publishes only when package metadata and source version agree.pkg install ternuxinstalls the host CLI; desktop provisioning remains an explicitternux installstep.Routed package-manager calls through a wrapper that clears inherited
LD_LIBRARY_PATH, so external CLI-bundled C++ libraries cannot break Termux APT tools.Fixed lazy-loaded
doctorassociative-array scope under Bash 5.3.Updated the locked transitive
undicidependency to 8.12.4;npm auditreports no known vulnerabilities.
Installer dependency recovery
- Provisioned Debian Backports runtime libraries when the experimental HTP extension is selected.
- Run ADT command-line tools before SDK components so
sdkmanagerexists for version resolution. - Provisioned a user-local Node.js 22 runtime when Claude Code is selected and added bounded retries for transient Hermes installer network failures.
A deeper doctor
- Reworked
ternux doctorinto categorised checks (system,host,guest,graphics,extensions) with--quick,--strictand category filters. The JSON gainsschema_version,summaryandchecks[]while keeping the original keys. It now inspects installed extensions, including the package, version, runtime libraries and launcher files.
Website and CLI reliability
- Set the hero words to
LINUXandলিনাক্সin their respective languages, with matching “Workstation In Your Pocket” taglines, and changed the falling background glyphs to repeatTERNUXinstead of random characters. - Kept the title letter shapes readable while
TERNUXfalls inside them, increased the ambient field at the page margins, and replaced the system map's vertical list with six softly animated open nodes. - Reordered both homepages as host device → system map → first boot → Android development → compute paths → verified 3D output, and added a moving wireframe mesh to the render timeline.
- Fixed the mobile
LINUXtitle clipping and canvas glyph misalignment, kept the phone illustration caption clear, and used bundled typefaces so Android's system font cannot alter the site typography. - Kept homepage sections visible without JavaScript and made wide documentation tables scroll within the article on narrow screens.
- Made successful quiet
logs clearreturn success, and isolated smoke-test logs from the workstation's own log directory.
Installer chooser and terminal interface
- Reworked the install screen as an adaptive, animated terminal interface with a five-row TERNUX wordmark, device/resource details, and clearer progress and task status. Optional programs and available Ternux prerelease extensions can be selected individually; Android SDK and ADB setup points to ADT's own installer.
Rendering from an agent
- Added
tools/blender-gpu-mcp/, an MCP server over the tested headless route (DISPLAY=:9 GALLIUM_DRIVER=zink blender -b --factory-startup) with three tools:gpu_check,render_scriptandrender_blend. Python standard library only, local stdio only, and--factory-startupis kept so the measured baseline does not change. It reports the two GPU-path failures by name —EGL_BAD_MATCHfor a missing display,Illegal instructionfor an llvmpipe selection — instead of leaving them to look like scene faults. Measured 2026-10-14: rendererzink Vulkan 1.4(Adreno (TM) 825 (MESA_TURNIP)), one 320x180 EEVEE Next frame in 2.49 s.
Accelerator qualification update
- Repeated the Qwen2.5 1.5B Q4_0 arithmetic known-answer prompt on the pinned
llama.cpp b11582 package: CPU and Vulkan on Adreno 825 both returned
4. Vulkan device enumeration named Adreno 825. - Rendered 600 consecutive 1280x720, 16-sample EEVEE frames in one Blender process. All frames completed; the median was 1.49 seconds, Android thermal status remained 0 and sampled skin temperature peaked at 44.5 C. This is a roughly 15-minute sample, not multi-hour qualification.
- Added a pinned Linux ARM64 llama.cpp CPU + Vulkan build workflow and a
checksum-verified
ternux extension list/install llama-vulkanpath. The b11582 artifact is published as a prerelease; the command installs into the selected Debian guest and leaves model files untouched. Its installed build passed a CPU and Adreno Vulkan known-answer check on SM8735. - Debian, Ubuntu, and Alpine were the device-qualified desktop profiles in that release. The qualification is limited to the documented reference device and recorded tests.
- Turnip source downloads are pinned to upstream release
mesa-26.3.0-devel-20260824and rejected unless the archive SHA-256 matches the release manifest. The release evidence covers the documented reference device; broader clean-device coverage and exhaustive ABI/license review remain follow-up work.
A workstation, not just a desktop
- Retitled the project around what it has become: a real Linux workstation on an ARM64 phone, with no PC in the loop. The evidence-led framing is unchanged.
Keeping the GPU driver across package updates
- New guide, Graphics persistence: on recent
Adreno hardware the Vulkan driver Debian ships can fail to recognise the GPU at
all, so a newer Turnip is what makes the Zink route work rather than an
optimisation. Measured on an Adreno 825, Debian's
mesa-vulkan-drivers 25.0.7-2+deb13u1enumerated no Adreno device — onlyllvmpipe. - The guide documents an apt-safe layout under
/usr/local, outside dpkg's reach, plus adpkg-divertstep that stops the GPU being enumerated twice. Verified by reinstallingmesa-vulkan-driverswith the new layout in place: the driver survived anddpkg -Vstayed quiet. - Recorded a limit of the previous hold-based protection:
apt install --reinstall mesa-vulkan-driversresets that package's selection toinstall, dropping the hold without reporting it. ternux verifynow separatesturnip:present(apt-safe layout) fromturnip:fragile(driver on a dpkg-owned path, which an upgrade will revert) instead of only reporting presence or absence.ternux guidesand the installer's next-steps summary link the new guide.- The GPU phase now installs the driver under
/usr/localand generates its ICD manifest there, carrying the archive's ownapi_version, then diverts Debian's manifest. Until now the installer wrote over the dpkg-owned paths itself, so it produced exactly the layout the guide warns about. ternux repair, the install verification, renderer detection and the Vulkan benchmark accept either layout, so an installation made before this keeps validating instead of looking broken.- Four tests in
tests/focused.shhold the layout contract, including that the generated ICD is valid JSON carrying the archive'sapi_version.
The test suite now runs on the hardware it targets
tests/focused.shreported five failures on a real Adreno device while passing in CI. Four tests depended on the host not having/dev/kgsl-3d0, and one reached the installed host CLI through a hard-coded path. All forty-seven pass on-device now.- GPU, Vulkan and backend detection read
TERNUX_KGSL_DEVICE;uninstall.shreadsTERNUX_HOST_PREFIX. Both default to the paths they replaced, so production behaviour is unchanged, and the tests set them instead of guarding on the real device node. Documented in Configuration. - One of those tests previously made a device run
execthe user's own installed CLI and calluninstall state --yesthrough it. Only the test's redirectedHOMEkept that away from a real installation.
The installer asks which guest to use, and measures wide glyphs correctly
- An interactive install asked for the user name and the shell but never for the
guest distribution, so
--distrowas reachable only as a flag. It now asks, alongside the other two, showing each profile’s support status. Unattended runs are unaffected. - Fixed a width-measurement bug the renderer's own first invariant describes: middle dot, bullet and braille render two cells wide on many Android fonts and all three sit below the CJK range, so the single "wide above U+2E7F" threshold counted them as one cell and the right border was pushed out. A proper table now covers arrows, mathematical operators, enclosed alphanumerics, box drawing, shapes, dingbats and braille, biased to two cells when in doubt: over-estimating clips a log line a cell early, which is cosmetic, while under-estimating shreds the frame. ternux's own frame is pure ASCII, so nothing in the table can narrow it — it only applies to text coming out of apt, dpkg and curl.
The installer frame is no longer flush against the screen edges
- The frame kept a single unused column on the right and nothing on the left,
so it sat hard against both edges — cramped on a phone, and asymmetric. It now
keeps one gutter column on each side, with the drawing origin in
_TNX_FRAME_Xrather than a hard-coded column 1 at twelve call sites. tests/ui_render.pyasserts the gutter on both sides, in all three geometries it already exercised. Its frame detection no longer assumes the rule starts at column 0, which is what it had encoded.
Every workload documented, automatically and by hand
- New guide, Workloads: the exact package set each
--with-*flag installs, read from the installer itself, with the manual equivalent of every one of them. Both routes are presented as first-class, so a workload can be read before it runs and a failed one can be finished by hand instead of starting over. - It also records what the automatic route does beyond installing: the set is
saved,
--resumerestores it without repeating the flags, and a workload failure is deliberately not an install failure. - States plainly that
--with-llmbuilds llama.cpp from source, that this is the current source-build route. Checksum-verified CPU/Vulkan extensions are available through the preview extension workflow; model weights remain user- managed and are not installed, copied or managed by any workload. - Linked from the installer options,
ternux guidesand the documentation navigation, which now has fifteen destinations per language.
Named guest profiles have family-matched setup
--distro NAMEselects a named PRoot profile. Debian, Ubuntu, and Alpine are the desktop guests qualified at that time; other recipes remain available but are not covered by that release support promise.- Package-manager and graphics setup follow each guest family. Ubuntu keeps its snapd-safe browser route and its own distro-matched Mesa/Freedreno stack.
- Debian, Ubuntu, and Alpine use independent displays
:0,:1, and:2, with matching user/root shell shortcuts and guest-specificstart,stop,restart, andverifycommands. - Generic OCI images remain shell guests unless a Ternux desktop recipe is available.
The Termux shell is a choice, and zsh arrives themed
- An interactive install now asks for bash or zsh when neither a flag nor saved state has chosen one, with the same deadline-and-default behaviour as the username prompt. Unattended runs are unaffected.
--shell bash|zshchooses without being asked;--zshstill works.- Choosing zsh installs powerlevel10k, which was never implemented before:
zsh was installed and left with no theme at all. The configuration wizard is
disabled so an unattended install cannot stop at a prompt — run
p10k configurewhen you want to restyle it.--no-themeorTERNUX_THEME=noneskips it. - A missing
git, no network or an incomplete clone now warns and leaves zsh working without the theme instead of failing the phase or losing the aliases. chshis called with stdin closed, so achshthat wants a password cannot stall an install.
Groundwork for a second guest distribution
- The guest container is resolved through
tnx_distroand entered throughtnx_guest_logininstead of 35 copies ofproot-distro login debian, so adding a distribution means writing its profile rather than making another pass over every call site. Resolution order isTERNUX_DISTRO, then recorded state, thendebian. TERNUX_DISTRO_VERIFIEDrecords Debian, Ubuntu, and Alpine as the three device-qualified profiles qualified at that time. Alpine's inconsistent synthetic Ctrl+Space event result is disclosed in the release report; it is not generalized as a pass.- The launcher and the shell aliases are standalone files that never source
ternux's libraries, so they keep a literal
proot-distro login <distro>resolved when they are generated. A test generates both and reads what came out, which is how a regression in exactly that place was caught.
Site
- The landing page, its social metadata and the site description carry the workstation framing, and link the graphics-persistence guide.
- Fixed: every documentation button on the Bengali landing page pointed at the
English page. All nine now address
/bn/, andtests/docs_check.pyfails if a Bengali landing link ever leaves the Bengali tree again.
Fixed
- The install-complete summary dropped its "Install tool help" line and printed
command not foundat the end of a successful install, in both the framed and plain output paths: the next-steps argument list was missing a line continuation.
[1.4.0] — 2026-08-17 · release tagged v1.4.0 on 2026-09-19
Animated installer dashboard
- Rebuilt the one-command installer frame as a persistent dashboard: a live device panel (model, Android, GPU, backend, memory), a fixed step progress bar, a framed scrolling log, and an animated copyright footer with a spinner.
- Borders now auto-fit the terminal and repaint on resize — including font or zoom changes and the on-screen keyboard — so log lines never wrap past the frame.
- Replaced the thin single-line frame with thicker double-line borders and clipped, color-coded log lines; the identity, progress and footer text is ellipsized instead of overflowing on narrow viewports.
Installer renderer rebuilt — stable frame, readable log
The installation dashboard is rendered by a new engine. On real devices the previous one could wrap log lines through its own borders, repaint the whole screen several times per second, and expand package-manager progress into thousands of scrolling lines.
Fixed
- Frame integrity. The frame no longer writes into the terminal's last column, so the pending-wrap state is never armed and a log line can no longer shift every row that follows it.
- Repaint storms. The screen is cleared only when it opens, when the
terminal genuinely changes size, and when it closes. Resize detection compares
raw terminal measurements with the previous raw measurement — never with the
clamped drawing size — and is polled at most once per second, with
SIGWINCHshort-circuiting the poll. - Size detection. The window size is read from the kernel through
stty/tputwith descriptor fallbacks, so a phase running inside a pipeline can still measure the terminal. When no measurement is possible the frame stays fixed instead of thrashing. - Progress floods. Carriage-return output from apt, dpkg, proot-distro and curl updates one row in place instead of scrolling the log window away.
- Split lines. Partial reads are buffered, so a slowly produced line is reassembled rather than printed in fragments.
- Log window content. The window is redrawn from a dedicated stream log, so timestamped diagnostic entries no longer appear between package lines.
- Terminal state. The scroll region and cursor are restored on every exit
path, including
SIGINTandSIGTERM.
Changed
- Output bursts are coalesced to a readable rate and the remainder is reported
as
... +N more lines. Errors, warnings and phase markers are never coalesced, and the complete stream is always written to the log file. - Closing the installer reserves rows for a short recap — outcome, phase and log path — as ordinary scrollback text.
- A terminal that becomes too small drops cleanly to plain scrolling output instead of drawing a broken frame.
- The per-line render path no longer forks a subprocess; clipping, padding, colouring and the animated signature use shell builtins only.
Added
--ui auto|dashboard|plain|off,--plain, and theTERNUX_UIenvironment variable.--no-animnow only freezes the animation instead of affecting layout, andTERNUX_COLS/TERNUX_ROWSforce a geometry for reproducible transcripts.tests/ui_render.py, run in CI: the installer is executed inside a real pseudo-terminal and replayed through a VT100 emulator that asserts border integrity, bounded repaints, progress collapsing, and correct re-fitting after a resize.- Documentation for the installer screen, its renderer modes and its logs in the installation guide, the CLI reference, the configuration reference and troubleshooting, in both languages.
Professional bilingual documentation experience
- Rebuilt both landing pages in a refined terminal design with clearer hierarchy, responsive layouts, local fonts, stronger accessibility, concise installation choices, evidence boundaries, and workload cards that open upstream repositories.
- Replaced the flat documentation-chip shell with grouped sidebar navigation, filterable page index, breadcrumbs, generated local tables of contents, previous/next navigation, edit and feedback paths, mobile drawer behavior, print styles, and a consistent project footer.
- Added mirrored English/Bengali documentation hubs and the complete Bengali benchmark/evidence archive, including all 66 captured scene values and caveats.
- Centralized the bilingual information architecture in
_data/docs.yml; added repository authoring maps, reciprocal language metadata, a complete sitemap, corrected canonical URL configuration, and professional contribution guidance. - Preserved measured, observed, reported-build, and untested distinctions across both languages and all redesigned surfaces.
Archival real-device guide and installer hardening
- Rebuilt the README as an evidence-led, archival guide: exact renderer, measured glmark2 scores and all observed FPS ranges, architecture and backend interpretation, verification/benchmark protocols, workloads, FAQ, thermal guidance, limitations, and explicit separation of measured, observed, build-only and untested claims.
- Added
docs/BENCHMARKS.md, preserving all 66 captured OpenGL/OpenGL ES scene results, test conditions, anomalies, evidence matrix and reproduction steps. - Added one-command and full download-review-run installation routes plus English and Bengali manual procedures. Review instructions now cover every executable installer component, not just the entry script.
- Hardened backend normalization/detection, Turnip archive selection and staged extraction, launcher argument/env handling, PulseAudio loopback configuration, locale/user persistence, repair aggregation, verification, resumability and scoped uninstall documentation.
- Standardized supported command JSON and shared fatal envelopes while documenting which lifecycle commands remain human-oriented.
- Expanded English/Bengali troubleshooting, configuration, architecture and CLI references; workload cards link directly to Blender, llama.cpp and stable-diffusion.cpp upstream repositories.
[1.3.1] — 2026-08-17
Real-device installer recovery
- Replaced fragile human-output matching with one shared Debian-container probe.
It understands PRoot-Distro 5's
list --quietinterface, both current and legacy rootfs layouts, and older Alias/Status output, so an existing Debian container is reused instead of passed toproot-distro installagain. - Changed standalone bootstrap and fallback host-CLI acquisition from many independent raw-file requests to one validated source archive with bounded retries. The one-click route reuses that same extracted snapshot for bootstrap, host CLI and Debian guest companion installation.
- Removed the full-screen
termux-change-repodialog from the persistent install frame. Package setup keeps the user's current apt source and temporarily disablespkg's all-mirror sweep; an unreachable source fails normally and can be changed manually before--resume. - Fixed failed dashboard closure so it retains the actual failed phase and title
instead of rewriting every error as
FAILED [11/11]; only success advances the counter to the total. - Preserved line-streamed logs, required-phase failure propagation, resumability, host/guest CLI verification, the 3–4 GB base and 10–12 GB complete estimates, and the visible Sobuj Miah installer identity.
- Added regression coverage for current/legacy PRoot-Distro layouts, existing Debian reuse, noninteractive repository handling, and a transiently failed but successfully retried standalone source-bundle download.
[1.3.0] — 2026-08-15
ternux CLI v1.3.0 — production modular CLI with documented JSON output
Complete CLI redesign. The CLI has been rebuilt from the ground up as a thin dispatcher with self-contained command modules, proper help system and consistent UX. Machine-readable JSON is available for the reporting commands whose schemas are documented; interactive/lifecycle commands remain human-oriented.
New architecture:
bin/ternuxis now a thin dispatcher (~80 lines): discovers commands viatnx_cmd_*function naming convention, lazy-loads libraries, handles global flags properly- Every command function lives in its own library file (
lib/<name>.sh) - New
lib/help.sh— centralized help system with per-command help functions - New
lib/info.sh— dedicated system information command module - Command dispatch is extensible: adding a new command = add a
tnx_cmd_<name>()function in a newlib/<name>.shfile
Fixed UX bugs:
ternux doctor --helpnow shows doctor-specific help (was showing main help)ternux profile --helpnow shows profile subcommands properly--helpafter any command correctly dispatches totnx_help_<command>- Unknown commands now produce clear error messages with correct exit codes
Standardized subcommand pattern:
- Every command that takes subcommands validates them and shows usage on error
- Consistent
--helphandling at every level - All commands return proper exit codes (0=success, 1=error)
JSON output improvements:
tnx_json_add_array()with proper item escaping- All JSON output uses consistent field naming (
snake_case) - Error JSON objects include
command,status: "error", andreasonfield - JSON schemas documented in
share/templates/json-schema.md
New features added:
ternux backend detect— auto-detect the correct GPU backendternux update check— check for updates without installing- Proper
--versionflag on all command paths TERNUX_QUIETsuppresses non-critical messages everywhereTERNUX_VERBOSEenables debug output consistently
Refactored libraries:
| Library | Lines | Status |
|---|---|---|
bin/ternux |
~80 | Thin dispatcher (was 532) |
lib/core.sh |
239 | Shared foundation |
lib/help.sh |
130 | New — centralized help |
lib/desktop.sh |
168 | Self-contained lifecycle |
lib/doctor.sh |
250 | Clean diagnostics + verify |
lib/backend.sh |
95 | Backend management |
lib/benchmark.sh |
164 | GPU benchmarks |
lib/info.sh |
86 | New — system info |
lib/profile.sh |
180 | Profile management |
lib/repair.sh |
184 | Auto-fix engine |
lib/logs.sh |
97 | Log management |
lib/update.sh |
150 | Self-update |
lib/state.sh |
86 | State queries |
lib/phases.sh |
704 | Installation phases |
Extensibility (plugin readiness):
- Add a new command: create
lib/mycommand.shwithtnx_cmd_mycommand() - Add help: create
tnx_help_mycommand()inlib/help.sh - Command functions are auto-discovered via
declare -F
New documentation:
docs/CLI.md— complete CLI reference (every command, flag, and JSON schema)share/ternux-completion.bash— bash tab-completion for all commands
CI/CD pipeline (new):
.github/workflows/ci.yml— ShellCheck, syntax check, 43 smoke tests, doc link check.github/workflows/release.yml— auto-GitHub-Release onv*tag.github/dependabot.yml— weekly GitHub Actions dependency updates
Contributor tooling (new):
.github/stale.yml— 90-day stale issue auto-management.github/FUNDING.yml— GitHub Sponsors support- Repository topics set: 14 discoverable tags on GitHub
Repository metadata:
- GitHub topics added:
termux,android,linux-desktop,gpu-acceleration,vulkan,zink,turnip,adreno,proot,xfce4,debian,no-root,cli,shell-script - README badges updated: CI status, release version, GitHub stars
.gitattributeswith proper line-ending rules
[1.0.10] — 2026-08-15
Installer v1.2.2 — perfectly-aligned live dashboard with full details
Geometry engine (the box now lines up on every terminal):
- New
padline()measures ANSI-coloured lines by their VISIBLE width — measuring by bytes made every box row shorter than its border and cut escape codes mid-sequence, leaking garbage glyphs. - CSI stripping moved from globs to sed: a bash glob
[0-9;]*mmeans "one digit/semicolon then ANYTHING then m" (*is a free wildcard, not a quantifier) and was swallowing whole lines; sed's regex does it correctly. - A UTF-8 locale is bootstrapped at startup so '✓' counts as one column
everywhere;
_vtrunc()does locale-independent character truncation (cut -c ignores the locale on some systems). - Boxes carry right borders and a 2-column safety margin so nothing touches the terminal's auto-wrap edge.
More dashboard details:
- Device row: Android version, arch, model and RAM, captured in preflight.
- Phase clock: current-phase and total elapsed timers on the progress row (wide terminals), per-phase durations recorded and shown with ✓/· in the final summary.
- Live log tail is sanitised (carriage returns/control codes stripped) so apt/curl progress can never jump the cursor inside the panel.
- Frozen finish frame is now the same height as the live frame (no stale border leftovers) and prints the full checklist, device and signature.
Verification: rendered the raw PTY output with a real terminal emulator — every row of every box measured exactly equal to its border, zero escape leaks, zero spam; full mock install green; narrow-terminal fallback, pipe purity and regressions A–D all pass.
[1.0.9] — 2026-08-15
Installer v1.2.1 — the author's name rides the whole install
- Flowing rainbow signature. A new sig engine renders "Sobuj Miah" letter by letter, each letter cycling through the six theme colours with a per-tick phase offset, so the colours flow through the name continuously.
- The signature lives in every stage of the install: the banner byline shimmers on arrival, the HUD panel carries a "✦ ternux by Sobuj Miah" row on every frame, the frozen finish frame keeps it, the compact status line appends a cycling-colour name on wide terminals, the completion celebration prints "built with ♥ by Sobuj Miah" as an animated flourish, and the final summary box signs off with it.
- All signature output degrades to plain text when piped or with NO_COLOR; compact view skips it on narrow terminals.
[1.0.8] — 2026-08-15
Installer v1.2.0 — HUD dashboard, glitch banner, summary panel
- Glitch-in banner: the ASCII wordmark now resolves from random glyphs in three animated passes (matrix-style reveal), each row in the green→cyan gradient; plain banner when piped.
- Live HUD dashboard on every task: a bordered panel redrawn in place
— spinner,
[3/9]counter, task name and elapsed time, an eased phase bar with shimmer lead, a sliding activity track, a nine-phase checklist (✓done /⟳running /·pending) and the live last line of the install log. Finished tasks freeze the panel with a✓/✗frame. - Boxed summary panel at the end: backend, user, elapsed, launcher, start command and log path — plain text on narrow terminals.
- Narrow-terminal fallback: below 46 columns (typical phone width) everything degrades to the compact single-line view automatically.
- Cursor hide/show is now stateful (no stray escape codes in piped output); banner gradient is suppressed when piped; eased percent resets on fresh installs.
- Tested under a real PTY: boxed HUD frames, frozen finish box, summary panel, full mock install, narrow fallback, pipe purity, and all prior regressions (conffile cascade, sleep-breaking upgrade, broken dpkg).
[1.0.7] — 2026-08-15
Installer v1.1.4 — the whole toolchain, not just curl
- Real device follow-up: curl was upgraded (8.12.1 → 8.21.0) yet still
failed to link — the missing symbol comes from openssl, so repairing
curl alone can never fix it. repair_curl now upgrades the entire chain
(
curl openssl openssl-tool libngtcp2 libnghttp3) and, if curl still cannot link, points the user at a fullpkg upgrade -y. - Troubleshooting (EN + BN) documents the "already upgraded curl and it still fails" case with the deterministic fix.
[1.0.6] — 2026-08-15
Installer v1.1.3 + site: copy-safe commands and curl resilience
- Copy can no longer include the
$prompt. On the landing page the prompt and blinking cursor are now drawn with CSS pseudo-elements, so selecting or copying the install line yields exactly the command. Copy buttons on guide blocks also strip display-only$prefixes per line. Fixes the reportedNo command $ foundafter pasting. - Broken curl no longer blocks anything. After a partial upgrade curl
can fail to link (
SSL_set_quic_tls_transport_params). The installer now detects this in preflight and repairs it (pkg install curl openssl), checks the network with a wget fallback, and downloads the Turnip driver through adownload()helper that falls back to wget. The site and every doc (README, Quick start, Installation, Manual — EN + BN) now show thewget -qO- … | bashone-liner as the curl-free path. - Troubleshooting gains both sections: pasted-command
$and curl CANNOT LINK (EN + BN), with table entries.
[1.0.5] — 2026-08-15
Installer v1.1.2 — animation through the whole install
- Live status line during every task: one persistent animated line —
braille spinner, overall phase bar
[2/9] ██░░…, sliding activity track and elapsed timer — redrawn on every tick for ALL wrapped tasks. - Every long task is now animated: the Debian package install, user creation, Turnip driver staging, locale/fonts setup and all optional workloads (dev, llama.cpp, network, media, Blender) previously ran as plain text; they now run through the spinner with their output logged.
- Animated phase headers: each of the nine phases opens with two
sweeping rules and a
[N/9]title instead of a static==>. - Growing progress bars: the per-phase bar now animates its fill from the previous phase to the current one (▓ shimmer lead, percent, count and elapsed time) instead of printing once.
- Typed next steps and a two-line completion celebration.
- All timings use bsleep();
--no-anim,NO_COLOR=1and piped runs stay plain text. Full-flow regression: mock end-to-end install under a real PTY passes with the celebration, launcher and aliases written; prior failure scenarios (conffile cascade, sleep-breaking upgrade, broken dpkg) still pass.
[1.0.4] — 2026-08-15
Installer v1.1.1 — spinner hardened against prefix replacement
- Fixed upgrade-time error spam and hang risk. While
pkg upgradereplaces the Termux prefix, the spinner'ssleepcould fail mid-run (CANNOT LINK EXECUTABLE "sleep": library "libpcre2-8.so" not found,/usr/bin/sleep: No such file or directory), spamming the terminal and risking a busy loop. The installer now usesbsleep(): the realsleepwith stderr silenced, falling back to a pure-bashread -ttimeout on a self-owned FIFO — the spinner needs no binary the upgrade can remove. - The FIFO is created lazily before any prefix-modifying step and removed
on exit; every installer sleep now goes through
bsleep. - Regression-tested by replaying the exact failure (mock sleep breaking
CANNOT-LINK then missing mid-upgrade under a real PTY): spinner kept
animating, zero error spam, install completed green. Fallback pacing
verified (1.5 s ±0.1 s) with
sleeppermanently broken.
[1.0.3] — 2026-08-15
Installer v1.1.0 — fixes and a real terminal theme
- Fixed the openssl/conffile cascade.
pkg upgradecould hit a dpkg conffile prompt; with stdin closed it errors and leaves the package system broken, failing every later install. All apt operations now run non-interactively with force-confold/force-confdef, broken dpkg state is repaired before and after upgrades, and the same hardening is applied to every apt step inside the Debian container. - Fixed run() exit-code reporting. Failures previously printed
rc=0; the real exit code is now captured and shown. - Termux-X11 fallback. If a mirror lacks
termux-x11-nightly, the installer falls back to stabletermux-x11instead of failing. - Terminal theme: gradient banner, animated typed intro, braille
spinner on long tasks, a custom
█▓░progress bar with percentage and phase counter, success celebration, and a themed uninstaller banner. Disable with--no-anim/TERNUX_NO_ANIM=1;NO_COLOR=1still produces plain output. - Regression-tested against the exact reported failure (mock pkg/dpkg replay): upgrade crash, repair, nightly-missing fallback, clean run, pre-broken state.
[1.0.2] — 2026-08-15
Copy-to-clipboard everywhere
- Every code block on the site now carries a terminal-style header bar with a copy button — documentation pages and landing-page command blocks alike.
- Inline
codeis now click-to-copy with a flash confirmation. - New shared
assets/js/codecopy.js(clipboard API + fallback for older webviews); runs on every page with no dependencies.
Installer spotlight
- The one-command install box is now an animated centrepiece: rotating
gradient ring, breathing glow, shine sweep, live pulse dot, version tag
and a blinking cursor — all disabled under
prefers-reduced-motion. - The whole command line is click-to-copy, not just the button.
Guide cross-links
- The landing guide banner and hero CTA now point to the Manual installation page; Installation and Quick start reference it as "Method 3 / পদ্ধতি ৩".
[1.0.1] — 2026-08-15
New: Manual installation page (EN + BN)
- Manual installation — every step by hand, command by command: apps, base packages, Debian, user + sudo, GPU driver (Zink/VirGL), audio/locale/ fonts, the complete launcher file for both routes, shortcuts, phantom-killer, verification and uninstall.
- Linked from Installation and Quick start; added to doc-nav, sitemap and the landing docs cards.
Responsiveness overhaul (all pages)
- Inline commands now wrap — a long inline command no longer stretches its paragraph (pages measured 1100+ px wide on a 360 px screen before).
- Tables wrap naturally on desktop; degrade to a scroll box on phones only when they must.
- Sticky nav is a single row — scrolls sideways on phones instead of stacking into 2–3 rows.
- Landing guide cards fixed — long commands no longer blow cards out to 640 px; hero, buttons, step cards and switch tuned for mobile.
- All pages verified with Playwright at 360/768/1280/1920 px: zero horizontal overflow.
[1.0.0] — 2026-08-15
First public release — free and open
- One-command installer released.
install.shis now a public Apache-2.0-licensed, single-file installer: preflight → base packages → Debian + Xfce4 → GPU driver (Zink/Turnip or VirGL) → audio/locale/fonts → launcher → shortcuts → optional workloads → phantom-killer advisory → verification. - Installer tooling:
--yes,--user,--locale,--backend,--zsh, workload flags (--with-dev,--with-llm,--with-network,--with-media,--with-blender,--all),--doctor [--fix],--resume,--status,--uninstall,--version,--help. - Safety hardening: driver archive validation (no links, no path
traversal, whitelisted extraction only), SHA-256 recorded in install state,
visudo-validated sudoers drop-in, idempotent phases, verified binaries. - Standalone
uninstall.shwith session stop, launcher/shortcut removal and container deletion. - Documentation rewritten from scratch, EN + BN: Quick start, Installation (with the why of every phase), Usage, Configuration, Troubleshooting (symptom → cause → fix), Architecture and FAQ. Bangla mirrors for every page, including this changelog.
- Site rebuilt: landing page with a copyable one-command install box, GPU route switch, phase and design-decision sections; the "Pro coming soon" framing and private-installer language are gone — ternux is free software.
- Removed: the Pro page and the public/private documentation boundary.
[0.x] — 2026-08-13 and earlier
Pre-release era: documentation-only site describing the private installer. Superseded by 1.0.0, which publishes the installer itself under MIT.
ternux — Copyright (c) 2026 Sobuj Miah (@soobujmiah) · Apache-2.0