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

ADB Pull from data/data

So I am developing a Batch Script. It pulls an xml from data/data/my.app.test/prefs.xml I was successful with getting root using this command: adb shell su But when I run these commands they sit ...
0
votes
1answer
1k views

How can i run At-commadns with the ADB?

I'm trying to communicate with the modem of my Samsung Galaxy S3 GT-I9300 over the ADB tool. My galaxy is rooted and is accessible through adb. I'm attempting to execute AT-commands over the ...
8
votes
1answer
4k views

Obtain package name AND common name of apps via ADB

I'm looking for a possibility to retrieve both, the package names and the common names of apps installed on an Android device via ADB – or at least to retrieve the common name if the package name is ...
3
votes
1answer
888 views

How can I access multiple user spaces from adb?

I am running KitKat on a tablet with two users: primary (owner) and secondary. I need to access a file generated by an app of the secondary user. When I plug the tablet into my (Ubuntu) desktop via ...
3
votes
2answers
3k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount ...
1
vote
2answers
8k views

Error Sideloading Android L

I am trying to update my Nexus 7 (2013) WiFi to Android 5.0 with adb sideload. I get this error: Finding update package... Opening update package... Verifying update package... E:footer is wrong ...
0
votes
1answer
1k views

Accessing internal storage on Moto G, locked phone, broken screen

my girlfriend dropped her Moto G and now the screen is completely black, the phone is secured with a lock pattern. It's very important for us to recover the pictures, because unfortunately they ...
1
vote
1answer
394 views

adb unable to recognize Google Glass on Windows 7

On Windows7, I've updated the Google Glass android_usb driver configuration file to reflect the correct VID and PID and it does show up on Device manager as Android ADB interface. While the device ...
1
vote
1answer
505 views

How can I change pointer locations setting in developer options from adb shell?

I need to be able to select and deselect "pointer locations" from the developer options menu using adb. adb shell am start -n com.android.settings/.DevelopmentSettings, but once I'm there I can't ...
1
vote
2answers
525 views

Error setting up Android USB debugging on Ubuntu 14.10

I have an Android phone from LG, and I want to use it for USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone shows as ...
0
votes
1answer
134 views

Which Android emulators can co-exists on single machine?

Which emulators can co-exists on single Windows machine and be used simultaneously for app development (adb support)? I'm using Genymotion which seems to work on bare system; AVD x86_64 requires Intel ...
1
vote
1answer
621 views

Why does this app not restore from Google Backup until I specify the set in adb?

I read this great answer about how sets work, but I'm seeing behavior I don't understand in this app. I just installed on a device that has never had the app installed (I think, see bottom) and ...
3
votes
3answers
24k views

fastboot flash bootloader = FAILED (remote: (InvalidState))

I'm trying to flash bootloader on my Nexus 7 (2012) and getting FAILED: mbp:nakasi-lrx21p alexus$ fastboot flash bootloader bootloader-grouper-4.23.img sending 'bootloader' (2100 KB)... OKAY [ ...
0
votes
1answer
201 views

ADB disconnect while using adb forward

I'm using JADS HTTP & HTTPS Proxy application along with 'adb forward tcp:8080 tcp:8080' to setup an HTTP proxy/tether setup on my laptop. This works fine for most of the time, however some sites ...
3
votes
1answer
3k views

Recursive adb pull

How to copy a whole directory (and all of its content recursively) over USB with adb pull? For instance to backup the SD card. Attempt: $ adb pull /sdcard backup failed to copy '/sdcard' to ...
2
votes
0answers
283 views

How to root from adb?

I have a tablet called General Mobile E-Tab 4. I bricked it. It stays on load animation. I can reach recovery but there are 3 options: reboot device wipe data/factory reset wipe cache partition I ...
0
votes
3answers
14k views

Insufficient Storage on changing default install location

