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

-1
votes
2answers
106 views

Installing ps2pdf command-line program in Android

I just bought a Nexus 7 2013. It's very good and I'd like to use it to (in case of emergency) edit some of my latex documents using TexPortal. Some latex documents of mine get compiled properly only ...
3
votes
1answer
755 views

FFMpeg stream to FFServer from Back Camera

I'm looking for a way to stream my camera video from my Android phone to an FFServer, like I would with FFMpeg from the command line in Linux: ffmpeg -f video4linux2 -i /dev/video0 ...
2
votes
1answer
168 views

No pbcopy-pbpaste command

I am trying to access the clipboard but there is no pbcopy or pbpaste command. Is there an alternative to this command? how can i access the clipboard from the command line?
2
votes
1answer
604 views

How can I install wpa_cli on my rooted device?

I rooted my device, then I go to adb shell and type su to enter wpa_cli. I was surprised that wpa_cli: not found appeared, although I get information when I type wpa_supplicant. I know that wpa_cli ...
1
vote
1answer
190 views

How do I get the common name of an app having the package name (like com.android.blabla)? (command line or included app)

I’m interested in a way to go from the package name (e.g. com.android.providers.telephony) to it’s common name (Phone/Messaging Storage). The answer should only assume shell access (adb) on the phone ...
0
votes
1answer
56 views

Sending linux commands over serial

I have a question about being able to send Linux commands over a serial connection to an Android device. I have heard of putty and tried to use it, but i am ultimately lost with it. Like if I was in ...
0
votes
1answer
426 views

How do you capture video from the command-line on an Android device?

How do you capture video from the camera on command-line of a rooted Android mobile device?
4
votes
0answers
279 views

Is there a way to switch Android users from the command line?

Using the following command, I managed to enable multi-user mode in an Android device that doesn't officicially support it: adb shell setprop fw.max_users 4. For good measure I also added the ...
2
votes
0answers
278 views

How can I easily copy files from an Android device to a computer wirelessly via command line?

I need to copy jpegs from an Android phone's sdcard to a computer, ideally through command line (/storage/sdcard1/*.jpg to a remote location) I've tried Izzy's solution from this post like so: scp ...
1
vote
0answers
995 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
0answers
263 views

AVD Manager runs but android.bat does not

I can create virtual devices using AVD manager. I can run the emulator and create AVDs. But i cannot do the same using "android.bat". I get the following error- ERROR: No suitable Java found. In ...
0
votes
0answers
15 views

How can to specify a wireless interface to an AVD using command line?

I am searching for a terminal command on AVD (Android Virtual Device) which supports attaching to a wireless interface in an AVD. Is there a way to connect to wifi in AVD?
0
votes
0answers
16 views

How do the Android X11 App differ?

How do the Android X11 Apps differ? XServer XSDL appears pretty polished and mature. I suspect the X Server app has been around longer, ranks higher on google. Are there any glaring problems with ...
0
votes
0answers
88 views

Why Does Not My File Explorer See A Mounted Folder?

Why can't i see a mounted folder into my file explorer, but i can see it from a terminal? I'm mounting a folder (/mnt/sdcard/Source) into other folder (/mnt/sdcard/Destination) with the next command ...
0
votes
0answers
39 views

Restoring a previous sdcard path after ROM upgrade

Device: HTC Desire Z I moved from CM 10.1 to 11, and I would like to bring back the old path of sdcard. It was like this: 10.1: /storage/primary/legacy/ 11: /storage/sdcard Can I do that by doing ...
0
votes
0answers
48 views

Is there a (root) command line option to force the Verizon Galaxy S4 into 3G mode instead of 4G?

I have a rooted Galaxy S4 on Verizon, and I am wondering whether I can force it to go to 3G only mode using the command line. I have browsed the various forums and it seems that there used to be an ...
0
votes
0answers
93 views

Pull or backup only the contacts from Android

My phone is on a bootloope _ soft bricked. I have managed to detect it via adb on recovery mode. So now I want to know the exact command to pull contacts first from the phone to my pc. Is this ...
0
votes
0answers
90 views

Learning Android command line

I've been googling it a lot but couldn't find anything substantial. I'm not familiar with Linux. Could you guys point me in the right direction? I want to do just about everything from android command ...
0
votes
0answers
69 views

Can i get network operator name by command?

I want to use terminal to get network operator which my phone was selected. Can I do it? How?
0
votes
0answers
77 views

netcat listening on nexus 4 doesn't seem to respond

I have a Nexus 4 on my wifi network along with a laptop. I would like to establish a connection using netcat from my laptop to my phone. On my phone, I can run uname -a | nc <LAPTOP IP> ...
0
votes
0answers
374 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.