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

learn more… | top users | synonyms

1
vote
1answer
14 views

How to write android shell history to file

Using Terminal Emulator for Android, is there a way to enable a persistent command history? So far, I've tried the following: initial command of export HISTFILE=$HOME/.mksh_history user mksh ...
1
vote
0answers
96 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
28 views

adb device always unauthorized

Im running Ubuntu 16.04 adb version Android Debug Bridge version 1.0.32 However, when I plug in my devices for testing via ADB I always get an unauthorized error. adb devices List of devices ...
0
votes
0answers
24 views

Testing DNS server on custom port (other than port 53)

I need to check my local DNS server (pdnsd). The DNS server is running on port 8053, so I need to run nslookup -po=8053 google.com 127.0.0.1, but the problem is, Android doesn't have the nslookup tool....
0
votes
1answer
70 views

Reason for chroot failure: tmp-mksh: chroot: not found

Introduction: I formatted a SDCard in ext4 and copied an ArchVersion on it to run it from Android like in this guide (step 6). Of course my device is rooted and am running the following scripts and ...
0
votes
0answers
45 views

Download from Comand Line

Is there any command in Android to download some file from internet using the command line. I tried wget but it's not available on my android device.
0
votes
1answer
50 views

How to find out sd card partition in dev/block?

In order to mount an ext4-formated sd card in Android I followed this guide. In the bash script msd2.sh is followking command: mount -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard && sleep ...
0
votes
0answers
24 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 ...
0
votes
1answer
60 views

How to open an URL in Chrome Incognito Tab by launching the Incognito Activity?

Is there any way to open a link in Google Chrome's Incognito Mode from the Terminal ? I tried this but it didn't work: am start -n com.android.chrome/com.google.android.apps.chrome.document....
0
votes
0answers
63 views

Can android device issue adb commants to itself?

I made a simple shell (actually windows batch) script that automates a task on android phone. It can be ran on any computer. I thought that if I convert the batch to linux sh script, I could issue the ...
1
vote
0answers
94 views

Change wallpaper via ADB/terminal

Is there any terminal (ADB) command for Android to change the launcher wallpaper?
-2
votes
1answer
160 views

Downloading and installing the DEBIAN ARM packages and installing them on Termux?

Ok, so I was looking for a terminal emulator for android and I found Termux. Then I discovered that it has "apt-get" as a package manager and I played around with it and installed a few packages. Then ...
2
votes
0answers
203 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 ...
0
votes
0answers
151 views

Enable USB Mass storage marshmello 6 Galaxy note 5

I tried to enable UMS thorugh adb terminal with those commands adb shell setprop sys.usb.config mass_storage,adb adb shell setprop persist.sys.usb.config mass_storage,adb reboot and the android ...
0
votes
1answer
655 views

Run adb command inside the terminal emulator or programmatically without root

Is there a way to run theadb backupcommand on the device itself without using a ᴘᴄ computer ? Of course when I try to do it,adbcomplains the daemon isn’t started and it fails to find a device. ...
0
votes
0answers
20 views

Access bluetooth RFCOMM through android terminal

I would like to access to RFCOMM to set up a bluetooth virtual serial port on my Android device using the terminal. I do have root permissions on my android device. When I type "rfcomm" in the ...
0
votes
1answer
38 views

Is it possible to compile a pure java class on terminal emulator? [closed]

Suposse that we have a some_class.java. In bash we can use javac some_class.java java some_class To compile the class. So, I think that may cause some trouble knowing that we should have a java ...
-3
votes
1answer
60 views

When using a terminal emulator why are there so many normal Linux commands that to not work?

There are a lot of standard Linux commands that do not work from a Terminal Emulator in Android. I thought Android is based on the Linux kernel, but it lacks so many functions, like man groups find ...
4
votes
3answers
723 views

Run downloaded shell command without root?

My phone is a Galaxy S3, not rooted. I have "ES File Explorer" and "Terminal Emulator" installed. I downloaded an Android build of 'wget', intending to execute it from the Terminal Emulator app. ...
0
votes
1answer
54 views

Is it normal for a USB OTG converter to show in lsusb

When running lsusb (not as root) with an OTG adapter plugged in without anything plugged into it I get : u0_a83@flounder:/ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Bus 002 Device 001: ID 1d6b:0002 ...
3
votes
0answers
259 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 ...
3
votes
1answer
126 views

Can I use the file command on Android?

