A "command line" is a text interface to enter commands interactively. In our context, it usually means a "Unix Shell" in a terminal app, or the ADB shell on a computer to interact with an Android device.

learn more… | top users | synonyms

0
votes
1answer
374 views

Command or script to read a binary file and skip some bytes every X bytes

I am trying to find an Android shell command that is able to read a file but that has the power to skip, for example 512 bytes every 1024 bytes. Does such a command exist and is available for ...
7
votes
2answers
3k views

Can I change some Android settings from the command line?

I would like to activate "USB tethering" from within a bash script, so is there any possibility to run a command line with adb shell to change some Android settings ? Edit1: The following command ...
0
votes
1answer
173 views

execute linux commands on android froyo [duplicate]

Possible Duplicate: How can I use shell commands and interact with the Linux system underneath? I want execute linux commands on my android (Froyo). How can i do it? any idea? Should I ...
7
votes
1answer
2k views

How can I remotely change the volume?

At home I often connect my android to some speakers, to listen to internet-radio. It would like to be able to change the sound-level through a command on my laptop. I can open an ssh shell to the ...
3
votes
3answers
13k views

How do I invoke “su” from a terminal prompt?

I can get a root prompt in the terminal by running one exploits documented elsewhere. (e.g. here: http://wiki.cyanogenmod.com/wiki/Motorola_Droid_2_Global:_Full_Update_Guide) At this point, I can ...
5
votes
1answer
3k views

Turn phone on with ADB or Fastboot?

My power button seems to have busted, is there a way I can boot my phone using ADB or Fastboot or some other command line interface?
7
votes
1answer
7k views

Enter recovery mode from command line

Does anyone know if there's a way to get an Android phone to reboot into recovery mode, from the Android command line? Note: I do NOT have adb access. I do NOT know the magic power-on sequence to ...
3
votes
1answer
2k views

How to take backup of all installed APKs from Phone to PC?

How do I take backup of all installed apks from my sgs2 to PC using android sdk/ 3rd party tool etc? My phone is not rooted. I can install/uninstall apks using adb, but is there any similar command ...
2
votes
1answer
3k views

Minicom app for Android?

Is there a comm app similar to minicom, hyperterminal or zterm for Android? I would prefer a port of minicom, if it exits. BTW, I'm running Android ICS on a Galaxy Nexus.
7
votes
2answers
2k views

On Android can I write scripts (similar to Win .bat files) to combine several command line commands?

On Windows, I can run two commands using a .bat file. How can I achieve the same thing on Android For example: update my podcasts by calling pcastclient /updateALL force sync of my pictures ...
8
votes
1answer
3k 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" ...
4
votes
1answer
17k views

How to install kernel module for android?

I currently have a custom kernel and ROM installed on my android device. The kernel I'm using comes with a separate download with kernel modules that you are to install yourself if you want. However ...
9
votes
5answers
4k views

Can you run Linux command line apps on Android?

I'm brand new to Android; in fact I've never owned one. But I'm traveling all this summer, and I'm very interested in doing some programming while I'm on the run. QUESTION: Is it possible to run a ...
10
votes
3answers
8k views

Android Read recent SMS messages from command line

I have recently broken my Android's screen. (Again) Its a T-Mobile G2 Trying to keep up with my busy technology related life is hard enough without losing my link with everyone. I have rooted the ...
5
votes
2answers
623 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 ...
1
vote
1answer
567 views

HTC Desire - phone's dead

I was trying my application on HTC Desire when I realized there was a problem with the app so I force stop it. Next thing is the screen freezed - HTC white welcome screen. I tried rebooting several ...
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 ...
4
votes
2answers
2k views

How to call from console?

How to make or receive a call from console? Expecting something like this, UNIX-style: make_call +3750291234567 < played_data.wav > recorded_data.wav wait_for_call < played_data.wav > ...
5
votes
2answers
2k views

Read APK permission by shell command

I want to read the requested permissions of an .apk file on the computer (android sdk is installed) via command line. I.E.: $ android read-permissions /path/to/someapp.apk I know this is possible, ...
15
votes
12answers
18k views

Are there any command line SSH clients available for rooted Android phones?

I of course have ConnectBot, but I'm looking for something I can script. Edit: To clarify here, I'm not interested in running scripts from a terminal. What I want to do is run an SSH command in an ...