Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting Android Phone With ADB

I recently bought a new phone (Motorola Electrify) and I'm trying to connect it with ADB but so far without luck. What I did:

  • Enable USB debugging on the phone
  • Connect phone to my iMac using the USB cable (the display indicates that it's connected)
  • Type "./adb devices" to list connected devices

Unfortunately nothing shows up. I even did a adb kill/start-server and I also added "0x22B8" to the adb_usb.ini (even though that shouldn't be necessary).

Can anyone point out what other steps I could take to debug why the device isn't showing up?

Thanks!

like image 851
Joris Weimar Avatar asked Mar 19 '12 19:03

Joris Weimar


People also ask

Can I Enable USB debugging using adb?

Plug your device into your computer. On the computer, open up a terminal/command prompt and type adb devices . A dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.


2 Answers

Thanks for your answers above, but I've resolved it myself. For anyone who has the same problem:

http://code.google.com/p/android/issues/detail?id=15583

has the answer.

It turns out that Motorola has several USB modes. I changed the mode to "USB Mass Storage" and it's working now. I did this by dragging the status bar down and clicking on "USB connection" to manage the USB connection.

like image 142
Joris Weimar Avatar answered Sep 21 '22 15:09

Joris Weimar


In case anyone else isn't clear, usb debugging must be enabled (at least for a droid mini).

like image 32
newb Avatar answered Sep 20 '22 15:09

newb