Questions tagged [termux]

Termux is a powerful shell environment for Android.

Filter by
Sorted by
Tagged with
0
votes
1answer
44 views

Can't decrypt adopted storage [closed]

Last night, I messed up my LineageOS 16 install on my Galaxy S5 and had to reinstall it, starting essentially from scratch. I wanted to see if there was any way I could decrypt the 128 GB microSD card ...
0
votes
0answers
14 views

Using an Android emulator with termux, how do I expose the emulator to gps services so I can add gps data to apps like WigLE WiFi?

I working on a problem of using an Android emulator on a PC to use the NIC like as if the NIC's are attached to emulator itself to do packet injection and other things. I almost have that beat but ...
1
vote
0answers
42 views

Termux: airmon-ng: Permission denied

I want to run airmon-ng but when I do it seems like the airmon-ng skript can't access other tools and it looks like this: % sudo airmon-ng start wlan0 /data/data/com.termux/files/usr/bin/airmon-ng: ...
-1
votes
0answers
19 views

How to root Android 8.1 using Termux [duplicate]

I have a Samsung Galaxy Tab and been over pondering rooting my tab for almost six months now. Yes, I have checked the xda forum and stuff, but since my main concern is to least invasively root my ...
-1
votes
0answers
8 views

Is it possible to run a file as administrator in termux? [duplicate]

i want to run files as administrator so that i can use the command npm install something --save ..... when i use that command it will respond an error "Permission denied by your Operating System.....
0
votes
0answers
24 views

So many Wifi interfaces on PixelExperience

When I try to connect WiFi the system crash and don't connect. Then I type ip link to show iterfaces on termux and so many interfaces is shown. What was returned: mode DEFAULT group default qlen 1 ...
0
votes
1answer
39 views

termux: running termux via adb without *any* direct interaction with the device?

I know how to open the termux app, run (for example) sv up sshd, and then interact with the Android device via ssh, rsync, etc. This is just an example, and the same is also true for any other termux ...
0
votes
0answers
92 views

How to setup a VPN server on Android?

I'm trying to create a VPN server on Android. It can be any protocol, including PPTP, L2TP/IPSEC/OpenVPN, etc. I tried it with Termux + AnLinux + CentOS, but I can't get it to work. Is there any way,...
0
votes
0answers
22 views

How to make the kernel to also check termux bin folders

How can i make android kernel to always check termux binary folder for some binaries assuming they are not found in /system/bin ? I tried copying those binaries from termux bin folder into /system/bin ...
0
votes
0answers
43 views

Top running processes - interpretation of Termux result

