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
14 views

Loose connection USB Debugging

Somehow my Nexus 5 has a loose USB-Debugging connection recently... I recently upgraded to Android 5.0.1 I had this once before, but than it could be solved by simply using a different USB cable. If ...
0
votes
1answer
11 views

Show boot process on screen

I've borked something in my nexus 4 stock rom playing with system files over ADB, and my device no longer boots past the animation. Is there any way I can make the system show it's boot process ...
0
votes
0answers
16 views

chroot: can not execute /system/bin/sh

I'm trying to install Linux on Android according to this guide. I threw all the necessary files to the memory card, but it's having a problem when trying to run the bootubuntu script: #modprobe ext2 ...
3
votes
2answers
25 views

Physical Device does not show up in Android Device Chooser

I posted this in stack overflow, but I figured it would be more relevant here. When I open the DDMS, it shows the device there. However, when I try to run my program, Eclipse opens the Android ...
1
vote
0answers
9 views

What is the command line syntax of ClockworkMod recovery?

Background: I recently broke my phone's touch screen; everything else is working - I can even send inputs using adb shell sendevent ... and view the screen with screencap. ADB while in recovery works ...
0
votes
1answer
23 views

Unable to start chinese tablet even after installing recovery

When I try to boot my chinese tablet it halts on a small android icon and does not go ahead. It is not a boot loop. I just stays there. It booted successfully a couple of hours ago after two days and ...
0
votes
2answers
35 views

(Re)boot an Android phone from USB

I own a Samsung Galaxy Note 1 (not rooted) and its lock button doesn't wrok anymore. That means I couldn't boot my phone if it happened to be turned off. But I need to restart it now because it's ...
0
votes
0answers
18 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
0answers
17 views

How can i run At-commadns with the ADB?

I'm new here. i hope you guys could help me. i try to communicate with the modem of my samsung galexy S3 GT-I9300 over the ADB tool. My galexy is rooted and is accessible through adb. Now i wanna ...
1
vote
0answers
24 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 ...
0
votes
0answers
24 views

How to pull every file on the target device

My rooted device (production build) has been remounted successfully with: adb remount When I try to chmod -R 777 / it says : Unable to chmod /: Read-only file system The goal behind this ...
2
votes
1answer
57 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 ...
1
vote
1answer
386 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
1answer
68 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
0answers
23 views

Android emulator not responding after a while

I have a script that installs an apk file, launches it, and uninstalls it afterwards (using adb) on the android emulator. (After installation I get a response from the terminal: rm failed for -f, No ...
0
votes
1answer
84 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 ...
0
votes
0answers
33 views

adb shell command to edit sim manager

Is it possible to open the sim manager under setting in the android phone using an adb shell command? I have alot of Android 4.04 devices (300) where I need to enable data roaming in the sim manager. ...
1
vote
0answers
14 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 ...
0
votes
0answers
24 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 ...
0
votes
1answer
85 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
27 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
35 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 ...
0
votes
0answers
55 views

What is actually included in an “Android backup”?

I'm really confused with the myriad of backup options and what they actually cover. I'll try to break down my understanding in this question and ask for corrections and answers to fill in the gaps. ...
1
vote
3answers
3k 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
0answers
65 views

adb reboot recovery no longer workiing

MY tablet was on bootloop using android sdk adb reboot recovery solved the problem now mY tablet is back on bootloop adb reboot recovery just reboot to bootloop i can not access the recovery menu ...
0
votes
1answer
35 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 ...
0
votes
1answer
52 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 ...
1
vote
0answers
69 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
0answers
140 views

How To Recover From Bootloop after installing fonts, dont have custom recovery and stock rom?

I am using Panasonic T11, it is rooted but do not have custom recovery mode like CWM, My problem is: after installing a custom font my device stucked in bootloop, i have adb, but i dont know how to ...
0
votes
0answers
72 views

Rooting issues Fire 7 HD (screenshots)

Description Using various methods, I've come to some terminal points in my android rooting process and thought up a number of questions as a result. I've used two PC's to attempt this, both PC's ...
0
votes
2answers
442 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
1answer
191 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
66 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
25 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
0answers
124 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
209 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
66 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
0answers
473 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
68 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 ...
0
votes
0answers
23 views

Is it possible to add a file into an offline snapshots.img?

Now I have a snapshots.img, and use it to speed up booting the Android emulator. I also have an apk, whose size is 40M. If I use adb push, then the copy time will be 20 seconds. So, I want to copy ...
2
votes
1answer
213 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 ...
1
vote
2answers
127 views

Does adb backup include contacts?

Does adb backup .all -f backup.ab include contacts in the backup?
1
vote
1answer
413 views

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

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
62 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
25 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
44 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
181 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 ...
0
votes
0answers
17 views

Random Brief Sound Reduction Detection

Over the last two weeks I've noticed that my phone sound output will randomly drop to ~15% for about 3-5 seconds and then returns to normal. This happens to any type of audio source (Spotify, Google ...
0
votes
0answers
124 views

dumpsys meminfo: differences between ICS and KitKat?

I noticed differences when I compare the meminfo of old Android and newer ones but I can't find documentation about it. Using the same apk, Graphics and GL only show up on KitKat and the usage on ...
1
vote
1answer
63 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 ...