r/termux • u/waylandmyself • 14h ago
r/termux • u/Vgloomy • 16h ago
General Got animated wallpapers working on Termux:X11 with xwinwrap
tbh this took me a while, but it's running smoothly now using xwinwrap + mpv.
fyi, the regular mpv package in Termux is built without X11 support, so you need mpv-x from x11-repo instead.
I also made a small GTK selector to switch between videos. lmk if anyone wants the script!
r/termux • u/Suitable_Average1168 • 8h ago
Showcase The release of fast-text editor 0.7.1
reddit.comr/termux • u/YitzakAF • 1d ago
General UML updated to kernel 7.3.1
galleryI compiled a newer version of UML for Android, based on kernel 7.3.1 and using NDK version r30. I added support for btrfs, zram, AppArmor, SELinux, FUSE, and cryptsetup. While I’m not sure how graphical user interface (GUI) programs will run, it’s clear that I’ll need to use something like VNC. What do you think?
Showcase Shroot 1.0: run Debian directly in Termux, no root or Shizuku needed
Last time I posted here, you needed MagicDesk and Shizuku to try Shroot. I've since split it out into its own project. It runs under Termux's own Android UID, on the phone's kernel. There's no VM or extra APK to install.
One test I ran on my phone: I started Alpine from Termux, built Shroot with musl inside Alpine, and used that build to start Debian. In Debian I built it again with glibc and ran the native test suite. That included running a debugger in a third guest. There's no special nesting mode. I tried it because a runtime trying to debug processes inside another copy of itself turned out to be a good way to find bugs I'd missed even with systemd and k3s working.
To try it on aarch64 Termux (Android kernel 5.15 or newer), install the .deb from GitHub Releases:
url=https://github.com/mekhontsev/shroot/releases/latest/download
pkg=shroot-termux-aarch64.deb
curl -fLO "$url/$pkg" && curl -fLO "$url/$pkg.sha256" &&
sha256sum -c "$pkg.sha256" && apt install "./$pkg"
Then pull Debian from the OCI registry and open a shell:
shroot install debian:stable --name debian
shroot login debian
It leaves your existing Termux packages and PRoot environments alone.
Source, install instructions and test results: https://github.com/mekhontsev/shroot
r/termux • u/md_Fahad25624 • 1d ago
Question New Google Verification System
Google has announced that their highly controversial app verification program will now be rolling out globally at the beginning of next year. In January 2027, they will require that all app developers are registered with them, and if they are not, Android users have to wait a minimum of 24 hours to install the unverified APK file.
Sources & more: https://tech.ufdmedia.com/FEJC7CB6?s=fb
How will it affect us who have already Termux installed from F-droid or GitHub when we need to update? And will it affect the new people who want to install Termux from F-droid or GitHub?
r/termux • u/Metaphysicise • 1d ago
Question What's some good questions to ask on this local ai? ( ignored the token )
galleryThe llm model is Distillied Heretic Qwen 3.8 2b Q8_0.
SYS_PROMPT="You are Helpful, honest, Uncensored Ai assistants and can writes long answers or short questions depending on questions"
r/termux • u/Ok_Mobile_2155 • 1d ago
Question Lenguaje de termux
Quien sabe si es posible cambiar el lenguaje de la cli de termux tipo de inglés al español u otro idioma?
En mi caso sería del inglés al español, solo el texto de salida, no de los comandos ni más nada.
r/termux • u/md_Fahad25624 • 1d ago
General Regarding Termux on Google Play Store
When I first heard about Termux I was genuinely fascinated, for what I could do here. So, unlike regular people, I also downloaded Termux from Google Play Store. While it was decent, I was having trouble since the session duration is very low if I go out, also my Rust and cargo version kept staying in 1.96.0 while versions kept updating, also nothing else was getting updated too, like git, rust analyzer, rust src etc. I thought I should visit the official community in Reddit, and the first thing I saw was the post implying we shouldn't use Termux from Google Play Store. I read it, immediately uninstalled Play Store Termux and downloaded from F-droid. Now my Termux is the official version, much more sleek, cleaner and better. For example the UI looks better, and session time is very satisfying too. Also here I immediately got the latest version of Rust, rust src and cargo, 1.100.0 and other things like git, rust analyzer etc., which made me very happy. I've also left a review on Goggle play store telling that that's not the official version, all should download from GitHub or F droid and the official version is better. Now I'd like to address the fact that whenever anyone first hears about Termux, most of them install it from Google play store, just like I did, thus it has 10m+ downloads and 165K reviews with overall 4.4 star. And even if they know, many don't switch because they have to back up their data. So I'd like to request to increase the reach of official Termux, if possible put it in Goggle Play Store.
Showcase Upgrading termux-sync to a safer version (v1.3.8), need your feedback & Security Audits!
Hi r/termux
Have you ever worried about what happens if you factory reset your phone, switch devices, break your phone, or uninstall Termux to free up storage only to realize later that you want to use Termux again without reinstalling everything from scratch or losing track of your past projects?
I built termux-sync to solve this exact problem!
Quick Installation
You can install it quickly via git clone:
Or install via pip:
Looking for Feedback & Vulnerability Audits
Before expanding further, I’d really appreciate the community’s help in testing, giving feedback, and searching for any potential security vulnerabilities or code improvements in termux-sync.
-
GitHub Repository: https://github.com/djunekz/termux-sync
-
Current Version:
1.3.8
Feel free to open issues, submit pull requests, or leave your feedback below. Thanks!
r/termux • u/kengeren • 1d ago
Showcase made a termux tool that checks your code for llama.cpp 1.0 breaking changes before you get burned by them
llama.cpp hit 1.0 a few days ago and quietly dropped a bunch of stuff people's scripts depend on, a few functions gone, a flag removed, a header that moved. went looking for something that'd just scan my code and tell me what's gonna break and couldn't find anything, so i built it instead.
its called llamadoctor, one python file, no deps, runs fine in termux since thats literally where i wrote the whole thing on my phone. point it at a folder and it tells you whats broken, severity sorted, links to the actual github PR for each one so your not just trusting some random script. if theres an easy mechanical fix it offers to do it for you, asks first obviously, and refuses to touch anything if your git tree is dirty unless you force it.
install is just(after cloning ofc.):
pip install -e .
llamadoctor yourfolder
repo's here if anyone wants to poke at it or tell me what i missed, pretty sure theres edge cases i haven't hit yet since i only had my own stuff and some test projects to throw at it
github.com/hunzo1/llamadoctor
r/termux • u/enzox12345 • 2d ago
General Cant install python
I got the newest version of termux but i keep getting an error over and over and i cant install python
r/termux • u/F4LC0N69 • 2d ago
Question How do I copy file from proot container to my host machine?
I compiled pyroclear inside alpine container because I couldn't do it in native Termux because of cargo errors. Silly me even copied my compiled MacOS binary from my MacBook thinking arm64 is arm64.(We all learn some thing everyday I guess😅). Pyroclear works inside proot. I just need to copy it to my local bin for ot to work. Why does it say path doesn't exist?? I can literally see it. It's just...... there. Anyone has idea why?
r/termux • u/YudipusaYan • 2d ago
Showcase I added tabs and easy access to side menu for faster switching I often swipe back instead of the side menu
and call it thermos
Showcase Native Wayland session in Termux using Anland-Termux.
galleryRunning a native Wayland session with the Weston compositor in Termux using Anland-Termux on LineageOS 24.0 on quite an old phone powered by a Qualcomm SM8250-AC Snapdragon 870 without DisplayPort Alt Mode. Hardware graphics acceleration works directly via the open-source Mesa Freedreno and Turnip drivers on the Adreno graphics processing unit. No root, no PRoot, and no virtual machines required.
Using a standard USB-C cable over the phone's USB 2.0 port and scrcpy --new-display=3840x2160/320, I streamed the desktop session as an additional external 4K display. Daily applications like LibreWolf, LibreOffice, file managers, and graphics editors are installed and run fairly smoothly within this environment.
This is not an ongoing project. Just a practical demonstration.
r/termux • u/Maiki_Konjo • 3d ago
Showcase Real-World Torture Test: Cybertruck Wind Tunnel + Windows XP, 2000 & Linux on a $150 Moto G Play! Compiled in Termux.
Synthetic benchmark tools don't tell the real story—real-world multitasking torture tests do. Can an unrooted, entry-level $150 (CAD) Motorola Moto G Play (2024) with 4GB of RAM simulate a Cybertruck in a wind tunnel while concurrently running Windows XP, Windows 2000, Alpine Linux, htop, and Android 14's screen recorder—100% locally in Termux?
In this stress test, I compiled a native ARM64 OpenMP fluid dynamics wind tunnel simulation (complete with a shattered ArmorGlass Cybertruck model) and ran it across all 8 Snapdragon 680 cores alongside three live virtualized operating systems—with no cloud servers, no root, and no SSH tricks.
Concurrent Workloads Running Live on 4GB RAM:
• 2D Lattice-Boltzmann Wind Tunnel CFD (1280 × 480 grid / 614,400 fluid cells × 9 vectors, 8,000 iterations on 8 ARM64 OpenMP threads)
• Windows XP (QEMU local emulation)
• Windows 2000 (QEMU local emulation)
• Alpine Linux + Fluxbox desktop & live htop resource monitoring
• Android 14 built-in screen recorder capturing the entire run live
What is MLUPS?
MLUPS stands for Million Lattice Updates Per Second—the standard speed metric for Lattice-Boltzmann fluid dynamics simulations. Each "lattice update" calculates airflow velocity and pressure across 9 directional vectors inside a single grid cell. At 15.53 MLUPS across 614,400 cells, this budget phone was solving over 15.5 million fluid cells every second (nearly 4.92 billion cell updates total) while simultaneously running three virtualized operating systems!
Final Hardware & Wind Tunnel Telemetry Scorecard:
• Grid Resolution: 1280 × 480 (614,400 fluid cells × 9 vectors)
• Steps Completed: 8,000 iterations (8 ARM64 OpenMP threads)
• Total Wall Time: 316.55s (~5m 17s) | Avg Throughput: 15.53 MLUPS
• Aero Drag (Cd): 0.850 (Cybertruck + Shattered ArmorGlass)
• Memory Pressure: Lowest Free RAM dipped to 544 MB | Peak zRAM Swap hit 2,262 MB
• Thermal Telemetry: Peak & Ending Temp 52.6°C | Held 2,400 MHz peak CPU clock
r/termux • u/Mediocre-Bathroom218 • 2d ago
General TERMUX [BAIXADOR]🇧🇷
Um baixando de Vídeo, Musica.
De qualquer lugar que você quiser.
r/termux • u/Worldly-Jeweler-9749 • 3d ago
Showcase I made my phone control itself from Termux: an AI agent reads the screen as text and taps for you
I wanted Claude Code (running in Termux) to be able to use the phone it runs on — open apps, tap, type — without a PC. So I wrote android-agent.
How it works:
- Termux connects to the same phone over wireless debugging (adb connect 127.0.0.1:PORT, pair once).
- The screen is read as a short numbered text list from the accessibility tree, not screenshots: a Settings screen is ~150 tokens instead of ~1,500 for an image.
- tap "Bluetooth", find "Developer options" (scrolls until it is there), wait-for, notifications.
- Recipes: record a task once, replay it later with zero model calls.
- agent.py: give it one sentence and a model does the whole task (Claude or any OpenAI-compatible endpoint). It asks before anything irreversible.
In the video I type one sentence and the model opens YouTube, reads the screen as text and plays a video in 6 steps. The screen reads cost ~550 tokens; as screenshots it would be ~3,000.
Python + adb, no other dependencies. MIT. Tested on a Xiaomi with Android 16 so far — reports from other phones are very welcome.
r/termux • u/Mikeinnet • 3d ago
Question Help, how to bypass blocking of ioctl system calls to pty (e.g. TIOCMGET)?
I recently published a post that soon we might be able to flash Arduino in termux. I put a lot of effort into it, wrapped it up nicely and finished the repository for myself (https://github.com/Michael32034/Termux-serial-tty). Now you can create a pty port to Arduino using `termux-usb -r -e './ptyport -b 9600 -s pty' /dev/bus/usb/001/00X` and read data via python, or open pty via `screen ./pty 9600`.
I already thought that I was at the finish line, but it turned out that in termux some ioctl calls are blocked. and it is these calls that avrdude uses when uploading code.
Does anyone have any ideas on how to get around this?
r/termux • u/Objective-Argument69 • 4d ago
Showcase https://github.com/pithings/unkernel#-known-limits...Testing on native Termux
https://github.com/pithings/unkernel#-known-limits..........check this project on github, installed on termux with working network, you will have to read the full docs for set up #NOT MY PROJECT# I am just testing on termux
r/termux • u/ProfessionalLess137 • 3d ago
Question Termux bootstrap wont to work
Cant run bootstrap while using latest Android in termux. Any one know any fix?
r/termux • u/Proper_Chemical4001 • 4d ago
Showcase Wayland (MangoWM) on Termux — No Root
This project, called Mango-termux, allows you to run MangoWM natively in Termux without root access.
GitHub: https://github.com/OceanSt0ne/mango-termux
Requirements:
- Adreno GPU (replace your Mesa with custom Freedreno KGSL v27.0.0)
Termux and Termux:X11 apps
- Current resolution limit: 1024x768 (will try to fix this in the future)
- Proot-distro container (for the Noctalia shell)
- Some free time (no prebuilt releases yet, requires compiling from source)
If you find this useful, please consider supporting the project with a star ⭐ on GitHub!
r/termux • u/DutchOfBurdock • 4d ago
Showcase Further the NPU enabling
I got GPT6 to smash out a script to use NPU and GPU, one as Bender and one as Fry about what is buzzworthy. The script has been adapted to create some diagnostics, and I will add them to the comments.
https://pastebin.com/raw/CKn6VVQ4 is the script
https://pastebin.com/raw/gURdPF5p is their conversation to 4k CTX.
I will post performance graphs in comments.