Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [termux]

Termux is a powerful shell environment for Android.

Filter by
Sorted by
Tagged with
2 votes
0 answers
49 views

Is there is a way to exempt apps (e.g. termux) from Doze in Android 14?

Since Android 14, I'm no longer able to log into my phone remotely via a reverse tunnel to a server with a static IP. It appears that Doze is the underlying issue; it stops termux, which stops the ...
Steve Newcomb's user avatar
0 votes
0 answers
32 views

Detect S Pen clicks in Termux?

Is it possible to detect Samsung Galaxy Ultra's S Pen button clicks in Termux? I'm rooted if that helps
hanshenrik's user avatar
3 votes
1 answer
427 views

How to run Python 2 and Python 3 CLI programs on Android 14 phones?

It looks like all the methods which used to work for running Python 2 and Python 3 CLI programs on Android phones is now outdated: SL4A QPython Termux + python packages I can't believe we can't run ...
Fetchinson0234's user avatar
0 votes
0 answers
40 views

Termux getting killed by my Android 12

I am running Kali NetHunter on my Android 12 with rootless installation. Every time I connect the KeX client, my Android 12 kills the background Termux. How can I stop it?
Alamin Umar's user avatar
1 vote
1 answer
39 views

Emulating port redirection (port 53) without root

How to emulate binary program that reading port 53 will be redirected to another port such as port 10053. So the binary program still sees it as 53 but the actual port at top layer will be redirected ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
77 views

Termux and Termux11 change root/home directory

as default termux use /data/data/.../home as home directory and we access file in home, but we can't use or see (permission) for other subdirectory, that which make sense application like intelij or ...
FarHooD's user avatar
0 votes
0 answers
37 views

How to make termux-clipboard-set/get in chroot?

termux-clipboard-set and termux-clipboard-get are accessible on termux and proot. But they are not available on chroot. Probably because some library is missing. Any way to make it work? Or what ...
Yokowasis's user avatar
  • 101
0 votes
0 answers
39 views

NGINX file server not able to serve files beyond 2GB

I have setup nginx file server on my old Android phone (Samsung A6). I did this using termux and running nginx on termux. This file server is used to serve media files to Kodi on my android TV. When I ...
user avatar
1 vote
0 answers
160 views

termux-sms-send hangs

I installed Termux using F-Droid, and the termux-api package. When I run $termux-sms-send -n (number) text, the command never returns, nor does it produce errors. I press Ctrl+C to exit. Per the ...
leoh Jones's user avatar
0 votes
0 answers
55 views

Have different apps with same signature and sharedUserId?

I'd like to use the official port of Emacs for Android along with the packages provided by Termux. This is what the Emacs manual says: H.9 Installing Extra Software on Android An exceptionally ...
cidra's user avatar
  • 113
0 votes
0 answers
53 views

Termux PostgreSQL initdb: wrong directory ownership

Recently, I installed PostgreSQL pkg on Termux. But when I wanted to use the initdb postgre command to initialize postgre directory, I had the wrong ownership: $ initdb postgres The files belonging to ...
C9_HP's user avatar
  • 31
2 votes
0 answers
206 views

Convenient way of checking is Shizuku server is running?

How can you check if Shizuku is running before executing the start command? I am running Shizuku on non rooted device and I noticed it randomly stops sometimes when wireless debugging becomes disabled ...
xavier_fakerat's user avatar
0 votes
0 answers
29 views

In Termux: how to update manual page database: "mandb" went =>?=> "mandoc" gone =>?=>

The cause: manpage of aptitude is installed (android 12, termux 118, 6.2.1 PRoot-Distro, ubuntu 23.10) but "man aptitude" does not find it; yet "man -l pathfilename" does display ...
Anton Wessel's user avatar
1 vote
0 answers
26 views

When restoring Termux from a backup, how can I specify which shell Termux to use (sh or bash) and how to specify which init files this shell to use?

Because the shell(s) below of Termux are throwing error continously which cannot be canceled with ctrl-c or other means - due to a vim which cannot find/read .vimrc - and since shell actions in ...
Anton Wessel's user avatar
0 votes
0 answers
52 views

Where does termux sqlite db files be stored?

There was other questions like this but no answer for this. Where is the path to find my sqlite files? I have Xiaomi Redmi 10 android. And with termux installed SQLite and i was going to start ...
C9_HP's user avatar
  • 31
1 vote
0 answers
88 views

Is it possible to run comand as Termux after boot process?

I have set up a Node.js app. In order to automatically do all the things after the phone boot, I want to make a Magisk module to run a service. The command is npm start and exposes HTTP service on ...
Anas's user avatar
  • 111
0 votes
1 answer
616 views

Q1: When one instance of Termux is running, how to launch a second instace? - Q2: If two instancies running, is there a way to merge the two shells?

My installed Termux is currently blocked, not working due to problems of a process the shell is executing and additionally because the shell itself is in the SIGSTOP state. On the one hand I would ...
Anton Wessel's user avatar
0 votes
0 answers
190 views

How in Termux to kill a process by PID when this process is running non-stoppable, e.g. vim after a typo cannot be closed?

In my case it often happens that vim becomes non-operatable, does not accept key-strokes nor mouse actions and cannot be closed. When vim runs in bash in one of the many windows below Konsole in KDE/...
Anton Wessel's user avatar
1 vote
0 answers
552 views

Termux processes killed on Android 13 even with phantom procs off

On Android 11, I am able to run text-generation-ui under Termux, with 3b models. I've got a Samsung A53 phone, with 6GB RAM & 2GB swap (by default). However, on Android 13, I'm currently running ...
JohnFlamel's user avatar
2 votes
0 answers
95 views

How to make device on Wi-Fi hotspot discoverable to USB tethering connected PC?

My goal is to make the device (Quest 2) on 192.168.254.x (Wi-Fi hotspot) discoverable to my PC on 192.168.96.x (USB Tethering), because I want to set up ALVR and make my Quest 2 and my PC on different ...
speedyes's user avatar
2 votes
1 answer
800 views

How to hide Termux notifications without breaking functionality?

My Pixel 7 (Android 14) has a persistent ssh server set up, but Termux shows a "wake lock held" notification, which is very annoying. Is it possible to hide notifications so that they exist ...
diskree's user avatar
  • 21
2 votes
1 answer
500 views

How to acquire wakelock with Termux on Android 13?

In previous versions of Android, one "Aquire Wakelock" by going to notifications-list, and tapping on the Termux in the list, then Aquire Wakelock is an option. But on Android 13, there are ...
hanshenrik's user avatar
0 votes
0 answers
101 views

I can not get access to /proc/sys/kernel/hostname file

After following the Anon Uimik's instructions to get root access here: How to make Termux obtain root access? I'm trying to get the value of the file /proc/sys/kernel/hostname but I'm getting ...
tirenweb's user avatar
  • 101
0 votes
1 answer
513 views

SSH to localhost on android

I am trying to get ssh working on my android phone. I am currently able to ssh out, from my phone to another device. But I am struggling to be able to ssh in. To test things, I am just working on my ...
IsAdisplayName's user avatar
1 vote
0 answers
113 views

Find `MainActivity` for `com.google.android.dialer`

I have a Xiaomi POCO X5 5G, running MIUI Global 14.0.4. There is a problem where (in the Global ROM) the Google Phone app (as a system app) seems to be killed, even with MIUI Battery Optimization ...
Jacob Birkett's user avatar
0 votes
1 answer
5k views

Trying to delete a folder with Termux

I'm trying to delete a file Android will not let me delete it. Trying to use Termux, I can't seem to find the file. I used termux-setup-storage, and per the instructions entered: cd /storage/sdcard0/...
Jimmy B's user avatar
  • 11
1 vote
1 answer
1k views

A/B devices: Switch slots without using PC

I've seen this question asked two years ago How to switch slots without a computer or using TWRP? which asks for the same on Android 9,but with so many tools being developed (and abandoned) and ...
beeshyams's user avatar
  • 41k
1 vote
0 answers
205 views

Is there some way to prevent myself from shutting down my [rooted] phone in some specific cases?

This is question is basically an acknowledgement that I'm very f-ing lazy. First, I'm on a Pixel 6 Pro running stock A13, rooted and filled with Magisk modules. I needed to find a way to guarantee I'...
Fabio Freitas's user avatar
0 votes
0 answers
188 views

What tool in Termux can I use to move one partition on my USB drive to the start of the drive?

I had a problem where the TV that I needed to use to watch movies, kept recognizing the EFI partition as the only partition on the USB drive, And I couldn't get to the second partition. I decided to ...
RadoslavL's user avatar
0 votes
1 answer
90 views

Does Termux have media folder?

I am running a Java application using Termux. I need a media folder to store a folder named DSKEYS with pfx key file because the Java application needs that pfx file from media/DSKEYS/. I could not ...
Joe Rakhimov's user avatar
0 votes
0 answers
77 views

How to resolve cannot stat /data/dalvik-cache when installing ubuntu via termux

I am trying to follow the suggestions in the answer to this question (How can I get a ubuntu desktop on my Galaxy S8 Ultra?) in order to be able to run vscode and ubuntu on my samsung galaxy s8+ ...
terraregina's user avatar
1 vote
0 answers
240 views

copy to android clipboard in nvim from termux

I use neovim on termux on android 11 i commonly use :y to yank/copy text to nvim clipboard then paste it to another files recently I've tried using helix-editor(hx) looks and feels so similar to ...
ANDuser's user avatar
  • 83
1 vote
0 answers
2k views

Can't install pandas on termux

I want to install pandas on Termux. I have tried so many methods but I am getting this error: Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to ...
MAMO EMIRU's user avatar
0 votes
0 answers
250 views

Termux closes after loading llama LLM

The same happens with alpaca.cpp. The model loads and then termux closes.Sometimes it doesn't close, but instead gives final message : " : killed", where it shows some number. I'm not sure ...
JohnFlamel's user avatar
5 votes
1 answer
3k views

How to install netcat on Termux?

I want to use WireGuard on my phone to connect to WireGuard on my Desktop's WireGuard server. On another website, I have been advised to execute in Terminal (I use the Termux app) on my phone, the ...
Manager Rose's user avatar
2 votes
0 answers
94 views

Hardening android to use it as a Linux Server

I want to convert a set of relatively old Android devices into Linux servers, while avoiding too many device specific actions, to make this an easily repeatable and shareable action. This means ...
Udinanon's user avatar
0 votes
1 answer
117 views

Trouble killing logcat process

On my rooted Android, I have a screenshot from Termux after running sudo htop. There is a logcat process running with PID 925. I want to stop this process. So far, I've tried running su -c kill 925 ...
user1091091's user avatar
1 vote
0 answers
752 views

How to approach .local addresses in LAN from Android?

Using .local domains supported by mDNS or Avahi from devices in the same network as my device works flawlessly on macOS, Ubuntu and iOS. I use it to make http(s) or SSH connection to a device inside ...
user513667's user avatar
1 vote
1 answer
3k views

How to install and run Tor with Snowflake client on Termux

Since the internet restrictions in Iran have become more severe as of October 2022, nowadays many Iranians are trying different methods to bypass censorship and connect to Telegram. For example, using ...
Javad Bayat's user avatar
0 votes
0 answers
997 views

DNS within termux

I am using termux to synchronize files across a couple of android devices (probably use rsync later... still experimenting). Presently I use ifconfig to figure out the IP address of the devices, ...
Agnel Kurian's user avatar
0 votes
1 answer
8k views

Error installing Aircrack in Termux (E: Unable to locate package aircrack-ng)

An error is occurring when I try to install aircrack-ng in Termux. E: Unable to locate package aircrack-ng When I try to use apt or pkg to search for aircrack, it doesn't find anything either. Here ...
Frostinho's user avatar
0 votes
0 answers
1k views

How to move the entire termux to sdcard

i have seen multiple posts but non helped. i have root access and i want to put the whole termux on my 32GB sdcard because i have a very limited internal storage (8GB) and most of it is used by the ...
RTX Halwy's user avatar
1 vote
0 answers
779 views

how to find which process is continuously uploading data

My phone seems to be suddenly uploading GBs of data at speed of 8+Mbps. I cannot identify which direction app is doing this. But systems network indicator seems to show that is uploading data. Just ...
AEonAX's user avatar
  • 193
0 votes
1 answer
612 views

VNC viewers not working

I have a Samsung Galaxy A10s with Android 11 One UI 3. Recently there was a problem: VNC viewers do not work. I enter, for example, localhost:1 (I want to connect to the Termux VNC server), I connect, ...
Pushistik's user avatar
2 votes
1 answer
4k views

Getting "E: The repository '... Release' does not have a Release file." error message when installing package on Termux

I've tried installing numerous different packages on Termux but keep getting roughly the same error: E: Unable to locate package $ pkg install iwyu Checking availability of current mirror: ok Ign:1 dl....
 tester's user avatar
1 vote
0 answers
3k views

Running executable files using Termux

I previously posted on the Linux stack exchange about my problem: https://unix.stackexchange.com/questions/731882/termux-bash-permission-denied Suffice to say I've realized that executable files can ...
Sandman's user avatar
  • 11
1 vote
1 answer
451 views

How to install vdirsyncer on Android?

I would like to use vdirsyncer on android. To do so, I first installed termux and than ran: apt install python python3 pip3 install vdirsyncer However, that throws the warning: Warning pip is ...
a.t.'s user avatar
  • 379
2 votes
1 answer
151 views

Torify an arbitrary application?

After setting up a self-hosted Nextcloud over tor, I am trying to synchronize an Android Calendar app with it. On Ubuntu I was able to torify vdirsyncer and run khal as a terminal calendar. However, ...
a.t.'s user avatar
  • 379
2 votes
0 answers
832 views

dumpsys battery in Termux

I am trying to get battery info in Termux. I granted android.permission.DUMP and android.permission.PACKAGE_USAGE_STATS via ADB for com.termux (Termux app) Then I opened Termux and types in /system/...
sudoer's user avatar
  • 149
1 vote
0 answers
62 views

Check 32 and 64 bit support individually on Termux [duplicate]

With Google Pixel 7 lineup ditching 32 bit support, I think it is now necessary to check for 32 and 64 bit support individually. From what I interpret, the Google Pixel 7 series will not be able to ...
sudoer's user avatar
  • 149