The UNIX file command, which tells you what is inside a file, is seemingly not available either in Busybox or the system directory of Android. Is there any way to run file on Android? (via Terminal ...
0
votes
1answer
59 views

su command not working, eventhough I am rooted

My problem is that my rooted android phone with Terminal Emulator app doesn't seem to be executing the 'su' command correctly. I am trying to execute this command, after having executed the 'su' ...
0
votes
0answers
87 views

How to run alsamixer command for android shell

I am trying to configure sound for a specific sound card and I need AlsaMixer to open but I can't find the right command to open it from terminal. Any help would be appreciated
4
votes
1answer
617 views

Real root can not change any thing on /system original files!

On my rooted device running Android 4.2.2, I have following tools installed: Terminal Emulator BusyBox Free On Terminal Emulator, su command successfully changes user to a real root: root@hwH30-...
0
votes
0answers
222 views

No prompt in Terminal Emulator after failed install of SuperSu/replace KingRoot

I have a Huawei Union (y538) and rooted it using KingRoot. I then followed a guide to replace KingRoot with SuperSu. Terminal Emulator displayed some permission errors, SuperSu opened, but the install ...
-2
votes
2answers
95 views

android command line shell

I have a Nokia X running Android 4.4.4 and I have Terminal Emulator and Busybox 1.24 installed but I can't still find some useful commands to perform several operations with the command line interface....
2
votes
0answers
63 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 ...
-1
votes
1answer
172 views

How to search in files content using terminal emulator?

I have tablet with android 4.4.2. The tablet is rooted. I want to search for a string in the files in the whole file system. I tried to use the 'find' command but it didn't work. What command i can ...
0
votes
0answers
51 views

How do I avoid losing root shell in rooted Android?

I have: Successfully rooted my Android 5.0 (custom ROM) Installed busybox Installed Android-Terminal-Emulator However on the command prompt, whenever I use su or /system/xbin/su, it shows the: [...
-1
votes
2answers
54 views

Invoking in the terminal

I have downloaded Python 3 and a terminal emulator. But when I type python3 in the terminal, it says "not found". How do I run the python interactive shell inside the terminal?
0
votes
0answers
178 views

How to open an image via Terminal Emulator on a non-rooted Android system?

I have explored into the /mnt/sdcard2/DCIM/Camera directory as shown in the screenshot below in Terminal Emulator for Android. The ls command lists the files in the directory. How can I open and view ...
1
vote
1answer
497 views

How to get battery status in terminal?

I have gingerbread(2.3.6) phone with dropbear installed. I usually access my phone over wifi & run commands in putty. I want to get Battery status & percentage in terminal. Is there any ...
0
votes
0answers
50 views

Debug phone using ADB from tablet

I have an Acer Iconia TAB (a500) running OTA ICS 4.0.3, rooted using blackthund3r's ICS Root tool (version 7.2.0). I've downloaded the Linux binaries for adb and platform-tools and made sure they were ...
0
votes
0answers
62 views

How to read shell commands documentation in android

I have busybox installed in phone. Also, my device is rooted. I tried to use man command: $ man ls However, it returns no manual entry for 'ls'. I tried to navigate to /bin/busybox but there is no ...
2
votes
0answers
172 views

How do I enable a keyboard if I can't open Settings?

Apologies for the long story, feel free to skip. :) So I goofed up pretty amusingly the other day. I bought a $10 LG Optimus Exceed, rooted it with Towelroot, then downloaded the jumobile System ...
0
votes
0answers
184 views

Phone shows only internal sd card and no external storage

I have a problem, I bricked my phone, started recovery mod to re-flash it, but in recovery shows only internal sd card, luckily there is terminal into recovery mode, how I can get external storage?
0
votes
0answers
77 views

Port forward in external ip

How to forward ports in external ip. I tried port forwarder but it forwards my internal ip ports like 10.xxx.xx.xxx to 192.168.0.1 How to actually forward ports To my external ip? so that i could ...
0
votes
0answers
180 views

ADB version of these terminal emulator instructions?

I have the "Insufficient storage" bug on my Moto G X1032. This answer fixes it with the terminal emulator app, which i can't install. They recommend performing the following commands in adb if that's ...
0
votes
0answers
294 views

How can I reboot my wi-fi router using Android terminal?

Which command should I use in android terminal for rebooting my wi-fi router? I have already tested connection, ping goes to wi-fi (192.168.1.1). Except ping, which operations can I do via android ...
1
vote
1answer
273 views

SQLite database operation from Android terminal

I want to do SQLite command like sqlite3 myDb.db, or do other SQLite command from Android shell, like Terminal Emulator or something else. I have tried googling for these, but no luck. Is it possible ...
0
votes
0answers
68 views

how to start or restart the installed application list from terminal android?

Hello everybody. I have the following: Samsung Galaxy Y S5360 Gingerbread, custom rom, root. Terminal Emulator-v1.0.70 Busybox Stericson-v.1.22.1 How I can restart the application list using the ...
3
votes
1answer
1k views

How to check my phone hardware specs on Android terminal emulator

I was wondering if there is a command to check the hardware specs of my phone. I just installed the Android terminal emulator. I've tried the 'lshw' but it does not work. Thanks in advance.
0
votes
0answers
88 views

Run Bash Script from Terminal

I have modified a kernel's ramdisk to include a "settings" terminal run bash script. However, when I type in terminal su dp I get file is not found. dp exists in the ramdisk as /sbin/dp I've ...
3
votes
1answer
327 views

Launch app with UI in background

Is it possible to start a regular app – with a GUI – in the background, without displaying its UI? Also, it needs to be launched from the shell terminal, not from java. What I'm using currently: am ...
0
votes
0answers
610 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 ...
0
votes
0answers
41 views

access media files through sftp

I am trying to access the media files on my android device in my terminal(ubuntu) through sftp. I am able to view the image/video/audio files present but I am unable to open them. Is there a way to ...
1
vote
2answers
172 views

I have a Samsung Galaxy S Relay with a physical keyboard; how can I remap a spare key to send Esc?

I have a Samsung Galaxy S Relay running Android 4.1.2; it's an unusual phone because it slides open to reveal a built-in physical keyboard. The keyboard has no Esc key. It'd be nice to have one, so ...
1
vote
0answers
95 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 ...
0
votes
2answers
220 views

Opening an html file located in Terminal IDE working directory

For some reason I am producing some html files from Terminal IDE. However I can't seem to open any of them located in the working directory. Say we have /data/data/com.spartacusrex.spartacuside/files/...