461 lines
14 KiB
Plaintext
461 lines
14 KiB
Plaintext
# These rules refer: http://developer.android.com/guide/developing/device.html
|
|
# and include many suggestions from Archlinux, Github and other Communities.
|
|
# Latest version can be found at: https://github.com/M0Rf30/android-udev-rules
|
|
|
|
# Skip this section below if this device is not connected by USB
|
|
SUBSYSTEM!="usb", GOTO="android_usb_rules_end"
|
|
|
|
LABEL="android_usb_rules_begin"
|
|
# Devices listed here in android_usb_rules_{begin...end} are connected by USB
|
|
|
|
# Ajout perso
|
|
ATTR{idVendor}="2a70", ATTR{idProduct}=="9011",ENV{adb_user}="yes"
|
|
|
|
# Acer
|
|
ATTR{idVendor}!="0502", GOTO="not_Acer"
|
|
ENV{adb_user}="yes"
|
|
# Iconia Tab A1-830
|
|
ATTR{idProduct}=="3604", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Iconia Tab A500
|
|
ATTR{idProduct}=="3325", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Liquid
|
|
ATTR{idProduct}=="3202"
|
|
ATTR{idProduct}=="3203", SYMLINK+="android_adb"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_Acer"
|
|
|
|
# ADVANCE
|
|
ATTR{idVendor}=="0a5c", ENV{adb_user}="yes"
|
|
# S5
|
|
ATTR{idProduct}=="e681", SYMLINK+="android_adb"
|
|
|
|
# Archos
|
|
ATTR{idVendor}!="0e79", GOTO="not_Archos"
|
|
ENV{adb_user}="yes"
|
|
# 43
|
|
ATTR{idProduct}=="1417", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# 101
|
|
ATTR{idProduct}=="1411", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# 101 xs
|
|
ATTR{idProduct}=="1549", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_Archos"
|
|
|
|
# Asus
|
|
ATTR{idVendor}=="0b05", ENV{adb_user}="yes"
|
|
# Zenphone 5
|
|
# normal
|
|
ATTR{idProduct}=="4c90"
|
|
# USB Debugging
|
|
ATTR{idProduct}=="4c91", SYMLINK+="android_adb"
|
|
# Fastboot
|
|
ATTR{idProduct}=="4daf", SYMLINK+="android_fastboot"
|
|
# Tegra APX
|
|
ATTR{idProduct}=="7030"
|
|
|
|
# Azpen Onda
|
|
ATTR{idVendor}=="1f3a", ENV{adb_user}="yes"
|
|
|
|
# BQ
|
|
ATTR{idVendor}!="2a47", GOTO="not_BQ"
|
|
ENV{adb_user}="yes"
|
|
# Aquaris 4.5
|
|
ATTR{idProduct}=="0c02", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
ATTR{idProduct}=="2008", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_BQ"
|
|
|
|
# Dell
|
|
ATTR{idVendor}=="413c", ENV{adb_user}="yes"
|
|
|
|
# Foxconn
|
|
ATTR{idVendor}=="0489", ENV{adb_user}="yes"
|
|
# Commtiva Z71, Geeksphone One
|
|
ATTR{idVendor}=="0489", ATTR{idProduct}=="c001", SYMLINK+="android_adb"
|
|
|
|
# Fujitsu/Fujitsu Toshiba
|
|
ATTR{idVendor}=="04c5", ENV{adb_user}="yes"
|
|
|
|
# Fuzhou Rockchip Electronics
|
|
ATTR{idVendor}=="2207", ENV{adb_user}="yes"
|
|
# Mediacom Smartpad 715i
|
|
ATTR{idVendor}=="2207", ATTR{idProduct}=="0000", SYMLINK+="android_adb"
|
|
# Ubislate 7Ci
|
|
ATTR{idVendor}=="2207", ATTR{idProduct}=="0010", SYMLINK+="android_adb"
|
|
|
|
# Garmin-Asus
|
|
ATTR{idVendor}=="091e", ENV{adb_user}="yes"
|
|
|
|
# Google
|
|
ATTR{idVendor}!="18d1", GOTO="not_Google"
|
|
ENV{adb_user}="yes"
|
|
# Nexus 4, Nexus 7 2013
|
|
ATTR{idProduct}=="4ee2", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="4ee0", SYMLINK+="android_fastboot"
|
|
# Nexus 7
|
|
ATTR{idProduct}=="4e42", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="4e40", SYMLINK+="android_fastboot"
|
|
# Nexus 5, Nexus 10
|
|
ATTR{idProduct}=="4ee1", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Nexus S
|
|
ATTR{idProduct}=="4e21"
|
|
ATTR{idProduct}=="4e22", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="4e20", SYMLINK+="android_fastboot"
|
|
# Galaxy Nexus
|
|
ATTR{idProduct}=="4e30", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Nexus One
|
|
ATTR{idProduct}=="4e11"
|
|
ATTR{idProduct}=="4e12", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="0fff", SYMLINK+="android_fastboot"
|
|
# Generic and unspecified debug interface
|
|
ATTR{idProduct}=="d00d", SYMLINK+="android_fastboot"
|
|
# Include: Samsung Galaxy Nexus (GSM)
|
|
ATTR{idProduct}=="4e30", SYMLINK+="android_fastboot"
|
|
# Include: Samsung Galaxy Nexus (Edit IUT)
|
|
ATTR{idProduct}=="d002", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Recovery adb entry for Nexus Family
|
|
ATTR{idProduct}=="d001", SYMLINK+="android_adb"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_Google"
|
|
|
|
# Haier
|
|
ATTR{idVendor}=="201e", ENV{adb_user}="yes"
|
|
|
|
# Hisense
|
|
ATTR{idVendor}=="109b", ENV{adb_user}="yes"
|
|
|
|
# HTC
|
|
ATTR{idVendor}!="0bb4", GOTO="not_HTC"
|
|
|
|
ENV{adb_user}="yes"
|
|
# fastboot mode enabled
|
|
ATTR{idProduct}=="0fff", SYMLINK+="android_fastboot", GOTO="android_usb_rule_match"
|
|
|
|
# ChaCha
|
|
ATTR{idProduct}=="0cb2", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Desire (Bravo)
|
|
ATTR{idProduct}=="0c87", SYMLINK+="android_adb"
|
|
# Desire HD
|
|
ATTR{idProduct}=="0ca2", SYMLINK+="android_adb"
|
|
# Desire S (Saga)
|
|
ATTR{idProduct}=="0cab", SYMLINK+="android_adb"
|
|
# Desire Z
|
|
ATTR{idProduct}=="0c91", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Evo Shift
|
|
ATTR{idProduct}=="0ca5", SYMLINK+="android_adb"
|
|
# G1
|
|
ATTR{idProduct}=="0c01", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# HD2
|
|
ATTR{idProduct}=="0c02", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Hero H2000
|
|
ATTR{idProduct}=="0001", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Hero (GSM), Desire
|
|
ATTR{idProduct}=="0c99", SYMLINK+="android_adb"
|
|
# Hero (CDMA)
|
|
ATTR{idProduct}=="0c9a", SYMLINK+="android_adb"
|
|
# Incredible
|
|
ATTR{idProduct}=="0c9e", SYMLINK+="android_adb"
|
|
# Incredible rev 0002
|
|
ATTR{idProduct}=="0c8d", SYMLINK+="android_adb"
|
|
# MyTouch 4G
|
|
ATTR{idProduct}=="0c96", SYMLINK+="android_adb"
|
|
# One (m7) && One (m8)
|
|
ATTR{idProduct}=="0c93"
|
|
# Sensation
|
|
ATTR{idProduct}=="0f87", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="0ff0", SYMLINK+="android_fastboot"
|
|
# One V
|
|
ATTR{idProduct}=="0ce5", SYMLINK+="android_adb"
|
|
# Slide
|
|
ATTR{idProduct}=="0e03", SYMLINK+="android_adb"
|
|
# Tatoo, Dream, ADP1, G1, Magic
|
|
ATTR{idProduct}=="0c01"
|
|
ATTR{idProduct}=="0c02", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Vision
|
|
ATTR{idProduct}=="0c91", SYMLINK+="android_adb"
|
|
# Wildfire
|
|
ATTR{idProduct}=="0c8b", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Wildfire S
|
|
ATTR{idProduct}=="0c86", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Zopo ZP900, Fairphone
|
|
ATTR{idProduct}=="0c03", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Zopo C2
|
|
ATTR{idProduct}=="2008", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_HTC"
|
|
|
|
# Huawei
|
|
ATTR{idVendor}=="12d1", ENV{adb_user}="yes"
|
|
# IDEOS
|
|
ATTR{idProduct}=="1038", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="1038", SYMLINK+="android_fastboot"
|
|
# U8850 Vision
|
|
ATTR{idProduct}=="1021", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="1021", SYMLINK+="android_fastboot"
|
|
|
|
# Intel
|
|
ATTR{idVendor}=="8087", ENV{adb_user}="yes"
|
|
# Geeksphone Revolution
|
|
ATTR{idVendor}=="8087", ATTR{idProduct}=="0a16", SYMLINK+="android_adb"
|
|
|
|
# K-Touch
|
|
ATTR{idVendor}=="24e3", ENV{adb_user}="yes"
|
|
|
|
# KT Tech
|
|
ATTR{idVendor}=="2116", ENV{adb_user}="yes"
|
|
|
|
# Kyocera
|
|
ATTR{idVendor}=="0482", ENV{adb_user}="yes"
|
|
|
|
# Lab126
|
|
ATTR{idVendor}=="1949", ENV{adb_user}="yes"
|
|
# Amazon Kindle Fire
|
|
ATTR{idProduct}=="0006", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="0006", SYMLINK+="android_fastboot"
|
|
|
|
# Lenovo
|
|
ATTR{idVendor}=="17ef", ENV{adb_user}="yes"
|
|
|
|
# LG
|
|
ATTR{idVendor}!="1004", GOTO="not_LG"
|
|
ENV{adb_user}="yes"
|
|
# Ally, Vortex, P500, P500h
|
|
ATTR{idProduct}=="618f"
|
|
ATTR{idProduct}=="618e", SYMLINK+="android_adb"
|
|
# G2 D803
|
|
ATTR{idProduct}=="618c", SYMLINK+="android_adb"
|
|
# G2 D803 rogers
|
|
ATTR{idProduct}=="631f", SYMLINK+="android_adb"
|
|
# G3 D855
|
|
ATTR{idProduct}=="633e", SYMLINK+="android_adb"
|
|
# Optimus LTE
|
|
ATTR{idProduct}=="6315", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="61f9", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
|
|
# Optimus One
|
|
ATTR{idProduct}=="61c5", SYMLINK+="android_adb"
|
|
# Swift GT540
|
|
ATTR{idProduct}=="61b4", SYMLINK+="android_adb"
|
|
# P500 CM10
|
|
ATTR{idProduct}=="61a6", SYMLINK+="android_adb"
|
|
# 4X HD P880
|
|
ATTR{idProduct}=="61f9", SYMLINK+="android_adb"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_LG"
|
|
|
|
# Motorola
|
|
ATTR{idVendor}!="22b8", GOTO="not_Motorola"
|
|
ENV{adb_user}="yes"
|
|
# CLIQ XT/Quench
|
|
ATTR{idProduct}=="2d66"
|
|
# Defy/MB525
|
|
ATTR{idProduct}=="428c"
|
|
# Droid
|
|
ATTR{idProduct}=="41db"
|
|
# Xoom ID 1
|
|
ATTR{idProduct}=="70a8", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xoom ID 2
|
|
ATTR{idProduct}=="70a9", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Razr XT912
|
|
ATTR{idProduct}=="4362", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Moto XT1052
|
|
ATTR{idProduct}=="2e83", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Moto E/G
|
|
ATTR{idProduct}=="2e76", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Moto E/G (Dual SIM)
|
|
ATTR{idProduct}=="2e80", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Moto E/G (Global GSM)
|
|
ATTR{idProduct}=="2e82", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_Motorola"
|
|
|
|
# MTK
|
|
ATTR{idVendor}=="0e8d", ENV{adb_user}="yes"
|
|
|
|
# NEC
|
|
ATTR{idVendor}=="0409", ENV{adb_user}="yes"
|
|
|
|
# Nook
|
|
ATTR{idVendor}=="2080", ENV{adb_user}="yes"
|
|
|
|
# Nvidia
|
|
ATTR{idVendor}=="0955", ENV{adb_user}="yes"
|
|
|
|
# Oppo
|
|
ATTR{idVendor}=="22d9", ENV{adb_user}="yes"
|
|
# Find 5
|
|
ATTR{idProduct}=="2767", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="2764", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
|
|
|
|
# OTGV
|
|
ATTR{idVendor}=="2257", ENV{adb_user}="yes"
|
|
|
|
# Pantech
|
|
ATTR{idVendor}=="10a9", ENV{adb_user}="yes"
|
|
|
|
# Pegatron
|
|
ATTR{idVendor}=="1d4d", ENV{adb_user}="yes"
|
|
|
|
# Philips
|
|
ATTR{idVendor}=="0471", ENV{adb_user}="yes"
|
|
|
|
# PMC-Sierra
|
|
ATTR{idVendor}=="04da", ENV{adb_user}="yes"
|
|
|
|
# Qualcomm
|
|
ATTR{idVendor}=="05c6", ENV{adb_user}="yes"
|
|
# Geeksphone Zero
|
|
ATTR{idProduct}=="9025", SYMLINK+="android_adb"
|
|
# OnePlus One
|
|
ATTR{idProduct}=="6769", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="6764", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="6765", SYMLINK+="android_adb"
|
|
# OnePlus Two
|
|
ATTR{idProduct}=="9011", SYMLINK+="android_adb"
|
|
|
|
# SK Telesys
|
|
ATTR{idVendor}=="1f53", ENV{adb_user}="yes"
|
|
|
|
# Samsung
|
|
ATTR{idVendor}!="04e8", GOTO="not_Samsung"
|
|
# False positive printer
|
|
ATTR{idProduct}=="3252", GOTO="android_usb_rules_end"
|
|
# False positive {non-phone devices}
|
|
ATTR{idProduct}!="6???", GOTO="android_usb_rules_end"
|
|
|
|
ENV{adb_user}="yes"
|
|
# Galaxy i5700
|
|
ATTR{idProduct}=="681c", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Galaxy i5800
|
|
ATTR{idProduct}=="681c", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="6601", SYMLINK+="android_fastboot"
|
|
ATTR{idProduct}=="68a9", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
|
|
# Galaxy i7500
|
|
ATTR{idProduct}=="6640", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Galaxy i9000 S, i9300 S3
|
|
ATTR{idProduct}=="6601", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="685d", MODE="0660"
|
|
ATTR{idProduct}=="68c3", MODE="0660"
|
|
# Galaxy Ace (S5830) "Cooper"
|
|
ATTR{idProduct}=="689e", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Galaxy Tab
|
|
ATTR{idProduct}=="6877", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Galaxy Nexus (GSM)
|
|
ATTR{idProduct}=="685c"
|
|
# Galaxy Core, Tab 10.1, i9100 S2, i9300 S3, N5100 Note (8.0), Galaxy S3 SHW-M440S 3G (Korea only)
|
|
ATTR{idProduct}=="6860", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="685e", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Galaxy i9300 S3
|
|
ATTR{idProduct}=="6866", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
|
|
# Galaxy S4 GT-I9500
|
|
ATTR{idProduct}=="685d", SYMLINK+="android_adb"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_Samsung"
|
|
|
|
# Sharp
|
|
ATTR{idVendor}=="04dd", ENV{adb_user}="yes"
|
|
|
|
# Sony
|
|
ATTR{idVendor}=="054c", ENV{adb_user}="yes"
|
|
|
|
# Sony Ericsson
|
|
ATTR{idVendor}!="0fce", GOTO="not_Sony_Ericsson"
|
|
ENV{adb_user}="yes"
|
|
# Xperia X10 mini
|
|
ATTR{idProduct}=="3137"
|
|
ATTR{idProduct}=="2137", SYMLINK+="android_adb"
|
|
# Xperia X10 mini pro
|
|
ATTR{idProduct}=="3138"
|
|
ATTR{idProduct}=="2138", SYMLINK+="android_adb"
|
|
# Xperia X8
|
|
ATTR{idProduct}=="3149"
|
|
ATTR{idProduct}=="2149", SYMLINK+="android_adb"
|
|
# Xperia X12
|
|
ATTR{idProduct}=="e14f"
|
|
ATTR{idProduct}=="614f", SYMLINK+="android_adb"
|
|
# Xperia Arc S
|
|
ATTR{idProduct}=="414f", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia Neo V
|
|
ATTR{idProduct}=="6156", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="0dde", SYMLINK+="android_fastboot"
|
|
# Xperia S
|
|
ATTR{idProduct}=="5169", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia SP
|
|
ATTR{idProduct}=="6195", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia L
|
|
ATTR{idProduct}=="5192", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia Mini Pro
|
|
ATTR{idProduct}=="0166", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia V
|
|
ATTR{idProduct}=="0186", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia Acro S
|
|
ATTR{idProduct}=="5176", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia Z1 Compact
|
|
ATTR{idProduct}=="51a7", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia Z3 Compact
|
|
ATTR{idProduct}=="01bb", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
# Xperia Z3+ Dual
|
|
ATTR{idProduct}=="51c9", SYMLINK+="android_adb", SYMLINK+="android_fastboot"
|
|
GOTO="android_usb_rule_match"
|
|
LABEL="not_Sony_Ericsson"
|
|
|
|
# Spreadtrum
|
|
ATTR{idVendor}=="1782", ENV{adb_user}="yes"
|
|
|
|
# T & A Mobile Phones
|
|
ATTR{idVendor}=="1bbb", ENV{adb_user}="yes"
|
|
# Alcatel OT991D
|
|
ATTR{idProduct}=="00f2", SYMLINK+="android_adb"
|
|
|
|
# Teleepoch
|
|
ATTR{idVendor}=="2340", ENV{adb_user}="yes"
|
|
|
|
# Texas Instruments UsbBoot
|
|
ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f"
|
|
ATTR{idVendor}=="0451", ATTR{idProduct}=="d010"
|
|
|
|
# Toshiba
|
|
ATTR{idVendor}=="0930", ENV{adb_user}="yes"
|
|
|
|
# WEARNERS
|
|
ATTR{idVendor}=="05c6", ENV{adb_user}="yes"
|
|
|
|
# ZTE
|
|
ATTR{idVendor}=="19d2", ENV{adb_user}="yes"
|
|
# Blade
|
|
ATTR{idProduct}=="1353"
|
|
ATTR{idProduct}=="1351", SYMLINK+="android_adb"
|
|
# Blade S (Crescent, Orange San Francisco 2)
|
|
ATTR{idProduct}=="1355"
|
|
ATTR{idProduct}=="1354", SYMLINK+="android_adb"
|
|
|
|
# XiaoMi
|
|
ATTR{idVendor}=="2717", ENV{adb_user}="yes"
|
|
# Mi2A
|
|
ATTR{idProduct}=="904e", SYMLINK+="android_adb"
|
|
ATTR{idProduct}=="9039", SYMLINK+="android_adb"
|
|
# Mi3
|
|
ATTR{idProduct}=="0368", SYMLINK+="android_adb"
|
|
# RedMi 1S WCDMA (MTP+Debug)
|
|
ATTR{idProduct}=="1268", SYMLINK+="android_adb"
|
|
# RedMi / RedMi Note WCDMA (MTP+Debug)
|
|
ATTR{idProduct}=="1248", SYMLINK+="android_adb"
|
|
# RedMi 1S / RedMi / RedMi Note WCDMA (PTP+Debug)
|
|
ATTR{idProduct}=="1218", SYMLINK+="android_adb"
|
|
# RedMi 1S /RedMi / RedMi Note WCDMA (Usb+Debug)
|
|
ATTR{idProduct}=="1228", SYMLINK+="android_adb"
|
|
# RedMi / RedMi Note 4G WCDMA (MTP+Debug)
|
|
ATTR{idProduct}=="1368", SYMLINK+="android_adb"
|
|
# RedMi / RedMi Note 4G WCDMA (PTP+Debug)
|
|
ATTR{idProduct}=="1318", SYMLINK+="android_adb"
|
|
# RedMi / RedMi Note 4G WCDMA (Usb+Debug)
|
|
ATTR{idProduct}=="1328", SYMLINK+="android_adb"
|
|
|
|
# Skip other vendor tests
|
|
LABEL="android_usb_rule_match"
|
|
|
|
# Enable device as a user device if found
|
|
ENV{adb_user}=="yes", MODE="0666", TAG+="uaccess"
|
|
|
|
# Devices listed here {begin...end} are connected by USB
|
|
LABEL="android_usb_rules_end"
|