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
4k views

Help get SC-91JB Android tablet back - restore / recovery

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
0
votes
1answer
1k views

Can not uninstall standard Android keyboard or get it back working

I want to uninstall the standard Android keyboard com.android.inputmethod.latin. I googled and found multiple threads discussing this problem. What I did so far: 1.) Uninstall via intent -> doesn't ...
1
vote
0answers
891 views

adb restore not working for shared

I have a Nexus 4 with Android 4.4.1 … I've read that we could root it without wiping the data … well didn't work for me! I wasn't scared, because I made a full backup using: adb backup -apk ...
0
votes
0answers
1k views

Acer Iconia Bricked with reboot loop after root attempt

I attempted to root my Acer Iconia B1-A71 tablet and ended up bricking it because of not installing the partition fix apk (Bad tutorial). The tablet is currently in a reboot loop and I've tried so ...
1
vote
1answer
1k views

Device doesn't mount in Ubuntu 12.04

I have an Android device (ICS) and it is visible and perfectly usable via ADB in Ubuntu 12.04. However Ubuntu can't mount it. I can't find it on /mnt or /media. How is that possible? I know there ...
0
votes
0answers
246 views

Installing ADB Driver (Manually?)

I'm trying to install ADB drivers for my phone on Windows 8. Previously on Windows 7 I used a driver that is not supported on Win8 and also doesn't work. Debugging option is set. Version 4.0.4 Sharp ...
12
votes
5answers
24k views

ADB can discover devices but not fastboot

I've searched on the web about this problem and it's usually solved by installing the appropriate drivers. Problem is I'm on a Mac. When I plug in my device, it can be discovered when I run adb ...
0
votes
0answers
159 views

Writing to /dev/log/main from command line

It is possible to write encoded messages into /dev/log/main and then see them in the adb logcat output. The command should be executable through adb from the host PC. Ideally, it should look like: ...
0
votes
1answer
990 views

Retrieving contacts from Nexus 4 with broken screen

My Nexus 4 is recognized by ./adb devices when connected via USB. Also USB debugging is enabled. Unfortunately the device isn't rooted so pulling the contacts db file doesn't work as I don't have ...
2
votes
1answer
1k views

Disable browser prompt when using ADB to open an URL

I'm trying to open an URL using the ADB command: ./adb shell am start -a android.intent.action.VIEW -d URL When I have multiple browser support applications, I'm trying to open this using google ...
0
votes
1answer
351 views

Samsung Galaxy Note 1 /sdcard/ folder tree

Hi I am searching for the factory folder tree for Samsung Galaxy Note 1. I want the folder tree, so I can perform adb shell commands to access these directories. In a quest of recovering data. e.g. ...
2
votes
1answer
2k views

ADB won't recognize Sero 7 Pro

