added adb_usb.ini file which is necessary for the MTK and XiaoMi phones I'm using

This commit is contained in:
Rian Sanderson 2016-06-10 09:20:44 +08:00
parent cd9bcba73e
commit 30514702ca
2 changed files with 10 additions and 7 deletions

View File

@ -45,10 +45,7 @@ Try group plug**in**dev rather than plugdev, then restart udev.
## 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
```
Some devices (particularly MediaTek and Xiaomi) also require an entry in $HOME/.android/adb\_usb.ini. You can use the adb_usb.ini
`ln -s `pwd`/adb_usb.ini $HOME/.android/

6
adb_usb.ini Normal file
View File

@ -0,0 +1,6 @@
# ANDROID 3RD PARTY USB VENDOR ID LIST
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x2717
0x0e8d