r/termux • • 52m ago

Question Could not open module param file '/sys/module/mali_kbase/parameters/large_page_conf how do I fix this?

Post image
0 Upvotes

r/termux • • 1h ago

General Double Termux

1 Upvotes

I'm building/experimenting with making something involving forked Termux. And in the first test, Claude made an .apk for arm64 and armv7.

They are literally straight Termux clones with different IDs. So they can install next to existing Termux no problem. Not sure it was worth the 80 minute compile to affirm that but anyways—I know myself how hard it can be to get multiple Termuxes setup.

If anyone wants these .apk(s), let me know.

(Keep in mind they are identical to Termux but different IDs, thus pkg does not work. They come bundled with a handful of packages, proot-distro included—which in many ways negates the no-pkg limitation.) Cheers.


r/termux • • 1h ago

General Future of Termux in view of new Google Author rules

3 Upvotes

Ok, I am being affected by the new Google authoring rules. F-Droid is gone from the phone. Termux is not (I assume that, while I loaded it from F-Droid, it stayed because it is also a playstore app, however, on future tablet buildups will we be forced to us Google PlayStore's buggy outofdate Termux. Comments welcome

Thanks


r/termux • • 7h ago

Showcase Codex Authentication on 32-bit ARMv7

1 Upvotes

I made this in case... well, so that everyone running a Termux ARM build can finally, not only install codex as an open source coding agent, but login and use their OpenAI subscription. Not paying for API feels so good.

I'm sure there are hundreds—thousands, even—of Termux users tired of being cast aside because of their 32 bits. I'm sure of it. Well, it's in alpha, but she works, which, frankly, shocked the shit out of me. Updates soon. Thanks everyone.

https://github.com/tdotlab/codex-logged-in-armv7


r/termux • • 11h ago

General This is Why I Love Termux

Post image
17 Upvotes

One thing I love about Termux is that I learn something new almost every day.

I don't have a background in tech, so every little thing I manage to build feels like an achievement. Recently, I started exploring Hugo and built my own little static webpage/little blog. It may not be perfect, but it's mine, and I'm proud of that.

Now, the next challenge is getting it live on the internet. Maybe even run the blog seriously.


r/termux • • 14h ago

General Termux api problem

Post image
7 Upvotes

I have installed the Termux:API app and granted all the required permissions, but I'm still getting this error.


r/termux • • 17h ago

Question anyone else get their AI agent killed mid-task in termux? (signal 9)

3 Upvotes

running claude code / opencode in termux and if i leave it doing something longer than a few mins in the background it just dies with "Process completed (signal 9) - press Enter" and i lose the whole session. tried unrestricted battery + wake lock, still happens sometimes.

also curious how bad battery and data get for you guys running these for a while — mine cooks pretty fast on mobile data. anyone found something that actually holds up or is this just life on android rn


r/termux • • 18h ago

General Preciso de scripts

1 Upvotes

Alguém pode me passar algums reposotórios pra eu começar a usar scripts


r/termux • • 18h ago

Showcase I built a 4MB Go client to use Google Cloud Shell from Termux (free 8GB RAM Linux VM)

5 Upvotes

A lot of us building on Termux hit the same walls most times: not enough RAM or storage for heavy builds, and some things (like Docker) can't run at all.

Google Cloud Shell gives you a free Linux VM with 8GB RAM, 2 vCPUs and 5GB persistent storage, with no credit card or billing attached. The official ways in are the browser or the gcloud CLI.

gcloud is 500MB+ and runs on Python, which makes it slower to start up. That's fine for gcloud since it does a lot of things, but not when you just want to use Cloud Shell.

So I built gshell, a standalone terminal client for Cloud Shell, written in Go. The binary is under 4MB and you connect straight from Termux.

Install: pkg install tur-repo, then pkg install gshell. Run gshell auth login to sign in, then gshell to connect.

The demo shows gshell connecting, and uname -m / free -h on my phone vs the Cloud Shell VM.

It has limits: a 50-hour weekly quota, and anything outside $HOME is wiped when the VM reboots, so it's not a VPS replacement.

Repo: https://github.com/Spectra010s/gshell


r/termux • • 1d ago

General LaTeX2e under Termux

3 Upvotes

Hi folks,

First off, I am running two android devices. One is a Android phone with 4 GB of ram and 64 GB of storage, the other is an Amazon Kindle Fire 8 (3GB ram with 32 GB of storage​​). I "can" edit and use LaTeX on both systems using the F-Droid app TexSlate as an app, however, I prefer the console. The standard Texlive install for termux works on the phone, but crashes both the install on the Fire, and borks the device a bit. I am impressed with Tectonic as an LaTeX compiler, and would like to install it at the command line under termux, especially on the Kindle (works under TexSlate​, but since this is an app, it is unavailable on termux). I have tried several times and it blows up with rust / cargo errors. Any suggestions?


r/termux • • 1d ago

Question How do I SSH without a LAN?

4 Upvotes

I use my mobile as a hotspot to share internet with my two laptops. I want to enable rsync on my mobile and laptops. The issue is I'm unable to ssh into the mobile. I have checked that sshd is enabled and by default using 8022 port along with passwordauth allowed. I'm simply timing out of ssh. I think this has something to do with my network topology as its not a LAN. Because when I had devices on wifi I was able to ssh easily.


r/termux • • 1d ago

Question hi guys, I am on vim and try to copy to clipboard, so I am on vim and tried to copy to a register with "+y but despite yanking it doesn't appear on my clipboard, how do I fix it?

4 Upvotes

r/termux • • 1d ago

Question To what extent can termux packages circumvent the upcoming restrictions on android apps not from the Google Playstore?

1 Upvotes

Yes, I know Termux is far from the best or most accessible options for tackling that problem, but it is a viable one.

So I'm asking the people who are familiar with how Termux interacts with Android: is the upcoming restriction going to cripple Termux as well, or will its package manager remain a viable source of sowtware not beholdant to Google?


r/termux • • 2d ago

General Android needs per-app control over Phantom Process Limits, not just a global on/off switch.

Thumbnail issuetracker.google.com
14 Upvotes

I sent a feature request to the Android team about Phantom Process Limits, and I want to know what other Termux and UserLAnd users think about it.

The problem

By default, Android allows only 32 phantom processes for all apps combined. This can be a problem for apps like Termux, especially when you run many processes, scripts, or background tasks.

I want to raise this limit only for Termux, without changing the rules for every app on my device.

For example:

AppProcess limit
Termux350
UserLAnd128
Other appsShare the default limit of 32

These numbers are only examples. Users should be able to choose the right limit for each app.

What about the current workaround?

Android 14+ already has "Disable child process restrictions" in Developer Options. But it's a global switch: you keep the restrictions on, or you turn them off completely.

My proposal

Add a setting in the Android Settings app that lets users:

  • Change the global phantom process limit
  • Set a different limit for specific apps
  • Keep the current default if they don't want to change anything
  • See a clear warning before raising any limit

Why number limits, in normal Settings?

1. More room, with a safety net I can give Termux more processes without removing the limit completely. If a buggy script or a fork bomb goes out of control, there is still a limit to stop it.

2. A clear warning for the risks Android can show a warning about battery and RAM use before you change anything, like it already does for sideloading apps or accessibility services.

3. No need to keep Developer Options on Some banking and finance apps refuse to run when Developer Options is on. A normal setting avoids this problem.

This also gives users more control without using ADB, Shizuku, or root.

I'd like to hear from you

  • Have you had this problem in Termux or other apps?
  • Would a per-app limit be useful to you?
  • Should this be built into Android Settings?

👉 If you find this useful, please:

  1. Upvote this post ⬆️ so more people can see it
  2. Star ⭐ the issue to show Google that you want this feature
  3. Share your experience in the comments on the issue

An upvote here doesn't count as a star there. Open the link, sign in with your Google account, and tap the ☆ next to the issue title.

⭐ Star the issue here


r/termux • • 2d ago

Question Problem with ssh-copy-id

3 Upvotes

Been trying to copy some ssh keys from my tablet to a remote host.

~ $ ssh-copy-id -i ~/.ssh/sammael.pub me@sammael

/data/data/com.termux/files/usr/bin/ssh-copy-id: ERROR: Too many arguments. Expecting a target hostname, got:

Usage: /data/data/com.termux/files/usr/bin/ssh-copy-id [-h|-?|-f|-n|-s|-x] [-i [identity_file]] [-t target_path] [-F ssh_config] [[-o ssh_option] ...] [-p port] [user@]hostname

-f: force mode -- copy keys without trying to check if they are already installed

-n: dry run -- no keys are actually copied

-s: use sftp -- use sftp instead of executing remote-commands. Can be useful if the remote only allows sftp

-x: debug -- enables -x in this shell, for debugging

-h|-?: print this help

~ $

...which is not quite what I expected. I'm specifying the identity file, and only listing one user@host, so I'm not sure what I might be doing wrong.

Technically I can make things work by using 'cat' and piping it results into the authorized_keys file via SSH... but I'm kinda used to the syntactic sugar of using 'ssh-copy-id' ;)


r/termux • • 2d ago

General 在termux环境中新的youtube工具

88 Upvotes

r/termux • • 2d ago

Showcase Yet another phone-to-screen desktop app base on Termux-X11

30 Upvotes

Device: Xiaomi 15 Ultra + bluetooth mouse and keyboard + external portable usbc display, on the external display running Android Chrome, Ubuntu Chrome, Mac Remote Desktop and Ubuntu Xfce Terminal, phone itself can use as trackpad also keyboard. Ubuntu Chrome plays youtube video with GPU decoding.


r/termux • • 3d ago

Question Termux's terminal emulation gripes

3 Upvotes

I'm absolutely frustrated by the termux terminal emulation itself. I tried using it like a developer setup with neovim, tmux, etc but TUI apps like antigravity always get corrupted rendering in it. The same chroot bash in kitty in termux:x11 works fine. You're supposed to be able to switch to other bash prompt/sessions by swiping from the left edge but it never works for me - swiping left to right just backs out of termux app. I have to use termux:x11 and it's fine with a keyboard and mouse but if Im on a bus or park or something it's painful without gestures.

Before I vibecode a termux fork that uses libghostty; I wonder if anyone has any experience with getting PRs merged to fix this in termux itself or if someone else already worked on it?


r/termux • • 3d ago

Barely Termux related Termux displaying on iPad Air 2 anyone?

Post image
6 Upvotes

Used NoVNC to display the Termux software to my iPad Air 2 from my Moto phone to gain a bigger monitor for my Termux work.


r/termux • • 3d ago

Question Launch Android native apps from Termux?

11 Upvotes

That's right, I'd like to know of a way of launching native Android apps (installed from the Play Store) from Termux, which of course means from a bash command or script in the Termux terminal. In particular, I'd like to know how to launch an app such as VLC player for such files as mp4, mkv, webm, etc. This would obviously involve somehow passing the file as an argument, or alternatively, somehow invoking the player through Android's filetype association system.

TIA.

Edit: Answered very adequately by u/smarthoushai and u/dvhh. Summary: use termux-open or am.


r/termux • • 4d ago

General what happens with plasma

1 Upvotes

startplasma-x11 ─╯

CANNOT LINK EXECUTABLE "startplasma-x11": cannot locate symbol "_ZN14QObjectPrivateC2E16QtPrivate_6_12_0" referenced by "/data/data/com.termux/files/usr/lib/libQt6Qml.so.6.12.0"...


r/termux • • 4d ago

General No laptop, just an Android phone and Termux — finally finished my open-source bioinformatics project

Thumbnail gallery
21 Upvotes

Hey everyone,

Just wanted to share a small milestone here because Termux is literally the only reason I could build this.

I don't own a laptop, so for the past few weeks I've been writing Python, running tests, and pushing code to GitHub completely from my Android phone using Termux (connected to GitHub's free cloud tier for heavier runs).

The project is an open-source research tool for checking DNA variant files offline. A lot of standard genetic tools are trained mostly on European data, so they can be inaccurate or accidentally filter out real mutations in South Asian, African, and other populations. I built a lightweight offline tool that fixes those probability scores across 7 ancestries and catches 19 known mutations that usually get filtered out by mistake.

Just got all 27 tests passing (screenshot from my phone above) and got an official Zenodo DOI for it today. It's still strictly a research/QA tool (not a medical device), and coding on a phone screen tested my patience a lot, but honestly it feels good to finally ship it.

If anyone wants to check out the code or try the browser demo:

GitHub: https://github.com/Nikhilbharti284/genomic-equity-conformal

Live demo: https://nikhilbharti284.github.io/genomic-equity-conformal/index.html

Zenodo DOI: https://doi.org/10.5281/zenodo.24465257

Happy to share my Termux setup if anyone else here is coding without a laptop!


r/termux • • 4d ago

Showcase APK installing on devices with 24 hour waiting period via termux

Thumbnail gallery
7 Upvotes

Hey so 10 days ago I updated my small project which is a TUI way of installing APKs via adb mostly cause android will push a update to make us wait a whole ass day to install APKs so I made it here's the showcase, the first 3 images are from 10 days ago

Here's the link if you wanna check it out

www.github.com/precisescope/CLI-INS


r/termux • • 4d ago

General Running a 0.55-bit 8B LLM in 1.20 GiB RAM on non-rooted Termux (4.78 t/s on Dimensity 8350 Ultra)

Thumbnail gallery
51 Upvotes

Built a zero-local-toolchain pipeline on top of GeniusDevam/littlebit-gguf to run sub-1-bit LittleBit models on non-rooted Android phones: GitHub Actions cross-compiles llama-completion + llama-bench (Android NDK + GGML_CPU_KLEIDIAI=ON), Google Colab converts LittleBitLLM/littlebit-qwen3-8b-0.55bpw (--embd-type q4_k), and Termux runs it natively.

Hardware: Realme P3 Ultra — Dimensity 8350 Ultra (4× Cortex-A715 + 4× Cortex-A510), Android 16 (asimddp, i8mm, sve2).

Benchmark

(llama-bench -ngl 0 -p 128 -n 32 -r 3, ~1.20 GiB RAM):

-t 2: 1.86 t/s prompt | 1.67 t/s gen

-t 4: 5.62 t/s prompt | 4.78 t/s gen (sweet spot)

-t 6: 4.94 t/s prompt | 1.69 t/s gen

-t 8: 5.26 t/s prompt | 2.07 t/s gen

Key takeaways:

Big.LITTLE cliff: Going past 4 threads spills onto the Cortex-A510 efficiency cores and drops generation speed by more than half.

KleidiAI: Accelerates Q4_K embeddings/output (KLEIDIAI = 1), while Q1_0 tensors fall back to ARM NEON.

Quality note: This 0.5-epoch 0.55bpw checkpoint is strictly a memory/speed proof-of-concept, not a usable chat model yet (needs -no-cnv --repeat-penalty 1.18 --dry-multiplier 0.8 to avoid loops).

Full reproducible repo (Actions workflow + Colab notebook + bench-android.sh):

https://github.com/aj5649169-svg/littlebit-gguf

Curious what numbers bench-android.sh gets on a Snapdragon 8 Gen 3 / 8 Elite if anyone tests it!


r/termux • • 4d ago

Showcase Familia, He traído DXC a termux

6 Upvotes

DXC / directx compiller

Pueden bajar el precompilados directamente o bajar el repo y compilarlo

https://github.com/LexusYTG/dxc-termux