I just bought a refurbished HiSense Sero 7 Pro tablet. I have enabled Developer options and turned on USB debugging. When I plug the tablet into my Win7 PC, it fails to install proper drivers (which ...
0
votes
0answers
394 views

Pull or backup only the contacts from Android

My phone is on a bootloope _ soft bricked. I have managed to detect it via adb on recovery mode. So now I want to know the exact command to pull contacts first from the phone to my pc. Is this ...
0
votes
1answer
3k views

adb for bootloop

I am in the middle of trying to understand the correct procedure to recover my data from a phone that went into a bootloop. I installed android sdk, with adb tools. Also installed ODIN (although I ...
1
vote
0answers
486 views

Obtain the Phone Number through ADB

I have a rooted Android device, and I'm set up with the Android Debug Bridge (ADB). I'm having difficulty finding the phone number of the device through ADB. I'm hoping to eventually automate this ...
2
votes
1answer
266 views

Should the sdcard support case-sensitive files?

I've been testing one of my apps to see how it handles filenames in UPPER-CASE. I thought the Android libraries and system was case sensitive for filenames, however I eventually discovered that files ...
0
votes
0answers
4k views

Enable USB debugging on Motorola Droid Razr Maxx HD Global with no screen

Before this gets marked as a duplicate please consider that virtually every answer involves vague references to things like 'fastboot' that I honestly don't understand and can't find any information ...
6
votes
3answers
17k views

Windows doesn't recognize Nexus 7 in recovery mode

So I have the Nexus 7 (2012). When the tablet is on and USB debugging is enabled, ADB recognizes it. But when I shut it off and put it into recovery mode, then press power and volume up to sideload, ...
0
votes
1answer
168 views

Access desktop files from ADB connected device

Is it possible to access the desktop files from Android device ? The device is connected to the desktop through USB.
0
votes
1answer
185 views

Make a device appear in ADB

I have a Zen Touch 2, a Cyclone Voyager and a Samsung galaxy Fame, all configured for USB debugging. I also have a laptop running Ubuntu 12.04, the standard ADB obtained from apt-get, and Fastboot ...
0
votes
1answer
1k views

accidental wipe android nexus 4

Well, accidentally ended up formatting a nexus 4 by clockworkmod, was the system and everything else, I've tried various ways to try to recover this brink, worked no more, all require the famous usb ...
13
votes
1answer
8k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
2
votes
3answers
13k views

can't use adb shell in recovery mode

I have a china tablet named Quest. I have accidentally repeated pattern lock more than 5 times. Now I have also forgotten the email address. So for a factory-reset of my tablet I simply booted it ...
1
vote
0answers
105 views

Is there any way to dump the Data Usage log through the ADB shell?

The reason I would need to dump these data is because in smalls display (S5301) doesn't fit everything and data is cut. I couldn't do anything to move that graphic. Look, I've searched in Google ...
0
votes
1answer
358 views

How old is the datalog when just starting “logcat”?

When I run adb -d logcat it dumps data from a time before. How old is that data?
1
vote
2answers
2k views

adb restore across different devices, android versions

Once upon a time, I ran this on an Android 4.3.0 Nexus 7 2012 running ParanoidAndroid: adb backup -all -nosystem -apk -shared \ -f backup-all-nosystem-apk-shared-201309132331 Now I would love to ...
1
vote
1answer
3k views

Sony Xperia Z1 won't start up again!

As you may know, you have to backup the TA-partition before you put a custom ROM on the Sony Xperia Z1. I've backupped the partition with this .bat file: ...
1
vote
0answers
157 views

HTC Desire S-Off

My HTC Desire is stuck in a boot loop: HTC Desire Boot Loop I am trying to set S-Off so that I can use the Windows version of ADB and delete some apps/data off the phone memory. I don't want to ...
2
votes
1answer
7k views

How can I enable adbd during boot on Cyanogenmod?

I am stuck during the boot process, at first before entering the passphrase for /data and now at the SIM PIN screen. At this point, adb is inaccessible (normally adbd would start up after unlocking ...
0
votes
3answers
14k views

How to fix “error: device not found” when I try to use ADB

I'm trying to get my phone (JiaYu G3T) working under adb on Windows 8 x64 (worked fine on Windows 7 x64 before reinstalling my OS). Driver Android Composite ADB Interface, version 8.0.0.0, works ...
1
vote
0answers
507 views

Permission denied while trying to do MKDIR

I am loading media files into the /sdcard folder on my Android device and playing them and everything seems to work fine. When I tried to do a MKDIR on this folder, it said that my permission is ...
2
votes
0answers
350 views

adb shell superuser access without approve from phone

I'm running MIUI 3.9.27 on my HTC Desire S. I accidentally froze my miui launcher (com.miui.home) and after reboot, phone stuck on boot animation, but seems everything running except miuiHome. I ...
1
vote
1answer
510 views

fastboot serial number?

On occasion I've seen the serial number reported by adb and fastboot differ. Is there a way to reliably determine what the fastboot serial number will be from adb?
0
votes
1answer
1k views

How to enable experimental reverse port forwarding in chrome?

Commonly you have a web server running on your local development machine, and you want to connect to that site from your device. If the mobile device and the development machine are on the same ...
0
votes
0answers
385 views

Fail to connect to ADB Wifi when device goes to idle state?

I am connecting to my Android phone with ADB WiFi (no USB plugged in). However, whenever my device goes to sleep, I am losing connection and unable to reconnect. In what I am trying to do, I need to ...
0
votes
2answers
2k views

root cannot list filed in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir ...
2
votes
1answer
4k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
3
votes
3answers
1k views

How do you remove permanent adb authorization?

I have a Nexus S running Cyanogen 10.1.2 (Android 4.2.2). I require adb authorization, but I accidentally "permanently" authorized a device. How do I remove the "permanent" authorization, so that ...
0
votes
1answer
549 views

lsusb lists Galaxy Samsung Tab s2 & adb devices lists nothing

really, I do all my efforts to run an android project through eclipse on a tablet "Samsung galaxy Tab s2/ GT-P3100" under linux (Ubuntu 12.04). i add the vendor id of samsung in ...
0
votes
1answer
10k views

How to perform a full system dump/backup with a broken screen?

So, yesterday my phone took a serious tumble. It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, ...
2
votes
2answers
640 views

adb shows devices as offline but system_profiler detects the devices fine

I have several devices (mix of tablets and phones) connected to my mac mini. Some of them are connected directly while some are connected by a good quality hub. $ system_profiler SPUSBDataType | ...
0
votes
0answers
76 views

Fetch stock recovery

I have a Samsung Galaxy SL gt-i9003 [ROOTED] and I was trying to fetch the stock recovery to kepp it as a backup for flashing a custom recovery... I've tried doing the same via ADB command cat ...
0
votes
1answer
5k views

How do I install USB drivers in Ubuntu 13:04 for Nexus S?

I am trying to follow this guide: http://forum.xda-developers.com/showthread.php?t=2163085 However I am unable to connect to my android phone via USB. I think I need to install the USB drivers ...
0
votes
1answer
673 views

unlink () and rmdir() errors when running adb wipe command

I'm trying to wipe my device using adb shell su -c wipe all, but when I run it I get the following errors: unlink() error on '/system/vendor/res/images/dock/dock.png' 'Read-only file system' and ...
2
votes
0answers
23 views

Get phone data out when screen is dead [duplicate]

I have rooted Samsung Galaxy S2 with Rootbox Android 4.2.2 installed. My phone screen is dead and I want to get following data out of the phone. SMS (Most important) Photos Other files in internal ...
1
vote
1answer
7k views

Clockwork: error: cannot load 'recovery-clockwork': No error

I am trying to flash a recovery-image file into my Nexus 7 but the flashing fails know that I am working on windows and my image file is located in the same folder as adb and fastboot files are ...
1
vote
3answers
4k views

Pulling an apk of paid app from the device

I was pulling the .apk files from the device using the following command: ./adb pull /data/app/com.example.tracker-1.apk When I tried using the same command for the encrypted app as below: ./adb ...
2
votes
2answers
4k views

adb-shell : /sbin/sh: command: not found

I've managed to root Google Nexus 7 (2013 Wi-Fi) and now I have CyanogenMod 10.2-20130919-NIGHTY-grouper running on it and Clockworkmod recovery v6.0.1.9 following this guide. Then I downloaded and ...
0
votes
2answers
2k views

Error installing Android 4.3 using adb sideload

Situation : My phone battery drains out completely one day and even after charging it fully the phone is still stuck in boot-loop with Nexus 'X' logo. What I did : Tried factory reset from recovery ...
4
votes
2answers
7k views

ADB on Ubuntu does not recognize Nexus 4

I'm unable to get my Nexus 4 phone recognized by ADB on Ubuntu (12.04 with a newer kernel installed: 3.8.0-30-generic). Developer mode is enabled on the phone. The device shows up in lsusb: $ lsusb ...