Questions tagged [termux]

Termux is a powerful shell environment for Android.

Filter by
Sorted by
Tagged with
2 votes
0 answers
20 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
77 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
148 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
69 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
0 answers
175 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
52 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
720 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
1 vote
1 answer
362 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
  • 40.3k
1 vote
0 answers
79 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
92 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
0 answers
34 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
58 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
128 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
1k 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
169 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
4 votes
1 answer
2k 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
1 vote
0 answers
65 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
61 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
0 votes
0 answers
348 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
1k 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
504 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
5k 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
595 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
0 votes
0 answers
76 views

PRoot: libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied

I'm trying to get Steam running with Box64 on Ubuntu in PRoot. But I get errors. Ptitseb, the developer of Box64 says it's probably because of libudev: udev_monitor_new_from_netlink_fd: error getting ...
Android PowerUser's user avatar
1 vote
0 answers
371 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
422 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
0 votes
0 answers
85 views

How to disable the scrolling gesture in Termux?

I use Key Mapper with Shizuku to send the Page Up / Page Down key events using my Android device's volume buttons — even more so with a complete virtual keyboard, I have no need for scrolling (...
user598527's user avatar
2 votes
1 answer
3k 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
1k 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
296 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
93 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
496 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
60 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
2 votes
1 answer
322 views

How can I enable cpu, memory, and io in cgroupv2 (attempt to run Docker on Android)

I am trying to run Docker on Android, using a Pixel 3a XL rooted, running stock rom but flashed a custom kernel. I need to enable cpu, cpuset, memory, io, and pid controllers in cgroupv2. After ...
Paul P's user avatar
  • 51
2 votes
1 answer
47 views

What does a crossed out (strikethrough) session, colored in red, specify in Termux?

I've experienced multiple unresponsive Termux sessions on Oneplus 5T by nothing more intensive than opening around five webpages in lynx (each in their own... again, session in tmux; Ctrl + B, C on ...
user598527's user avatar
3 votes
0 answers
148 views

How find large files with QDirStat on Android 11 with root?

I want to list all files in my phones /data volume using QDirStat, or something simular. On my phone, I've used DiskUsage (com.google.android.diskusage) before, but I find the visualization lacking. I ...
Tanja's user avatar
  • 31
1 vote
0 answers
55 views

OEM Vulkan support on Itel A48 (L6006s) unavailable despite Android's and Arm's specification

I have Itel A48 (L6006s). I've confirmed that it has a Mali-T820 GPU, which supports OpenGL®ES 1.1, 2.0, 3.1, 3.2, Vulkan 1.0, OpenCL™ 1.1, 1.2 Full Profile, RenderScript™. However, as I was coding a ...
Joshua Mudanyi's user avatar
1 vote
0 answers
122 views

Accessing Bug Reports and Termux storage in file explorer?

A lot of apps call Android's "Open file" dialog when they want the user to select any file on their phone - for example when attaching a file to an email, or when opening a file with an ...
NeatNit's user avatar
  • 153
2 votes
1 answer
827 views

Unable to run rclone mount (even as root). Stuck on Error : fusermount: fork/exec /system/bin/fusermount: permission denied

I have already: A rooted Android 5.0 device (Stock-ROM, Magisk 19.3), Termux installed (termux-v0.79-offline-bootstraps.apk) and root permissions granted. Installed rclone through official repository ...
vkarantz's user avatar
0 votes
1 answer
996 views

Unable to get apt-update and apt-upgrade to work on Bliss OS using Termux

Ideally, I am trying to gain root access to a Bliss OS (version 11.14) Virtualbox machine I have so that I can view saved PCAP files. Sadly, to get to the directory I have to be root. The only option ...
Nathan Walter's user avatar
1 vote
1 answer
2k views

How can I get a ubuntu desktop on my Galaxy S8 Ultra?

I have installed UserLand and selected Ubuntu but all I see is this (note that I am in DEX mode on a Galaxy S8 Ultra): All the tutorials say I have to set a VNC username and password but it never ...
Force Hero's user avatar
0 votes
0 answers
245 views

How to use file picker from command line

I would like to launch a file picker from a script to graphically select file. While I am able to launch a file picker by sending intent am start -a android.intent.action.OPEN_DOCUMENT -d /storage/...
Real Tadpole's user avatar
0 votes
1 answer
958 views

How to flash boot partition from the phone itself?

I already have Magisk installed by patching boot_b — the current boot partition. Therefore I have root privilege and can access it through the su command in Termux. The issue is that when I update ...
Maksym Hazevych's user avatar
1 vote
1 answer
750 views

Access Mega Cloud Storage from File Manager on a non rooted device

Is there a way to mount Mega cloud storage from file manager. Mega has some option to do that as Webdav Server for Desktops but is there a way Android Phone with TLS encryption. I am even comfortable ...
zakadmin's user avatar
1 vote
1 answer
429 views

Avoid re-downloading files with Termux in its own downloads folder

I have some files for which I don't have any app to open them with, but whenever I try to open them, instead of the "try looking in the Play Store for an app to open your file" dialog, I get ...
Kai Vinter's user avatar
3 votes
0 answers
2k views

How to enable/disable VPN via adb/termux/terminal?

I have a VPN configured on my android device running Lineage OS 18.1 (Android 11). I'm not using any third party apps, I'm simply using the standard Android settings to specify my VPN login data etc. ...
Forivin's user avatar
  • 327
1 vote
1 answer
1k views

Termux API does not ask for permissions and hangs

I try to use termux-api to perform some actions, specifically I want to use termux-usb to run some libuvc code. However none of termux api programs even ask for permissions to run. For example if I ...
Artyom's user avatar
  • 121
0 votes
0 answers
432 views

Using Termux on an emulator isn't possible?

Can someone explain why isn't it possible to use Termux on an android emulator such as VMOS though it's able to fake root access? Is it just the limitation of the fake root that's provided by the ...
user516076's user avatar
1 vote
1 answer
3k views

How do I format my SD card via terminal/Termux?

I'm running a MIUI 12.5.5 xiaomi.eu ROM on a rooted Redmi Note 9 Pro. I'm trying to format my 128GB micro SD Card via Settings > Storage > Format SD Card, but this causes the device to reboot. I ...
Fabio Freitas's user avatar
1 vote
1 answer
3k views

How to Flash Patched_Boot.img via termux?

Is there a way to get termux to process Fastboot cmds or flash a patched_boot.img with out a PC?
Teflon John's user avatar