Questions tagged [terminal]

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

87 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
1k 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 ...
3
votes
2answers
1k 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 ...
3
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 ...
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
0answers
4k 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, ...
2
votes
0answers
5k 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
564 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
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
361 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
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
0answers
21 views

How do I copy the entire system root to an SD Card or USB Flash Drive?

I am trying to make a direct 1:1 clone of my Android 9 system. I have the device rooted and I am running 'Terminal Emulator' as super user. Now, if I am in the root directory (IE: ":/ #") and I feed ...
1
vote
1answer
76 views

Terminal emulator on Android device: Can I communicate with with the terminal on my Linux machine over bluetooth?

I am trying to issue a command in my terminal emulator on my Android device over Bluetooth from a Linux machine. The command is meant to launch an app, and looks like this: am start —user 0 -n com....
1
vote
1answer
397 views

How To Enable Debug Mode From ADB Shell or ADB Via Terminal In Linux

so far I have put my android device in ftm mode i have tried from adb sideload now i am trying with busybox ash I'm able to run ls but anything else says permission denied or error:closed. / $ ls ...
1
vote
1answer
65 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
53 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
522 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
2k views

Change Resolution of HDMI output (USB-C / Slimport)

I have been working on this problem to avail I want to change the screen resolution of my EXTERNAL monitor connected to my android phone. Phone is android 7.0 LG v20, and I am using a USB-C Hub with ...
1
vote
0answers
86 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
188 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
4k 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
207 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
390 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
461 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
116 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
98 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
235 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
298 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
124 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
850 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
372 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
92 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
246 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
635 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
118 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
35 views

How to disable user input (touchscreen) from command line without root

In the android command line, I need to disable the touchscreen user inputs. I do not want to use root because I want it to be universal instead of device-specific (root is obviously not as widespread ...
0
votes
0answers
23 views

files /proc/asound/card0/pcm0c/sub0/status and /proc/asound/card1/pcm0c/sub0/status writing always 'closed'

cat /proc/asound/card0/pcm0c/sub0/status and cat /proc/asound/card1/pcm0c/sub0/status are writing always closed even in the time audio recorder is working. Why? cat /proc/asound/devices: 0: [ 0] : ...
0
votes
0answers
60 views

Is there any command to launch directory of file manager in android phone using adb?

I want to open Download folder in my android phone using adb. I have example command for different terminal:start . /path/to/that/folder command for command-prompt and nautilus /path/to/that/folder ...
0
votes
1answer
248 views

How to Sending SMS from terminal in background on Android

I'm trying to send text message (sms) from my Android terminal app in background (sim 1 or 2). I can send message in foreground using this command: am start -a android.intent.action.SENDTO -d sms:...
0
votes
0answers
68 views

Unable to get root access on Meizu 5 Pro Flyme OS

I'm trying to copy a file using Busybox and terminal emulator on Android. The command I need to execute but fails with "Permission denied": /system/xbin/busybox cp -f /sdcard/proinfo-MeizuPro5-...
0
votes
0answers
32 views

How to upload GSM CID LAC to telegram channel

Various apps show GSM CellID (CID) and Location Area Code (LAC). How can I get current ones via Terminal and upload to a Telegram channel with hourly frequency? I tried this but it's not updated, ...