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

learn more… | top users | synonyms

20
votes
10answers
130k views

How to get hardware specs of Android device?

How can I find information on the hardware of my Android device like processor architecture, RAM, etc?
15
votes
6answers
20k views

Where can I find documentation for shell commands?

For using a shell commands through a terminal program, where can I find documentation or help or man pages for the commands as implemented in Android? While it would be nice to have them on the ...
12
votes
1answer
5k views

Start an Android application via a shell script?

Is it possible to start an actual Android application from the command line in Android? For example, say I'd simply like to start/bring to the front my calendar. Is there a way that I can do this ...
11
votes
2answers
8k views

how to run a specific app's action via terminal?

I need to run my android app from a remote computer via SSH, but I'm not a command-line expert, so I would like to know: how to run a specific action of an app? (not just open it) Which implies: how ...
11
votes
7answers
10k views

Where can I obtain an sqlite3 command line binary for Android?

When I read documentation such as Examining sqlite3 databases from a remote shell I get the impression an sqlite command-line binary should exist on my phone. Sadly I can't seem to find it on my phone ...
10
votes
1answer
7k views

Rooted phone - sending SMS message via command line

I have a rooted Droid (Sholes), with ConnectBot installed. I can ssh into it via dropbear copied to /system/xbin, and/or also the instance of Debian installed on it via the "Linux Installer" ...
10
votes
5answers
18k views

Android terminal not able to nslookup?

Every time I try to telnet to a domain on my LG Ally it fails, but it works if I use an IP address. So I tried to use nslookup telehack.com and it returns: Server: 0.0.0.0 Address 1: 0.0.0.0 ...
9
votes
2answers
5k views

How to return to the home screen with a terminal command?

Is there a terminal command to go to the home screen? I need to do this via ssh, so I cannot just push the "home" button, I need to send a command-line action..
8
votes
7answers
12k views

Does access to logcat need root?

My device is already rooted, this is why I'm asking. Do you need root to monitor the logcat stream on the phone? If I ran the logcat command from within a Terminal on the phone, would that work?
8
votes
3answers
32k views

How can I execute command in the terminal as root?

How can I get root permissions in a terminal?
8
votes
4answers
9k views

Running applications from a terminal emulator [closed]

I have a rooted Nexus 7 Jelly Bean tablet and whenever I attempt to run an application from a terminal emulator app after chmod 777ing it and using the syntax ("./applicationName") it insists that I ...
7
votes
1answer
2k views

Terminal emulator's ssh trying to read /data/.ssh instead of $HOME/.ssh

When I try using Terminal emulator's ssh I get ssh: Warning: failed creating /data/.ssh: Permission denied. or since 2012-08-19: Could not create directory '/data/ssh_client'. But when I ...
6
votes
4answers
15k views

Can I restart Bluetooth from the terminal?

I have a rooted Galaxy S 2 (I9100) and was wondering if I can restart the Bluetooth on my phone via the terminal client on my phone.
6
votes
2answers
17k views

Starting an activity listed under “Settings” from terminal (or adb shell)

I would like to start this activity from terminal: com.android.settings.Settings$PowerUsageSummaryActivity I tried am start -S com.android.settings/.Settings$PowerUsageSummaryActivity and this is ...
5
votes
2answers
15k views

A Real Terminal (Root or No-Root)

I use KUBUNTU on my laptop, but this goes for any Linux distro. I can open a terminal window and type in things like sudo apt-get update, sudo apt-get install packagename. Is there a terminal that can ...
5
votes
3answers
14k views

How use Escape, directional keys on the virtual keyboard?

I recently bought Better Terminal Emulator Pro, and I like it, but how do I use the Escape key and directional keys? For instance, I'd like to switch between modes in vi or use the up and down arrows ...
5
votes
2answers
896 views

Rootless CLI Utilities

Do I have to root my android device to install command line utilities? I would really like to run Vim, among other programs on my phone. I have no reason not to root my phone, I just want to know if ...
4
votes
3answers
12k views

terminal on real android device from PC

I want to run terminal on my device however the small screen is very inconvenient. I wondering if it is possible to run terminal on real android device from PC?
4
votes
1answer
9k views

How to run commands as root in Connectbot?

My phone is rooted CM7 and Superuser.apk has Connectbot in the allowed list. Titanium backup reports that it has root access, to prove that I actually have root working. I seem to remember being ...
4
votes
1answer
7k views

Terminal or ADB command to force-stop applications

What is the terminal or adb command to force-stop an application? Like for freezing we use pm disable application_name.
4
votes
2answers
4k views

Equivalent of CTRL + C (break) in android console

Recently I discovered, that via QPython console I can execute android (linux) commands. Ping works. Question is: how to interrupt it's output on smartphone? CTRL + C obviously isn't the answer.
4
votes
1answer
7k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
4
votes
1answer
101 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: ...
4
votes
2answers
6k views

How do i open a text file from a terminal window from within the android gui

