
If the dialog was never presented, try Settings > Developer Options > Revoke USB Debugging Authorizations, then tap OK, and repeat the steps in this section.

A Allow USB Debugging? dialog should be presented when you physically connect the device. If adb devices still shows unauthorized next to your device, make sure that that device has debugging permission allowed on the device itself. If adb still does not detect the device after plugging your device back in, kill and restart the adb server as root and check devices again: etc/udev/rules.d/les SUBSYSTEM="usb", ATTR="", SYMLINK+="android_fastboot"Īfter you have setup the udev rules, unplug your device and replug it. If your device is not included in android-udev (or android-udev-git AUR), use the following template to create a custom udev rule by replacing and with the IDs of your device. An example for HTC Evo is:īus 002 Device 006: ID 0bb4:0c8d High Tech Computer Corp. Otherwise see the instructions below.Įach Android device has a USB vendor/product ID. If ADB recognizes your device ( adb devices shows it as "device" and not as "unauthorized", or it is visible and accessible in IDE), you are done. Reboot the phone after checking this option to make sure USB debugging is enabled.

Many USB cables bundled with mobile devices do not include the USB data pin.

Many devices' udev rules are included in libmtp, so if you have this installed, the following steps may not be necessary.Some other devices require enable PTP mode to work. For some devices, you may have to enable MTP on the device, before ADB will work.
