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
1answer
2k 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
35 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
94 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
383 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
38 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
247 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
214 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
96 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 ...
0
votes
0answers
333 views

Nexus 5 System.ui has stopped

I have tried to install a ROM for enabling battery percentage on my nexus 5 using CWM. Foolishly , I didn't make any backups before that. After installing the zip my phone continuously shows a message ...
2
votes
0answers
300 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 ...
0
votes
0answers
66 views

Mediacom 932i in loop at start. Chances Of Data Recovery before Factory resetting?

my tablet Mediacom 932i got bricked (at the start Mediacom Logo in loop forever) A simple request: Is Factory Reset the onlY way to make it start again? (no problem, I can do it) But I would love not ...
2
votes
0answers
2k 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 ...
0
votes
1answer
3k 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
9 views

LG G2 No Screen Need Access To Files [duplicate]

So my Sprint LG G2 (LS980) literally has no screen but I would like to be able to access it from my Windows pc. I don't think I had USB debugging enabled and without a screen I can't really do much. ...
1
vote
1answer
368 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
0answers
142 views

dumped recovery is corrupted

I'm following his tutorial in order to port CWM for the samsung galaxy s3 mini I-8200 that has not been ported yet. I've done: $ adb shell shell@android:/ $ ls -al ...
0
votes
1answer
255 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
203 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
55 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
580 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 ...
8
votes
2answers
2k 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
vote
2answers
1k 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 ...
0
votes
0answers
165 views

/sdcard not mounted

I have installed a nightly build of Cyanogenmod on my HTC One S. It has a problem that it doesn't have /sdcard (internal storage) mounted, so I can't save any data on the device. Applications install ...
1
vote
0answers
168 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
354 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
91 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
2k 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 ...
0
votes
0answers
178 views

Galaxy S2 ADB offline device (display broken)

the display of my galaxy s2 is dead and now I'm trying to recover all my data. If I connect the phone via us bto my pc Windows recognizes it as an usb media but nothing more. Under Linux it gives me ...
3
votes
2answers
754 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
5k 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
1k 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 ...
7
votes
2answers
15k 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
834 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 ...
0
votes
1answer
902 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 ...
0
votes
0answers
81 views

There are options to move the page layout on top of the screen using ADB?

My Allview A4You has a problem with the touchscreen. menu / options button and about half of touchscreen not working(bottom part). I tried the "am display-size / density-display" but the page layout ...
0
votes
0answers
32 views

Xperia Go: Boot into Recovery Mode [duplicate]

First time messing with Android OS/ROM I have a Sony Xperia Go (ST27i with Android 4.1.2) I aiming to deploy the latest kitkat ROM for this phone ...
0
votes
0answers
438 views

get contactlist of my samsung galaxy via adb pull-command

Is there a way to get the contact-list of my samsung galaxy s3 via adb-command? I tried with the following but got a "permission-denied" error in windows-cmd. failed to copy ...
3
votes
0answers
1k 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 ...
0
votes
0answers
34 views

Can't get into the bootloader in H9500 (zp900 unbranded)

Anyone knows how to get into the bootloader in H9500 (zp900 unbranded)? I tried adb reboot-bootloader but it just restarts the phone. No bootloader :(
-2
votes
1answer
4k 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
28 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
2k 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 ...
2
votes
0answers
245 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
12k 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
1k 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
539 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.) ...
2
votes
1answer
459 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
85 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
111 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 ...