From 71c2cb72e6078e97ac18ffbdade9e8077894d54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Mas=C5=82owski?= Date: Mon, 28 Aug 2023 12:03:40 -0700 Subject: [PATCH] feat: add 04e8:685d ODIN link used instead of fastboot by Samsung Details as seen in issue #269 - Samsung Galaxy A5 (2016) --- 51-android.rules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/51-android.rules b/51-android.rules index 65a617e..91514e5 100644 --- a/51-android.rules +++ b/51-android.rules @@ -717,8 +717,8 @@ ATTR{idProduct}=="6864", GOTO="adbrndis" ATTR{idProduct}=="6866", GOTO="adbptp" # Galaxy Core, Tab 10.1, i9100 S2, i9300 S3, N5100 Note (8.0), Galaxy S3 SHW-M440S 3G (Korea only) ATTR{idProduct}=="685e", GOTO="adbfast" -# Galaxy S4 GT-I9500 -ATTR{idProduct}=="685d", SYMLINK+="android_adb" +# Galaxy A5, S4 GT-I9500 (seems to be universally used for this purpose) +ATTR{idProduct}=="685d", GOTO="odin" ENV{adb_user}="yes" GOTO="android_usb_rule_match" LABEL="not_Samsung" @@ -988,6 +988,9 @@ LABEL="ptp", ENV{adb_ptp}="yes", GOTO="android_usb_rule_match" LABEL="adbrndis", ENV{adb_adb}="yes" LABEL="rndis", ENV{adb_user}="yes", GOTO="android_usb_rule_match" +# Odin (Samsung-specific flashing protocol, add user SYMLINK) +LABEL="odin" + # Add "android" SYMLINK LABEL="user", ENV{adb_user}="yes"