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

2
votes
2answers
3k views

ADB 'su: permission denied' in recovery mode on rooted device

ADB 'su' command returns 'su: permission denied' on a fully rooted device in recovery mode. I can modify folders and files that require root access on phone (when it's booted). ADB also works when ...
2
votes
2answers
2k views

How can I get ADB to recognize my Spice MI 350?

I want to use my Spice MI 350 for testing an application I'm developing. I have tried following this link, but so far I cannot get it working. When I run adb devices I get ???????? as device name. ...
2
votes
2answers
2k views

Nook Color with CyanogenMod7 is not visible via ADB over USB

I recently bought a Nook Color. My intentions from day 1 was to install CyanogenMod7 on the device to get a full Android experience. That process worked just fine, and the device is now running CM7. I ...
2
votes
3answers
2k views

Adb push does not work

When I run the command adb push file.txt /flash/Data it writes this error message failed to copy 'file.txt' to '/flash/Data': Read-only file system I tried to solve it according to this page ...
2
votes
1answer
2k views

Substitute Win7 USB drivers for ADB mode

Under Mac OSX there is no need for a USB driver for ADB mode. Under windows, apparently, there is. I'd like to be able to adb shell to my android tablet from my Win7 PC. This table gives a list of ...
2
votes
1answer
248 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 ...
2
votes
1answer
293 views

LG Optimus Zone 2, Kitkat ADB connection problems

I have purchased an lg optimus zone 2 to develop on and I have removed all of the drivers for the phone on my windows 7 machine. I downloaded the OEM driver from LG and disconnected my network. After ...
2
votes
1answer
282 views

I can reverse tether now by using alias but it stops on adb shell command

I made some aliases to quickly reverse tether. alias t='r && sh && n' alias n='netcfg rndis0 dhcp' alias sh='ad shell' alias r='ad kill-server && ad start-server' alias ...
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 ...
2
votes
1answer
702 views

`adb shell ime list` commands - Please clarify!

What do the following two commands mean adb shell ime list -s adb shell ime list and why don't the return anything at all? See code below: aneesh@nb-14:~$ adb shell ime list -s aneesh@nb-14:~$ adb ...
2
votes
1answer
1k views

How to pull only newer files with “adb pull”? (Android SDK utility)

With the command "adb pull /sdcard/" I can copy all the contents of the internal memory of my Android phone into my current local directory (and "adb pull /mnt/extSdCard/" does the same with the ...
2
votes
2answers
1k views

Can't connect an already booted device to adb

Every time I want to connect my phone to adb via USB I need to turn it off, plug the cable and turn it back on. Is this the right way to go or am I missing something? Documentation doesn't seem to ...
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 ...
2
votes
1answer
356 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
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 ...
2
votes
1answer
392 views

ADB not seeing device after update

I just updated the Android SDK Tools to 22.6.4 and the Google USB Driver to Rev. 10 and now ADB cannot see the device. Device: Honeywell Dolphin 70e Black with 4.0.3 Modified the android_winusb.inf ...
2
votes
1answer
7k views

Stuck in Fastboot?! Help please!

I tried to get CM11 on my LG G2 on Bell Canada's network and I really messed it up. I can no longer get into recovery, adb doesn't see my phone, but download mode works (though I have no idea how to ...
2
votes
1answer
121 views

How can I root my HTC One for T-Mobile using ADB?

I want to use ADB. FastBoot isn't working on my OS X machine. ./fastboot devices lists nothing. ./adb devices shows my device I downloaded SuperSu from the Google Play store but it says it I ...
2
votes
1answer
212 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 ...
2
votes
1answer
5k 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 ...
2
votes
1answer
509 views

adb connection problem on Kubuntu 13.04 x64

I'm facing a problem with ABD connection under Kubuntu 13.04 x64. Every time I try to push/pull/shell ls the adb disconnects from device. I tried the following solutions: Added device ID into ...
2
votes
1answer
633 views

ADB without USB connection [duplicate]

The micro-USB port of my Xperia Arc with ICS it's broken. How can I enter to ADB by wireless, without connecting the cable? I am not root, and I need to enter to ADB to root my phone. I can connect to ...
2
votes
1answer
540 views

Do I need adb? Whats wrong with terminal?

I'm pretty new to Android, but I have a bit of linux understanding. Do I need to use adb and do I need to type adb before every command? I have SSHDroid running on my GS3. I open my regular linux ...
2
votes
2answers
1k views

Edit hosts file on Kindle Fire

I'm trying to edit the hosts file on a Kindle Fire. I should say that I'm not interested in rooting the device (unless I have to) and am not trying to hide adverts or prevent software updates etc. I ...
2
votes
1answer
128 views

is it possible to know the names of the files without root?

I'm saving my games data that I have on my Samsung Galaxy S2 using the adb program and I'm having problems finding out locations and names of files, where are they saved in?
2
votes
2answers
6k views

Missing device driver for “Android 1.0” in Device Manager while in HBOOT menu!

When I enter HBOOT menu with the phone connected to the PC with USB I get the missing driver prompt in Windows and there's an exclamation mark for a device called Android 1.0 in Device Manager. I ...
2
votes
1answer
551 views

Backup and Restore using adb [duplicate]

Possible Duplicate: New phone: How to transfer game progress? I recently got a Samsung Galaxy S3 and I am wanting to transfer my Jetpack Joyride game progress from my old HTC Legend. There ...
2
votes
2answers
710 views

Up and down arrows in adb shell

I have an HTC Desire HD. When I connect to it with adb shell from Windows, the up and down arrow keys work fine and I get command history. But when I connect to it from Mac OS, the up and down arrows ...
2
votes
1answer
4k views

adb su permission denied, no rom, rooted, need to fix internal sd card

can someone please help. im pulling my hair out lol im trying to fix a friends phone GT-I9000. basically i get error in mounting sdcard. after searching endlessly and installing 100s of stock rom. ...
2
votes
1answer
67 views

How can I access multiple user spaces from adb?

I am running KitKat on a tablet with two users: primary (owner) and secondary. I need to access a file generated by an app of the secondary user. When I plug the tablet into my (Ubuntu) desktop via ...
2
votes
0answers
156 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
373 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 ...
2
votes
0answers
4k views

Enable usb debugging mode from adb under clockworkmode “Broken digitizer” [duplicate]

My friend brought me a Xtreamer Q mobile phone with broken screen, clockworkmode is working, but USB debugging mode is disabled, I found some posts about how to enable it from adb i tried them and ...
2
votes
1answer
1k views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
2
votes
0answers
444 views

Android ADB connect to device with broken USB and no root

I've read through the thread below and come across 2 solutions for connecting a device with ADB. Android - Run/install/debug applications over WiFi? The first is to use USB, and this isn't an ...
2
votes
1answer
1k 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 ...
2
votes
2answers
9k 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 ...
2
votes
0answers
270 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 ...
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 ...
2
votes
2answers
541 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 | ...
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 ...
2
votes
0answers
135 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 ...
2
votes
1answer
431 views

adb backup disabled on phone

I am attempting to run an adb backup to my computer from my Samsung Galaxy Nexus, version maguro, v4.2.2 (I guess it's worth mentioning I'm running Windows 7 on my computer). I have tried this with ...
2
votes
1answer
184 views

Disable Backup Service in Android Emulator

I'm trying to replace sms and contacts database on Android emulator with some other (extracted from other phone). I've already succesfully pushed files into emulator (using adb push), but I have to ...
2
votes
1answer
1k views

Is it possible to pull data using Android Debug Bridge on an N7 while soft bricked

I've tried countless fixes for my N7 being softbricked (No idea how it was done). I've resorted to using Android Debug Bridge, however I cannot get access to the device (device not recognized from CMD ...
2
votes
0answers
3k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
2
votes
0answers
441 views

Package cannot be (re-)installed or uninstalled

My device is a non-rooted device. I was trying to install SDMove.apk (sideload) from my ICS tablet. Adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] When I issue uninstall command, it ...
2
votes
0answers
177 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device ...
2
votes
0answers
432 views

Disable Slide to Lock

I have a Cruz T301 which is rooted. The screen calibration is a bit off and I cannot access the home screen. (It is next to impossible to use the slide to unlock.) Basically, it will slide to the ...
2
votes
2answers
3k views

type “adb shell su” in terminal (cmd in win or console in Linux ) let the terminal hang [closed]

I just want to input more shell commands after typing adb shell su, but the terminal just return an "#". It appears to be unresponsive to further commands. How can I solve this problem? Recompile ...