
r/termux

XFCE + Debian PRoot + Plank + Numix icon theme circle + Orchis Dark
Docker running native OnePlus 7T
Guys! finally I have docker running native on OP7T.
I have downloaded the SM8150 Kernel from Lineage and rebuilt the source code to enable docker support. Result, Docker containers are running native in Termux.
My primary goal was to either install PostmarketOS or Ubuntu Touch.
Preferred PMOS. But I see currently OP7T is not supported. If anyone is running PMOS, Please share the experience.
Yazi problem
Yazi connot run if not redirected. show os error 13, this happen after i do update package. how do i fix this, or i need to wait until next update and hopefully fixed or i need to accept it and alias it like `yazi > ~/.cache/yaziiii`.
i was already tried a different way and still give me the same error:
- Failsafe mode (export tmpdir)
- With tmux
- Without tmux
- nvim term
- bash / sh shell
🚀 ANBE v2.0.1 — Build, sign and verify Android APK/AAB directly in Termux
ANBE v2.0.1 — an open-source Android build/release tool for Termux
I've been working on ANBE, a Python orchestration layer for building Android projects directly in Termux.
Current stable target is Capacitor projects on ARM64. It handles preflight diagnostics, Java/Gradle resolution, Termux-compatible AAPT2, APK/AAB builds, release signing, signature verification and artifact reports.
Basic usage:
anbe doctor ~/project
anbe build ~/project
anbe release ~/project
anbe launch ~/project
Source: [GitHub URL]
I'm looking for people with existing Capacitor projects to test it, especially projects with unusual Gradle/plugin configurations. If anbe doctor succeeds but the build fails, that's particularly useful to me.
Apache-2.0. Feedback on the implementation is welcome.
PROOT-DISTRO audio problem
Guys, I having problem with pd debian and I dose installed all goodies and everything needed but still cannot hear audio when I play yt in web.
I kept it small so more people can read if you want detail i can give you just ask.
NEED HELP !!
So in recently downloaded termux on my phone , updated it and change its theme to dracula BUT now I dont know what to do with it , someone suggest me cool ideas I can try !! (╥﹏╥)
Dns Breaking
I recently came back to using Termux for reconnaissance, and I noticed that every time I try to use a tool that depends on DNS, it either fails or returns a timeout error. The strange thing is that I can install the tools without any issues, but I can't actually use them. After looking into it, I started wondering whether this might be related to Android's networking restrictions. I even contacted Google Support, and they suggested that Android 9 and newer use DNS-over-TLS, which could cause DNS failures under certain conditions. I've spent a lot of time trying to fix this, tried multiple troubleshooting steps, and even asked several AI models for help, but I still haven't found a solution. I eventually resorted to using workarounds and bypass techniques to get some tools running, but that's not how I want to use Termux. I just want it to work normally, the way it does for most people. At this point, I'm honestly exhausted and would really appreciate any advice from someone who has experienced the same issue or managed to fix it.
I ran KDE Plasma under Wayland backend on native Termux, thanks to LFDevs' Anland fork!
Debian in Termux... Android in Debian through chroot or QEMU...
Hello I have a few questions about Android images... I would like to create QEMU VM with Android or chroot with Android sysroot... Do you have some low level kernel knowledge to tell mi if this thing is actually possible... I don't want to use SDK Emulator with Ranchu, but actually there is a problem beacuse sdk images don't support VIRTIO I think... I downloaded aosp image from Google but to be honest I don't know if they will work...
Actually I need to get some low level knowledge from some expert in this field... I think Google hides knowledge about Android... in theory its just Linux... but in practice I dont know how to make it work... I think its low lovel kernel knowledge...
Why I asked this question on Termux? Beacuse I think this community is pretty low level, Termux architecture requries low level knowledge on Android...
I got a real Linux kernel running as a userspace process on Android — no root, no KVM. Docker runs inside it. (UML ARM64)
UML (ARCH=um) has been x86-only for its entire existence. I've been porting it to arm64: arch/arm64/um/, plus fixing everything in arch/um/ that assumed x86. It builds to a static bionic binary and runs as an ordinary unprivileged aarch64 process in an app sandbox — no root, no host kernel feature, nothing emulated
Userspace instructions execute directly on the CPU. It's a real kernel underneath: own scheduler, own MMU handling, own page cache, Debian 12 rootfs on a disk image. Docker runs inside it for now
What works:
- Debian 12 boots to a working dockerd in about 3 seconds
docker pull/run/exec/logs, a 910 MB image pulls and runs- Networking through passt, a userspace TCP/IP stack. No tap device, no CAP_NET_ADMIN
- Container ports forwarded to the phone's 127.0.0.1, so the phone's browser can open them
- Loadable modules, out-of-tree drivers, firmware loading
- USB passthrough — a real RTL8811AU dongle, wlan0 appears and scans
- Update: Got multi cpu support
Numbers.
Snapdragon 870, medians of 7 interleaved rounds, µs/op. native is the same microbenchmark run directly on Android.
| native | proot | UML | |
|---|---|---|---|
| syscall | 0.080 | 0.168 | 1.987 |
| openat | 2.527 | 27.393 | 4.501 |
| fault | 1.456 | 1.418 | 11.076 |
| forkexec | 3255 | 516 | 1137 |
Compute is native because it is native — nothing translates the instructions. Against proot it's 6x better on openat and 3x better on forkexec, and worse on syscall and fault. Anything not syscall-bound feels normal.
UPDATE Termux: Works and booted arch & alpine
Source, 38 commits on top of the uml tree: https://github.com/zalexdev/linux-um-arm64
Screenshots are the Docker UI I built to drive it.
Soon will be published on: https://github.com/zalexdev/perkons
And soon will be available as new non root engine is https://github.com/zalexdev/strykerapp
Android Studio is now fully functional on ARM64 Linux
I successfully rebuilt Android Studio librarieslayoutlib_jni.so and libandroid_runtime.so for AArch64.
This fixes the XML Layout Editor, menu and resource previews, and Compose Preview on Linux ARM64. I believe this closes the last major functionality gap between Android Studio on ARM64 versus x86_64. The install script was tested in Debian 13 and Fedora 44 chroot instances, it should be fine with proot environments as well.
https://github.com/DesktopECHO/android-studio-aarch64-install
Current ricing
The command palette is powered by fzf, so i can add new tools for quick access.
Suggest me a Terminal Emulator for a old android 4 device.
I have a very old HTC device. I like to run some Python scripts on it. But as far as I know, it doesn't have a supported version of Termux. Can anyone suggest a terminal emulator that i can use to run the Python script
I turned my Nubia Z70 Ultra into a desktop PC with TWO CPU coolers — 99% stability, Linux desktop & 1080p Ultra Windows gaming 😂
This project started with a stupidly simple question:
How far can I push a smartphone if I stop treating it like a smartphone?
This is my Nubia Z70 Ultra with 24 GB RAM and the standard Snapdragon 8 Elite.
The phone is now literally sandwiched between TWO desktop CPU coolers, mounted inside a custom acrylic case. 😂
Yes. Two full-size PC CPU coolers. On a phone.
And surprisingly, it works extremely well.
The interesting part: I'm NOT using one of the newer boosted chips
My Z70 Ultra uses the standard Snapdragon 8 Elite, with its prime CPU cores running at up to 4.32 GHz.
That's important because some of the newer devices I'm comparing against are using newer and/or higher-clocked Snapdragon variants.
For example, the REDMAGIC 11 Pro uses the newer Snapdragon 8 Elite Gen 5, reaching around 4.6 GHz on its prime cores.
So I'm not trying to beat these phones with the same CPU and better cooling.
I'm taking an older, lower-clocked 4.32 GHz Snapdragon 8 Elite and seeing how far it can go simply by giving it completely unreasonable cooling. 😂
In my 3DMark ranking screenshot, my Z70 Ultra reaches 10,533, putting it right among much newer devices and even slightly above the Galaxy S25+ result shown there.
And sustained performance is where the cooling really becomes interesting.
3DMark Wild Life Extreme Stress Test
Best loop: 6,980
Lowest loop: 6,910
Stability: 99% over 20 loops
That's only a 70-point difference between the best and worst loop.
But benchmarks aren't actually the main goal of this project.
I'm trying to replace my PC with the phone
I now have a native Termux + XFCE4 Linux desktop running directly on Android.
External monitor, keyboard, mouse, Linux applications and hardware-accelerated graphics.
I can boot into my desktop environment and use the phone almost like a small ARM computer.
Dofus is running directly from my XFCE desktop, rather than simply mirroring an Android game onto the monitor.
And then there's Windows gaming.
The Witcher 3 — 1080p, ULTRA graphics preset
I'm currently running The Witcher 3 at 1920×1080 using the ULTRA graphics quality preset.
Not Low.
Not Medium.
Not a 720p performance test.
1080p + Ultra graphics preset.
Depending on the scene and GPU load, I'm currently getting approximately 20–30 FPS, with the GPU basically sitting at 99% utilization.
I've even seen it go slightly above 30 FPS in some scenes, as shown in the screenshot.
Obviously, this isn't desktop-GPU performance, but that's not really the point.
This is The Witcher 3 running at 1080p Ultra at around 20–30 FPS on a Snapdragon 8 Elite phone. 😂
And underneath all of this, it's still Android.
So my end goal is to have one device that can do everything:
**Android phone / gaming device
native Linux XFCE desktop
Windows applications
Windows PC games**
The software side is still a work in progress and I'm continuing to optimize everything.
But apparently the solution to smartphone thermal throttling was very sophisticated:
one CPU cooler wasn't ridiculous enough, so I installed two. 😂
Perguntinha básica.
Nós, programadores e hackers, qual é a melhor versão do termux (eu particularmente uso a 1.118.0). Vocês usam k-ali Linux também? Ou apenas whois, nmap ou curl?