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
3k 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
205 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
82 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
991 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
887 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
255 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
5k 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
3k 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
40 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
117 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
515 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
270 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
203 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
461 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
405 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
418 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
306 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
78 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
845 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 ...
26
votes
6answers
8k 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
264 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
586 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
163 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 ...
3
votes
1answer
6k views

Unlocking Nexus 4 with cracked screen [duplicate]

Recently a short fall broke not only my Nexus 4's cheap phone case, but the digitizer as well. The LCD and everything else is perfect, however the touch screen only works on the top quarter of the ...
3
votes
1answer
2k views

Howto get device's features with adb

Howto get device's features with adb - e.g. whether it has accelerometer, screen is capable landscape mode... These values are set in XML during build: <feature ...
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 ...
0
votes
0answers
1k views

Moto X: Download pictures and data with broken touchscreen

Someone threw my Moto X straight at the ground, so the screen displays nothing but weird paint-like colors in some corners. And it doesn't seem like the touchscreen is working at all, since when I ...
1
vote
1answer
1k views

Unlock encrypted Android from ADB

I have the following problem: Somehow, this evening the touchscreen of my Sony Xperia Z broke. I have two thin cracks in the display and everything on the right side of the crack does not react. I ...
4
votes
1answer
2k views

Simulate missed call from ADB shell

On the ADB shell, I run the command adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456 to place a call on my testing device. It works great. But I also want to ...
-2
votes
1answer
5k views

Stock Nexus 4 stuck in bootloop

My Nexus 4 suddenly went into bootloop today after getting drained last night. I tried booting into recovery mode, but as it is not rooted or unlocked, fastboot and adb sideload do not work. I want ...
0
votes
0answers
30 views

Enabling adb via recovery mode [duplicate]

I'm using a HTC One S (Ville C2) with TWRP as the recovery image, however I currently cannot see anything on the screen because the screen is cracked. I'm trying to recover the data inside the phone ...
3
votes
1answer
3k views

windows 8 - keeps disconnection samsung from computer

I recently upgraded from windows xp to windows 8 and I have a problem with the USB-connection. When I plug-in my samsung galaxy s3 to the computer - a symbol pops-up and the adb-client can comunnicate ...
3
votes
0answers
620 views

Is it possible to clear-default of an app using an ADB command?

Not sure if that's the place to ask this (maybe stackOverflow is better), but here we go: Background There are plenty of possible commands that you can perform by using ADB. I use many of them on my ...
2
votes
2answers
21k views

Can I format android phone's internal storage with adb?

I formatted my phones internal storage with ntfs and now it doesn't appeared in usb mode and also not in file manager. And phone's feature like gallery, camera, recording etc are not working. Is there ...
1
vote
2answers
2k views

does flashing a kernel ever wipe anything on the phone? + Doing it without CWM?

does flashing a kernel ever wipe anything on the phone? and is it ever dependent on android version? e.g. 4.22 or 4.3 I have CWM and i've seen the option to install from zip within CWM recovery. ...
2
votes
1answer
755 views

How to backup applications' data from second or subsequent user of a currently non-rooted device?

Primary question: given a non-rooted 4.2.2 device which has second user added and used for awhile, is there any way to backup or otherwise safe the application's data of that second (or third etc.) ...
3
votes
1answer
782 views

Colored output in adb, e.g. for ls command

Is it possible to have colored output in adb shell, e.g. for the ls command? I've tried ls --color=auto . etc, but that doesn't seem to work. Colored output, however, works in adb shell, e.g. with ...
0
votes
0answers
160 views

adb closing when in command line

I'm trying to use adb backup command, but adb window just pops up and closes instantly, I've tried doing adb backup -all -apk -shared -system -f D:\backup.ab > D:\out.txt but the file is empty, ...
0
votes
1answer
130 views

Cannot access galaxy nexus via adb

Yesterday my noble Galaxy Nexus (maguro) sacrificed itself to save me when I fell from my mountain bike. I would like to copy the data to my computer. What is good: the screen and the sim card is ...
0
votes
1answer
2k views

ADB restore isn't working

I think there are a lot of this type of questions but I have a new (for me and can't find it anywhere) problem with the adb restore command. I created an adb backup -apk -shared -all and it looked ...