Android udev rules list aimed to be the most comprehensive on the net

License: GPL-3.0

Keywords: android, distro-agnostic, rules, udev

These rules refer to 


and include many suggestions from the Archlinux and Github Community

If you're developing on Ubuntu Linux, you need to add a udev rules file that contains a USB configuration for each type of device you want to use for development. In the rules file, each device manufacturer is identified by a unique vendor ID, as specified by the ATTR{idVendor} property. For a list of vendor IDs, see USB Vendor IDs, below. To set up device detection on Ubuntu Linux:
Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
Use this format to add each vendor to the file:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev" 

In this example, the vendor ID is for HTC. 
The MODE assignment specifies read/write permissions, and GROUP defines which Unix group owns the device node.
Note: The rule syntax may vary slightly depending on your environment. Consult the udev documentation for your system as needed. For an overview of rule syntax, see this guide to writing udev rules. 
please refer to 51-android.rules in [ubuntu directory](ubuntu)
Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules

Try group plugdev rather than plugindev. Then restart udev:
sudo udevadm control --reload-rules
sudo service udev restart

Add plugdev to <ubuntuloginid>
sudo useradd -G plugdev <ubuntuloginid>

Project Statistics

Sourcerank 8
Repository Size 232 KB
Stars 610
Forks 277
Watchers 38
Open issues 3
Dependencies 0
Contributors 37
Tags 29
Last updated
Last pushed

Top Contributors See all

Gianluca Boiano Joe Rajendarreddy Jagapathi Hans-Christoph Steiner CupIvan lizifang Phillip Thelen mdinolfo Thomas Sarboni David Strobach Ľubomír Kučera mus65 Piotr Zaborowski Fernando Gilberto Pereira da Silva Mizux Raudi1 princeofgiri David Runge Adrian Berriel Ruggero D'Alò

Recent Tags See all

20190114 December 22, 2018
20181031 October 31, 2018
20181030 October 30, 2018
20181026 October 26, 2018
20180715 July 15, 2018
20180112 January 12, 2018
20171216 December 16, 2017
20171206 December 06, 2017
20171113 November 13, 2017
20171107 November 07, 2017
20171031 October 31, 2017
20171014 October 10, 2017
20170910 September 10, 2017
20170902 September 02, 2017
20170612 June 12, 2017

Interesting Forks See all

Android udev rules list aimed to be the most comprehensive on the net
Last pushed - 1 stars
Android udev rules list aimed to be the most comprehensive on the net
Updated - 1 stars
Android udev rules for Archlinux (Please check upstream for latest).
GPL-3.0 - Last pushed - 1 stars
Android udev rules for Archlinux
GPL-3.0 - Last pushed - 1 stars
Android udev rules for Archlinux
Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-11-24 18:52:32 UTC

Login to resync this repository