Search code examples
androidadtcyanogenmod

Cyanogen rooted Defy+ not recognized by ADT


I'm developing an application using the Android Development Tools and would like to use my Cyanogen rooted Motorola Defy+ phone as a test device. When I connect it via USB, the Android Device Chooser shows it's serial number as "?????????", AVD name as "unknown" and does not allow a connection. Is there a work around for this? Thanks.


Solution

  • The solution that worked for me is described here: http://developer.android.com/tools/device.html#setting-up

    I needed to create a rules file here "/etc/udev/rules.d/51-android.rules"

    that has the USB Vendor ID (22b8) for my Motorola, (look that up here, http://developer.android.com/tools/device.html#VendorIds). The contents of 51-android.rules is, SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev". Then execute this, "chmod a+r /etc/udev/rules.d/51-android.rules" as root and restart.