M0Rf30/android-udev-rules — pull request #19 by Raudi1 (2013-06-23 20:52:40+00:00)
Title: Added correct device ids for Nexus 4/7

Google Nexus 4/7 devices change their id when you enable debugging or go into the bootloader. The id's for my Nexus 4 and 7 according to lsusb are these:

Nexus 4:
Fastboot - ID 18d1:4ee0 Google Inc.
MTP - ID 18d1:4ee1 Google Inc. Nexus 4
MTP+ADB - ID 18d1:4ee2 Google Inc. Nexus 4 (debug)

Nexus 7:
Fastboot - ID 18d1:4e40 Google Inc. Nexus 7 (fastboot)
MTP - ID 18d1:4e41 Google Inc. ASUS Nexus 7 (MTP modus)
MTP+ADB - ID 18d1:4e42 Google Inc. Nexus 7 (debug)

I hope I made the necessary changes. Also the Nexus 10 seems to have a wrong id, so I commented it out since it would be the same as for the Nexus 4 in MTP mode. Someone with the device should check. Also I deleted the entries for the Nexus 4/7 in the Samsung devices section. As far as I understand Udev (not much sadly), they are duplicates, but it should be checked by someone who understands Udev.