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
1answer
2k views

How to unbrick/reflash Nexus S using stock ROM, stock tools

I have a Nexus S that seems to have bricked itself. I have never modded the ROM or phone, and it was totally stock. Now, it boots right int the white Google logo and stays there forever (I let it ...
9
votes
3answers
7k views

Command to install app from phone?

I'd like to SSH into my phone, download an APK, and install it remotely. Is there a command available on the phone that would allow me to do this? EG: wget localhost/file.apk android_install ...
11
votes
6answers
17k 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 ...
7
votes
6answers
14k views

ADB constantly disconnects, shows device offline

I'm not 100% sure if this should go here or the main Stack Overflow, but I decided to go with this area in hope I might catch someone with more specific experience with a similar problem. I have a ...
1
vote
1answer
675 views

Why can't I access the /data directory with ADB on my Samsung Vibrant?

I used Simply Honey before and everything was okay. However, when I flash to a Stock 2.2 ROM, I cannot access the /data directory from adb. I am sure the phone is totally rooted because I have the ...
2
votes
2answers
1k views

Connect with adb to device via network

I want to do some android theming, but I have a question on what the best way is to set up the system. I have 2 computers here at home. So i was thinking of having the following setup if that is ...
10
votes
3answers
8k views

Android Read recent SMS messages from command line

I have recently broken my Android's screen. (Again) Its a T-Mobile G2 Trying to keep up with my busy technology related life is hard enough without losing my link with everyone. I have rooted the ...
1
vote
1answer
638 views

How can I clear the cache(s) of my g2x from adb?

I installed clockworkmod as the recovery, then installed cyanogen 7 nightly for the g2x. I used Rom Manager to do so. The problem I'm having is cyanogen shows the boot loading screen in an infinite ...
0
votes
1answer
342 views

Failure -12 error when installing an apk file

When I try to install this app (http://ziyang.eecs.umich.edu/projects/powertutor/UMLogger-release-signed.apk) on G1 phone I'm getting this error message: Failure [-12] What's the problem?
5
votes
3answers
329 views

Device recognized as ????? in ubuntu

Hello good people of stack exchange, I am having trouble setting up my Ubuntu 11.04 boot to use for app development on a hardware device. I have followed the instructions here to try and recongnize ...
5
votes
2answers
1k views

Running a tasker task via SSHDroid (or adb shell)

I'm trying to run a tasker task manually from ADB Shell, via SSHDroid. I'm running the following in putty (Windows SSH client): am broadcast -a net.dinglisch.android.tasker.ACTION_TASK -es task_name ...
13
votes
3answers
11k views

Why is “insufficient storage” wrongly reported when installing an .apk via adb? [duplicate]

I have an HTC Desire running Froyo. It is not rooted, nor have I installed any custom ROM. I get an "Insufficient Storage" error when I'm trying to install an app via adb/eclipse. The .apk is only ...
7
votes
3answers
12k views

How to solve: “Failed to push selection: Out of memory”

I Create an article in Stack overflow. But as I found this site, I decide to ask the same question here, because I still need your help. I have made the following steps: Launch Eclipse Go To: ...
10
votes
3answers
6k views

Linux program to transfer file from/to an android device?

Do you know if there is a linux program (possibly nautilus plugin) to transfer file from/to an android device? What is in my mind is a program which does "adb push", "adb pull", and "adb shell ls" in ...
4
votes
1answer
4k views

Terminating adb.exe?

I am trying to hot spot my htc evo. When I click on PDAnet, it tells me that I have to terminate adb.exe. how do i terminate adb.exe. thank
3
votes
2answers
5k views

Do I need Android SDK to connect my phone in USB debug mode?

I'm following the steps provided here to root my Samsung Captivate (Galaxy-S). I install the USB drivers in the link provided. Whenever I connect my phone, I get the error There was a problem ...
9
votes
4answers
12k views

Android uninstall failed - ADB uninstall

I attempted to force the uninstall in ADB: $ adb shell pm uninstall -k org.openintents.filemanager Failure .... $ adb shell pm list packages -f | grep -i manager ...
-1
votes
1answer
270 views

Device recognition on Android SDK

I've got a Chinese aPad running Android 1.5, how do I get it to be recongnised by Android SDK? I want to do adb hacks as recommended by this answer. Pointers to using adb also welcome.
15
votes
4answers
12k views

Is there a way to see the device's screen *live* on PC, through ADB?

I am a vlogger and after getting HTC Desire HD, found out its camera was all I ever needed. However, I usually have to see myself while recording video, to control my facial expressions, and with a ...
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 ...
7
votes
3answers
3k views

Can I use ADB without connecting over USB?

Is there a way to use adb directly via bluetooth instaad of always via usb?
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 ...
23
votes
6answers
41k views

Is there a way for me to run Adb shell as root without typing in 'su'?

Is there a way for me to run Adb shell as root without typing in su? I want to be able to have root access without going into the shell.
0
votes
1answer
957 views

adb devices show phone in debug mod but not in fastboot mod

When debugging mode adb devices , it will show my HTC magic. But when the phone is in fastboot mod , I can't see my HTC magic in adb devices. I am using ubuntu 10.10 , my ...
8
votes
5answers
7k views

Where can I obtain an sqlite3 command line binary for android 2.2.1?

When I read documentation such as Examining sqlite3 databases from a remote shell I get the impression an sqlite command-line binary should exist on my phone. Sadly I can't seem to find it on my phone ...
5
votes
1answer
2k views

Error launching ddms.bat: “Failed to get the adb version: Cannot run program ”adb“: CreateProcess error=2, The system cannot find the file specified”

I've been following these very detailed instructions to take a screenshot on my Motorola Flipside. When I get to the step #10 where I launch ddms.bat I get this error and my phone doesn't show up: ...
3
votes
0answers
2k views

How to enable a HTC MyTouch 3G Slide USB tether in Windows 7?

I'm trying to use HTC MyTouch 3G Slide for USB tether instead of my old G1, which works perfectly. On the first try the ADB driver didn't recognize the phone, but worked fine after adding this to ...
22
votes
4answers
79k views

Where in the file system are applications installed?

I have installed a few Android applications both with the adb install MyApplication.apk command and via a webserver (like an alternative to Android Market). But where in the Android file system on my ...