Questions tagged [termux]

Termux is a powerful shell environment for Android.

Filter by
Sorted by
Tagged with
0 votes
0 answers
66 views

ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects in Android Termux

I'm trying to install numpy in Termux in Android and I'm getting this error : ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects I tried apt update &...
user avatar
0 votes
0 answers
15 views

How to access sync'd Nextcloud files in termux

I am syncing files to my phone (Fairphone 4) with Nextcloud, and wish to access these files using termux. Currently access is denied, is there a way to set this up to work other than rooting the ...
user avatar
1 vote
0 answers
48 views

Can I use my TV as a display for a tty while using my Android screen as a virtual keyboard?

I use Termux on a rooted device to run Alpine Linux in a chroot, but since the screen is small it is hard to type with a virtual keyboard + get a good view. I want to use my Android's screen for the ...
user avatar
0 votes
1 answer
47 views

Connecting ACODE to Termux

Hi guys I have successfully connected ACODE to termux using sftp from ACODE to termux SSH using openssh sshd and dropbear dropbear via generated password passwd and username whoami and it works. I've ...
user avatar
0 votes
1 answer
208 views

Termux access /sdcard/data

Most of the apps are now not permitted to access /sdcard/data the only app i know which can access this folder is Files(not files by google)[com.google.android.documentsui] a few days ago i see this ...
user avatar
  • 53
0 votes
0 answers
589 views

How to install Termux on old Android 5 devices ? (using the official archive)

Context : Hello, I have a GPD XD console under Android 5 with a complex launcher. I would like to install the very good Pegasus frontend (install and play, no tweaks), and for that they require to run ...
user avatar
0 votes
0 answers
14 views

Can I use my volume key as ctrl key on Android? If so how?

In termux, volume up button is used as ctrl key. I want the same functionality also outside termux. Is it possible?
user avatar
2 votes
0 answers
65 views

How to switch slots without a computer or using TWRP?

I'm working with Android 9 Pie and I have one slot rooted (slot A) and the other is not (slot B). My reasoning to have my phone this way is because I need the non-rooted side to log in to the app I ...
user avatar
1 vote
0 answers
16 views

Android 11: change ownership of media_rw files [duplicate]

Could somebody please help with the following problem on ArrowOS, Android 11? Background I use TitaniumBackup to create regular app backups. The TiBu folder is on internal storage. Then, after that, I ...
user avatar
0 votes
0 answers
34 views

Prevent Termux from opening STL files

I have Termux installed and when I try to open STL (3D model) it opens a Termux instead my STL viewer. How to prevent this behavior? There is no setting for Termux "open by default".
user avatar
  • 171
1 vote
0 answers
267 views

Running a python script on an Android device

I need to control an android app using a python script. Currently, I connect my phone to my laptop and use adb (android debug bridge). Process: Laptop sends an adb shell command to android to take a ...
user avatar
  • 111
0 votes
0 answers
50 views

SSH can't login as normal user

So I managed to get SSH working properly, starting it with root so I can use the default SSH port 22. Only problem is that it doesn't allow me to login as anyone other than root. Trying to log in as ...
user avatar
0 votes
0 answers
74 views

How to use libusb1.0 in termux

I am trying to install mtkclient on my android device, but one of the required deps is libusb1.0. I've been reading that I may need termux-usb instead... But then the mtkclient source code would have ...
user avatar
3 votes
2 answers
812 views

How to install Another Term, an alternative to Termux for Android 6.0 and below?

I am running a lower Android version and need to install a Linux proot container in Android. Another Term is the closest alternative, but how do I install it? It seems pretty hard.
user avatar
  • 81
0 votes
0 answers
136 views

In Termux on non-rooted phone, how to change ownership of a file to root permanently?

When I do not use fakeroot, changing ownership to root is not allowed. On the other hand, after fakeroot /bin/bash, the ownership is in any case displayed as being root, and here I can set chown root:...
user avatar
1 vote
0 answers
269 views

Where to locate a dir without W^X? (/data/local/tmp)

