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.
The device will ask to allow the computer with its fingerprint to connect. Then go to Settings > Developer > USB debugging and enable it. Build number may be under a menu called Software info on newer Android OS versions. Jelly Bean (4.2) and newer: Go to Settings > About Phone tap Build Number 7 times until you get a popup that you have become a developer.Enable USB Debugging on your phone or device:.You might want to install android-udev if you wish to connect the device to the proper /dev/ entries.To connect to a real device or phone via ADB under Arch, you must: Many USB cables bundled with mobile devices do not include the USB data pin. Make sure your USB cable is capable of both charge and data.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.