Questions tagged [terminal]

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

As Android is based on a Linux kernel, using a terminal allows the user to execute Linux shell commands. Though the command set is restricted (compared with a full fledged Linux desktop installation), it follows the same rules, and commands are mostly compatible to their "pure Linux" equivalents. This also means you can consult Linux man pages concerning their syntax (consult the linked Wikipedia article for further details not only on man pages, but also for a list of Unix utilities, to get an idea what you can do using a terminal app).

254 questions
25
votes
2 answers

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 file system and tried to run it. The output is permission…
Nuno Santos
  • 351
  • 1
  • 3
  • 4
18
votes
3 answers

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?
Jacob
  • 583
  • 2
  • 5
  • 9
6
votes
1 answer

Package manager for android terminal

Just wanted to ask whether there was a package manager which could be installed on android terminal like homebrew cask, macports (macOS). PS Just wanted to install small application like wget and curl.
4
votes
1 answer

Where can I get more information on the sm tool (command) used in the Terminal

I have seen the sm tool used a few places for example here. The way I understand it, it is a storage management tool but I haven't been successful in finding any more info about it. Where can I find more information on this tool?
Sruly
  • 988
  • 2
  • 13
  • 28
3
votes
1 answer

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 Emulator, etc) Preferably without having to be…
Kidburla
  • 478
  • 1
  • 4
  • 18
2
votes
1 answer

How to automate command line when specific application is launched?

So basically I want to run a few line of code each time a specific application is launched and closed. Is there application which could do that ? (Busybox ?) I actually have to print it my self in a terminal emulator and it's a bit harsh :/
Baldráni
  • 125
  • 7
2
votes
1 answer

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 (usually the first one you see if you search…
Raven King
  • 23
  • 5
1
vote
0 answers

How to check sim lock via Terminal Emulator

I wonder, is it possible to check sim lock status in Terminal Emulator? Is there any universal command for most of Android phones? I know many different ways to check this issue, but I'm just curious. Thanks
stiw47
  • 21
  • 4
1
vote
4 answers

Closing/killing "Android Terminal Emulator" app

I have a Sprint LG G3 running Android 4.4.2. I'm using Android Terminal Emulator by Jackpal. It respawns after I close the app. I see the terminal process and the child shell but killing that way seems too manual. When I closed the only window from…
tbc0
  • 111
  • 1
  • 5
1
vote
1 answer

Installing APK via Terminal Emulator

I have installed Android 4.4 through VirtualBox on my PC. I want to know how to install an APK (e.g. FIFA 14) in it via a command in terminal. How to do that?
1
vote
2 answers

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:- java.lang.SecurityException: Permission Denial: startActivity asks to…
1
vote
0 answers

Android Terminal does not work immediately after reboot

jackpal.androidterm does not work immediately after starting the phone. Instead, it first just shows a blank screen. Then I need to wait around 20 to 60 seconds. Then, the terminal's prompt is enabled.
neverMind9
  • 778
  • 1
  • 11
  • 27
1
vote
2 answers

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 I'm really trying to accomplish right now is finding…
James Litewski
  • 461
  • 3
  • 8
  • 16
1
vote
1 answer

Android Terminal error (file 64-Bit ELF)

So, I need to have the program 'objdump' on my phone thought I can just copy it from my Linux box to my phone and everything will be fine. But after I copied it with adb in the terminal it says sh: /system/bin/objdump: not executable: 64-bit ELF…
MarinB
  • 21
  • 1
  • 5
1
vote
0 answers

Change shown username and hostname in terminal emulator

I am usong Sony Xperia Z3 6603 with latest available android. When using the Terminal Emulator, by default, the shown username@device is some random jibberish@D6603. Copy below: u0_a218@6603 I have fiddled around with the hostnames, since one was…
ku4eto
  • 11
  • 3
1
2