I have an Android 10 LGK22 No-Rooted without option to do it (so rooting is out of the question/solution). Which is not ridiculously forcing W^X (the option to stop a binary from being executed from a ...
user avatar
  • 11
0 votes
0 answers
313 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 ...
user avatar
  • 607
1 vote
0 answers
223 views

How can I downgrade/compile Python in Termux?

I started using termux 1-2 weeks ago and I'm in love with it. Funnily, the first days in, everything worked fine and then a Python update hit, and I can no longer use my Python plugins in Neovim. It ...
user avatar
1 vote
0 answers
251 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/...
user avatar
  • 607
1 vote
0 answers
347 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 ...
user avatar
  • 607
0 votes
0 answers
136 views

Create WiFi AP in Termux with root access [duplicate]

For some purpose, I want to create a WiFi access point on my Android because I cannot turn on the hotspot when WiFi is enabled. And also I tried to use NetShare, but it cannot be enabled on boot. I ...
user avatar
0 votes
0 answers
50 views

Cannot download nodemon using npm on Termux

I'm trying to download nodemon using npm on Termux, but I got the following error log: npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find module 'emoji-regex' npm ERR! Require stack: npm ERR! - /data/...
user avatar
1 vote
0 answers
52 views

Termux find if microphone or camera is in use by other apps

I want to make a simple script in termux to find out if microphone or camera is in use by other apps. You can suggest me any method , it dont have to be soley based on termux I just somehow want to ...
user avatar
  • 21
1 vote
1 answer
322 views

Remove Termux's extra keys

I can reduce the extra keys on Termux to one row like this: extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]] but this doesn't get rid of them: extra-keys-style = none How do I ...
user avatar
  • 51
0 votes
0 answers
51 views

How to resolve the "Permission Denied" to access termux files - no root [duplicate]

