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

5
votes
1answer
1k views

How to find app based on package name?

I've installed a malicious app that is posting ads over my notification bar, but can't find it. I know the java package name for it: com.letang.game103.en using the command: adb shell dumpsys ...
6
votes
1answer
2k views

Is it possible to write to a device's clipboard using ADB?

I am interested in learning how to write to (and if possible, read from) a rooted Android device's clipboard. I hope to do so using ADB over USB and I am not interested in installing any apps to help ...
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. ...
4
votes
3answers
4k views

Broken Screen + Using adb shell to run vnc server

I have an HTC HD2 with a completely busted screen, I tried repairing it with a replacement screen but broke the ribbon cable to the screen (oops) sad day, I've got two of these and I've been running ...
0
votes
1answer
99 views

How to track device locations in an office [duplicate]

Possible Duplicate: How can I make my phone/tablet ring remotely without a SIM card? There are many Android devices in our office which we use for application development and QA. Finding a ...
2
votes
1answer
5k views

How to extract .zip through ADB shell

Exactly what the title says. I've got a 1.5 gb zip file on my sdcard that I would like to extract via adb (not pulling to pc and pushing back). Is there a simple command to unzip a file? Thanks!
1
vote
0answers
241 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
22k 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 ...
7
votes
6answers
3k 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
749 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
13k 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
517 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
880 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
493 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
15k 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 ...
3
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 ...
6
votes
2answers
2k 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
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
21k 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
15k 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
694 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 ...
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
656 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
360 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
331 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
12k 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
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
4answers
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
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
44k 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 ...