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

learn more… | top users | synonyms

11
votes
2answers
7k 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 ...
16
votes
9answers
109k 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?
8
votes
7answers
9k 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?
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 ...
1
vote
3answers
213 views

Home screen icon for terminal program?

I'm using terminal-ide http://code.google.com/p/terminal-ide/ which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to ...
0
votes
2answers
13k views

How can I format a flash drive using terminal emulator?

I have a Huawei u8160 running Cyanogenmod 7.2. I've recently installed the usb host package and some time then I successfully activated the usb host mode. after that I needed to format a flash drive ...
11
votes
5answers
17k 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 ...
10
votes
5answers
14k 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
3answers
11k 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
1answer
19k 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.
2
votes
0answers
282 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 ...
7
votes
3answers
24k views

How can I execute command in the terminal as root?

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

Allow “unknown sources” from Terminal without going to Settings App?

I have a corrupted Settings app in CyanogenMod and have a possible idea to restore a backup of it (App and Data) in Titanium Backup. But it's currently set to not allow "unknown sources" so Titanium ...
1
vote
1answer
177 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 ...
1
vote
3answers
9k 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: ...
0
votes
1answer
72 views

is there a way to run *.sh file by just touching it in a file manager?

I mean like it is when user opens an image file a pane opens where user can select app for given type. But when I'm clicking on *.sh file the first option that shows up is to open as ...
0
votes
2answers
184 views

How do I turn off USB tethering or restart USB connection via computer/PC's terminal?

How do I turn off USB tethering or restart USB connection via computer/PC's terminal?
4
votes
3answers
11k 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 ...
3
votes
1answer
95 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
2answers
11k 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
2answers
4k 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 ...
2
votes
1answer
744 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
7k 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
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 ...
1
vote
1answer
5k 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 ...
0
votes
1answer
33 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 ...