r/termux • • 4h ago

[DEV] Termux:API version 0.54.0 released

15 Upvotes

You can check changelog at https://github.com/termux/termux-api/releases/tag/v0.54.0

F-Droid will take a few days to publish the app.


It is recommended to not update the termux-api package version to 0.60.1 if running on Android < 14, until termux-api app 0.54.0 is available on F-Droid repo, otherwise API commands will fail with Unsupported argument type: --el api_server_starttime xxxxxxxx. If you already have, then either wait, or install older 0.60.0 package version deb from https://github.com/termux/termux-packages/actions/runs/47643605082?pr=33888.

GitHub users should update both the termux-api app APK from the release to 0.54.0 and the termux-api package version to 0.60.1.


r/termux • • Dec 19 '24

★ Important ★ Do not install Termux from Google Play Store!

365 Upvotes

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

We are Termux maintainers and would like to inform our users that we do not recommend using Termux from Google Play Store. It doesn't matter whether Play Store version looks "newer", faster receive updates and so on. Please read below to understand the issue.

Why you should not use Termux from Google Play:

  • Its release was not done by current maintainers team. Yes, Fredrik Fornwall is founder of Termux. But his decision was not negotiated with rest of core developers team and therefore not acceptable.
  • Its release diverges from the original implementation published at https://github.com/termux/termux-app
  • Its release was an experiment for bypassing Android >= 10 exec restrictions and make a version compliant with Google Play policies.
  • Its release contains restrictions. For example users may access only media files (like .mp3 or .jpg) on their device storage while other files (like .py scripts) will be hidden.
  • Its release contains changes for how the programs are executed, which cause bugs in certain packages.

Termux on Google Play is available only for devices running Android 11 and newer.

Unless will be said otherwise, Termux Core Team will consider it as unofficial app or fork. This means it does not receive same support level as the original app. Please never suggest our users to download Termux from Google Play - we will take down such comments.

We will make an announce when state of Google Play release will change and unpin/delete this post. As of beginning of 2026, we have no updates.

