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
0answers
243 views

Has anyone had trouble connecting the Xyboard via ADB? [closed]

I have no problems when I connect any of my other Android devices (Galaxy 7" & 10", DroidX, and Motorola Xoom), but when I attach either the Xyboard 8" or 10", adb doesn't see them as connected ...
19
votes
6answers
23k views

Backup and restore Android Settings and Application through ADB

I would like to ask if it possible to backup and restore all Android Settings and applications through ADB. I tried: adb backup -all adb: unable to connect for backup It is not working, while all ...
3
votes
2answers
2k views

Can the Galaxy S2 be rooted without increasing the custom flash counter using adb?

Normally, rooting guides for the S2 involve flashing a kernel to the device to install busybox and su. This xda post suggests a method for doing so via adb (found approximately in the middle of the ...
4
votes
3answers
2k views

How to use adb over Mobile AP (Portable wifi hotspot)

First : I know about abdWireless app. But my problem is different. I am using my Android mobile as Mobile AP (Portable WiFi hotspot) for using internet on my computer. I want to use adb in wireless ...
8
votes
6answers
4k views

How to prevent adb shell from exiting upon Ctrl+C

When I adb shell into my device (from Windows desktop), and run some command there, sometimes I want to terminate that command. The standard unixy way to do it is with Ctrl+C key combination. However, ...
1
vote
1answer
767 views

Galaxy Tab 10.1 on windows xp 64bit

I've installed samsung drivers from mobile v1.4.103.0 on windows xp64 from the latest kies package (I've only installed usb drivers). I see Android ADB interface in windows devices but adb still says ...
3
votes
3answers
14k views

ADB status offline when trying to root Kindle Fire

I'm trying to root Kindle Fire but it always show "ADB status: Offline" when I start "run.bat". Could you help me out of this problem? :( I tried to plug, unplug, connect, disconnect the Kindle many ...
3
votes
2answers
1k views

Backing up everything on my kindle fire with ubuntu before installing firefirefire, can't get past Hellions with blue flames when rooting

I'm trying to follow this post in order to install firefirefire on my kindle fire: http://forum.xda-developers.com/showthread.php?t=1369405&page=1 I'm at the part at the beginning of the guide ...
1
vote
2answers
526 views

Why can't I get s=ON on my MyTouch 4g?

I have followed the following 2 tutorials on how to unroot and get S=ON on the MyTouch 4g: http://forum.xda-developers.com/showthread.php?t=834225 I have successfully reverted to the stock ROM and ...
8
votes
1answer
960 views

Use android phone with broken screen as WiFi camera

The screen of my android phone is broken and since I couldn't find a replacement screen I thought of using the phone as wifi camera. I've installed IP cam and use the android.screencast to control and ...
3
votes
5answers
8k views

adb doesn't detect my Defy (Motorola MB525) after I call adb kill-server (rageagainstthecage exploit). Any ideas?

I'm trying cyanogen's mod approach to root my Defy. I can do adb shell, it works as intended. But after I run adb kill-server and try an adb shell I get error: device not found It seems my phone ...
1
vote
1answer
2k views

ADB do not recognize a Tegra Based Tablet

I have a tablet and I'd like to use adb but I have some probles, I looked on google but without luck... Tablet Info: (from tablet) Model Nr: SN10T1 Android OS Version: 2.2 TapUI Version: 1.2-4204 ...
6
votes
2answers
1k views

What options exist when the vendor does not supply an ADB driver for an Android device?

I bought an Android phone and the vendor does not offer any drivers whatsoever. The Android SDK and the drivers that come with it don't seem to work with the device, but the device itself reports as ...
1
vote
2answers
4k views

EeePad Transformer ADB problems with drivers on Windows7 x64

Sorry for the cross-post (http://stackoverflow.com/questions/8185773/eeepad-transformer-adb-problems-with-drivers-on-windows7-x64)... I was told this is a better place for my question. I have 2 ...
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
1answer
506 views

How to prevent data extraction from rooted phone via adb?

I've a question regarding security in a rooted device. Being superuser means that you can access the /data/data directory, and that's a lot of personal data (I think it is almost all the data there ...
2
votes
2answers
16k views

USB drivers for using ADB with Samsung Galaxy S on CyanogenMod 7.1?

I recently installed CyanogenMod 7.1 on my Samsung Galaxy S i9000 and I have some problems now to get ADB on my Windows 7 64-bit computer to recognize the device. Currently, adb devices returns no ...
4
votes
3answers
2k views

Android phone not recognized when connected to Ubuntu, by 'adb devices'

Upgraded my HTC Slide to Froyo. Connecting Ubuntu 10.10 via USB. As per instructions here, http://developer.android.com/guide/developing/device.html $ cat /etc/udev/rules.d/51-android.rules ...
7
votes
2answers
3k views

How can I determine storage directory from ADB?

Is there a way I can use ADB to determine the external storage directory (equivalent of the Android API call Environment.getExternalStorageDirectory())?
1
vote
2answers
5k views

how do I set up adb with MyTouch 4g?

I have a mytouch 4g running gingerbread. I want to set up adb to work with the phone over usb, but I can' figure out how to do it. Frankly, I don't really know anything more so I'm not sure what ...
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
8k 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
26k 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
8answers
16k 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
708 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
2k 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 ...
11
votes
3answers
9k 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
693 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
374 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
337 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
14k 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
13k 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
5k 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
13k 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
278 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
5answers
13k 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
4k 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 ...
24
votes
6answers
48k 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
1k 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 ...
26
votes
4answers
95k 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 ...