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.

learn more… | top users | synonyms

0
votes
2answers
438 views

How to pull mmcblk0 to a windows pc?

So here is what i want to pull : mmcblk0 whith it's size 15.7 GB. C:\adb>adb shell shell@android:/ $ su su shell@android:/ # fdisk -l /dev/block/mmcblk0 fdisk -l /dev/block/mmcblk0 Disk ...
1
vote
2answers
5k views

Restore/recover Supersonic Matrix SC-91JB Android tablet

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
-1
votes
0answers
13 views

accidently sent repoort or update to adb amd now my phone will not show my data or set phone up unless with wifii

I was trying to factory reset my ZTR android and i accidently "sent an update to adb. Now my phone won't let me set up my phone unless over wifi
4
votes
5answers
40k views

Moving installation location on non rooted Android 5 Lollipop device

I have a Moto G (2nd generation) with Android 5.02 on it. Internal SD card is about 8Gb and I have an external SD card with 16Gb free space. Moving application to SDCARD from the application's menu ...
0
votes
0answers
12 views

Can't unlock phone with cracked screen - Stock Nexus 4

I cracked my stock Nexus 4 screen and I am unable to swipe my unlock pattern. I am trying to backup my phone (pictures/sms) but more importantly I need to have access to my Google Authenticator so I ...
1
vote
1answer
31 views

ADB pull error: remote object '/dev/block/mmcblk0p24' not a file or directory [duplicate]

I'm trying to pull the partition /dev/block/mmcblk0 directly to my Windows PC, following the instructions from: How to pull mmcblk0 to a windows pc? while the phone is in TWRP, using the command: adb ...
0
votes
1answer
35 views

How can I unbrick a phone without being able to access recovery?

