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

1
vote
4answers
18k views

What do I type in PATH variable for ADB server to start from CMD?

I am following a Wiki on how to install and set up Android SDK and I am stuck at a step where I am supposed to test if the ADB server works by using the command adb start-server. Is this command ...
-1
votes
1answer
7 views

Link to download adb for Mac,please?

sorry but i cannot find a link to download adb for Mac..can somebody provide me a link,please?thank you!
0
votes
0answers
8 views

Android 1.0 driver

I have run adb reboot bootloader and then my device manager show below error. Where can i find Android 1.0 driver ? PS: I'm using Google Nexus One with CyanogenMod-7.2.0-passion.
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: ...
0
votes
0answers
14 views

Loose connection USB Debugging

Somehow my Nexus 5 has a loose USB-Debugging connection recently... I recently upgraded to Android 5.0.1 I had this once before, but than it could be solved by simply using a different USB cable. If ...
8
votes
3answers
2k views

Accessing android device via ADB shell with broken touchscreen (can't authenticate)

So, the touchscreen on my Nexus 4 broke this weekend. I have a new device coming in, but in the meantime I need to be able to access the device to use a few different apps and send/receive some SMS ...
0
votes
1answer
11 views

Show boot process on screen

I've borked something in my nexus 4 stock rom playing with system files over ADB, and my device no longer boots past the animation. Is there any way I can make the system show it's boot process ...
1
vote
2answers
2k views

ADB unable to connect my Nexus 7 on Ubuntu

I want to be able to connect my Nexus 7 in order to test my applications from Eclipse on the physical device. I followed this Google guide. My /etc/udev/rules.d/51-android.rules file contains this : ...
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 ...
0
votes
1answer
1k views

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
1
vote
1answer
401 views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount ...
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 ...
12
votes
6answers
33k views

Broken screen while debug mode was disabled. How can I re-enable adb?

The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback. Before I go to get it ...
0
votes
0answers
16 views

chroot: can not execute /system/bin/sh

I'm trying to install Linux on Android according to this guide. I threw all the necessary files to the memory card, but it's having a problem when trying to run the bootubuntu script: #modprobe ext2 ...
0
votes
1answer
2k views

How to access bricked phone /system folder? Fix corrupted file

I have a SK504, brazilian phone. Well, i was trying to change my boot animation, but downloaded and installed a corrupted one. So, when i rebooted, the phone shows ANDROID like always, but after, a ...
3
votes
2answers
26 views

Physical Device does not show up in Android Device Chooser

I posted this in stack overflow, but I figured it would be more relevant here. When I open the DDMS, it shows the device there. However, when I try to run my program, Eclipse opens the Android ...
4
votes
2answers
2k views

adb restore progress

Using the backup and restore function with adb (as discussed in Full Backup of non-rooted devices) there is no progress available and often it is very hard to follow the adb logcat output as long ...
0
votes
1answer
25 views

Unable to start chinese tablet even after installing recovery

When I try to boot my chinese tablet it halts on a small android icon and does not go ahead. It is not a boot loop. I just stays there. It booted successfully a couple of hours ago after two days and ...
1
vote
0answers
9 views

What is the command line syntax of ClockworkMod recovery?

Background: I recently broke my phone's touch screen; everything else is working - I can even send inputs using adb shell sendevent ... and view the screen with screencap. ADB while in recovery works ...
5
votes
2answers
10k views

adb “Permission denied” to run a “./configure” file

I need to run a configure file into my android phone so I think the best way to do this is to use the adb shell command. I'm running an Android emulator onto a Windows-7 platform, and there I'm ...
0
votes
1answer
706 views

Backup and Restore with Holo ( ADB ) from N4 to another N4 - some questions

I am soon receiving a replacement device for my Nexus 4, that got some problems charging now and then. Some questions regarding Holo Backup: It shall be no problem to restore a "Backup all without ...
0
votes
2answers
36 views

(Re)boot an Android phone from USB

I own a Samsung Galaxy Note 1 (not rooted) and its lock button doesn't wrok anymore. That means I couldn't boot my phone if it happened to be turned off. But I need to restart it now because it's ...
0
votes
1answer
1k views

Why the file path the phone tells me ,I couldn't find in 'adb shell'?

I used my new Moto X phone, then I encountered a basic problem. It's running Android 4.4.2. I take a photo, and want to send it to my PC. The Gallery app tells me the photo is at ...
0
votes
0answers
18 views

ADB Pull from data/data

So I am developing a Batch Script. It pulls an xml from data/data/my.app.test/prefs.xml I was successful with getting root using this command: adb shell su But when I run these commands they sit ...
0
votes
1answer
3k views

How to remove a system file using adb shell?

I have an android system file in /mnt/extsd/.And I wanted to delete that file. root@android:/mnt/extsd # ls -l d---rwxr-x system media_rw 1980-01-01 00:00 clockworkmod ...
0
votes
0answers
17 views

How can i run At-commadns with the ADB?

I'm new here. i hope you guys could help me. i try to communicate with the modem of my samsung galexy S3 GT-I9300 over the ADB tool. My galexy is rooted and is accessible through adb. Now i wanna ...
5
votes
3answers
1k views

Windows doesn't detect Nexus S

I recently switched from Linux to Windows 8 consumer preview. I have installed the latest android SDK including the Google USB driver. I connect my Nexus S to the laptop, the phone goes into USB ...
1
vote
1answer
2k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
0
votes
1answer
876 views

Check if an app is installed on the device

I'm trying to use the package name and determine the apk path of an app to check if my app is installed in the device. pathCmd = './adb shell pm path ' + packageName pathData = ...
10
votes
2answers
5k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
0
votes
1answer
87 views

Error setting up Android USB debugging on Ubuntu 14.10

I have an Android phone from LG, and I want to use it for USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone shows as ...
3
votes
1answer
2k views

adb input keyevent 26 - Not waking device up

I am trying to wake a device up using the following adb command adb input keyevent 26 This correctly emulates the power button keypress if the screen is on, but will not turn the screen on if it was ...
1
vote
2answers
1k 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
0answers
24 views

Obtain package name AND common name of apps via ADB

I'm looking for a possibility to retrieve both, the package names and the common names of apps installed on an Android device via ADB – or at least to retrieve the common name if the package name is ...
1
vote
1answer
301 views

How do I get the common name of an app having the package name (like com.android.blabla)? (command line or included app)

I’m interested in a way to go from the package name (e.g. com.android.providers.telephony) to it’s common name (Phone/Messaging Storage). The answer should only assume shell access (adb) on the phone ...
1
vote
1answer
2k views

Run native executable in Android

When I install FaceNiff on Bluestack and try to run the executable file from adb shell by ./FaceNiff I get the error: /system/bin/sh: ./FaceNiff: not executable: magic 7F45 I have rooted the ...
2
votes
1answer
272 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 ...
0
votes
0answers
25 views

How to pull every file on the target device

My rooted device (production build) has been remounted successfully with: adb remount When I try to chmod -R 777 / it says : Unable to chmod /: Read-only file system The goal behind this ...
0
votes
2answers
2k views

Can't seem to configure my phone to download to SD card by default

Well, I have a Motorola Razr I and, as expected, my internal storage was pretty limited (only 5 gbs). Of course, I already had a SD card which I inserted into my phone to expand it's memory to 25 gbs ...
1
vote
1answer
4k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
1
vote
2answers
725 views

Android ADB drivers installation error

I am trying to install the usb adb drivers. I turned the debugging mode on in the settings of my phone, connected to the PC. I click update drivers and manually selected the folder where the drivers ...
0
votes
2answers
892 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 ...
0
votes
4answers
11k views

How can I enable USB debugging on my HTC One with Android 4.4?

I have recently updated my HTC One from the stock 4.3 firmware it came with to the stock 4.4 firmware via an OTA update. Since this update occured, I am no longer able to connect to the device with ...
2
votes
1answer
57 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
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 ...
1
vote
1answer
70 views

Error Sideloading Android L

I am trying to update my Nexus 7 (2013) WiFi to Android 5.0 with adb sideload. I get this error: Finding update package... Opening update package... Verifying update package... E:footer is wrong ...
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 ...
4
votes
1answer
24k views

Why can't I get root access from shell?

> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate ...
0
votes
1answer
1k views

Android ADB unable connect with IP address

I have successfully installed Android OS in Oracle virtual box, but I have one problem: I cannot connect to ADB in the Android OS virtual box. In my Network settings in virtual box: When I select ...
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 ...