r/termux • • 1h ago

Question Fork repo termux

Thumbnail
gallery
2 Upvotes

Quienes interesados para crear en conjunto un fork de termux?

Idea crear un termux al estilo Stryker app, N-H entre otras funciones.


r/termux • • 2h ago

General UML updated to kernel 7.3.1

Thumbnail
gallery
2 Upvotes

I 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?


r/termux • • 4h ago

Question New Google Verification System

2 Upvotes

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 • • 13h ago

Question What's some good questions to ask on this local ai? ( ignored the token )

Thumbnail
gallery
3 Upvotes

The 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 • • 14h ago

Showcase Shroot 1.0: run Debian directly in Termux, no root or Shizuku needed

Post image
30 Upvotes

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 • • 14h ago

Showcase made a termux tool that checks your code for llama.cpp 1.0 breaking changes before you get burned by them

1 Upvotes

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 • • 15h ago

Showcase opencode in (not from) your phone

Post image
1 Upvotes

r/termux • • 20h ago

General Regarding Termux on Google Play Store

2 Upvotes

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.


r/termux • • 21h ago

Question Lenguaje de termux

3 Upvotes

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 • • 1d ago

General Cant install python

Post image
4 Upvotes

I got the newest version of termux but i keep getting an error over and over and i cant install python


r/termux • • 1d ago

Showcase Upgrading termux-sync to a safer version (v1.3.8), need your feedback & Security Audits!

Post image
7 Upvotes

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:

git clone https://github.com/djunekz/termux-sync
cd termux-sync
./tsctl install

Or install via pip:

pip install termux-sync

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.

Feel free to open issues, submit pull requests, or leave your feedback below. Thanks!


r/termux • • 1d ago

Question How do I copy file from proot container to my host machine?

Post image
5 Upvotes

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 • • 1d ago

Showcase Plasma-mobile in Termux

Thumbnail gallery
14 Upvotes

r/termux • • 1d ago

General TERMUX [BAIXADOR]🇧🇷

Post image
0 Upvotes

Um baixando de Vídeo, Musica.

De qualquer lugar que você quiser.


r/termux • • 1d ago

Showcase I added tabs and easy access to side menu for faster switching I often swipe back instead of the side menu

53 Upvotes

and call it thermos


r/termux • • 2d ago

Showcase Native Wayland session in Termux using Anland-Termux.

Thumbnail
gallery
12 Upvotes

Running 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 • • 2d ago

Showcase Real-World Torture Test: Cybertruck Wind Tunnel + Windows XP, 2000 & Linux on a $150 Moto G Play! Compiled in Termux.

6 Upvotes

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 • • 2d ago

Question Help, how to bypass blocking of ioctl system calls to pty (e.g. TIOCMGET)?

3 Upvotes

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 • • 2d ago

Question Termux bootstrap wont to work

1 Upvotes

Cant run bootstrap while using latest Android in termux. Any one know any fix?


r/termux • • 2d ago

General Is there anyone who wants to be my mentor? I want to master Termux, or more precisely, everything that can be done with Termux.

0 Upvotes

r/termux • • 2d ago

Question Help me fix this termux pacman error (termux-pacman. Not arch on proot)

Post image
0 Upvotes

Help me :

This error persists . And dosent go away if i

Getting a new keyring dosent do anything

i tried to fix it . Nothing works.

should i reset termux or try to fix it ?


r/termux • • 2d ago

Showcase I made my phone control itself from Termux: an AI agent reads the screen as text and taps for you

8 Upvotes

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.

https://github.com/nebigoktug/android-agent


r/termux • • 2d ago

General Stop Treating Termux Google Play as Automatically Unusable

0 Upvotes

I understand why the Termux maintainers recommend F-Droid or GitHub builds over the Google Play version. However, I think the blanket discouragement of Google Play Termux deserves a more nuanced discussion, especially given the developments in 2026.

  1. The Google Play version is actively maintained.

The Google Play release is not simply the abandoned application from 2021.

For example:

- "googleplay.2026.10.09"

- Released October 9, 2026.

- Published under Fredrik Fornwall's official GitHub account.

- Contains actual application updates and bug fixes.

Source: https://github.com/termux-play-store/termux-apps/releases

2. Google Play is an experimental distribution, not automatically a malicious or fake application.

The official Termux documentation acknowledges the Google Play branch and explains its differences.

Calling it experimental is reasonable. Treating experimental as synonymous with unusable or untrustworthy is not.

Source: https://github.com/termux/termux-app

3. Not everyone can install applications outside Google Play.

Some users have restricted devices, carrier limitations, workplace restrictions, or simply prefer the Play Store distribution.

Google Play provides another installation channel for these users.

This was also acknowledged by the Termux community in its June 2024 discussion.

4. Package repository integrity should be evaluated using technical evidence.

I am using:

- Termux Google Play "googleplay.2026.10.09"

- Android ARM64 ("aarch64")

- Repository: "https://termux.net"

- Package manager: APT

- "termux-keyring" version 3.15

I independently checked the repository metadata:

curl -fsS https://termux.net/dists/stable/InRelease \

-o $TMPDIR/InRelease

gpgv --keyring \

$PREFIX/etc/apt/trusted.gpg.d/termux-packages.gpg \

$TMPDIR/InRelease

The result:

using EDDSA key FE9D544EA817CD35966A4EB51584981E6CDDB22D

Good signature from "termux-packages"

This demonstrates that the repository metadata passes signature verification against the installed trusted key.

It does not independently establish the repository operator's identity, but it is meaningful technical evidence.

5. Different builds should have different support channels.

The Google Play build has its own development repository:

https://github.com/termux-play-store

Its issues should be reported there rather than automatically attributed to the F-Droid/GitHub builds.

---

My position

I am not arguing that Google Play should replace F-Droid or GitHub as the recommended distribution.

I am arguing against treating every Google Play installation as inherently invalid.

There is a difference between:

- Not recommended for general users.

- Experimental and subject to limitations.

- Unsupported by a particular maintainer team.

- Malicious, fake, or inherently unsafe.

These are four different claims and should not be conflated.

A technical recommendation should be based on the actual state of the software, not simply on the distribution channel.

Users deserve accurate information about limitations, compatibility, maintenance, and support rather than an oversimplified instruction to never install it.

I respect the work of the Termux maintainers, but I also believe that an actively maintained experimental branch deserves to be evaluated on its actual merits.


r/termux • • 3d ago

Showcase https://github.com/pithings/unkernel#-known-limits...Testing on native Termux

Post image
8 Upvotes

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 • • 3d ago

Showcase Further the NPU enabling

6 Upvotes

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.