Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [termux]

Termux is a powerful shell environment for Android.

0
votes
1answer
15 views

Password to ssh connec to termux

I tried to test ssh on termux which prompt of the password At temp my screen lock number but failed. What's the password?
0
votes
0answers
8 views

While pushing to git using Termux, it crashes while compressing files

I am pushing large number of files to git from android using Terrmux. git push origin master There is no issue pushing up to 40 files of around 1.5 MB. But when number of files is larger, Termux ...
2
votes
2answers
189 views

Why do I have Termux and Termux(failsafe)?

Why do I have two Termux applications, and what's the difference? This happened recently, after updating Termux I believe. I've installed Termux from F-Droid, and it mentions (failsafe) in the ...
0
votes
1answer
40 views

Is it possible to install “iproute2” on Android?

I tried to use git clone in googlesource's page but it didn't do much. I want to use the ss command from the package but I don't know how to install it. My phone is ARM 32-bit.
0
votes
0answers
41 views

Using Termux to Backups Android's Contact List

In Termux's website's main page, they write (among other stuff): "use rsync to store backups of your contact list on a remote server" This makes me wonder: Android's Contact List is stored in an ...
0
votes
1answer
61 views

How to SCP files from a PC to storage in Termux

I can scp files from my Linux server to Termux directory on my Android smartphone but Termux directory is not accessible through file explorer. What exactly should be the destination path for scp so ...
-1
votes
1answer
10 views

Illegal option -o pipefail

I'm using termux and a git project to compile a git android apk source code the code is in bash command when i run the following command it says illegal option -o pipefail.
0
votes
1answer
225 views

Why lsusb gets “permission denied” error in Termux?

When I run this command in Termux the output gets permission denied. I don't have root access, perhaps Android system allows me to get the specific access in root.
0
votes
0answers
40 views

How to install ijavascript on Android?

I am trying to install ijavascript on my Android phone (realme two pro). I installed termux and followed the steps mentioned here, then installed Node.js. Now when I tried to install ijavascript via: ...
3
votes
1answer
84 views

Number of available cores

To find the number of cores available to you in Termux you run: grep Cpus_allowed /proc/self/status This number of cores is limited in a similar way to running taskset on GNU/Linux. I am trying to ...
0
votes
0answers
74 views

Running metasploit on android error

I am trying to run metasploit on Android using Termux. I've already installed it but when i try to run msfconsole command i get this error: ruby: No such file or directory -- /data/data/com.termux/...
1
vote
1answer
44 views

Termux:Widget and Emacs: can't start subprocesses

I have some tasks that I like to do using Emacs on several different operating systems. I have been using Termux so that I can access these tasks on my Android phone. To reduce setting-up typing in ...
0
votes
0answers
59 views

Compile apps from github source on device via termux or apps?

Is there any app's like "apk builder" by heagoo that can compile apks on device from github source? Termux method would be nice too if anyone knows. I have tried "sdrausty.github.io" method but I ...
-1
votes
1answer
334 views

Error while executing msfconsole on Termux

How to fix the error Metasploit requires the Bundler gem to be installed While executing ./msfconsole on termux
1
vote
0answers
448 views

Run windows 10 ARM on QEMU

I have downloaded the Windows 10 arm on my Android phone but the problem stops when I press any keys to boot from the CD or DVD Can anyone tell me what I can do to make it go off successfully This is ...
1
vote
0answers
98 views

Termus/Python - How to mark unread SMS messages as read?

I made a simple SMS reader script with Python and Termux/Termux API (I use termux-tts-speak to read the messagees and execute the script from Termux). The script reads messages (with termux-sms-list) ...
0
votes
2answers
907 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 ...
1
vote
1answer
48 views

Unable to handle subfolders in Termux

I'm trying to run a program which has its own directory. Termux doesn't allow creating the directory nor accessing the folder (permission denied error) after moving it to the Termux home directory ...
0
votes
0answers
257 views

exagear and wine on Termux

How do I install exagear emulator or anything similar to it on the Termux? Translate x86 applications to run on Wine on arm64 processors on Termux on Android to run Windows applications on Wine. Wine ...
1
vote
1answer
844 views

Equivalent ADB command in Termux

Is there any command equivalent to adb cmd package compile -m everything -f in termux?
0
votes
4answers
3k views

How to make Termux obtain root access?

I am using a rooted Samsung S8+. But, Termux cannot gain root access. I tried su, sudo unsuccessfully. When I tried installing termux-sudo, I had the error cat: sudo: no such a file or directory. ...
2
votes
0answers
2k views

Package installation in Termux

I'm reading this guide that describes how to install the statistical language R on Termux. My installation journey is briefly outlined below. I need to determine why nothing happens at Step #2 ...
-1
votes
1answer
343 views

android termux busybox do not let me run commands

Anyone knows why when I try to run a command on termux like nc busybox try to run the command instead netcat the same happens when i try to run tar busybox gets in the way ?
1
vote
0answers
267 views

Termux says file does not exist but it does

A while back I installed nano on Termux and it worked fine, but when I accidentally tried to copy a file into a nonexistant directory at nano's location, nano wouldn't run. I checked and the ...
0
votes
1answer
231 views

Unable to install PyCrypto