I have rooted my Zenfone 2 ZE551ML using a method which permanently replaces recovery (I didn't realize it back then). Can I unbrick it using only fastboot? I can't use adb, as I can't open recovery. ...
1
vote
2answers
33 views

How does adb shell differ from a terminal emulator?

I have a couple of tasks I want to accomplish on Android 6.0.1 and they need root access when I run them on the device. This target device is not rooted. Can I use adb from a PC to run commands just ...
0
votes
1answer
15 views

Moto G on cyanogenmod 13 has a black screen but phone seems to be running in background

I have the CM13 installed on my Moto G (Falcon). Last week, I left the phone on charge longer than usual and I came back to find dark screen. I have tried restarting it and I can feel the phone ...
0
votes
0answers
41 views

Enable USB Mass storage marshmello 6 Galaxy note 5

I tried to enable UMS thorugh adb terminal with those commands adb shell setprop sys.usb.config mass_storage,adb adb shell setprop persist.sys.usb.config mass_storage,adb reboot and the android ...
8
votes
2answers
24k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
1
vote
1answer
1k views

How to find out currently running user name/ID from ADB

I am having Nexus 7 running multiple users. I am trying to find out which is currently running user using ADB. The best I could get so far was to check legacy directory linking which is either linked ...
0
votes
1answer
29 views

ADB app uninstall from bootloader

I have a Galaxy Core Duos that I was playing with. It is stock rom, unrooted. However, I installed one app which is crashing the phone after startup. So I cannot use the phone anymore and I need to ...
3
votes
0answers
35 views

Half of touchscreen is unresponsive. How can I make Android only use the top half (rotated by 90 degrees)

So I have a broken LG G2 and a near-empty bank account, so buying a new phone isn't exactly an option right now. The bottom 50% of the screen doesn't respond to touch. Right now I am running ...
57
votes
5answers
61k views

How do you extract an App's data from a full backup made through “adb backup”?

I have been backing up my Nexus 7 with adb backup to back up all files into an encrypted backup. I see that you can restore from a backup with adb restore, but that would wipe all my existing data on ...
25
votes
6answers
7k views

ADB backup creates 0-byte file; prompts for current backup password even though I never set one; “Failed to set password” for Desktop backup password

The problem: Every time I run ADB backup, I get a message near the bottom of the home screen saying Backup starting..., followed by a message saying Backup finished a few seconds later despite the ...
-1
votes
0answers
48 views

Stuck on “Checking for Updates” after Factory Reset from Recovery Mode

I'm using a Gran Prime, Samsung Galaxy. I've tried a few things, to no avail. Any ideas on what to do?
0
votes
0answers
26 views

Is there a way to route all traffic from android-phone to socks proxy via adb?

Assume I have android-device without any internet connection (no wifi, no gsm). I have already got a vpn profile with credentials to connect to remote vpn server. Device is connected to my PC via ADB. ...
2
votes
1answer
2k views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
1
vote
0answers
49 views

Creating a backup with adb results in 41 byte file

I have an old droid RAZR Maxx (4.1.2) that I decided I want to root, but I want to make a backup first just in case. I've followed instructions from this site: ...
1
vote
1answer
35 views

Is an android 5.1 adb backup incompatible with android 6.0?

I recently loaded Cyanogenmod 13 on my nexus 4. Prior to flashing, I did a full adb backup and an app data backup for com.king.candycrushsaga. The only thing that seems to need restoring is the ...
1
vote
1answer
427 views

Unbrick Lenovo ZUK Z1, after every partition was formatted

Bricked my phone trying to install Cyanogenmod on it. Formatted every partition, including /boot and /recovery. The phone can't: Boot into home screen. Be reached by ADB. Have it's bootloader ...
0
votes
1answer
23 views

Showing both “adb status-window” and “adb logcat” on the same terminal

I am attempting to get the adb status-window command to display anything useful, however it appears to be just showing the following: Android Debug Bridge State: device At first, I figured it ...
3
votes
1answer
4k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
4
votes
2answers
4k views

How to change “Preferred Network Mode” using adb without reboot?

I'm trying to change my phone's (CM 12, Stock 4.2, both rooted) preferred network mode from "GSM/WCDMA" (0) to "WCDMA only" (2) and vice versa (there can be other modes too), using command-line only. ...
0
votes
3answers
7k views

ADB doesn't recognize my device in recovery mode

I have an ASUS ZenFone 2. I have tried using ASUS USB drivers and Google Android composite ADB drivers on my computer, but neither recognize the device while it is in recovery mode. Can anyone help ...
0
votes
0answers
25 views

How Do I Install Android 4.4 KitKat On A Blank Nexus 7?

I recently upgraded my Nexus 7 tablet to Android 5. The update made my Nexus really slow, and I decided to reinstall Android 4. I downloaded ADB and erased all data on my device. But, then I ...
0
votes
1answer
18 views

Bricked Nexus 7 in Recovery Mode

I have a Nexus 7 2012 grouper in recovery mode (TWRP). I have wiped the /system /cache and /data partitions and believe it has wiped the /boot partition. When I go to file manager, it says the /boot ...
10
votes
4answers
10k views

Accessing android device via ADB shell with broken touchscreen (can't authenticate)

So, the touchscreen on my Nexus 4 broke this weekend. I have a new device coming in, but in the meantime I need to be able to access the device to use a few different apps and send/receive some SMS ...
-1
votes
0answers
37 views

My phone does not react to stock recovery factory reset and does not respond to flashing cwm

I have an Alcatel 4030e. Last night after I charged it full, things spammed me like android.process.acore etc. has stopped. It is ridiculously unusable right now. Flashing CWM, adb and factory ...
-1
votes
0answers
5 views

Nexian NV 45 adb drivers [duplicate]

Trying to get the adb drivers for Nexian NV 45 phone, nothing from the manufacturer, does anyone know where to get them ? I tried the generic google driver (link), but it didn't work.
0
votes
1answer
3k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
0
votes
2answers
5k views

Need one-line adb shell su push & pull to access /data from Windows batch file

I've been struggling for two days. Hope for help here. I wrote a Windows batch file that replaces Amazon lockscreen ads with user images on rooted kindle fire hd 7", 2013 (kfsowi). Just learned I ...
0
votes
1answer
2k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...
2
votes
2answers
2k views

Disabling “Storage space running out” notification in Status Bar?

Is there any way to disable the "Storage space running out" notification on Cyanogenmod 10.1.3 [Android 4.2.2], through ADB or otherwise ?
3
votes
0answers
45 views

Setting Default applications through ADB

I have an android device (Android 4.4) with two launchers. One comes with the device and the other one is home made. I have the following questions regarding this scenario: How can I set the default ...
-1
votes
0answers
22 views

ADB server start for usb devices

I have multiple devices connecte via USB and I want to start an instance of adb server for each connected device. I know that I can do this via Wi-Fi but I want to know if it's possible without ...
0
votes
1answer
4k views

Asus memopad7 170C, unlocking bootloader fails

I'm trying too root my Asus memo pad 7 (170C), I've tried EVERY method, using KingoRoot, SuperOneClick, Frameroot, motochopper. None of them worked. So I decided to do the rooting stuff myself, first ...
0
votes
2answers
5k views

Permission denied for adb push file to /data/data/xxx/file/

I used "adb pull" to backup Final Fantasy III saved data and it worked well, but it doesn't allow me to push it back after the factory reset. D:\AndroidSDK\sdk\platform-tools>adb push d:\save.bin ...
1
vote
0answers
27 views

Nexus 5 on recovery mode but power button isn't working

I have a Nexus 5 phone with a bad power button (completely not working). The phone was off for a while, and when I powered it on (using fastboot) it asked for cyanogenmod update - downloaded and ...
0
votes
1answer
21 views

how to transfer a file from within system partition on android to desktop

background I'm developing an app that downloads files to the device.. some of these files are acting out and to trouble shoot I want to actually transfer these files to my (mac) desktop and go ...
1
vote
0answers
25 views

my device shows briefly under adb devices then disappears

I got a (rooted) nexus 5 (with twrp custom recovery), and I develop on it using android studio 2.0. Recently when I type in adb devices, it shows my device for a couple of seconds then it vanishes! ie ...
1
vote
2answers
115 views

Remove a folder I created in /system/lib

I have root access and am able to remount. I created a folder in /system/lib/ named rfsa, but I don't know why I cannot see or open that folder. When I type ls, it is there. But when I type ls -l, I ...
-1
votes
2answers
427 views

adb locat - cannot redirect to textfile - read only filesystem

When I trie to show logs of a specific priority in logcat and direct the stream to a textfile I get the following error message: 1|shell@android:/ $ adb logcat "*:W" > logcat.txt ...
10
votes
3answers
41k views

Can't remount /system in rw

I try desesperately to push an app with adb on the /system/app folder (to install the PlayStore on my low cost tablet). So i tried to remount the /system partition with root rights : mount -o ...
0
votes
1answer
28 views

How to unbrick phone when both recovery and system are abcent?

I have Lenovo A328 phone, after trying to upgrade to cyanogen it has no system and no recovery, when turning it on there is only loading screen. ADB asks to authorize the phone, but no dialog appears ...
1
vote
1answer
4k views

Sony Xperia Z1 won't start up again!

As you may know, you have to backup the TA-partition before you put a custom ROM on the Sony Xperia Z1. I've backupped the partition with this .bat file: ...
4
votes
2answers
5k views

Is it possible to set device's Latitude and Longitude using ADB SHELL?

I know how to set locatlon for emulators using device configuration interface from Motodoev Studio for example. But, how I can set locatlon for a device?
0
votes
1answer
126 views

Run adb command inside the terminal emulator or programmatically without root

Is there a way to run theadb backupcommand on the device itself without using a ᴘᴄ computer ? Of course when I try to do it,adbcomplains the daemon isn’t started and it fails to find a device. ...