Skip to content

Instantly share code, notes, and snippets.

@smrehan6
smrehan6 / 51-android.rules
Created December 8, 2015 08:56 — forked from xgouchet/51-android.rules
Android Debug Bridge (adb) udev definition file
################################################################################
# Android Debug Bridge (adb) udev definition file
#
# This rules file will add a /dev/android_adb symlink when an Android phone with
# an identified idVendor:idProduct appears on the USB port. Then it will run the
# Android adb program (located in specified RUN+ statement below).
#
# Copy this file to /etc/udev/rules.d/51-android.rules then run the following lines
# sudo chmod a+r /etc/udev/rules.d/51-android.rules
# sudo /etc/init.d/udev restart