Skip to main content

Questions tagged [adb]

For issues specific to the Android Debug Bridge (adb), a command-line tool to interact with Android devices and emulator instances. See the full tag wiki for details and hints.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How to tell an Android device that only has ADB connectivity about an NTP server?

In a comment on this question Robert asked: Have you tried to provide an NTP server in your local network and announce it via DHCP? How can I do that, please? I have several development devices ...
John Dallman's user avatar
  • 1,387
1 vote
0 answers
28 views

A way to set time on Android phone with unaccessible settings through ADB or another way?

I'm trying to set the time on an Android phone with inaccessible date & time settings, and the automatic date and time is on along with the GPS. I've read most of the threads here and on other ...
Alpha Ray's user avatar
1 vote
0 answers
9 views

How to successfully erase cache during the flashing process of a stock Android ROM?

Following Google's guide for flashing/restoring the stock Android ROM, and initially using the default flash-all.sh shell script to flash the stock Android ROM to my device, I noticed that I am not ...
jimjamz's user avatar
  • 11
1 vote
0 answers
20 views

Android Phone Won't Turn On

I just recently had an issue with my phone. It's a Samsung Galaxy A51 (not the 5G, SM-A515U) from Xfinity Mobile (Android 13). Unfortunately, the screen is cracked. It still was functioning properly ...
Chris's user avatar
  • 11
3 votes
2 answers
58 views

How to exit the adb sideload?

I accidentally chose to apply a package with adb sideload. How to exit the adb sideload? I have tried pressing the power button and volume up. But it's not working in my tablet.
Tarin's user avatar
  • 31
1 vote
1 answer
53 views

Is it possible to share the internet to the device from host using adb reverse?

I have isolated the device from the internet (switched off the wifi and turned off the mobile internet) connected the device to the host machine through usb cable. And did the adb reverse tcp:8080 tcp:...
brave warrior's user avatar
0 votes
0 answers
26 views

Infinix S4 refusing to hard reset

My Infinix S4 is refusing to boot/on completely whenever I try to turn it on. It just shows Infinix and then turns off and then shows Infinix again and then turns off. It keeps doing that way till the ...
David Alli's user avatar
1 vote
0 answers
31 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
25 views

How to log GPU usage using GPUWatch?

I want to log GPU usage on my app. I see there is GPUWatch option to monitor an app's GPU usage. It shows graphs but how to log this data? I need to save it. Alternatively if there is any other ways ...
Mary H's user avatar
  • 11
0 votes
0 answers
32 views

Is it possible to get the historical timestamps of when I have unlocked or locked my phone using USB debugging?

Is it possible to get the historical timestamps of when I have unlocked or locked my phone using USB debugging? Apparently, this data is tracked in Digital Wellbeing, but it is not necessarily easy to ...
Ted Taylor of Life's user avatar
2 votes
1 answer
53 views

Cannot backup Pixel 6a

I forgot my passcode the other day (Pixel 6a, Android 14) and I was planning to backup my phone, reset my phone, then put all the data back into the phone. I was planning to use ADB, but then I ...
GalaxyS2's user avatar
1 vote
0 answers
49 views

who is this mysterious device owner? how do I disable it?

I can't set a device owner on the xiomi duoqin f22. (you can call it "device owner" or "profile owner" etc.) i tried all methods previously given like ejecting sim card, hard reset,...
TripleU's user avatar
0 votes
0 answers
36 views

Getting the private IP of the phone on my hotspot when it's connected to data

I want to use scrcpy remotely if I'm on mobile data, so I decided to turn on my mobile hotspot, connect to WiFi, and connect my laptop to it. Of course, that works. But if I disconnect from WiFi and ...
WhatTheClown's user avatar
1 vote
0 answers
88 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
0 votes
0 answers
99 views

"How to activate the system app 'Setup Wizard' 'com.google.android.setupwizard' on Android via ADB without root?" 'Error: java.lang.SecurityException'

The command adb shell pm enable com.google.android.setupwizard returns an error: Error: java.lang.SecurityException: Shell cannot change component state for com.google.android.setupwizard/null to 1. ...
Romulo's user avatar
  • 11
0 votes
0 answers
88 views

How to reinstall all Google Play Store dependencies, specifically Google Account Manager to make the Play Store work again?

I'm using GNU/Linux and the adb command connected on a Samsung phone (specifically the SM-N9600 model, on Android version 10) without root, and also termux to find paths easily on the phone. I ...
Moxi's user avatar
  • 1
