Questions tagged [termux]

Termux is a powerful shell environment for Android.

Filter by
Sorted by
Tagged with
2
votes
2answers
2k 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, ...
5
votes
1answer
4k 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
1answer
18k 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
1answer
1k 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 ...
2
votes
2answers
10k 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 ...
3
votes
1answer
2k 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 ...
44
votes
7answers
169k 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?
22
votes
2answers
118k 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 ...
10
votes
3answers
119k 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
2answers
4k 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 ...
12
votes
4answers
24k 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?
-1
votes
1answer
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.
5
votes
1answer
5k 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. ...
2
votes
0answers
42 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
2answers
735 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 …...
1
vote
0answers
69 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 ...
0
votes
0answers
24 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 ...