From ca5da494be135a65b958fa4487d6182d9af9a8eb Mon Sep 17 00:00:00 2001 From: jemyzhang Date: Thu, 3 Mar 2016 18:09:37 +0800 Subject: [PATCH] Add RedMi Note 4G CDMA --- 51-android.rules | 2 ++ README.md | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/51-android.rules b/51-android.rules index e2e85fa..816518f 100644 --- a/51-android.rules +++ b/51-android.rules @@ -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" diff --git a/README.md b/README.md index e61d197..49dbbc4 100644 --- a/README.md +++ b/README.md @@ -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 +```