I have a number of terminal applications, When I change the directory to: cd /data/data/com.termux/files I get permission denied. How to make another terminal app to be able to access termux files? (...
user avatar
  • 1
0 votes
0 answers
113 views

Why 'ping localhost' command in Termux returns a normal response even though there is no local web server?

I just tried 'ping localhost'command in Termux and response was positive. How this is possible since I don't have a local web server running.
user avatar
0 votes
0 answers
40 views

Error while installing GAP software on Termux

I am trying to install GAP on my Android phone using Termux. https://www.gap-system.org/Releases/4.11.1.html https://termux.com/ How to install the mathematical GAP-software on an Android phone? (...
user avatar
0 votes
1 answer
154 views

Sharing a directory between Termux and another application (PasswdSafe)

I have a Samsung Galaxy Tab A 8.0". I haven't rooted the device (and don't really want to). Until today, I was running Android 10. Today I installed an update that upgraded it to Android 11. I'm ...
user avatar
3 votes
0 answers
60 views

is it possible to impose speed limit to certain device connected to my hotspot?

I have several devices connected to my android hotspot and would like to rate limit certain device from hogging the bandwidth too much. Phone is already rooted, and i've tried using built-in 'tc' ...
user avatar
0 votes
0 answers
318 views

Reliably set CPU Affinity

I need to benchmark the performance of every core in an Android phone, so I need to run a program exclusively on a core. Fortunately, I'm dealing with a dynamIQ chip from Qualcomm, so I think I ...
user avatar
  • 151
1 vote
0 answers
54 views

Is there any way to call the share menu in a termux script?

I made a bash script for termux and at the end of it i want to call the share menu to send a file made by my script by whatsapp for example I really don't have any idea about how to do this. Any help ...
user avatar
0 votes
1 answer
115 views

Is there a way to make a short cut icon that executes a sh file in android?

I made a sh file for being executed in termux, i want to make an icon that opens termux and execute that sh file. Kind an apk icon, that when you mash it executes the program
user avatar
0 votes
0 answers
228 views

Cxxdroid can execute c++ binary in any internal storage directory, but Termux cannot

I was testing some c++ executable in my old smartphone (Android 8, no root). Here's the description of the problem: I have both Termux and Cxxdroid installed in that phone. And in termux, I have clang ...
user avatar
1 vote
0 answers
157 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 ...
user avatar
  • 11
0 votes
0 answers
231 views

Put Termux environment on external SD card

Following this answer, I formated my sdcard as ext4-fs. Then tried mounting the sdcard into termux home as the link above says mount /dev/block/mmcblk1p2 /data/data/com.termux/files/home/ext4-fs I ...
user avatar
  • 111
1 vote
1 answer
414 views

Failed installing Ubuntu using termux-ubuntu

I want to mine sugar on my Android phone. Can someone help a simple complete script, especially to complete method 1 or 2, whichever works. METHOD 1 Installed F-Droid and Termux Commands pkg install ...
user avatar
2 votes
0 answers
60 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 ...
user avatar
2 votes
3 answers
370 views

Termux write permissions

pretext: as gmail no longer allows me to send zip files, i have been looking into other ways to get my java source directories from android to laptop and back again, depending whether I'm at home or ...
user avatar
  • 21
1 vote
1 answer
1k views

Is it possible to run an X Server and a window manager in TermUX

I am running the TermUX application on an Android 10 smartphone, and can type in it with my Logitech K480 keyboard. I want to run a window manager like fvwm (see fvwm.org). I have found an article on ...
user avatar
1 vote
0 answers
106 views

Can Termux adb push file from unrooted phone to tablet via OTG cable? [duplicate]

Can I use Termux to send an app (APK file) via, e.g., adb push, from my unrooted Samsung Galaxy S10 phone to an unrooted Android 5.1.1 tablet via an OTG cable?
user avatar
  • 11
1 vote
1 answer
373 views

Termux closes window immediately on Android 10 and 11

Since a few days I have problems with Termux on my Android devices. On a Lenovo TB-X304F running Android 8.1.0 I got: CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": ...
user avatar
1 vote
0 answers
33 views

Connecting to a private IP over WiFi and public IP over LTE simultaneously

I'm designing an Ubuntu app for Android which is running through a Termux chroot jail. The app requires the phone to be connected to a drone through the drone's generated Wifi network. This network ...
user avatar
  • 11
2 votes
0 answers
156 views

Opening Termux to the entire phone

I think I have a memory leak on my phone. So I installed Termux then htop via pkg. When I opened htop, I could only see two processes--what seemed to be the instance of Termux, and htop. How can I use ...
user avatar
  • 123
1 vote
0 answers
617 views

How to make a bootable ISO from Android CLI? (via Termux or Proot-distro)

I know there are some .APK apps that do it, but none seems to work for me (but if you have any suggestions, I'll try). I have LineageOS on my PC. So, my question is How to make a bootable stick with ...
user avatar
  • 143
1 vote
1 answer
230 views

How can I use Termux with the JuiceSSH interface?

I would like to use Termux and its package manager as a local terminal, but I cannot get used to its keyboard. The volume buttons are a poor choice IMO, as they require significant finger pressure and ...
user avatar
  • 131
1 vote
0 answers
23 views

Termux (specifically npm) can't install in internal storage [duplicate]

Everytime I try to use NPM to install something into /storage/emulated/0/dir it would always do this: npm WARN tar EPERM: operation not permitted, futime npm WARN tar EPERM: operation not permitted, ...
user avatar
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 ...
user avatar
  • 11
5 votes
4 answers
11k 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 ...
user avatar
  • 53
1 vote
1 answer
472 views

Why can't I delete a folder in /config/sdcardfs as root (Termux)?

I'm looking to delete a folder that is in /config/sdcardfs. My device is rooted and I'm trying as superuser. I still get the results operation not permitted. What do I need to do to get the permission ...
user avatar
  • 918
1 vote
0 answers
72 views

Using Here Documents in Termux

I'm trying to run commands in a script that needs to be run as superuser. I tried doing this with here documents but wasn't successful. ( I used to be able to use it with tsu in Termux). Does anyone ...
user avatar
  • 918