I'm installing PyCrypto because it is a dependency of another package. The installation always ends in an error in Termux (pip install pycrypto): Command "/data/data/com.termux/files/usr/bin/python -...
-1
votes
1answer
316 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.
0
votes
1answer
2k views

Termux was unable to install the bootstrap packages

After doing some research, it mention that the bootstrap in this url (http://termux.net/bootstrap/) must be download and install before one can use Termux. So, how do I install the bootstrap? or do I ...
0
votes
2answers
1k views

How do I view root ( / ) with Termux if termux-setup-storage doesn't help?

After reviewing this, I used termux-setup-storage on my phone and Andy Android emulator. After running the above command, I am able to view root directory with ls on Andy emulator but not on phone. ...
1
vote
1answer
752 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 ...
1
vote
1answer
1k 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. ...
0
votes
1answer
536 views

Termux trying youtube-dl with aria2

I'm newbie and experimenting,like the title said i wanted to use youtube-dl with aria2 So this is my youtube-dl config --cache-dir /sdcard/Download --all-subs --external-downloader "aria2c" --...
1
vote
1answer
304 views

Termux print to txt

So i use termux and newbie,i want to save -help command from package as txt in internal storage with specific file name Ex:youtube-dl --help,aria2c -h,etc How to do that?
0
votes
2answers
1k 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 latest nodejs installed. It is working perfectly when I use Private storage but I'm using cd /storage/sdcard0/NodeJS/Test/ and getting ...
1
vote
3answers
6k views

How to type “Control” on Termux?

There is a good App "Termux" which can provide a powerful shell environment without gain root permission. However, the touch-screen keyboard doesn't include "Control" and "Alt" button. But some ...
3
votes
2answers
5k views

How to use tmux copy / paste in Termux?

I installed Termux and using the pkg system installed tmux. However, the tmux that installs doesn't appear to support copying and pasting. I can enter copy mode, but I can't select text and copy ...
0
votes
1answer
436 views

When I'm trying to run “xterm” in termux, it says failed to open display : :0. Why so?

I'm running xserver xsdl. Then tried running xterm in it after export DISPLAY=:0 . If I do export DISPLAY=10.94.XXX.XXX:1 , xterm runs fine. I tried to debug it using strace. This is the line, which ...
0
votes
1answer
834 views

Termux - Cannot run python file in tasker

I am trying to run a python file in termux for use in tasker. The termux tasker plugin requires an executable (you can't just run a command like "python something.py"). However, running chmod +x ...
7
votes
2answers
1k views

Treble: How do I check if it is enabled on my device?

Title says it all By way of background Project Treble was announced with release of Oreo to speed up OS updates by reducing OEM delay . Devices running Oreo out of the box are expected to have it , ...
0
votes
1answer
78 views

Case statements in termux

I tried this and failed. Does case statements exist in termux? #!/data/data/com.termux/files/usr/bin/bash case in "$1" start) echo 'var1' ;; stop) echo '...
1
vote
1answer
430 views

Create shared folder on sdcard

Is there any way to create a directory on an external sdcard that has read/write access for multiple apps. For example I want to us synththing or rsync under termux be able to sync this directory to ...
2
votes
1answer
626 views

Tasker to programmatically uninstall apps

I would like to setup a tasker profile to check every predetermined time for any apps not on my approved list (BaselineApps.txt) and uninstall them. I am a noob to shell scripting and tasker. This is ...
0
votes
1answer
101 views

Empty variables in termux' bash

I want to perform a test: if a certain variable exists, is non-empty, and its value matches an existing directory, then "exists" should be typed. I did the following: $ echo $var $ if [ -d $var ]; ...
0
votes
1answer
96 views

Is there /etc/shadows in android termux?

I tried the following: $ pwd /system/etc $ ls | grep 'shadow' But nothing was found.
2
votes
3answers
4k views

Path for bash in Android termux

Regular paths for bash do not work in termux app. I tried: /usr/bin/bash and /bin/bash Also 'whereis' command gives the following output: $ whereis bash bash: /data/data/com.termux/files/usr/...
1
vote
1answer
58 views

Android Box crash, how to restore /data files

I have an Android box that has the app Termux (command line app) and in there I have some node apps made by me that are important. I have screw up my Android by modifying the /system/etc/permissions/...
1
vote
0answers
353 views

my browser cannot visit localhost after installing apache2 on termux

my android browser cannot visit localhost after installing apache2 on termux. How do i access the server by visiting localhost? I hage tried restarting the phone but no change
5
votes
2answers
8k views

Termux write to SD card

Android 5 Termux 0.54 Not rooted, no wish to $ pwd /storage/sdcard1 $ id uid=10096(u0_a96) gid=10096(u0_a96) groups=1015(sdcard_rw),1028(sdcard_r),3003(inet),9997(everybody),50096(all_a96) $ ls -l ...
5
votes
0answers
4k views

Adb 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 ...
1
vote
1answer
482 views

Moving default folder Termux with content to downloads in Android 7

This is what I need; Termux - How do I create a directory of files accessible outside of Termux? I have my Tiddlywiki running on node.js in Termux. My problem is that Termux stores all files in the ...
2
votes
0answers
174 views

Prevent apps from being suspended

I run sshd in a Termux window as my main means of accessing files on my Galaxy S7. This works fairly well, except that I seem to have to re-run sshd rather frequently. I suspect that this is because ...