Skip to main content

Questions tagged [shell]

The shell is a piece of software that provides a command-line interface to the operating system. Use this tag for shell-specific issues; general command-line issues should use the 'command-line' tag instead. See the full tag wiki for other related tags.

0 votes
1 answer
56 views

ADB SU root inputs location

Simply, where do I enter the commands for SU abilities and root access or settings? No, I'm not doing this for any reason and I don't need to throw an explanation at all. I'm just tooling around and ...
W K. Omni's user avatar
0 votes
0 answers
48 views

Operation not permitted when creating .nomedia file on /storage/emulated/0/Pictures

I don't have root access, Android 14: with terminal shell touch /storage/emulated/0/Pictures/.nomedia cannot touch '.nomedia': operation not permitted I can't create any files, but I can create ...
Pol Hallen's user avatar
1 vote
0 answers
40 views

How to access ADB shell on Samsung Galaxy S10 stuck in boot loop?

I have a Samsung Galaxy S10 that is rooted and the bootloader is unlocked. Recently, I disabled a series of system packages, and now my phone is stuck in a boot loop. I need to re-enable those ...
Just A Question's user avatar
1 vote
0 answers
125 views

How to enable component in Android Settings app using ADB shell

Here is what I am trying to achieve, I'm trying to derive an adb shell command that allows me to toggle these switches inside the settings app programmatically. I've used dumpsys to figure out these ...
Narquith's user avatar
1 vote
0 answers
26 views

Programatically query port # for Wireless ADB?

Every time Wireless Debugging is enabled, its listening port is randomized. Is there an way to programatically identify the current listening port for Wireless ADB connections, such as via a system ...
ETL's user avatar
  • 141
1 vote
1 answer
139 views

Running VLC from the shell in Android and also passing in a subtitles file?

I know how to launch a video in VLC from the shell under Android as follows: am start -n org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity -a android.intent.action.VIEW -d file:////...
HippoMan's user avatar
  • 735
0 votes
0 answers
72 views

How to disable or eject virtual sdcard by adb on emulator memu player 7

I'm trying to unmount the sdcard or virtually eject it, because not allowing me to run an APK that is presenting an issue. After a deep research even with app developers, they told me that disabling ...
backendcodez's user avatar
2 votes
1 answer
125 views

`adb shell mv` moves files but app doesn't work anymore, while it works if I move the same files via file manager

I try to move account-related files/directories of an app (for account changing purposes) via adb shell mv. Moving the files works great, but the app hangs while loading/login. If I move the files ...
Frinch87's user avatar
2 votes
1 answer
252 views

Why does Samsung not allow making more than 1 user?

I would like to add more users via pm on adb shell. Unfortunatly my S20 FE is set to only allow 1 user, 1 work profile and one secure folder user. I tried to add more with pm add-user gab1 but it said ...
CreaGab's user avatar
  • 21
0 votes
0 answers
73 views

Termux PostgreSQL initdb: wrong directory ownership

Recently, I installed PostgreSQL pkg on Termux. But when I wanted to use the initdb postgre command to initialize postgre directory, I had the wrong ownership: $ initdb postgres The files belonging to ...
C9_HP's user avatar
  • 31
2 votes
0 answers
16 views

Need to replug USB device after reboot of Samsung s5e

Im using a Samsung tabs5e rooted as the media center in my car. I've connected it as follows: TabS5e - USB Hub USB Hub - DAC/Amp (via USB) Dac/Amp - Car via aux Now, my issue is that when I initially ...
Philip Schmid's user avatar
1 vote
1 answer
150 views

How to auto switch on/off precise location automatically, programmatically for Google Maps?

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
0 votes
0 answers
57 views

adb fails with exit code 15

I run a console app (built with NDK) on an Android phone with the following command from my Windows machine: adb push MyApp /data/local/tmp adb shell "cd /data/local/tmp && chmod a+x ...
Alexey Starinsky's user avatar
0 votes
0 answers
59 views

Accept allow contact sync and messaging via command line

I would like to know if there is a way to "Allow Contact Sync" and "Allow access to Messages" on Android phone using command line. When the notification is received on my phone, it ...
lifelong_student's user avatar
1 vote
0 answers
359 views

Howto get ONLY uninstalled packages list with associated apk (if any)?

(rooted galaxy j5 7.1.1) As pm list packages -u shows ALL packages including uninstalled (at least on my system), what should be the right command to show ONLY uninstalled apps? Or is this an ...
martinist's user avatar

15 30 50 per page
1
2 3 4 5
28