From 981523a6228f8e286543c0cd06aad0ed84d5d175 Mon Sep 17 00:00:00 2001 From: jemyzhang Date: Wed, 6 Dec 2017 11:29:54 +0800 Subject: [PATCH] add Oneplus3 device(Oreo) + add oneplus 3 device, seems can not be recognized by ubuntu(17.10) after updated to oreo. * format ZTE according to rules --- 51-android.rules | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/51-android.rules b/51-android.rules index 65b6e87..6b5c2b5 100644 --- a/51-android.rules +++ b/51-android.rules @@ -369,6 +369,14 @@ ATTR{idVendor}=="0955", ENV{adb_user}="yes" # Audi SDIS Rear Seat Entertainment Tablet ATTR{idProduct}=="7000", SYMLINK+="android_fastboot" +# OnePlus(Oreo) +ATTR{idVendor}!="2a70", GOTO="not_OnePlus" +ENV{adb_user}="yes" +# OnePlus 3 +ATTR{idProduct}=="4ee7", SYMLINK+="android_adb" +GOTO="android_usb_rule_match" +LABEL="not_OnePlus" + # Oppo ATTR{idVendor}=="22d9", ENV{adb_user}="yes" # Find 5 @@ -588,11 +596,14 @@ GOTO="android_usb_rule_match" LABEL="not_Zebra" # ZTE -ATTR{idVendor}=="19d2", ENV{adb_user}="yes" +ATTR{idVendor}!="19d2", GOTO="not_ZTE" +ENV{adb_user}="yes" # Blade (1353=normal,1351=debug) ATTR{idProduct}=="1351", SYMLINK+="android_adb" # Blade S (Crescent, Orange San Francisco 2) (1355=normal,1354=debug) ATTR{idProduct}=="1354", SYMLINK+="android_adb" +GOTO="android_usb_rule_match" +LABEL="not_ZTE" # Wileyfox ATTR{idVendor}=="2970", ENV{adb_user}="yes"