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
3answers
3k views

“Too many files specified; only takes APK file and verifier file” problem

I have some devices attached to my PC. Now I want to install Astro to a specific emulator. Unfortunately, I get this error. hieund@hieund:~/Downloads$ adb install "Astro File Manager 2.5.1.apk" -s ...
4
votes
3answers
6k views

How to copy all photos in gallery to linux desktop machine?

I have a bunch of photos on my Samsung Galaxy Tab running 3.2 which I'd like to copy over USB to my main machine running Linux so I can work on them with GIMP and other power tools. Despite this ...
8
votes
1answer
10k views

Is there any way to check the backup that android does?

Today I have been researching a bit about the Android backup options (Since I have seen some people having to lose all their data due to ICS serious bugs). From now, I prefer to use native options, ...
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. ...
4
votes
1answer
19k views

why is my file system suddenly read only?

Some background: My HTC Desire HD has several issues. The first issue being that I can not connect to it using a USB cable. So I found that I can tell ADB to work over wifi and I was using this ...
2
votes
1answer
2k views

Can adb start my android device that shows up as “offline”?

I can see my device in adb devices. It shows up as "offline". When it is "ready": $ adb shell $ su # reboot This would reboot my device. The exact problem is that my cellphone has been turning off ...
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
1
vote
1answer
263 views

Nexus One stuck in loading screen - How to save application data? (ROOTED)

I have my N1 rooted and after I installed BlackRose and change the partitions with password protection I wasn't able to start Android ever again. It show this screen: I can access to the adb shell, ...
4
votes
1answer
2k views

How to take backup of all installed APKs from Phone to PC? [duplicate]

How do I take backup of all installed apks from my sgs2 to PC using android sdk/ 3rd party tool etc? My phone is not rooted. I can install/uninstall apks using adb, but is there any similar command ...
1
vote
0answers
76 views

How do I set up adb for the Augen GenTouch78? [closed]

I am trying to root my Augen GenTouch78. I am following instructions from this site but I cannot get past step 8b. I get this error:
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 ...
6
votes
1answer
8k views

adb command to search the filesystem

Is there an adb command similar to "locate" or "grep" that would help me find a file on my Android device? I'm curious about adb specifically, not a search app. EDIT: "find" has been suggested, ...
0
votes
1answer
195 views

Mass install apps using FTP/HTTP

I would like to mass install few apps at one time from a single FTP server - from Android phone, without using adb command. The phone will be rooted and will have and the option to install non-Market ...
5
votes
1answer
2k 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 ...
7
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
103 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
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
25k 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
774 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
530 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
1k 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
5k 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
519 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
17k 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 ...
10
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 ...
12
votes
6answers
30k 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
17k 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
728 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
10k 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
723 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
375 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
341 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 ...