Questions tagged [terminal]

A terminal app is the way of providing a command prompt to Android devices.

83 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
2k views

How can I change preferred network type through a script (or terminal command)

I'm currently attempting to create a workaround for a problem that is plaguing a ROM that I'm using. While my phone and ROM are capable of using LTE, and use it perfectly fine, the "preferred network ...
2
votes
1answer
355 views

How to find UID of an app installed on Android and use it as a shell user?

I am trying to find a way to determine the user name of the current shell user from within a shell / terminal on an Android device. The Android environment that I have in /system/bin and /system/xbin ...
2
votes
1answer
770 views

Where can I get more information on the sm tool (command) used in the Terminal

I have seen the sm tool used a few places for example here. The way I understand it, it is a storage management tool but I haven't been successful in finding any more info about it. Where can I find ...
2
votes
0answers
3k 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 ...
2
votes
0answers
490 views

Which precise commands allow me to send a mail locally with Termux

Which precise commands allows me to send a mail locally I would be able to do it with mutt but how do I start a SMTP server?
2
votes
1answer
937 views

Invoke /system/bin/sdcard manually via terminal

I am trying to mount an EXT4 formatted SD card under Cyanogenmod 13.1 (Android 6.0.1). So far, I have setup scripts to mount the card at /mnt/ext_sdcard during boot. My current understanding is that ...
2
votes
0answers
2k views

Using Remix OS(Android-x86) terminal shell to turn off the touchscreen

I have recently installed Remix OS on my PC, and now it's like a craze. Nothing worked. I always think it was the problem with the touchscreen, because EVERY operating system I used on my PC, the ...
2
votes
0answers
2k views

Is it possible to change values in build.prop without editing it?

I want to change the line ro.build.type from user to userdebug in /system/build.prop to enable multiwindow. But this modifies the /system partition and will prevent OTA updates (and some apps) from ...
2
votes
0answers
337 views

How to scroll horizontally in Terminal Emulator for Android

When I'm using Terminal Emulator for Android (also available here), long commands frequently scroll horizontally off the window. I feel quite dense, but I can't find a way to quickly scroll left and ...
2
votes
0answers
3k views

Error `ssh not found` in terminal Android

I'm trying to use ssh in the app Terminal Emulator in Android, but it gives me the error /system/bin/sh: ssh: not found. This is strange to me, since I also use ssh in the apps AndFTP and SSH Server ...
2
votes
1answer
186 views

In terminal-ide how do I get telnetd to start automatically whenever the device turns on?

I think terminal-ide is the best thing since sliced bread but I am not sure how to get the telnetd to start automatically.
2
votes
1answer
6k views

How can I successfully run this script on a emulated terminal on Android?

Background I am trying to install Ubuntu onto my Acer Iconia A500 using VNC and this application called Complete Linux Installer. My tablet is rooted and I have found several sources saying they have ...
1
vote
1answer
58 views

“agrep” for Android Terminal?

How can I do this (agrep) in the Android Terminal? This program allows elastic text searching, which means that searchqwery would match searchquery, and searching Android would also match Anfroid or ...
1
vote
0answers
2k views

Install Split APK Manually

Recently I got to know a thing called split apks, and found the slices as invalid apk files, only the base is. Unfortunately, this means the usual default package installer is unable to handle this, ...
1
vote
0answers
50 views

Android Terminal does not work immediately after reboot

jackpal.androidterm does not work immediately after starting the phone. Instead, it first just shows a blank screen. Then I need to wait around 20 to 60 seconds. Then, the terminal's prompt is ...
1
vote
0answers
363 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 ...
1
vote
0answers
78 views

Termux android usage for linux based work on the go

Any tutorial to lear termux commands??? for termux-ubuntu package, to perform allmost all the linux based work on android.
1
vote
0answers
170 views

How to manually activate download manager process via adb or terminal emulator?

Playstore relies on a process called download manager embedded in Android OS, yet it cannot be manually activate resulting in prolong wait time when using secure proxy to download playstore apps. What ...
1
vote
0answers
2k views

How to get wget on my non rooted Android device

I installed an app from the Play Store called Material Terminal. It allows me to enter Linux commands and run them such as: cd, mkdir, touch, etc. I wonder if it is possible to get the wget command ...
1
vote
1answer
3k views

Android Terminal error (file 64-Bit ELF)

So, I need to have the program 'objdump' on my phone thought I can just copy it from my Linux box to my phone and everything will be fine. But after I copied it with adb in the terminal it says sh: /...
1
vote
0answers
1k views

Change shown username and hostname in terminal emulator

I am usong Sony Xperia Z3 6603 with latest available android. When using the Terminal Emulator, by default, the shown username@device is some random jibberish@D6603. Copy below: u0_a218@6603 I have ...
1
vote
0answers
192 views

Android terminal emulator run executable

I am trying to run the linux version of the ctrtool executable to extract the RomFS and ExeFS from a .cxi file, but I got an error that said not executable: magic 7F45. The ctrtool executable is in /...
1
vote
0answers
389 views

How termux and other terminal emulators are able to work in Android?

I know that Android is based on the linux kernel. Since an OS is kernel + programs, I understand that it should be possible to execute binaries in the Android system. Is this how terminal emulators ...
1
vote
0answers
1k views

How do I add repository to Android and what repositories do I add to get xrdp?

I'm using Termux. What do I type in my Terminal on Android to add a new repository in order to install more applications into my terminal? I'm using Android 5, ZTE Blade S7 if that helps.
1
vote
0answers
437 views

what's the difference between mount point /sdcard & /sd-ext in recovery.fstab

This is the recovery.fstab # mount point fstype device [device2] /boot mtd boot /cache ext4 /dev/block/mmcblk0p39 /data ext4 /dev/block/mmcblk0p40 /...
1
vote
0answers
113 views

Arduino heart rate sensor bluetooth terminal upon event command

I have an Arduino uno r3 set up as a pulse/heart rate monitor, I have a HC 05 bluetooth module set up so i can connect with my android phone, i get the reading on my android phone in a "heart rate is ...
1
vote
0answers
2k views

I can't remount /system as rw. I get an error message: mount: Read-only file system

I'm using a rooted Huawei G7 and i'm trying to install BusyBox, but I keep getting an error. I'm 100% sure this error is because there is some weird write protection on /system. I know this because ...
1
vote
0answers
94 views

Detect when “settings” command in terminal has finished saving

When I execute the following command, it doesn't save anything: settings put global <KEY> <VALUE>;reboot I think it's because it does not have enough time to save the value, because it ...
1
vote
0answers
234 views

How to use my android smartphone to call a distant modem?

I have a domotic app using a modem on a RTC line and would like to connect to the modem with my smartphone as I can do with my PC through Hyperterminal. Is there a means to do that, using the phone ...
1
vote
1answer
289 views

Determining file type from android terminal emulator

I have a file of unknown type that does not display properly in es file explorer and I have no other app installed that can open it. Can I use the terminal emulator (or some other method?) To ...
1
vote
1answer
2k views

Mount Binding to move App data to External Memory

I recently came across the idea of mount binding in Linux. I am wondering if I can mount bind the /storage/emulated/0/Android to /storage/sdcard1/Android. Will this extend my internal storage? ...
1
vote
0answers
123 views

phone crashing constantly

can you help me discover what is causing my phone to crash? I've been having this problem for a while now but it seems to be getting worse. it happens at random and is almost like a RAM seizure. the ...
1
vote
0answers
818 views

How to check sim lock via Terminal Emulator

I wonder, is it possible to check sim lock status in Terminal Emulator? Is there any universal command for most of Android phones? I know many different ways to check this issue, but I'm just curious....
1
vote
1answer
369 views

Installing command line apps

