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
125 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 ...
0
votes
0answers
16 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
257 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
153 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
45 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 ...
1
vote
0answers
332 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
389 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
0answers
353 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. ...
0
votes
1answer
297 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
67 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
101 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
102 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
33 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
193 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 ...
0
votes
0answers
430 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
1answer
324 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
114 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
85 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
134 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
36 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 ...
1
vote
1answer
489 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
119 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 ...
2
votes
2answers
140 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 ...
2
votes
1answer
1k 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
161 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 ...
3
votes
1answer
4k 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
210 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
317 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
46 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
31 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
153 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 ...
2
votes
0answers
347 views

Simulate missed call from ADB shell

On the adb shell I run the command "adb -s shell am start -a android.intent.action.CALL -d tel:123456" to simulate a fake incoming call to my testing device. It works great. But I also want to ...
0
votes
0answers
15 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
3k 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
26 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 ...
2
votes
1answer
337 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 ...
1
vote
0answers
75 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
3k 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 ...
0
votes
2answers
198 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. ...
1
vote
1answer
278 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.) ...
1
vote
1answer
180 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
45 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
69 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
490 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 ...
0
votes
1answer
273 views

Can't set date via shell

I've tried date -u 1407697765 output: time 1407697765 -> 1407697765.0 settimeofday failed Bad file number and busybox date -s @1407697765 output: date: can't set date: Operation not ...
0
votes
1answer
137 views

Configure UART GPS module for Friendlyarm nanopc-t1 on Android

have a NanoPC-t1 device and I'm running Android 4.2.2 on it. I want to install my gy-gps6MV2 module and make it work as the device GPS. Do I need root access? (I already tried to root device with ...
1
vote
1answer
1k views

How can I find out which bands my phone supports

Background: I recently bought the Padfone X, and have been attempting to get it on my network. Part of this effort has been verifying information I have found online which claims that it supports LTE ...
0
votes
0answers
115 views

input keyevent seems slow

I'm writing a script that automatize our application login. adb shell "input keyevent KEYCODE_TAB; input text foo; input keyevent KEYCODE_ENTER;" and so on... Work great, but it seems a little slow ...