Now stick to F-Droid or official GitHub (https://github.com/termux/termux-app) variants and suggest same for others.

Issues with Google Play release variant must be reported to relevant source: https://github.com/termux-play-store/termux-issues/issues

This post meant to provide short summary about Google Play Termux app issue and replace https://www.reddit.com/r/termux/comments/1db00bm/announcement_response_regarding_google_playstore/

How to check if you're running Google Play release

Just look at the message shown after you open Termux app. If you see lines with links pointing to termux.com domain, you are using Termux from Google Play.

Termux from F-Droid uses termux.dev domain.


r/termux • • 3h ago

Showcase Built an Open-Source Android IDE (TermCode) powered by Termux — 30+ Languages, Offline Compilation & GitHub PAT

6 Upvotes

Hi everyone!

I wanted to share an open-source Android project I've been building called **TermCode-IDE (CodeEditor IDE)**, which is powered by the **Termux** Linux userland (`aarch64`). Huge thanks to the Termux team and community for making native Linux toolchains possible on Android!

**What it does:**

- **30+ Programming Languages** (C, C++, Rust, Go, Python, Java, Kotlin, Dart, Zig, Nim, Crystal, Groovy, Racket, Elixir, Erlang, Node.js, Deno, Bun, PHP, Ruby, Lua, etc.)

- **Built-in Termux Linux Terminal** with on-demand toolchain setup (no root required)

- **Git & GitHub PAT integration** (Clone, Pull, Commit, Push right from the app)

- **Built-in Web Browser & DevTools Console** for HTML/CSS/JS live preview

It's licensed under **GNU GPLv3** (just like Termux). I'd love any feedback or suggestions from the community!

- **Official Store (Indus Appstore):** https://www.phonepeappstore.com/apps/education/code-editor/app.code.editor/?page=details&id=app.code.editor

- **Open-Source GitHub (GPLv3):** https://github.com/raj40870-pixel/TermCode-IDE-

- **Official Website:** https://code-eidter-apk-website.vercel.app/


r/termux • • 12m ago

Showcase MacOS 10.10

0 Upvotes

I boots


r/termux • • 14m ago

Question Mercurial with keyring on Termux?

1 Upvotes

Has anyone gotten Mercurial's keyring extension to work on Termux?

The following ran fine:

pip install keyring
pip install mercurial_keyring

And in my .hgrc I have my username specified in the [auth] section, which I know works fine because even prior to installating the keyring extension Mercurial stopped prompting for a username, prompting me only for a password. Also I have this:

[extensions] 
mercurial_keyring=

Yet I get the following error when pushing:

keyring: keyring backend doesn't seem to work, password can not be restored. Falling back to prompts. Error details: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.

Help anyone?


r/termux • • 9h ago

General 1. Proje Termux - Termux ilk kurulum otomasyonu

Thumbnail youtu.be
0 Upvotes

r/termux • • 19h ago

General Tips para usar termux

4 Upvotes

Quiero empezar desde el tlfn , quiero tips para usar mejor termux


r/termux • • 16h ago

Showcase Turn a rooted Android phone into a remote Bluetooth gateway – Bluetooth over TCP

Thumbnail reddit.com
2 Upvotes

Posted originally on r/androidroot


r/termux • • 1d ago

Barely Termux related Rate my termux

Post image
14 Upvotes

TempleOS but termux


r/termux • • 1d ago

Showcase uProot vs PRoot benchs

Thumbnail gallery
5 Upvotes

All claude testing so, if you have a question, I will just drop to claude 😃(total noob)

Claude:

File-heavy results, same Ubuntu 24.04 rootfs, 3 interleaved rounds:

- find /usr -type f | wc -l: uProot 0.34 s (warm; first run 2.12 s cold) vs PRoot 4.83 s (~14x)

- 200 x ls /usr/bin: uProot 1.01 s vs PRoot 3.96 s (~3.9x), i.e. ~5 ms vs ~20 ms per ls

So uProot wins clearly when the workload is syscall/file heavy, while PRoot wins the bare-exec loop (static binary: ~3.1 vs ~5.8 ms per exec). That looks like higher fixed per-exec cost but near-zero per-syscall cost in uProot.

One oditty; on the 13 "missing" files between uproot and proot : confirmed they are PRoot's link2symlink emulation. Under uProot (--from-proot-distro) they show as symlinks (links=1, mode 777) whose targets are absolute host paths like

/data/data/com.termux/files/usr/var/lib/proot-distro/containers/ubuntu/rootfs/.l2s/.l2s.perlbug.dpkg-new0001

PRoot translates these itself, so they look like hard links (links=2/3, regular files) there. uProot can create real hard links on this device (ln works), so it's only a compatibility gap when booting a proot-distro rootfs. [~ $ echo "== uProot"; uproot-distro run ubuntu --from-proot-distro -- bash -c "$T"

== uProot

Broken /usr/bin/perlbug

Broken /usr/lib/cups/backend/dnssd

Broken links on /usr: echo "== PRoot"; proot-distro login ubuntu -- bash -c "$T"

1514]

Human: I will test also geekbench 6 comparing both later


r/termux • • 16h ago

Question How can I tell if Termux or its QEMU guest stops after USB is unplugged on Android 16?

1 Upvotes

I’m trying to isolate a connectivity problem on Android 16. Termux runs an ARM64 Alpine Linux QEMU guest on the phone, with user-mode networking. The guest runs a CLI daemon that maintains an outbound connection. Wi-Fi is off and mobile data is on.

With USB attached for screen mirroring/ADB, I verified the guest and daemon were alive, and the phone’s app sent a fresh command that wrote a file inside the guest. After a planned USB disconnect and laptop shutdown, the phone still showed 5G, but the client app showed “Disconnected.” The pending command was still a draft, so I don’t know whether the guest stopped, the guest’s network dropped, or the client was looking at the wrong host. I have not attributed this to a Termux bug.

What Android-16-compatible test would you use on the phone to distinguish Termux/QEMU process exit from loss of guest connectivity immediately after unplugging USB or switching apps? A simple read-only check or a timestamped heartbeat that survives briefly in the background would be ideal. No root or PC-dependent test, please.


r/termux • • 1d ago

General Arm64emu

9 Upvotes

Arm64emu is a program created by Sylirre; I find it curious that no one here has mentioned it. It includes an integrated version of chroot-ng an alternative to proot that uses seccomp and the arm64emu chroot --native option is quite fast.


r/termux • • 1d ago

Question Chroot with TempRoot?

2 Upvotes

Is this possible?

Has anyone tried using chroot with a temporary rooted Android?


r/termux • • 1d ago

