Skip to main content

Questions tagged [command-line]

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.

5 votes
2 answers
537 views

What are the ADB command(s) to shut down Android as gracefully as possible, without root access? Please assume I'm using whatever Android version is current at the time you read this. Thanks & ...
unforgettableidSupportsMonica's user avatar
1 vote
0 answers
382 views

Basically... I am writing a script on Termux and I need to take and store a photography. I tried to start "android.media.action.IMAGE_CAPTURE" via am supplying it with the uri of both a non ...
Lucastegano X's user avatar
2 votes
1 answer
431 views

I'm trying to launch an intent to a shortcut of a flow on Automate (by Llamalabs) using the am command supplied by Termux, but the am command needs the Activity Class parameter to run the shortcut and ...
LilData777's user avatar
-2 votes
1 answer
2k views

I have connected and verified ADB on my phone: adb start-server adb devices And then I wanted to go to DCIM folder in my storage to see, if there are any pictures to fetch. However this has failed: ...
trejder's user avatar
  • 2,663
0 votes
0 answers
200 views

What does the forget subcommand of the sm command do? For reference, here's the help output for sm: usage: sm list-disks [adoptable] sm list-volumes [public|private|emulated|stub|all] sm ...
JanKanis's user avatar
  • 221
1 vote
0 answers
128 views

We are writing some scripts to be run from the command line in Android, and JSON parsing is necessary. In Linux and other non-Android OS's, there's the jq utility, and we're trying to find something ...
HippoMan's user avatar
  • 975
2 votes
1 answer
2k views

I'm running Android 13 in a rooted environment, and I want to use pm or some other Android command-line utility to clear an app's cache. If I do pm clear package.name, it clears the app's data, and ...
HippoMan's user avatar
  • 975
1 vote
1 answer
316 views

Is there an am command line or similar that permits do turn off/on Google Maps precise location? Ideally, could be a wrapper script in shell to enable precise mode, then when quitting maps, setting ...
Gilles Quénot's user avatar
1 vote
0 answers
258 views

I have a Xiaomi POCO X5 5G, running MIUI Global 14.0.4. There is a problem where (in the Global ROM) the Google Phone app (as a system app) seems to be killed, even with MIUI Battery Optimization ...
Jacob Birkett's user avatar
0 votes
0 answers
487 views

I am trying to find out what the memory type of my Android phone is, i.e. if the device is LP4 or LP5 type. On Windows PC, there is wmic command to get this system information. However, I can't find ...
user1856470's user avatar
0 votes
0 answers
114 views

I am running avdmanager create avd from my python script that I start with sudo -E to make my script be able to do priveldged stuff. But for some reason avdmanager created AVD inside /root/.android/...
Euler-Maskerony's user avatar
1 vote
0 answers
220 views

Need to automate downloading of all available Android SDK Platforms using the sdkmanager from terminal. For example, an Android SDK Platform 19 can be installed using sdkmanager "platforms;...
Fr0stM0urne's user avatar
0 votes
0 answers
70 views

I need commands for Android 4-6. How to know via Android terminal and command which apps loading on the system's start? While I tried 2nd command from here.
Paul K.'s user avatar
  • 11
0 votes
0 answers
32 views

I connected Android device to desktop with Windows using USB. I need to get titles of installed apps. What command for Windows command line to complete the task? I used ADB for other tasks, but while ...
Paul K.'s user avatar
  • 11
2 votes
0 answers
648 views

I am using a Windows system and I want to add my old tablet (Acer Iconia A1-810 without LTE) as a second monitor. It is running Android 4.4.2 Kitkat, and I found an app for Android called spacedesk to ...
Pressy 03's user avatar

15 30 50 per page
1
2 3 4 5
16