After downloading an APK file from Play Store. It always prompts "Insufficient Storage" dialog. I changed the default install location into external memory(SD card) using adb command adb shell pm ...
0
votes
2answers
2k views

Unable to adb push on Samsung S4

I absolutely can't push to /system/app/ using adb on a rooted S4 with rw remounted filesystem. adb says: Read-only file system Mounts: /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ...
0
votes
1answer
202 views

My Nexus 7 isn't being detected by Windows. No OS on Nexus 7

I wiped my OS from my Nexus earlier as I had a ROM that I wanted to flash. When I proceeded to try and flash the ROM to my Nexus 7 using flash-all.bat (I installed ADB and Fastboot and Drivers using ...
0
votes
0answers
79 views

ICS device name not recognised under adb

I have a device to which I recently flashed CM 9 which I use for testing backward compatibility in apps. However, adb doesn't seem to recognise it. adb devices outputs the following when it is ...
0
votes
2answers
973 views

Tablet listed under adb devices, but not under lsusb while in recovery

I am working with a Gemini devices GEM1000 tablet, I have performed all the steps to get adb working, and the device shows up under 'adb devices' so I go to the bootloader with 'adb reboot bootloader' ...
1
vote
1answer
1k views

Permission denied while installing a system app with SSH

I have the APK file for an application I want to install as a system application via SSH on rooted Android tablets. I'm able to install this application via ADB with a script but the installation ...
0
votes
1answer
867 views

Windows doesn't show device in Explorer

After updating my Nexus 7 to the latest version of Android (4.4.4 at this point), Windows decided that it would no longer show the device in Explorer in MTP mode. PTP worked fine, but obviously this ...
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
252 views

Nexus 5 nothing bootable?

I add Paranoid OTA on my Nexus 5, and I tried to uninstall it. During the processus, everything totally failed and my phone start rebooting itself all the time. Now : ADB is not working. (I tried ...
3
votes
1answer
4k views

A way to get location coordinates from command line

I'm looking for a command line, or a series of commands that can dump or list the latitude and longitude on a rooted device. I connect to a device using ADB shell. A way that will cause the ...
3
votes
4answers
4k views

Does adb backup include contacts?

Does the command: adb backup -all -f backup.ab include contacts in the backup?
2
votes
1answer
2k views

How can I enable USB Debugging on an LG G2 (vs980) with a broken screen? [duplicate]

I have an LG G2 (vs980 - Verizon). The digitizer and screen is broken - I can view it, but not submit input. The device has fastboot and TWRP capabilities, and I can get to ADB from TWRP. The device ...
0
votes
1answer
4k views

adb shell remove directory with patenthesis windows

I'm trying to delete a directory that contains parenthesis in its name. So far I've tried: adb shell rm -r "sdcard/music/SomeArtist - (good stuff)" And I get: /system/bin/sh: syntax error: '(' ...
0
votes
0answers
39 views

Windows thinks phone is “Removable Storage” so adb won't work

When I plug in my phone to flash a new ROM onto it, I can't use adb and fastboot because windows thinks my phone is "removable storage." It doesn't list the Google phone driver anymore as an option, ...
0
votes
1answer
116 views

Eclipse is not able to detect smartphone

Debian 7.6, Eclipse 3.8. When i program with API8 for my HTC Froyo I have no problem: running the debug session i see the device in the device list and I'm able to debug my app. Since I started with a ...
0
votes
1answer
495 views

adb sync shows Product directory not specified

I am using android in an emulator integrated with eclipse. I was trying to import my gmail contacts into my emulator. For that purpose, I exported my gmail contacts to a .vcf file (contacts.vcf) from ...
1
vote
1answer
264 views

Why can't I upload binaries to Android Sony Xperia Z?

I recently upgraded my Android to 4.4.4 via 4.3.? When I was on 4.2.* I had no problem either uploading apks and pictures via usb nor via adb install / push. Symptoms below, any help appreciated. I'd ...
0
votes
1answer
192 views

How do I create an archive for easy extraction to /data/local/tmp/ in “adb shell”?

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option. How do I make an archive that can be ...
2
votes
0answers
452 views

Asus Transformer Tab tf300t stuck on asus screen. No ADB, no fastboot, no recovery, no os

I'm very happy with cm11 on my Galaxy s3 so i wanted to try it on my tf300t. First i unlocked the bootloader which i succeeded in doing. Then i flashed clockworkmod recovery via adb. However, when i ...
2
votes
0answers
3k views

SDCard permission issue

I have a Samsung S3 which I have installed Cyanogenmod on with a view to carry out some procedures with root permissions. At the minute I am trying to create a .img file of the userdata memory block ...
1
vote
1answer
6k views

how to adb wait-for-device until the home screen shows up?

I need to unlock my screen using adb, and wait-for-device exits way too early(when the device is booting up), and screen unlock fails. Is there a way to detect that the home screen, so I can fire ...
1
vote
2answers
2k views

Samsung S3 - Device Memory Damaged

I have a Samsung S3 GT-i9300 which has an error on booting up. It goes through the Samsung splash screen then displays the following: Device Memory Damaged The data partition has been ...
1
vote
1answer
401 views

adb device not found

When I enter ./adb devices I get Device not found. Yet I can successfully unlock my phone via ./fastboot oem unlock. I can't turn on debugging since my phone is stuck in a bootloop and won't start ...
0
votes
1answer
410 views

Secure ADB connection over network

I am using Geniatech ATV Android Set Top Boxes running android 4.2.2 for a current project. I might put some of those devices in public places like shopping centers. These boxes are connected to the ...
0
votes
2answers
299 views

Trying FTP file located in /data/data

I'm trying to use WinSCP to FTP a file out of /data/data (well, it's directory is contained in the /data/data directory, which is the important part). But I get a "Code: 5" error from WinSCP, access ...
0
votes
1answer
76 views

Get to data without touch access

The screen of my Nexus 4 has a crack and touch is not working anymore. I'd like to get to some of my data using adb, but can't authorize it because I can't click/touch the authorization dialog. Is ...
1
vote
1answer
829 views

Unlock not working (ADB FLASH)

So I'm trying to flash adb my android (mostly following this guide), and I'm getting stuck at the unlock device step. I can successfully unlock, but once I reboot my device it reverts to being ...
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 ...
2
votes
2answers
2k views

MTP not working but ADB works fine

I use Samsung Galaxy S4 Mini Android Phone, its MTP mode is not working just after I plugged it in to another PC some time for just USB charging. I re-installed the driver on my PC and removed the ...
1
vote
0answers
254 views

Can I pull data off of a Moto 360 (smart watch) using ADB?

I am a complete beginner to the world of Android, but I am also an intrepid forensics examiner. I have been given the opportunity to conduct research into pulling data from certain wearables, namely ...
1
vote
0answers
574 views

Bricked chinese android

Recently I edited build.prop of my Note 3 smn9006 clone with mtk6572 for enabling navigation bar, i.e qemu.hw.mainkeys=0 and restarted. Nothing happened. Then again I tried to enable navigation bar ...
-1
votes
1answer
158 views

Get device's component information and health status

Is there any option provided by Android by which we can list down all the hardware and software component of smart phone? Also, we can check the health staus of all the hardware components. For ...
2
votes
1answer
4k views

How to authorize device for adb when the touch control is completely broken?

My Nexus 7 2012 has fallen from a table and though the display as well as the device itself is fine, the touch control is completely broken. You cannot tap or touch anything. I believe I can manage ...
4
votes
2answers
1k views

How to verify an ADB backup file is complete and in a good state?

This is not a duplicate of How to verify a backup file from ADB backup. The poster there probably didn't know that an unrooted phone requires -nosystem (ref) and ended with a 0 byte file, where my ...