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
227 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 ...
7
votes
5answers
18k 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
133 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
834 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
859 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
303 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
337 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
414 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
226 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
3k 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 ...
5
votes
3answers
13k 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
142 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
167 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
980 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 ...
12
votes
1answer
6k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
2
votes
2answers
10k 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
89 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
280 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
148 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
6k 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
11k 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
435 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
316 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
408 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
845 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
328 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
1k 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
3k 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
493 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
8k 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
570 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
75 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
4k 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
611 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
21 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
6k 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
2answers
3k 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
1k 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
5k 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 ...
2
votes
0answers
145 views

Will adb restore increment the custom binary flash counter?

With adb backup an archive of all apps and their data can be retrieved from the phone. I could not find any clear information which exact files and partitions are accessed during the process. If it ...
1
vote
1answer
2k views

change file permission in BlueStacks player qwerty.kl

I want to edit BlueStacks '/system/usr/keylayout/qwerty.kl' to add few more key map to this file, but I cant able to edit this file due to permission issue. Any suggestions on how can I change file ...
1
vote
3answers
2k views

Can I update the adb shell's environment variables?

I wanted to update the PATH environment variable permanently in the adb shell. I guessed the shell was mksh for I've found /system/bin/sh pointing to /system/bin/mksh. Then I tried Making a new file ...
10
votes
3answers
5k views

Can't use ADB with Nexus 4 after 4.3 update

Here's a funky issue. I've been using ADB without any problems on 4.2.1 and 4.2.2 on my Nexus 4 (Stock Android and some CM10-based ROMs). When I flashed a CM10.2-based rom (JellyBro, I believe?) a few ...
0
votes
2answers
381 views

Can I disable USB Debugging on Android smartpones from Windows via adb.exe?

I have to install Applications on dozens of android smartphones and I am currently writing a program to automate this process. I know I can't remotely enable USB Debugging, so my question is: Can I ...