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.

766 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
410 views

Help with dumpsys usagestats [ADB]

I'm totally new to ADB in general and I wanted to try to quantify my app usage throughout a weekly/monthly period. I used the adb shell command dumpsys usagestats My questions with this is that Can ...
1
vote
0answers
587 views

How to dump Android's external SDcard that is used as internal memory?

although StackExchange sites have helped me a lot in the past, it's now the first time to actively post a question here. I have an issue with my Motorola Moto G which is running with Android 7.1.1 (...
1
vote
0answers
261 views

ADB Restore Stalling on “Full Backup” screen

I just upgraded from a Galaxy Note 4 running Android 6.0 to a Galaxy S8+ running 7.0. Neither is rooted. I've used Helium in the past to backup app data. However it's crashing or just not working ...
1
vote
0answers
82 views

Samsung greyscale_mode not changeable over adb shell

On my Samsung Galaxy S7 I have a Grayscale Option under Vision Accessibility (NOT the one under dev options!) When I activate it over the UI it works as expected. But when I activate it over ADB ...
1
vote
1answer
593 views

Troubles restoring ADB backups

(Android 7.0, Shield Tablet) I found myself in the situation of having to back up my data without root multiple times, and till now everything went pretty well. Regarding apps and relative data (on ...
1
vote
0answers
1k views

Moto M: Phone in “Red State”. Does not boot. Cannot enter fastboot or recovery

I tried to install a custom ROM on my Moto M, and failed in the attempt. I uploaded TWRP, and misguidedly executed adb flashing lock afterwards. Now my phone says: https://imgur.com/a/r2VA0 Red State....
1
vote
0answers
722 views

How to access google drive app backup data manually?

Since there is no way to restore app data from google drive's automatic backup outside of first setup (which has come and gone), is there a way to manually access and download the files for manual ...
1
vote
0answers
79 views

Fixing / Backing up phone that doesn't get recognized by pc and is stuck in a boot loop

I currently have a OnePlus One, which since this morning seems to have broken, it's permanently stuck in a boot loop where it shows the OPO logo, but stays there until the battery runs out. I want ...
1
vote
0answers
84 views

Problems to get keycodes from fitness bike Android console

I've been working on an Android powered fitness bike for a while now, to basically pull the workout information generated by the bike in realtime, to use it with other applications running in a remote ...
1
vote
0answers
4k views

Enable USB Debugging Android Dead Screen

I obtained a Nexus 6 with a dead screen. I am trying to cast the screen to my computer. In order to do so, I believe I need to have USB Debugging enabled (which is presumably off). I managed to boot ...
1
vote
1answer
4k views

Exporting contacts via adb

I have a phone whose screen broke, but I'd like to export its contacts to .vcf so I can import them to another phone. I usually do this with the built-in import/export function in the Contacts app ...
1
vote
0answers
2k views

slow adb pull/push

On my previous arch linux install the adb pull/push worked at a speed of around 25mbps. Recently I recently reinstalled arch linux and since then the pull/push operation are working very slow, at ...
1
vote
1answer
569 views

ADB Sideload without custom recovery

Is it possible to use ADB Sideload without custom recovery? For this case on Samsung Devices SM-T211? I've read in many article to access ADB Sideload we need go through recovery mode and activated ...
1
vote
0answers
1k views

Recover files from Galaxy S5 Internal with ADB, Ubuntu and DD

My parents went on a once-in-a-lifetime trip to Ireland last spring. They took most of the photos with my dad's Galaxy S5. They were stored on internal storage, and not an SD card. The photos were ...
1
vote
0answers
406 views

Android Debug Bridge (adb) backup/restore

I'm a bit confused with output bellow and was hoping someone can help me to decipher it for me) backup/restore: backup [-f FILE] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-...
1
vote
0answers
712 views

Using a desktop machine to bridge over USB from an Android phone to the LAN (OSI 2/3 *not* port mapping)

This is related to other questions about making an IP connection over USB from Android to Windows (SSH, ADB forward, etc), but it goes further, and I can't find any "howtos" or other information about ...
1
vote
0answers
557 views

Is it impossible to pull a database file from non debuggable app in a non rooted device?

Here's what I tried: adb shell "run-as my.package ..." doesn't work because the app was installed without the android:debuggable option. adb backup doesn't work (it produces an empty file) I can't ...
1
vote
1answer
120 views

How do I update ADB on my phone

So my phone was stuck in a boot loop. Last time this happened, I just simply used adb sideload after wiping my phone to flash a new rom. It worked fine. This time, however, it won't let me use adb ...
1
vote
0answers
103 views

Pull data from disabled device

I have a Samsung Galaxy S6, with a completely disabled screen. I want to pull recent images and data from it. USB Debugging is enabled, but the phone needs a passcode for me to access its' data. Is ...
1
vote
1answer
889 views

Can't connect/get computer to recognize android phone (OPO)

I've been trying to root my OPO for two days now and I've continued to have this issue. After installing Android Studio + the SDK, as well as downloading the Google USB Driver, when I connect my phone ...
1
vote
1answer
512 views

Replace lockscreen background image using adb

I am using a Lenovo Vibe Shot phone, which has Android 6.0.1 on it. In one of the updates, the change lockscreen background feature stopped work, so I can't change the background, now, regardless of ...
1
vote
0answers
816 views

Remove lockscreen app via adb

A relative installed a bunch of apps, and now I am infected by some app with a pesky ad-filled lockscreen, ON TOP of the regular lockscreen (why are they even allowed to do that). How can I find the ...
1
vote
0answers
151 views

Device shows up in fastboot and recovery, but not in Android?

I have a Motorola Moto G 2014 device. The USB connection behaves very strangely. If I boot into fastboot, the device shows up correctly via fastboot devices If I boot into recovery, the device shows ...
1
vote
0answers
59 views

ZE551ML ASUS ZF2, Bootloader failure

I tried to do a procedure described in this video https://www.youtube.com/watch?v=BJPEc1NG_k8, about installing Lineage OS on a zenfone 2 ze551ml. In a specific part of the video, is required to ...
1
vote
0answers
338 views

Get propetary rom info from adb shell

I have xiaomi smartphone which uses miui rom interface. I'm developing a windows program which manages the smartphone, I want to get the Miui version info which is displayed in settings->about phone, ...
1
vote
0answers
118 views

Verifying a backup which I used ADB via DroidExplorer

I have a non-rooted tablet which I did an ADB backup thru DroidExplorer. The backup ended abruptly with no success/failure indication (which appears to be a feature of ADB). I want to verify that ...
1
vote
0answers
3k views

Remove lock or enable usb debugging on non-rooted phone?

So my little sister locked herself out of her phone which was not rooted, had no recovery software (Cwm, Xrec, etc.) installed on it, and has usb debugging and auto-mount disabled. We don't know the ...
1
vote
0answers
122 views

Can I use Tasker to simulate Page Up / Page Down without root access?

I've read people doing it using adb without root access. I've also read that people can do it using Tasker and several other methods, but with root access. Is it possible to do the same with Tasker (...
1
vote
1answer
636 views

I want to “allow USB debugging?” popup for a touch broken device

I just broken my mobile screen. Display just gone blank. Touch not working. But I want to see the screen on my PC using whatever software like mobile go... Mobile's USB Debugging already turned on. ...
1
vote
1answer
535 views

Best backup strategy (apks and app data)?

I would like to backup my phone a regular basis. TWRP provides a full system backup and recovery option. This is fine but too inflexible for me and bound to the phone itself. I want to backup all ...
1
vote
0answers
532 views

At what point in recovery mode should ADB be available?

I am using stock Android on a Nexus 5X, and I have a phone that is generally in a bootloader loop (unless the phone is frozen cold — weirdest bug I've ever seen). I can now consistently get into ...
1
vote
0answers
628 views

Remove Google Account to unlock get adb permission denied

I forgot my PIN and I dont know which Google Account I used and now I try to remove the question for my Google account data. So I try it with this How-To and when I try to run sqlite3 settings.db ...
1
vote
0answers
435 views

Can't flash using fastboot

I lost access to my OnePlus 3 and removed TWRP as a side effect of my attempts to recover from that situation. To get TWRP back, I installed adb and fastboot on my laptop running Ubuntu 16.04. I ...
1
vote
1answer
1k views

execute ussd from shell-script

Every month I need to execute USSD-command. I want to automatize it. My idea is to write shell-script for SManager. I found two ways to make a call (tested from adb): service call phone 2 s16 '*100#' ...
1
vote
2answers
5k views

enabling usb debugging when device is off

I am trying to unlock my bootloader, but I am unable to enable usb debugging because my device (xperia t) is not coming on. How do I unlock my bootloader so that I can flash it.
1
vote
1answer
88 views

Getting Data out of Android phone suffering from Google Apps stopped working endless loop

One of our Moto E2 LTE is constantly displaying a "Google app has stopped error" message on power-up, rendering it useless. This occurred after the phone ran out of battery, but this could be a ...
1
vote
0answers
2k views

Install CA Certifcate using ADB?

I'm in an annoying chicken-and-the-egg loop. Android Browser (the stock browser) is rejecting a bunch of sites certified by Comodo certificate authority. I'm on Comodo's site trying to download their ...
1
vote
0answers
571 views

Can't mount /system as RW

I own an old Motorola XT910 that has several malwares, so I'm trying to delete them from the /system/app folder (since they're set as system apps), but when I try to mount the system as read-write, ...
1
vote
1answer
328 views

Nexus 5 won't boot into OS, bootloader/adb won't let me do anything either

Nexus 5 power button started "sticking" and would get itself into a "boot-loop". I looked it up and it seemed lots of users were having issues with the power button on the Nexus 5, so I just decided ...
1
vote
0answers
691 views

sm partition disk:foo,bar not working on Samsung Galaxy tab S 10.1 SM-T800 with Mashmallow

After passing in debug mode and my USB also in debug mode on my tablet, I installed the Android Studio on my computer. This allowed an access to the adb function. adb devices returns a long number ...
1
vote
1answer
277 views

Why don't my adbkey fingerprints match?

When I attempt to connect to my phone via adb it tells me my public key's fingerprint is this: But on my computer, per this post, my public key's fingerprint is will@linux:~$ awk '{print $1}' < ~...
1
vote
0answers
903 views

How to make a copy of files from internal memory using adb in recovery mode? (S4, usb debugging is turned off, stock recovery)

My S4 doesn't turn on and unfortunately I didn't back up my files :-( I only have access to recovery and download mode. Is it possible to backup the files from my S4 using adb in the recovery mode? ...
1
vote
0answers
1k views

How to resize the screen on Android 4.2.2 (adb shell wm overscan doesn't work)

I was following this tutorial in order to resize my screen (or "deactivate" a small part from the bottom of it): https://android.stackexchange.com/a/113782/191822 As describes above I tried tried it ...
1
vote
0answers
118 views

How to keep an ODROID device connectable via adb?

I'm using an Odroid (rooted) device running Android 5.1.1 on a local network and I'd like to be able to control it via adb. Currently I'm running this at startup: setprop service.adb.tcp.port 5555 ...
1
vote
0answers
51 views

Samsung GSII-GTi9100 with CM12 - no USB connection

I have installed CM12 from SDCard. Device is running fine. It charges normaly from usb socket. But I need to access developer options and run code through ADB. I have ADB set up on my ubuntu16.04 ...
1
vote
0answers
142 views

How to check adb commands executed on an Android device without executing them?

In my city recently smart benches were added to some parks. They have WiFi, heating, cooling, wireless charging and USB ports. They're really cool and stylish, but when I plug my phone in to charge ...
1
vote
0answers
379 views

Is it possible to detect via adb if a certain app crashed (and restarted)?

In my tablet Google Play Services crash every often. They do restart automatically. I'd like to know if it's possible to programmatically discover via ADB whether a restart happened or not. I tried ...
1
vote
0answers
208 views

OnePlus One stuck in boot after resizing screen and DPI tweak

My device: OnePlus One, CM 13.1.1, not rooted Since the the strip above the on screen nav buttons is gone (no touch screen anymore) I was trying to resize the screen AND tweak the DPI accordingly as ...
1
vote
0answers
171 views

keep on getting “could not connect to device” on nexus 6p <--> mac

This used to work reliably for me all the time. Simply connecting my nexus 6p to my mac, tapping on the file transfers option in the USB for file transfer option and boom but now I keep on getting ...
1
vote
0answers
390 views

SD card does not appear as adoptable

I have a Samsung Galaxy On5 that has been rooted, and I want to adopt my SD card as internal storage. I am attempting to adopt the SD card using ADB. The process for this is well documented, but every ...