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

learn more… | top users | synonyms

23
votes
11answers
149k 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
22k 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 ...
13
votes
1answer
6k 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 like:...
11
votes
2answers
10k 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
12k 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 ...
11
votes
1answer
8k 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" ...
11
votes
5answers
20k 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
7k 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
14k 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
37k views

How can I execute command in the terminal as root?

How can I get root permissions in a terminal?
8
votes
4answers
10k 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
4answers
18k 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.
7
votes
2answers
22k 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 ...
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 ...
5
votes
3answers
17k 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
22k 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
2answers
924 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
16k 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
3answers
730 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. ...
4
votes
1answer
10k 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
8k 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
7k 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
2answers
11k views

Running own executable on Android shell

I need a specific command line tool and I have made a C program in my linux shell. I have compiled the program with an arm cross compiler. I have then moved the program into the android filesystem ...
4
votes
1answer
12k 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
7k 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
1answer
625 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-...
4
votes
2answers
8k 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
2answers
10k 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 ...
4
votes
0answers
773 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
3answers
19k views

Booting into recovery from terminal [duplicate]

How can I boot into the recovery from terminal? I'm using LG p970/CM10/cwm5
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.
3
votes
2answers
994 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
2k views

How to install bundles of additional terminal commands for rooted devices?

I rooted a HTC Wildfire S device recently and flashed an Android 4.1.2 AOKP Jelly Bean Custom ROM. One benefit is that I can use the terminal now. I'm a little used to using terminal emulators on ...
3
votes
1answer
329 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 ...
3
votes
1answer
430 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
0answers
260 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 ...
3
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
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
76 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
1answer
7k views

Android shell script permissions? [duplicate]

I have a rooted phone, and I was playing around with Terminal Emulator. I tried writing a simple shell script (test.sh) : #!/bin/sh echo "Hello, World!" Then I opened terminal emulator, cd'd to ...
2
votes
2answers
717 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
6k 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
217 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
3k 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
1k 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. I'...