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

learn more… | top users | synonyms

11
votes
1answer
3k 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 ...
9
votes
8answers
78k 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?
9
votes
2answers
3k 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 ...
8
votes
7answers
5k 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
5answers
10k 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 ...
8
votes
1answer
4k 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" ...
8
votes
4answers
5k views

Running applications from a terminal emulator

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
5answers
8k 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 ...
6
votes
2answers
1k 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..
6
votes
1answer
1k views

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

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
13k views

How can I execute command in the terminal as root?

How can I get root permissions in a terminal?
5
votes
2answers
653 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 ...
5
votes
3answers
6k 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.
4
votes
3answers
7k 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 ...
4
votes
1answer
11k views

Command to list partition mount points?

I want to list the partitions on my phone - system, boot, recovery etc. What terminal command would I use? The mount command just lists mount points.
3
votes
2answers
4k 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 ...
3
votes
1answer
4k 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 ...
3
votes
2answers
112 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
2answers
4k views

Booting into recovery from terminal

How can I boot into the recovery from terminal? I'm using LG p970/CM10/cwm5
3
votes
4answers
8k 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 ...
2
votes
2answers
421 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?
2
votes
2answers
439 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
684 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
4k 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
1answer
359 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
3answers
1k 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
3k 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
1answer
3k 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 ...
2
votes
1answer
28 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
2k 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 ...
2
votes
0answers
45 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
3k 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 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
236 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 ...
1
vote
3answers
7k views

How to set MAC address on (HTC Desire) Android terminal emulator?

I typed into the terminal this: ip link set eth0 address XX:XX:XX:XX:XX:XX the XX for my numbers and so on. But it says permission denied. Source: ...
1
vote
1answer
34 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 ...
1
vote
1answer
95 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?
1
vote
1answer
2k 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.
1
vote
1answer
3k views

Terminal “Permission Denied” - Need more info on error message

I am trying to run an executable from the android terminal with root permissions, but I am constantly receiving the following error: [ExecutableName] : permission denied I am confirmed to be loged ...
1
vote
3answers
118 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 ...
1
vote
2answers
531 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 ...
1
vote
1answer
901 views

Running am commands in terminal without using su

Android: JB 4.2.2 I am trying to launch Android apps from the terminal emulator using the am command. When I tried the phone's terminal emulator application, it gave me an error:- ...
1
vote
1answer
2k 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 ...
1
vote
1answer
424 views

Terminal-IDE / wifi routing issues

As cited here, I think there are likely issues unique to Terminal-IDE users because Terminal-IDE is, effectively, an "accessable-linux-on-your-non-rooted-Android" environment. And, therefore, it ...
1
vote
1answer
2k views

How to find out the UID of a given file/folder?

I have an issue with inconsistent UIDs. I would like to know how to manually find out the ID of a folder (specifically the /data partition). I think that it should be the same concept of an usual ...
1
vote
2answers
375 views

Is there an Android equivalent of diskutil?

I'm a Mac and Android user. I've used simple commands in the Terminal from time to time. But now I'm trying to understand the Terminal Emulator included in the Rom Toolbox app for my Android. What ...
1
vote
0answers
43 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
150 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
790 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
1k 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 ...