Merge pull request #78 from jemyzhang/master

Add RedMi Note 4G CDMA
This commit is contained in:
Gianluca Boiano 2016-03-03 11:58:43 +01:00
commit a6ec123917
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
```