0 votes
1 answer
70 views

Bricked my phone after messing with Knox permissions

I have a Samsung S20FE with Android 11 and rooted with Magisk. I have installed 'autostarts' from F-droid wanting to disable the Spotify app which pops up at each boot. When browsing through the app ...
calandoa's user avatar
  • 141
0 votes
0 answers
34 views

How can I install a new OS on a boot looping tablet?

I have an older tablet that I used to use to read. I left it in my drawer for a few years and now I want to do something with it again. When I turned it on it was stuck in a boot loop. I decided to ...
Adriaan De Lange's user avatar
2 votes
0 answers
55 views

Reset settings when the screen is broken

My device runs on my own android build based on LineageOS 19.1 Not so long ago, I accidentally turned on an experimental feature for my phone and the entire screen went blank. When turned on, the ...
Kra1v's user avatar
  • 21
2 votes
1 answer
64 views

Unable to connect via adb on a firewalled Android device

Connecting from Linux, using an older adb (downloaded at tried 1.0.41 just to troubleshoot this - no difference, except that the messages now do include "Connection refused"), and the ...
confused's user avatar
0 votes
1 answer
31 views

Getting app data off a huawei u8815/ascend g300 and wileyfox swift

I'm looking to get a copy of my personal data from some old phones and thought you may be able to help. Just some necessary info before starting. I have already tried to do this by turning the huawei ...
kurticalmoment's user avatar
0 votes
0 answers
334 views

Why can't I uninstall/disable all bloatware through ADB without root?

I recently tried to disable bloatware in my cheap Vivo and Oppo smartphones. These apps named Themes, Game Center, etc. keep giving me notifications that can't be disabled through the UI. The ...
dictum's user avatar
  • 11
1 vote
0 answers
23 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
0 votes
0 answers
25 views

How to download all audios from the com.android.deskclock application in android using adb?

The issue is that I couldn't find the audio files for this application. Is there any way to do this, for example, using ADB, which I can run from the notebook menu.
Taffarel Xavier's user avatar
0 votes
0 answers
88 views

Does anyone else have a mysterious UID appear in their ADB? (-253)

I input the command adb shell dumpsys netstats detail and found "-253". The "-253" doesn't have any package name, and this is the only mention of "-253" I could find in ...
Maddox 's user avatar
0 votes
1 answer
99 views

ADB stopped working after installing Windows 11 23H2

I've been using ADB from the command prompt on this Microsoft Surface Book 3 laptop with success for about a year. It upgraded to Windows 11 23H2 from 22H2 a couple of weeks ago, and since then, ADB ...
John Dallman's user avatar
  • 1,387
0 votes
0 answers
35 views

Understanding virtual to physical memory translation in Android (google pixel 5, armv8.2-a)

I am using a simple shell script to read out data from /proc/pid/mem. Setup: This is done through android studio by using adb shell and su. Then, I use /proc/pid/maps to read out a memory range, ...
gulhilaarhe's user avatar
0 votes
0 answers
39 views

Is there a way to PERMANENTLY disable colour in my phone?

The phone in question is Samsung s21 Fe. I find I am much more productive when my phone is monochrome however I always find myself turning monochrome off without realising and productivity suffers ...
Adrian's user avatar
  • 1
0 votes
1 answer
37 views

Reinstall apps/services via phone directly?

I uninstalled certain apps/services via adb, then disabled the USB Debugging option. After restart the phone's settings option is not working. Please suggest how to enable developer options, usb ...
Abhishek Jain's user avatar
3 votes
1 answer
158 views

Why does the app Automate require ADB?

I need to set up an app-killing service for unrooted Android 9 devices using Automate. The service has to launch automatically at device start and keep sending kill commands to selected system (!) ...
srhslvmn's user avatar
  • 289
0 votes
1 answer
672 views

How do you extract an .ab file to .tar?

For 2 days, I've desperately been trying to recover a very important, accidentally deleted text conversation from Message+. Let me say, I know NOTHING about tech! After trying questionable softwares ...
jt122777's user avatar
0 votes
1 answer
130 views

Can I Install the Newer Samsung DeX Version on a Galaxy Note 8 SM-N950F?

I own a Samsung Galaxy Note 8 (SM-N950F) and am interested in utilizing Samsung DeX to connect my phone to a Windows PC via USB-C, leveraging the newer DeX features that allow for a more integrated ...
Foad's user avatar
  • 111
