Add RedMi Note 4G CDMA

This commit is contained in:
jemyzhang 2016-03-03 18:09:37 +08:00
parent e6f2caa256
commit ca5da494be
2 changed files with 11 additions and 0 deletions

View File

@ -444,6 +444,8 @@ ATTR{idProduct}=="1368", SYMLINK+="android_adb"
ATTR{idProduct}=="1318", SYMLINK+="android_adb"
# RedMi / RedMi Note 4G WCDMA (Usb+Debug)
ATTR{idProduct}=="1328", SYMLINK+="android_adb"
# RedMi / RedMi Note 4G CDMA (Usb+Debug)
ATTR{idProduct}=="ff68", SYMLINK+="android_adb"
GOTO="android_usb_rule_match"
LABEL="not_XiaoMi"

View File

@ -43,3 +43,12 @@ Try group plug**in**dev rather than plugdev, then restart udev.
3. TEST IT!
4. Create a pull-request
## Note
#### For Xiaomi devices(including RedMi), the following lines should be add to `~/.android/adb_usb.ini`:
```
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x2717
```