General Testing uProot VS Proot on processing

Thumbnail gallery
20 Upvotes

Setup

Tab S7 FE/SD 750G 6 gb ram

Android 14

Termux

Ubuntu 24.04 lts

uProot from https://github.com/wahyuzero/uproot


r/termux • • 1d ago

Showcase Debian 13 Proot

Post image
11 Upvotes

Rate my proot desktop

Device: Redmi Note 10 Pro

Termux:X11 + Pulseaudio


r/termux • • 1d ago

Question chimera and guix chroot.

Thumbnail gallery
3 Upvotes

r/termux • • 1d ago

Showcase I compiled omalauncher for android 10 armv7 devices!

11 Upvotes

r/termux • • 2d ago

Showcase MangoWM Update

9 Upvotes

From last update:

Performance Up(Noctalia get own mesa 26.3.1 driver, MangoWM get update of its kgsl driver), Setup script (instead of three), Resolution Scale, Some XWayLand support(not full because some artcraft production runs out of wayland session), Termux-x11-extra backend support, Fix of kgsl artefacts, Mouse input in 3D games like minecraft.

Known bugs:

Some Arfcraft production runs out wayland session, Noctalia crash with attempt check system information, noctalia has audio getting problems and enormous memory consumption so you need at least 8 gb of RAM and broken x11 backend mango broke built-in X11 backend and works only at external clients.

In plans:

Fix bug, fix IME input(now supports only english keyboard layout), reduce memory consumption, add panfrost support(MTK processors) and increase performance again.

So requiments don't change:

Adreno GPU (Mesa 27 KGSL driver)

8+ GB of memory

And ready to get drivers problems if you found them because test was only with wayland session

So support me with star⭐ on github pls🥺

Link: https://github.com/OceanSt0ne/mango-termux


r/termux • • 1d ago

General Termux SSH becomes unreachable when Redmi 9 Prime is idle (LineageOS)

2 Upvotes

I'm using a rooted Redmi 9 Prime running LineageOS with Termux. I'm trying to use it as a small home server, running SSH through Termux (port 8022) and Fedora proot (port 2222).

The problem is that after the phone sits idle for some time, incoming SSH connections and ICMP pings from my Ubuntu laptop fail with "No route to host". However, the phone still has Wi-Fi and internet access (YouTube and other apps work normally).

Interestingly, running an outbound ping from the Redmi itself immediately restores incoming connectivity. As soon as I start pinging an external IP from Termux, incoming pings and SSH connections from my Ubuntu laptop start working again.

I've already tried disabling Wi-Fi power saving, setting Termux battery usage to Unrestricted, and using "termux-wake-lock", but the issue persists.

Has anyone experienced something similar on Redmi/MediaTek devices? Any suggestions for a permanent fix without keeping a continuous ping running in the background?

Thanks!


r/termux • • 1d ago

General Audbridge

Thumbnail gallery
1 Upvotes

MPVBridge-compatible daemon for Audacious (Termux:X11)

Audbridge speaks the mpvbridge line-JSON protocol on 127.0.0.1:7355 and drives Audacious over D-Bus (MPRIS), so the mpvbridge Android app can control local playback, show the playlist and lockscreen art.

Also ships audbridge-launch, a wrapper that starts the daemon on demand before exec'ing Audacious.

Installation:

git clone https://github.com/nestoris/audbridge.git
cd audbridge
bash build-audbridge-deb.sh audbridge.js
dpkg -i audbridge_*_all.debgit clone https://github.com/nestoris/audbridge.git
cd audbridge
bash build-audbridge-deb.sh audbridge.js
dpkg -i audbridge_*_all.deb

Requirements:

cjs, audacious in Termux and MPVBridge on your Android device. A D-Bus session bus must be running (e.g. under XFCE in Termux:X11).