I have an unrooted Samsung Galaxy S4 Active running Android 4.2 Jelly Bean. I have installed the Terminal Emulator and am wondering how to install apps to the command line. Is it possible for me to ...
1
vote
1answer
91 views

Forward console output to computer

Is there a way to forward the console output of your phone (I'm assuming there is some because Linux) to your computer, maybe using ADB? I'm especially interested in how to get the boot time messages, ...
1
vote
0answers
241 views

how do I type special characters in ConnectBot?

I use an Apple bluetooth keyboard with my android Nexus 5. In ConnectBot I do not get the special chars when I use the Shift-key. How can I type special chars like +_)(*&^ in the terminal?
1
vote
0answers
615 views

Using busybox telnet, teminal emulator and ubuntu

I want to conrol android command line (Jackpal's Terminal) using busybox telnet. With Spartacus Rex' Terminal ide telnet works but cant get out of 'application's context.' So I want to use Jackpal's ...
1
vote
0answers
1k views

HTC One display problem

I've bought this HTC One from one guy who had to change the display on it. It works fine but display has one problem. It has very high brightness and some buttons, icons and so on does not have the ...
1
vote
0answers
117 views

cat /proc/devices on Galaxy Note shows a device named roccat

Whats that supposed to be? cat /proc/devices on Galaxy Note N7000 JellyBeer 4 build from 15.March (CM10.1 based with per app dpi features, more similar to cm than to paranoidandroid) Char devices: ...
1
vote
0answers
1k views

Better Terminal Emulator Pro and dns/nslookup resolution

I just recently purchased "Better Terminal Emulator Pro" on the Google Play Store. It works well for everything so far, except when I try to do something like ping google.com or use a hostname for ...
1
vote
0answers
3k views

Toogle 3G, Bluetooth, and WiFi with Android Linux or ADB commands

Since I have not found an Android command reference list (with meaning and usage of the command), I have some questions: Can I disable/enable 3G? Can I disable/enable bluetooth? Can I switch from one ...
0
votes
0answers
13 views

Is there a way to host a public minecraft server on a 32-bit Android device

I have only a 32-bit android device. Is there a way to host a minecraft bedrock edition server on it?
0
votes
0answers
28 views

file manager doesn't find folders

I am using a terminal, Termux, and Qute. The terminal Qute shows me a path data/user/0/com.ddm. In the file manager Cx File explorer I am not able to find them. In Android folder, there is a data ...
0
votes
0answers
18 views

mdadm and other services in android x86 8.1

I have been reading up on android x86 lately and would like to know if it can read /dev/md0 (RAID5) created by mdadm (with ext4 partition on it) and whether it is possible to use applications such as ...
0
votes
0answers
33 views

stat -c “%x” [file] shows the current time. ls -lu [file] too

How to get the access time of a file in terminal? stat -c "%x" [file] shows the current time. ls -lu [file] too.
0
votes
0answers
40 views

Mount image as USB-OTG

Is there a way to emulate an image to the phone as being an usb device? I don't want to mount the image in a computer like DriveDroid does (Mounting .img from internal storage as USB Mass Storage) but ...
0
votes
0answers
175 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
0answers
33 views

Issue trying to flash lineage OS on Samsung s6 through heimdall on terminal - mac

Trying to flash lineage OS to my Samsung galaxy s6 but for some reason the Mac cannot detect my device.. The only way I can cannot it to transfer data files through USB is by enabling USB debugging in ...
0
votes
0answers
22 views

Netstat -l -p stop working when I'm root

I need to know why this process named "camera test" in Nestat plus (though I can't find this name in the lsof log) is listening some ports it is the first four processes after netstat -l-p in the ...
0
votes
0answers
38 views

Problems in Local Terminal in Android's Developer Menu

I am currently having a problem in my Android 9's local terminal from the developer menu, where keys such as $ are turned into their counterpart in the QWERTY keyboard without pressing shift (for ...