Post updating a bunch of apps, I noticed high battery drain and temperature. I ran top -m 10 on Termux and the output is below Going by the CPU usage, the first app is a big culprit and was killed (...
1
vote
0answers
50 views

Any Suggestions would be helpful

when I type this url in any web browser https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=ABF.L&apikey=K0XE9A67UQI9S7PS&datatype=csv it gives me these two lines in csv file ...
-2
votes
1answer
110 views

Downloading file using wget in Termux fails due to the character '&' in the URL

When I simply put this URL in my Android Chrome or any web browser: https://api.worldtradingdata.com/api/v1/stock?symbol=AHT.L,AZN.L,AUTO.L,AVV.L,AV.L&api_token=...
0
votes
0answers
21 views

Error initializing OMEMO crypto with profanity on termux

I am unable to start profanity on termux. I have the following error 07:46:25 - Error initializing OMEMO crypto I have properly installed the following package libmesode/stable,now 0.9.3 arm [...
0
votes
0answers
93 views

trying to run airgeddon through termux on J3 android

I've successfully installed airgeddon and can use 'cd airgeddon' to get into the file, but whenever I try to bash it (tsudo bash ./airgeddon.sh) it return this message "/data/data/com.termux/files/...
2
votes
1answer
301 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 ...
0
votes
0answers
17 views

How to SSH into my Android Phone's command prompt [duplicate]

I have a non-rooted Android phone with the Termux app installed. I can run ifconfig on the phone's terminal and see the IP address of wlan0, and I can ping the phone's IP from the terminal on my ...
0
votes
0answers
232 views

How to make a screenshot using Termux

When I am using Termux may I send a command to create and save a smartphone screenshot in /sdcard/DCIM ?
0
votes
1answer
84 views

Zombie process using termux

I am testing one of my application on android's (Android version 7.0) termux terminal emulator. I want to spawn some zombie processes. On GNU/Linux, if I open a terminal emulator and write: ruby -e '...
0
votes
0answers
10 views

Playing music from Termux login dir? [duplicate]

I have just transferred aac-files to my phone using Termux's scp, but I have a hard time finding a way to make them visible to a music player. It seems it refuses to search for music files in that dir....
0
votes
0answers
162 views

When installing TheFatRat on Termux, an error occurs, I am looking for a solution. pkg Sudo is installed

When installing TheFatRat on Termux, an error occurs, I am looking for a solution. pkg Sudo is installed.
0
votes
0answers
108 views

What to do with a new termux install regarding sudo and root

I've been looking for a place to post about termux, and after a couple weeks of lurking in facebook's termux group, I hope that higher standards for communication are higher here. This shows how far I ...
0
votes
0answers
424 views

dpkg does not work using Termux Ubuntu installation, returns tar errors and exits with error code 1

I have tried to use Termux to install Ubuntu on ChromeOS without developer mode or root priveleges, and was successful up to this point. I accessed an Ubuntu shell from Termux but dpkg returns this ...
5
votes
1answer
696 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/...
1
vote
1answer
153 views

ssh to termux server disconnects after X seconds

I upgraded termux recently. When I do: ssh phone it disconnects after 44 seconds. It disconnects even if there is activity in the session (eg. ping google.com). If I am active in termux using the ...
0
votes
0answers
54 views

Force set BlueStacks Whatsapp background image / location of Whatsapp Wallpapers

I'm using the latest version of bluestacks & whatsapp. I have a graphical issue in landscape mode - whatsapp doesn't scale the background-Image at all & always saves it as a vertical image. ...
0
votes
1answer
257 views

External keyboard and ESC key on Android

https://www.logitech.com/en-hk/product/k580-multi-device-wireless-keyboard This bluetooth keyboard (probably many others) has the back tick ` and Esc keys on it. Will these ` and Esc work on Android ...
1
vote
2answers
687 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, ...
0
votes
0answers
63 views

I can't find termux app in my android bluestack home screen

I had install the termux in my android Bluestack but it does not show in my home screen. When I open the termux in play store, the termux is launch without any error. May i know how to add the app ...
1
vote
0answers
57 views

Does Termux call fork/exec system calls in Android?

There are tutorials (e.g., this and this) that use Termux to compile and run cpp codes in Android. Does Termux run fork/exec system calls and start running the program's main function? More generally, ...
0
votes
1answer
239 views

How can you open a URI from the command line?

I recently started playing with the app called 'Automate'. The starting block for each Automate flow provides a URI. Can this URI be used to initiate a flow? Can I accomplish this from the command ...
0
votes
0answers
411 views

Why does npm fail in termux?

I have an Acer Chromebook 13 with Termux installed. I've run termux-setup-storage and I have nodejs installed (no errors). I'm trying to make a small node app under the downloads directory -- as ...
0
votes
1answer
1k 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
1answer
54 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
653 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
188 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
389 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 ...
2
votes
1answer
2k 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
68 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.
1
vote
1answer
1k 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.
4
votes
1answer
383 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
469 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
185 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
1answer
222 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
600 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
1k 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
158 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) ...
2
votes
2answers
5k 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
101 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 ...
1
vote
1answer
2k views

Equivalent ADB command in Termux

Is there any command equivalent to adb cmd package compile -m everything -f in termux?
-1
votes
3answers
15k 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. ...