Questions tagged [adb]

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.

Filter by
Sorted by
Tagged with
6
votes
2answers
2k 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
6k 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
3k 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 ...
3
votes
1answer
934 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 ...
4
votes
3answers
27k 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
4k 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 ...
9
votes
2answers
10k 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
6k 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
3k 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 ...
14
votes
3answers
15k 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 file....
40
votes
4answers
271k 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 ...
36
votes
15answers
84k 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
1k 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 ...
3
votes
2answers
4k 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 ...
18
votes
4answers
29k 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
2k 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
642 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
375 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
3k 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 ...
18
votes
3answers
49k 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 ...
11
votes
3answers
18k 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: ...
12
votes
3answers
7k 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 ...
6
votes
1answer
15k 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
6k 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 ...
19
votes
3answers
79k views

Uninstall system app failed using 'adb shell pm uninstall'

I attempted to force uninstall in ADB, but failed: $ adb shell pm uninstall -k org.openintents.filemanager $ adb shell pm list packages -f | grep -i manager package:/system/app/FileManager.apk=org....
-1
votes
1answer
320 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.
29
votes
4answers
46k views

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

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 ...
3
votes
3answers
4k 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 http:/...
13
votes
4answers
22k views

Can I use ADB without connecting over USB?

Is there a way to use adb directly via bluetooth instead of always via usb? -- Thanks for the adb wireless solutions below, but I am looking for something that works well on hotel or public wifi. ...
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 ...
45
votes
7answers
148k 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
2k 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 /lib/udev/rules.d/11-...
5
votes
1answer
4k 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: ...
99
votes
4answers
411k 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 ...