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

learn more… | top users | synonyms

1
vote
1answer
2k 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
4k 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 ...
3
votes
3answers
13k views

Booting into recovery from terminal

How can I boot into the recovery from terminal? I'm using LG p970/CM10/cwm5
1
vote
2answers
1k 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 ...
0
votes
1answer
5k 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 ...
1
vote
0answers
248 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 ...
4
votes
1answer
6k 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.
3
votes
2answers
12k 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 ...
1
vote
0answers
900 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 ...
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 ...
1
vote
1answer
736 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
184 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
225 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
1answer
812 views

Copy Directory to SMB Share Through Terminal

On Rooted Android 4.1, I have it set up to be able to make NAndroid backups through terminal emulator. What I hope to do is schedule a Tasker job to create a NAndroid backup and then copy/move it ...
0
votes
0answers
273 views

ssh over wifi vs broadband weirdness

I have a really weird issue with connecting to an outside host from my android device (2.3.6) using ssh. I have no problem with connectbot actually, but when working on a terminal the weirdness kicks ...
1
vote
0answers
82 views

cat /proc/devices on Galaxy Note shows a device named roccat

Whats that supposed to be? cat /proc/devices on Galaxy Note N7000 JellyBeer 4 build from 15.March (CM10.1 based with per app dpi features, more similar to cm than to paranoidandroid) Char devices: ...
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 ...
1
vote
0answers
644 views

Better Terminal Emulator Pro and dns/nslookup resolution

I just recently purchased "Better Terminal Emulator Pro" on the Google Play Store. It works well for everything so far, except when I try to do something like ping google.com or use a hostname for ...
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 ...
0
votes
0answers
3k views

Toogle 3G, Bluetooth, and WiFi with Android Linux or ADB commands

Since I have not found an Android command reference list (with meaning and usage of the command), I have some questions: Can I disable/enable 3G? Can I disable/enable bluetooth? Can I switch from ...
2
votes
1answer
3k 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 ...
0
votes
0answers
643 views

Hibernate from command line

Is there a command I can enter in a terminal emulator to put my phone or tablet into a low power, instant on state? My tablet lacks that option from the press-and-hold-power menu.
0
votes
1answer
2k views

Which application keeps port opened on android? [duplicate]

Possible Duplicate: List of open ports on Android On my nexus 7 rooted device some programs keep two ports opened (8080 and 8082). How can I determine what are those applications? Netstat ...
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
809 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...
7
votes
2answers
4k 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..
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 ...
2
votes
2answers
594 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 ...
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 ...
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 ...
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 ...
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 ...
8
votes
4answers
8k 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 ...
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 ...
4
votes
1answer
20k 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
4answers
12k 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 ...
6
votes
3answers
12k 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
7k 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 ...
1
vote
2answers
475 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 ...
2
votes
1answer
6k 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 ...
9
votes
1answer
6k 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" ...
6
votes
1answer
2k 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 ...
1
vote
1answer
4k 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 ...
0
votes
1answer
481 views

Can't enter < (less than) or > (greater than) in terminal

When I try to type "<" or ">", I get semicolons ";" and colons ":" any idea?
5
votes
2answers
843 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 ...
10
votes
5answers
15k 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 ...
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 ...
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 ...
16
votes
9answers
112k 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?
4
votes
3answers
12k 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 ...