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

adb backup "Operation Time Out"

I am trying to backup a Galaxy S9 using adb backup under Linux (Fedora) and after a certain period of time, the backup stops and I see a message on the phone screen saying "Operation Time Out&...
0
votes
0answers
4 views

How to uninstall bloatwares ( facebook, chrome..) from samsung secure folder?

Owner profile user is 0, secure folder user is 150. pm uninstall -k --user 150 com.android.chrome gives this error Exception occurred while executing 'uninstall': java.lang.SecurityException: Shell ...
0
votes
0answers
14 views

Is there a way to enable Android debugging by PC?

I'm trying to turn on debugging on my Samsung Galaxy J5 so I can use adb shell rm /data/system/gesture/.key and unlock my phone screen so I don't have to reset it and lose all its data (but it's ...
0
votes
0answers
33 views

Get full list of secret codes in android [duplicate]

I was able to run some of settings hidden apps via adb with adb shell am start -a android.intent.action.MAIN "com.android.settings" These hidden apps are actually some of the activities ...
-2
votes
0answers
15 views

What is this file and what does it mean? - ext4 /dev/block/dm-8 ro,seclabel,i_version 11740 11679 253:9 / /optics ro,relatime master:13

I found these files in my phone are they bad? I have more I can send if you need it.... - ext4 /dev/block/dm-8 ro,seclabel,i_version 11740 11679 253:9 / /optics ro,relatime master:13
0
votes
0answers
22 views

Commands failing to write due to protocol error in Fastboot using Linux Mint on ONN 100015685-E

FAILED (command write failed (Protocol error)) Any command I try to run in fastboot fails to write ONN Surf 100015685-E I tried using Windows and kept having problems so I'm trying Linux I'm trying ...
0
votes
0answers
31 views

Can't flash anything with fastboot on onn 100015685-E

I have tried updating drivers from windows update but trying to flash anything does nothing I'm using mediatek drivers Other commands fail and gives this error FAILED (Write to device failed (Too many ...
0
votes
0answers
32 views

ADB not connecting after rooting with Magisk

I rooted my Coolpad Modena 2 (E502) using Magisk. After I rebooted it, ADB stopped connecting. Things I've tried: Wiping the phone and rooting it again Using different USBs adb devices just shows &...
0
votes
0answers
24 views

Cannot backup Andrioid Chrome data with adb [duplicate]

I've connected my Samsung Galaxy S2 to my computer via USB debugging and run: adb backup -noapk com.android.chrome The result file backup.ab has only 41 bytes. What's wrong?
0
votes
0answers
36 views

Background Control in developer options of android 11

There is a background control option in developer options of android 11. I added an secreen shot. Do options must be enabled or disabled for blocking an app. I did not understand. AASAservice is ...
0
votes
0answers
20 views

ADB cannot accurately read IMEI 1 and 2

There are two OPPO phones, model PEAM00 and PEMM20 running Android 11. ADB cannot accurately read IMEI 1 and 2, only MEID. Tried the following command, but it doesn't work, only MEID is returned. adb ...
2
votes
1answer
58 views

How to backup a full stock firmware image

I'm rocking a OnePlus Nord 2 5G here that just recently came back from assistance because I had wiped the partitions with the IMEI stored in it... I had made a Nandroid backup, but it didn't backed up ...
1
vote
0answers
40 views

Running a python script on an Android device

I need to control an android app using a python script. Currently, I connect my phone to my laptop and use adb (android debug bridge). Process: Laptop sends an adb shell command to android to take a ...
1
vote
0answers
18 views

Change keyboard's language with ADB?

I know there is a way to detect the current enabled_input_methods: settings get secure enabled_input_methods com.samsung.android.honeyboard/.service.HoneyBoardService;65538;2621440:com.samsung.android....
-1
votes
0answers
22 views

How do I down grade my gabb phone?

Hello i have a gabb phone which is kinda like a flip phone in a smart phone body, and i learned how to flash apps to it with adb but in a update they patched it. I need help getting back to the old ...
0
votes
0answers
25 views

Android 11 Wireless ADB debug missing

I bought a cheap Chinese Android 11 box and there are no wireless adb debug in developer settings, just USB. Is it possible for this functionality to be disabled when Android 11 is built, or is this ...
1
vote
0answers
52 views

Where is the installed applications are stored in android 9?

I have seen few examples in the internet but couldn't find the right answer about my phone. In my phone how does a file manager app finds the base.apk of an installed app? and how can I find them ...
1
vote
0answers
37 views

Send A Notification To Android 9 Device Via ADB/shell/Script

wondering if it's possible to send a notification to an Android 9 device when a script finishes? I have a custom Magisk script that runs on first boot for my rom releases that does some things like ...
1
vote
0answers
33 views

Stuck on fastboot mode, usb debugging turned off

I rooted my Alldocube iplay 30 pro and uninstalled a few system apps before rebooting. Right after, it got stuck in fastboot mode and i cant do anything about it. USB debugging is turned off and I ...
1
vote
0answers
25 views

ADB Process kill error. Android 11

My camera doesn't work on a custom ROM (Android 11), I searched for a fix online, and it says that I have to restart the camera service, they said to run this command on ADB: kill -HUP ps -A | grep ...
1
vote
0answers
26 views

which adb command to Delete gmail account from a device

Can anyone pls suggest me which adb command i may use to delete gmail account from a device. I can add account through below command but can't delete any account. adb shell am start -a android....
1
vote
0answers
25 views

Can an ADB backdoor persist after factory reset

Recently I started playing with automations in my Android device. Specifically, I used Automate, Tasker and MacroDroid. I also downloaded some Tasker plugins, and some ADB connectors for these apps. A ...
0
votes
0answers
34 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 ...
1
vote
0answers
80 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 ...
1
vote
0answers
44 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 ...
0
votes
0answers
51 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 ...
1
vote
1answer
21 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 ...
0
votes
0answers
25 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 ...
2
votes
1answer
35 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 ...
0
votes
0answers
33 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 ...
1
vote
1answer
76 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 ...
0
votes
1answer
73 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. ...
0
votes
0answers
28 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 ...
0
votes
1answer
70 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 ...
1
vote
1answer
41 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 ...
0
votes
0answers
20 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 =...
0
votes
0answers
17 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 ...
0
votes
0answers
20 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 ...
0
votes
0answers
26 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 ...
0
votes
1answer
246 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 ...
0
votes
0answers
50 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 ...
1
vote
0answers
36 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 ...
0
votes
0answers
72 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 ...
2
votes
0answers
68 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 ...
1
vote
0answers
32 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 ...
3
votes
0answers
121 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 ...
1
vote
0answers
328 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 ...
1
vote
0answers
62 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(?) ...
4
votes
1answer
186 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&...
1
vote
1answer
41 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??

1
2 3 4 5
41