I'm trying to open a text file from within a terminal window emulator -- but not so it opens in the actual terminal but more like I've just clicked on it. So my question is: What command can I use to ...
4
votes
1answer
6k views

How to give root access to apps that don't request it?

I've been using the app SystemPanel for some time now to archive my Android apps. It works great, but it cannot archive apps that have been installed under /data/app-private, because this directory ...
4
votes
0answers
539 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 ...
3
votes
1answer
450 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.
3
votes
2answers
795 views

Associating a particular input method with a specific app

Is there a way to associate a particular input method with a specific app? For example, I'd like to always use the Hacker's Keyboard with the Terminal Emulator, while using SwiftKey for most other ...
3
votes
3answers
16k views

Booting into recovery from terminal

How can I boot into the recovery from terminal? I'm using LG p970/CM10/cwm5
3
votes
1answer
268 views

Color Scheme with Vim on Android?

I am trying to get a "solarized dark" colorscheme to work with Vim on android. Vim itself runs, and the plugin itself runs, but the colorscheme comes out wrong. I am using jackpal.androidterm app ...
3
votes
4answers
13k views

How to see other partitions using the Terminal Emulator and mount them?

I just installed Android on my netbook and it caused it to not see Linux Mint on my machine and I'm assuming it removed it from the GRUB. Now the first problem is how do I see the contents of my ...
3
votes
1answer
32 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 ...
3
votes
2answers
6k views

Compiling and running java applications from android terminal? [closed]

I recently got a bluetooth keyboard for my Motorola Xoom tablet, and upon realizing that BusyBox comes with vi for text editing I started wondering about writing and executing code on android. I ...
2
votes
1answer
2k views

How can I toggle mobile data from a terminal?

I have a rooted Sony Xperia 3 running CyanogenMod 10. Can I turn off mobile data from the terminal?
2
votes
1answer
70 views

Please explain this weird response to adb command

127|root@android:/ # find / -iname "aaengine" find: /proc/19619: No such file or directory I dont know why I got told about some file I never known about when ...
2
votes
2answers
654 views

If I put mkfs.ext3 file from another Linux system on my android ,will it work?

I want to know if I take the mkfs.ext3 file, or any other mkfs file, from another Linux system like Ubuntu, and put it with my mkfs.vfat and mkfs.ext2 located at /system/xbin, Would it work? And how ...
2
votes
2answers
1k views

How can I execute a script on the SD card and be able to pass arguments to it?

I tried executing a script on the sdcard as is because on FAT, everything is 777. ./.profile ./.profile: permission denied I added this as the initial command for the Android shell and it executes ...
2
votes
1answer
7k views

Permission denied when I run insmod in terminal emulator

I want to install a module (bcm4329.ko) in my nexus one phone. I have rooted the phone and installed Cyanogenmod too. In Terminal emulator, I tried various commands but everything resulted in ...
2
votes
3answers
4k views

Send files from Linux to Android via ssh

I want to send some specific files from my linux PC to my android device. I'd like to send it automatically using terminal commands, so there will be no drag and drop files. I don't know what is the ...
2
votes
1answer
202 views

Terminal-IDE: Is there a working wiki somewhere to discuss issues unique to this environment?

I'm trying to use the "Terminal-IDE" development environment. I think it's FANTASTIC from what I can see so far, but at the moment its promise is more than it delivers (to me at least) because I'm ...
2
votes
3answers
2k views

In search of a Terminal App that works with SSH to AWS (EC2)

I have the itch to try and see how far down this path I can get for my own work. I've got a Galaxy Tab 10.1 and a Bluetooth keyboard. I created an AWS EC2 Micro Instance and I can SSH into it from my ...
2
votes
1answer
946 views

Is there a way to launch app via terminal in the background?

Is there a command to launch an app via terminal and have it start in the background? Something like the "&" in Linux...
2
votes
1answer
1k views

DNSCrypt on Android

I'd like to install DNSCrypt on Android. I have installed it on Windows 8, Linux Mint, and Kali Linux. But I'm very new to Linux, thus dealing with Android as a Linux distro is way out of my league. ...
2
votes
1answer
9k views

cannot mount sdext for link2sd?

I have a huawei u8160 running Cyanogenmod 7.2. when I restart my phone I have to remount the sdext myself using terminal emulator. su mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2 but now it ...
2
votes
0answers
32 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
103 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 ...
2
votes
1answer
101 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
0answers
47 views

resolve zeroconf-style “hostname.local” names [duplicate]

Possible Duplicate: bash - How can I check if a computer exists on my network WITHOUT IP (i.e. by device name only)? I would like to know whether it is possible to not simply search for my ...
2
votes
2answers
4k views

type “adb shell su” in terminal (cmd in win or console in Linux ) let the terminal hang [closed]

I just want to input more shell commands after typing adb shell su, but the terminal just return an "#". It appears to be unresponsive to further commands. How can I solve this problem? Recompile ...
2
votes
1answer
4k 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 ...