Features

  • Full protocol v1 support: hello/token handshake, state, playlist, library and refresh-playlist messages, so the mpvbridge app connects out of the box — no app changes, no patches.
  • Playback control: play/pause/toggle, next/previous, stop (as pause, per protocol), seek, jump to any track by index — all routed to Audacious over D-Bus.
  • Media session on Android: lockscreen card, notification controls and headset button taps work through the app's MediaSession, exactly as with the real mpv daemon.
  • Playlist and library: the app sees the current Audacious playlist (0-based indices, current track highlighted) and a library entry with its live track count. Playlist changes made inside Audacious are picked up and pushed to clients.
  • Shuffle / unshuffle: implemented by rebuilding the playlist order (Fisher–Yates); the current track is preserved and the original order can be restored.
  • play-url: appends a URL and starts playing it; inserts right after the current track when the running Audacious supports PlaylistInsUrlString, falls back to appending on older versions.
  • Cover art: album art is read from MPRIS metadata (mpris:artUrl); local files are sent to the app as inline base64 with a sniffed MIME type, remote http(s) URLs are passed through.
  • Rich track metadata: title/artist/album fields are resolved with fallbacks (artist → album-artist → uploader → …), and known yt-dlp placeholder titles are reported as unavailable, so the app can hide dead entries.
  • Multi-client: several app instances (or debug clients) may be connected at once; state changes are broadcast to all of them.
  • Robust transport: line-JSON with a 1 MiB line limit, malformed input answered with error instead of killing the connection, bad tokens dropped per protocol, silent handling of probe connections.
  • Audacious lifecycle: when Audacious exits, the daemon broadcasts bye and terminates — the app shows "waiting" until the next audbridge-launch brings everything back.

r/termux • • 2d ago

Showcase Rate My Termux Setup!

Thumbnail gallery
17 Upvotes

These are the Termux startup screens that I made about a month ago, what do you think? 🥹


r/termux • • 3d ago

Showcase new setup...

Post image
41 Upvotes

r/termux • • 2d ago

General Like a new toy

Post image
6 Upvotes

I just wanted to try my hand at self hosting aiostreams yesterday and I woke up to this. It's been fun. Any tips?


r/termux • • 3d ago

Showcase Code IDE inside termux

129 Upvotes

Hi, just wanted to swing by and mention how impressive termux is.
After trying it out, I wanna give a huge thank you to all the folks who make this possible! I've discovered the joy of developing on android device that gives me so many more hours of battery life and a way smoother experience reviewing code.


I am a maintainer of TTT editor, an open source terminal IDE. A dev a few months ago asked for a build for android termux. I was like sure, why not! Did a quick check on my phone to make sure it works and that was it.

I've got a tablet recently and got to try it out myself. The recording you see is me trying a few features: editing, search, global search, changes panel, terminal and debugger. Debugger hasn't been released yet, it's only available on main. In just a few minutes I was able to have go, gopls and delv installed and working. Even on some desktop machines, that takes longer with the quirks of some package managers.

There are a few quirks, dragging doesn't work with finger, that doesn't seem to be a termux issue but more like a physical touchscreen limitation. Connecting a mouse did allow me to resize the panels without using shortctus. On the phone I am not sure it works that well with limited screen size. You can hide the sidebar but the screen size limits the experience, unless you zoom out but then it's hard to see.

On the tablet tablet with a keyboard and mouse the experience is identical to a desktop environment, and that is a testamente to all the amazing work folks who work on termux did.
I'm really excited because I can put my 5 year old surface laptop to rest and use a tablet for development that gets me like 10 hours of battery.

If you do try TTT and find other issues, please do create an issue in github.com/eugenioenko/ttt
You can also download ttt at tttedit.dev

I'll be fixing the ones I find, but my workflows might differ from yours, so really appreciate it if you do.

One thing I still have to figure out is a portable keyboard, not sure if to go for a full size one or more like a tiny blackberry like one. (Problems for another day)

See ya!


r/termux • • 2d ago

Showcase [Project Release] Llama-UI v0.7.2 – Keyboard Navigation & Streaming Markdown

Post image
4 Upvotes

Hey everyone!

I've released Llama-UI v0.7.2, a new update focused on improving the user interface and overall terminal experience.

What's new in v0.7.2?

- ⌨️ Keyboard navigation: Navigate menus using arrow keys instead of numeric selections.

- ⚙️ Improved settings input: Better input handling and validation.

- 📝 Streaming Markdown rendering: Markdown formatting while the AI response is being generated.

- 💻 Improved terminal interaction: A more consistent keyboard-driven interface.

Testing

I've tested the new version in Termux and haven't encountered any issues so far.

Project

- GitHub: https://github.com/user01234-sl/Llama-UI-Python

- PyPI: https://pypi.org/project/llama-ui-termux/

- Version: v0.7.2

I'd appreciate feedback, suggestions, and bug reports from the Termux community.

Thanks!