-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Frequently Asked Questions
Yes. The name was changed due to Google Play branding guidelines. Unfortunately Google Play does not allow applications that start with the word "Android".
A terminal emulator is a program that makes your Android phone act like an old fashioned computer terminal. It is useful for accessing the Linux command line shell that is built into every Android phone. This lets you run various Linux command line utilities.
If you don't know what all that means, and why it's cool, then this probably isn't the program for you. (Sorry!)
I've written a brief, incomplete, guide to using the built-in Android shell: Android Shell Command Reference
Sorry, this is a terminal emulator, not a game emulator. It has nothing to do with games.
Sorry, no. Terminal Emulator for Android does not help you root or hack your phone.
I don't know how to do that. I use "developer" edition Android phones that don't need to be rooted, and I don't have any interest in hacking phones. Maybe ask on an enthusiast web site like http://forum.xda-developers.com/
Yes! You can access the entire /sdcard file system, and you can install and run Linux command-line applications in the parts of the /data file system that are accessible to the Terminal Emulator for Android process.
You can also run command-line programs that access the Internet.
This message is being printed out by the Android shell. It means one of two things:
-
It might simply mean that you have misspelled the command name, or are trying to use a command that is not installed on you device. The Android shell will print "permission denied" when it just can't find the command, instead of a more accurate error message like "command not found".
-
It could mean that the command exists, but you don't have permission to run it. By default Terminal Emulator for Android runs using the permissions of the Terminal Emulator for Android application. You may need to become "root" in order to gain permissions to run some commands. You can use the "su" command to do this. Of course, most consumer Android devices don't have root access enabled by default, so you may not be able to use the "su" command on your device.
By itself, Terminal Emulator for Android doesn't access the Internet or Photos/Media/Files. However, many users of Terminal Emulator for Android want to run command line programs that do these things.
The way Linux (and therefore Android) works, a child process inherits the permissions of the parent. Terminal Emulator for Android requests the Internet and Photos/Media/Files write permissions so that the command-line programs that it runs can have access to the Internet and Photos/Media/Files stored on the device and any attached SD Cards.
So, for example without the Internet permission a command like
ping
would not work.
Similarly, without the Photos/Media/Files permission a command like
mkdir /sdcard/myNewDirectory
would not work.
If giving these permissions to the terminal emulator makes you uncomfortable, you could download the source code to Terminal Emulator for Android and compile your own version. (Edit the AndroidManifest.xml file to remove the INTERNET and WRITE_EXTERNAL_STORAGE permissions.)
They do work, sort of. They send the proper escape sequences for VT-100 terminal arrow keys. It is up to the "shell" to interpret these escape sequences.
Pre-Gingerbread (pre 2.3) versions of the default Android shell do not handle these escape sequences. Gingerbread (Android 2.3) and later versions of Android work correctly. But that doesn't help people with older versions of Android.
If you have a Froyo (2.2) or earlier version of Android, you can fix this problem by installing an alternate shell, such as the one in Busybox. The Busybox "ash" shell recognizes the arrow escape sequences sent by the terminal emulator.
Even on newer versions of Android people sometimes run into this problem when they switch between shells. (as when using the "su" command, which starts a new shell process for the root account.) You may need to take extra steps, such as manually setting the "TERM" environment variable in your new shell environment.
It sends the "ESC" character by default. Use the Preferences panel to change this behavior:
Menu Key -> "More"-> "Preferences" -> Back button behavior
Several people have reported this bug. Unfortunately, I can't reproduce it using Swype 3.25 Beta on Android 2.3.6. Maybe it's fixed in the latest version of Swype. Please try installing Swype 3.25 or later and see if that fixes the problem.
I have reproduced this with SlideIt version 4.0.1 on Android 2.3.6. There is a work-around, which is to tap on the "ABC" button on the upper-right-hand-corner of the SlideIt soft keyboard. This switches SlideIt into letter-at-a-time mode.
Many people report good results using the free Hacker's Keyboard IME. Also available from Hacker's Keyboard Download on github
That's a good question! I guess I really ought to. Maybe one of these days I'll get around to it. In the meantime, see Installing BusyBox and ssh without Rooting your Device
Similar to the "Arrow Keys" question above, tab completion is the job of the shell, not the terminal emulator. The built-in Android shell prior to the Ice Cream Sandwich release does not provide tab completion. You can turn on tab completion by installing an alternate shell, such as the one that comes with Busybox.
Busybox is a collection of Linux utility programs that is designed to be run on small Linux devices, such as your Android phone.
Do a web search for "Android Busybox" and read through the results.
No! If you have Android 2.3 or newer, see Installing BusyBox and ssh without Rooting your Device
Sure, go for it. Tips for Including Terminal Emulator for Android in a custom ROM
The Nook does not have a physical menu key. If you want Terminal Emulator for Android to work with a Nook, you will have to install a version of Android that supports soft menu keys. Android 3.0 (Honeycomb) provides support for soft menu keys.
See the instructions here: Translating to Other Languages
Please read the Terminal Emulator for Android Privacy Policy.
In order to better protect ordinary users from malware, the Android OS enhanced its security model in the 4.3 and 4.4 releases.
One of the security enhancements made in Android 4.3 was to remove the ability to run setuid/setgid programs. Setuid and setgid are Linux features that enable programs to run with elevated permissions. The ping command is an example of a setuid program. Ping needs the elevated permissions in order to send and receive the special network packets used in the ping network protocol. When the ping command is run by Terminal Emulator for Android under Android 4.3 or later, the setuid/setgid feature is disabled. The ping command fails because ordinary Android applications do not have permission to send or receive the network packets used in the ping network protocol.
For similar reasons, some techniques for getting 'su' root access no longer work correctly on Android 4.3 and 4.4.
I don't follow the rooting scene, so I don't have any advice for how to work around these new security enhancements in Android 4.3 and 4.4. I guess it might be possible to create a custom ROM with a non-standard security policy, that for example allowed setuid/setgid to work again. But I don't know if anyone's doing that. If you're interested I guess you need to read up on the Android ROM hacking scene. (Which I also don't follow, so I can't suggest which ROMs are good or not. A few years ago xda-forum and CyanogenMOD were popular, but I don't know if that's still the case today. Good luck!)
This error means that there is a custom permission conflict between "Terminal Emulator for Android" and some other application that is installed on your device. Terminal Emulator for Android declares three custom permissions, and starting with Android 5.0 Lollipop, only one application at a time can be installed for any given custom permission.
The three custom permissions are:
jackpal.androidterm.permission.RUN_SCRIPT
jackpal.androidterm.permission.APPEND_TO_PATH
jackpal.androidterm.permission.PREPEND_TO_PATH
One relatively straightforward way to figure out which applications conflict with Terminal Emulator for Android is to:
-
Uninstall all the apps you suspect might be using these permissions.
-
Install Terminal Emulator for Android.
-
Try to reinstall the suspected apps.
-
The conflicting app should fail to reinstall.
For what it is worth, some people have reported that the following application conflicts with Terminal Emulator for Android:
- jrummy ROM Toolbox Pro
So if you happen to have that app installed it might be the problem.
Shellshock is a security bug in some versions of the bash shell. You can test whether your version of the bash shell is vulnerable by running this line in the terminal
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
If you see output like this then your version of bash is vulnerable:
vulnerable
this is a test
Stock Android does not include the bash shell, so most Android devices do not have this bug. Some custom ROMs like CyanogenMOD 10 and 11 are reported to come with vulnerable versions of bash.
In addition, you could have manually installed your own version of bash, by for example installing a Debian chroot.
If you discover that your Android device has a vulnerable version of bash, you will need to figure out where the vulnerable version of bash comes from (either the ROM or something you installed) and then contact the vendor and ask them for a fix.
Unfortunately there's nothing Terminal Emulator for Android can do to help (or hinder) this. It just runs whatever version of bash you have installed on your device.