So this is just to save the people who use Linux and do Android stuff some trouble, it is merely a compiled list of vendor ID's for many phone manufacturers so that ADB and Fastboot can recognize your device.
Note: For other distributions the instructions would be very similar, you would only be swapping out the "/etc/udev/rules.d/51-android.rules" path for one specific to your distro. Consult Google for specifics, but the content of that file can be copied from the download link below and still work.
Instructions (Ubuntu/Ubuntu-based only):
Download link: 51-android.rules
I will keep this updated if any new manufacturers show up in the Android market.
Note: For other distributions the instructions would be very similar, you would only be swapping out the "/etc/udev/rules.d/51-android.rules" path for one specific to your distro. Consult Google for specifics, but the content of that file can be copied from the download link below and still work.
Instructions (Ubuntu/Ubuntu-based only):
- Download this file: 51-android.rules
- Open a terminal
- Type in
Code:
$ sudo gedit /etc/udev/rules.d/51-android.rules - Open the file you downloaded above and copy and paste the content into the blank file you opened from terminal
- Save the file that was originally blank (and now has content) and close it
- Back in terminal type
Code:
$ sudo chmod a+r /etc/udev/rules.d/51-android.rules - Now you need to restart the udev service, so try the following commands ONE at a time until one of them works (doesn't give errors). If you'd rather NOT restart udev, you can also reboot for the changes to take effect.
Code:service udev restart sudo /etc/init.d/udev restart sudo reload udev sudo udevadm trigger - In terminal, either cd to your ADB directory (if not set in your $PATH) and run this
or if it is in your path, run thisCode:
$ ./adb devicesAny connected devices should show upCode:$ adb devices - You're done, you can now use adb to connect to your Android device, even if you get a new phone as the definitions in the file cover a large range of manufacturers
Download link: 51-android.rules
I will keep this updated if any new manufacturers show up in the Android market.
Last edited: