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
0 answers
123 views

Android 11 - permission to not ask for screen recording?

I'm using phone screen streaming app that can be activated remotely but phone keeps asking me to grant permission to start screen recording. It ruins whole sense of remote desktop if I need to ...
user avatar
  • 125
1 vote
0 answers
251 views

How to extract data from non-rooted phone via ADB?

So, I was thinking that ADB is a superior method of backing up any device then using an App, out of privacy concerns if not for the flexibility. However, when I try to extract a system database I get ...
user avatar
1 vote
0 answers
149 views

Redmi 9T stuck in fastboot mode after flashing recovery

I decided to root my phone, but after rebooting into Fastboot via adb, I was a little wary, because I noticed not Fastboot, but FastbootD, but even scored on it, because it was detected through ...
user avatar
0 votes
0 answers
227 views

How to enable usb debugging with locked screen in Samsung Galaxy A51?

I forgot my pattern to unlock my phone and I rebooted it, so no way to use finger print or facial recognition. I want to remove the gesture.key file with adb command but USB debugging option needs to ...
user avatar
1 vote
1 answer
29 views

adb restore pauses indefinitely when source phone has SD card and target phone has none

I ran an adb backup like: adb backup -apk -shared -all -nosystem -f /tmp/android-backup.ab The backup progress screen stopped showing any progress, as did my adb logcat | grep BackupManager. A few ...
user avatar
  • 121
0 votes
0 answers
135 views

Add dynamic Contacts to android emulator or device from command line

We want to add specific contacts to our android emulator/device so that we can run tests particularly invites on those contacts. The contacts would be generated as pre-script before running tests. As ...
user avatar
2 votes
1 answer
67 views

I can enter recovery but not sideload, and fastboot does not recognize the device

I have a shieldtablet which was working fine, until I decided to encrypt the drive. The process completed, the device rebooted, and it's stuck in a reboot loop. Neither Linux/Windows recognize it when ...
user avatar
  • 121
0 votes
0 answers
108 views

Disabling trackers or removing system app with adb (e.g Google Messages, lge Music, lge QuickMemo+)

On my LG K61, I have deactivated many closed source Apps and replaced them by open source ones. But there are several “system” Apps left like Google Messages, lge Music or lge QuickMemo+. They include ...
user avatar
1 vote
1 answer
184 views

DEX died after Android Debug Bridge (ADB) Bloatware Removal

I decided to debloat my Samsung Note 20 Ultra phone of all the garbage apps Samsung installs. I used ADB shell to perform this bloatware removal and the list shown below identifies all the Samsung ...
user avatar
  • 11
0 votes
1 answer
328 views

My phone is not entering fastboot mode

I just want to check whether bootloader is locked or unlocked. I am using Minimal ADB and Fastboot which I downloaded from here. I am following instructions to check bootloader from this website. ...
user avatar
0 votes
0 answers
55 views

ADB cannot detect LG G6

I have an LG G6 Android phone and I'm trying via USB to connect it for ADB. I have activated the developer mode, turned on the USB debugging, connected the phone as an MTP device, restarted ADB, then ...
user avatar
0 votes
1 answer
150 views

Sideloaded Wear Os App On Device But Can't Launch It

I am trying to gift my watch to my 10 yr old. However, google doesn't allow kids to install the wear os app, so I am trying to hack around it. I have installed it successfully to the device (pixel 3 ...
user avatar
1 vote
1 answer
205 views

How can I flash android_low_ram enabler via adb and fastboot?

I wanted to know if I could flash the android_low_ram enabler zip file via adb and fastboot as I want to make Android run smoother on my 2gb ram phone which came pre- installed with full Android. I ...
user avatar
0 votes
1 answer
37 views

Can android studio emulator run without `adb`?