1 vote
0 answers
50 views

Change SMS service center (SMSC) number via adb?

How do I change the SMS service center (SMSC) number, preferably from the commandline, using adb (service call?)?
Geremia's user avatar
  • 335
1 vote
1 answer
118 views

Android Wireless Debugging Runs Under Different Private IP Range than WiFI

Android 13 on Unihertz Jelly Star. Never had a problem up until today when I was attempting to use scrcpy and got annoyed enough by the constantly changing port number assignment for the Wireless ...
SanctimoniousApe's user avatar
0 votes
0 answers
153 views

How to know if there are still hidden hidden files after revealing them without root?

I did write hidden twice on the title, that means, there were hidden files, and I managed to reveal all of them or perhaps some of them using Shizuku and FV File Manager and there might be hidden ...
user516076's user avatar
1 vote
0 answers
54 views

Accessing Recorder app files

On my Pixel 4a, I had a number of recordings on the Google Recorder app. When I tried to enable the backup option, something must have gone wrong, and my recordings disappeared from the list, and didn'...
Tom Folk's user avatar
1 vote
1 answer
268 views

Set ISO country code on non-root phone with adb

I want to try the new body-temperature mode of my pixel 8 pro's IR sensor, however that is locked to the US. Apparently the app checks for the SIM ISO country code so I would like to change that to US....
LimaKilo's user avatar
  • 111
0 votes
0 answers
81 views

"Changing sensor privacy requires the following permission: android.permission.MANAGE_SENSOR_PRIVACY" when trying to change sensor_privacy

I would like to use the following command from ADB service call sensor_privacy 4 i32 1 to turn OFF my sensor, but it gives me Changing sensor privacy requires the following permission: android....
Thomas Vereaghe's user avatar
0 votes
0 answers
52 views

Dumpsys - How to identify power on/off

Is it possible to run a command in adb shell, dumpsys perhaps that will show the power on off dates and times from a year ago ? I have run dumpsys and it has created a huge file with loads, 100's of ...
Phil 's user avatar
0 votes
0 answers
58 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
0 votes
0 answers
85 views

How do I restore just one app's data with adb?

I used adb backup -f DailyBeanBackup.ab com.bluesignum.bluediary and it made a backup file and I want to try restoring it but when it asks for my password it says This will replace any data currently ...
Wampire's user avatar
2 votes
1 answer
107 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
1 vote
0 answers
122 views

How to install Open Gapps on Android Cuttlefish

I wanted to install Open Gapps (google play services) on cuttlefish virtual device (CVD). I tried using adb but flash archive is not present in the AVD image. Any idea how to install Open Gapps on CVD?...
abhishek vishwakarma's user avatar
1 vote
1 answer
228 views

Disable Factory reset via ADB

I want to disable factory reset/data wipe on my phone via ADB. I tried running pm disable 'com.android.settings/com.android.settings.SubSettings' but it threw Exception occurred while executing '...
donzee529's user avatar
2 votes
1 answer
135 views

How to back up OSMAnd favourites using ADB?

First attempt to back up favourites to my PC after enabling USB debugging and connecting the phone to the PC: Open OSMAnd+ 4.6.11 Click the hamburger menu Click Settings Click Export to file Expand ...
l0b0's user avatar
  • 421
0 votes
0 answers
237 views

Login into a phone with broken screen using adb

I have a Android 10 phone with broken screen (it doesn't display anything and doesn't react to touches) that has ADB enabled. It boots (probably to the lockscreen) as I can see it in adb devices and ...
allo's user avatar
  • 395
0 votes
1 answer
230 views

Android 13 car head unit won't route phone calls or AV-IN audio to USB DAC/AMP

I have a full blown Android 13 car head unit - EX-ALS215 (Snapdragon 662). Audio is output from a 3.5mm jack socket on the unit's harness (audio-out socket). I have then connected a Cyrus Soundkey DAC/...
conanDrum's user avatar
2 votes
1 answer
881 views

Adb backups save no data

I want to reinstall the OS on my OnePlus phone running Android 12. Before I do that I would like to backup some of my apps which don't store their data in the cloud. The phone is not rooted, so I have ...
user9102437's user avatar
2 votes
1 answer
198 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
1 vote
0 answers
79 views

Revoke permission of system apps without root

I was wondering if there is any way I could revoke permission of a system app without having root. And if the is a way and I managed to do it are there any side effects that might result in the app ...
тєиsυ's user avatar

1
2 3 4 5
48