Questions tagged [termux]

Termux is a powerful shell environment for Android.

Filter by
Sorted by
Tagged with
2 votes
2 answers
3k views

How to grant an app a permission that isn't in its manifest for audio recording?

Non rooted Moto G6 Play running Android 9. I'm using Termux and would like to use Sox's rec command to record audio from the terminal. Unfortunately, since Termux doesn't request the mic permission, ...
6 votes
1 answer
8k views

How do I access `$HOME/storage` outside of Termux (with a file explorer)?

How do I access $HOME/storage Termux directory on Android Pie with a GUI File Explorer? In Termux I print the working directory with pwd and it shows $HOME/storage as: /data/data/com.termux/files/...
8 votes
1 answer
25k views

How to run adb and fastboot commands from Termux?

Is it possible to run adb and fastboot commands using Termux terminal emulator? I am wanting to run commands from one Huawei T3 7 to another using USB/OTG cable. Need to unlock bootloader but have no ...
4 votes
1 answer
2k views

Insufficent rights for npm install in Termux on Android

I'm trying to install a Node.js module in a folder, for example, /data/data/com.termux/files/home/storage/shared/documents/projects/code/js/test-npm, from Termux on rooted Android 6 running npm ...
  • 255
3 votes
3 answers
15k views

How to Play Sound from Termux when using Linux?

I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is ...
5 votes
1 answer
4k views

Can the Termux environment be put on an external SD card?

I would like to install my termux environment (usr folder) to an SD card. is this possible? I have seen this post Can I install packages to external SD card on Termux in Android?. From what I ...
  • 938
54 votes
8 answers
214k views

Where is the folder that Termux defaults to?

The Termux app is a terminal emulator. If I create a file or a folder there, and then use another file explorer app to browse my device, where can I find these files?
  • 911
22 votes
2 answers
133k views

Termux - How do I create a directory of files accessible outside of Termux?

I discovered that the files and directory that are created in (default) Termux, are not accessible to other apps on non-rooted phones. Where is the folder that Termux defaults to? How do I set it ...
  • 911
11 votes
3 answers
130k views

I'd like to run Termux as root: possible?

I'd like to have an SSH, HTTP and SMB server on standard ports on my phone. There's a way to run Termux as root and have the servers run on privileged ports? Running rooted Android 7.1 on an ...
2 votes
2 answers
6k views

Unable to install Express (of Node.js) in Android Termux using sdcard0 as directory

I'm unable to install Express in Android Termux. I have the latest Node.js installed. It is working perfectly when I use Private storage, but I'm using cd /storage/sdcard0/NodeJS/Test/ and getting a ...
1 vote
0 answers
424 views

Termux: bad interpreter: Permission denied

I'm attempting to execute this command in a Termux:Boot script. exec su --mount-master -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH HOME=$HOME PATH=$PATH:$HOME/bin $0" I get this error: : /data/...
  • 607
1 vote
0 answers
478 views

How to use rclone-mount with Termux:Boot?

I would like to do what is described in this post: How to mount rclone on Android? and then have Termux:Boot automatically mount my rclone remotes at boot time. As per that post, I am using the static ...
  • 607
13 votes
4 answers
34k views

Use GCC compiler in Termux?

I don't like the default C compiler clang provided by Termux. Is there a way I can get GNU GCC in my Termux environment?
  • 7,374
0 votes
1 answer
2k views

How to take screenshot from terminal

I am writing a python script to process an image. I need to take automated screenshots. How can i do that with some kind of command ? No root acces. I am using termux and terminal emulator.
6 votes
4 answers
15k views

Is it possible to install Docker using Termux?

I'm just tinkering with my Android tablet and was wondering if I can get Docker running on it. I've tried dkg install docker and also apt install docker both gave me unable to locate package Docker I ...
  • 63
5 votes
1 answer
6k views

Can I install packages to external SD card on Termux in Android?

I am using Termux in my Android device and it is awesome. I've installed it from Google Play. Now the packages that I install using the command pkg install ..., install those to the internal storage. ...
  • 53
3 votes
4 answers
3k views

Immersive mode in Termux?

How can I enable immersive/fullscreen mode in Termux? I want to hide the bars at the top and bottom of the screen so that the entire screen displays the terminal. In summary, I'm looking for either ...
  • 59
2 votes
0 answers
85 views

(ROOTED PHONE) Using WiFi and LTE Simultaneously

I have a rooted Google Pixel 4a and an IoT device which I connect to over WiFi. This WiFi network does not have internet connectivity and simply serves as a way to control the IoT device. I have a ...
1 vote
0 answers
222 views

Boot Linux from stick in Termux

This question explains in detail why it's basically impossible to boot Linux from a USB stick. But I am still wondering: is it possible to load and "boot" a stick-bound Linux distro from a ...
  • 11
1 vote
2 answers
1k views

Termux (Terminal) tsu is adding "(unreachable)" to my current working path

When I run tsu (which is Termux's version of su), my current working directory gets prefixed with "(unreachable)", as you can see from the transcript of my session. [u0_a116 …/~]$ tsu [root …...
user avatar
0 votes
0 answers
559 views

permission denied only AFTER becoming root (in Termux)

I'm running SuperSu 2.82 (latest) and Termux (latest) on Andriod 7. What is causing the permission denied error below? I get the same error with mount namespace separation turned off (or on) in ...
  • 607
0 votes
0 answers
28 views

com.termux linked or mounted on SD (Root Available) [duplicate]

So I'm trying to get more space into my termux to download and use I'm trying to mount the folder onto the SD does anyone know how to already or done it? I've seen that it isn't possible but I don't ...
  • 11