I want to run android-studio emulator without having an adb. On running the emulator It checks for the adb.exe using ANDROID_SDK_ROOT environment variable and exits if there is no valid one(valid one =...
user avatar
  • 163
0 votes
0 answers
45 views

How get out of FTM if my power button is not working?

I have a ZTE Blade Zmax Z982 android phone and to turn it on i had to press the volume down along with my charger. After doing that it led me straight to Factory Test Mode (FTM) and now the screen is ...
user avatar
1 vote
0 answers
41 views

Android app does not open with usb debugging enabled

I am using adb to run a few shell scripts on an android tv. The problem is, one of the apps which I need to use on the tv does not open while usb debugging is active. When trying to open the app it ...
user avatar
  • 111
0 votes
0 answers
70 views

Allow Android debugging on broken LCD and touch functionality not working

I am trying to enable debugging mode on a broken LCD and touch screen. The phone got tossed by a motor when it dropped and I need to get all the data on my phone. It's still working fine but the ...
user avatar
0 votes
1 answer
1k views

Device doesn't show up in fastboot [OnePlus Nord]

I installed: the latest platform tools from google the universal adb driver the OnePlus USB driver USB debugging & OEM unlock are on. With the phone turned on everything runs fine. I can copy ...
user avatar
0 votes
0 answers
135 views

ROOT: How do I disable or hide the "Reset Factory Defaults" button or feature?

Root user here: I'm trying to protect my customers from erasing my company's launcher app and all preset data. Is there any way to disable or hide the "Factory Reset" button in the settings ...
user avatar
  • 1
1 vote
0 answers
50 views

Root Unlocked Mi A2 without fastboot

I have a mi A2 device that I unlocked it and flashed TWRP on it. I flashed TWRP on both slots and everything was ok. After that, my USB board or charging board damaged for unknown reasons and the ...
user avatar
  • 111
0 votes
0 answers
180 views

Why different file size Adb pull vs twrp data image size of userdata.img

Question Why different file size Adb pull vs twrp data image size of userdata.img In my lyf water 7 mobile device having 16gb internal memory and 2 gb ram and 16gb external sd card I had first factory ...
user avatar
2 votes
0 answers
325 views

How to mount MTP like a drive in /dev?

I am trying to recover some files on my android device, but without success. So I would like to try tools like photorec, but they need a physically mounted device. Or rather, for the moment photorec ...
user avatar
  • 21
1 vote
0 answers
59 views

google drive backup and restore restore one app

I have a OnePlus 6t and factory reset it a few days ago because it was really slow (btw the problem is still not solved, also my fingerprint sensor doesn't work anymore, may be linked). I did my ...
user avatar
3 votes
0 answers
195 views

How can I unlock/root the Vivo Z1?

I have enabled developer options, enabled USB debugging and unlocked bootloader (OEM unlocking). fastboot flashing get_unlock_ability (bootloader) get_unlock_ability: 1 OKAY [ 0.000s] Finished. Total ...
user avatar
1 vote
0 answers
2k views

"Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS" when using `adb shell pm grant` command

I have installed a clipboard manager, Clip Stack on my Android 11 phone. When the app is opened, the developer helpfully gives the message that background clipboard access has been blocked by Android ...
user avatar
  • 146
1 vote
0 answers
64 views

Cannot install/replace Android OS on Samsung S3

I have a corrupt version of Android on my S3 phone: WiFi signal is 100% but almost zero internet connection. So I found a binary: S968CUDUAMH1_S968CTFNAMH1_S968CUDUAMH1_HOME.tar.md5 which is good(?) ...
user avatar
4 votes
1 answer
353 views

How to get library installation path

Some Android apps require libraries to be linked against by specifying <uses-library> in their Manifest (in the application element): <uses-library android:name="com.example.customlib&...
user avatar
1 vote
1 answer
215 views

i can't boot into recovery mode on my Nokia C2 tennen

When using the hardware key combination( Volume up + Power button)it doesn't go into recovery mode at all The only option I'm able to get is fastboot (Volume down + power button) can anyone help me??
user avatar
  • 11
1 vote
1 answer
81 views

recover data from unbootable phone with broken touch

My Oneplus3 touch screen stopped working yesterday. I did some googling and was told that erasing cache through fastboot could be a solution so I did using. fastboot erase cache Now my phone just ...
user avatar
  • 71
1 vote
2 answers
484 views

Why Stock recovery replaces my TWRP?

The situation Whenever I install TWRP, it gets replaced by stock recovery. It doesn't boot to recovery at all the first time. But it shows a message : Orange state your device is unlocked and cannot ...
user avatar
1 vote
0 answers
176 views

adb shell settings put with default value... What is TAG parameter?

I want to set value and default value of a setting with adb shell settings. But to set default I also need to specify the TAG parameter. What is this ? put [--user <USER_ID> | current] NAMESPACE ...
user avatar
1 vote
0 answers
222 views

adb shell input key event : perform a toggle button on off action

Questions How do I in Android 10 toggle on /off the hotspot using adb Su switch on / off for shell- How do I turn on Magisk manager && goto security options && there turn on / ...
user avatar
0 votes
1 answer
508 views

Error with `adb sideload`when trying to install Android 12 in recovery mode

According to Google's "Get Android 12" guide, The easiest way to get Android 12 Beta on a Google Pixel device is to enroll your device in the Android Beta for Pixel program. but also ...
user avatar
1 vote
0 answers
106 views

Redmi Note 8 locked, need help with unlocking/backup

I need help regarding a Redmi Note 8 that no longer accepts the correct pattern and is locked. I'm looking for a solution that would allow me to either unlock my phone without data loss, or make a ...
user avatar
  • 31
1 vote
1 answer
71 views

I'm having trouble identifying the SD Card on OnePlus Nord 200 5G for partition and format

I recently got myself a OnePlus Nord 200 5G running Android 11 and I'm trying to format my SD card. The problem is that I can't identify the card in ADB shell. From the shell: OnePlusN200TMO:/ $ sm ...
user avatar
  • 11
1 vote
1 answer
461 views

LineageOS Recovery command line interface?

Is there an adb shell command line interface for LineageOS recovery? Alternatively, which adb commands will work when booted into lineage recovery? I want to factory reset my device as part of an ...
user avatar
1 vote
1 answer
347 views

Can adb backup media?

Some apps use media stored on the phone (audiobooks, movies, epub, ..) Can adb backup backup the media too?
user avatar
1 vote
0 answers
114 views

Why uninstalling system apps through ADB cause problems like battery drain?

I have an Android 10 phone (realme) which came preinstalled with a lot of bloatwares. Few days ago I used adb to uninstall a lot of apps, like the default browser, file manager, facebook bloatwares, ...
user avatar
  • 11
1 vote
0 answers
41 views

Trying to back up my phone data using ADB but having a lot of problems

I want to back up the data on my Samsung Galaxy 5 (particularly SMSs and Memo text documents). I'm trying to do it with Android Debug Bridge. I followed some online "help" pages but ran into ...
user avatar
  • 121
0 votes
1 answer
555 views

How to infuse/push/modify/install busybox SU in twrprecovery.img for getting root privilages commands? [closed]

Question :How to infuse/push/modify/install busybox SU in twrprecovery.img for getting root privilages commands I want to take backup restore flash change some PM Package management and SM storage ...
user avatar
1 vote
1 answer
465 views

Default launcher on Android TV via ADB problem

After setting the new GoogleTV Launcher as default via ADB (using the command adb shell cmd package set-home-activity "com.google.android.apps.tv.launcherx") on my Android TV Box, checking ...
user avatar
0 votes
0 answers
118 views

How to export Android mobile data usage by app by month?

I tried adb shell dumpsys netstats detail full > data_usage.txt command suggested on How to export data usage stats? thread but the information is raw data, do you know a command/method that can ...
user avatar
  • 1
1 vote
1 answer
255 views

adb shell svc power stayon multiple device

When there is multiple Android-devices connected with Linux computer (using Linux Mint 20.2 Cinnamon, which is based on appropriate Ubuntu 20.04 LTS version) and scrcpy v1.12 then how to keep multiple ...
user avatar
0 votes
0 answers
181 views

How to start service 'package' with ADB

Using adb, I uninstalled some system apps on my device. Sadly, I uninstalled something important, and now the device is in a bootloop. During boot there is a window of time which I'm able to login ...
user avatar
  • 131
0 votes
0 answers
61 views

In an attempt to install custom rom on my lenovo k6 note ,i have baked up using entire phone using adb backup , how can i restore my phone

in an attempt to install custom rom i wiped my OS on my lenovo k6 note now its not starting but it is going into twrp recovery mode. is there any way to flash stock rom or any other OS i have tried ...
user avatar
2 votes
1 answer
550 views

Does uninstalling system apps using ADB commands increase internal storage?

I just wanted to know if uninstalling system apps or bloatware using adb commands frees up storage space. I know that uninstalling system apps using adb doesn't actually removes the app from your ...
user avatar
1 vote
0 answers
275 views

What is the new mmcblk0?

The device is OnePlus 8 Pro, it is completely functional, booted for root ADB from LineageOS Recovery via fastboot -s XXXXXXXX boot lineage-recovery.img. $ adb --version Android Debug Bridge version 1....
user avatar
  • 255
1 vote
0 answers
53 views

Want to install a custom rom (first time)

I want to install custom ROM on My Redmi 7A (pine) And I don't want to flash a recovery instead I want to use the ADB and Fastboot I unlocked my Bootloader. It is Possible? (I am a newbie to this kind ...
user avatar
0 votes
0 answers
42 views

How do I use my android phones camera(s) as a webcam input to my pc?

I have an Oppo A9 phone and a Windows 10 pc. I already use a script called [scrcpy] to share my screen to my pc through USB. I wanna know if there is a way I can share my camera feed to my laptop too ...
user avatar
  • 1
3 votes
1 answer
214 views

Where does Android store disabled packages list?

So I was playing with adb pm uninstall and now my phone doesn't boot. So I'm actually curious, how really pm uninstall works, where does it store the list of uninstalled packages (if it does) and if ...
user avatar

1 2 3
4
5
43