feat: add 04e8:685d ODIN link used instead of fastboot by Samsung

Details as seen in issue #269 - Samsung Galaxy A5 (2016)
This commit is contained in:
Piotr Masłowski 2023-08-28 12:03:40 -07:00
parent 66d21f0e69
commit 71c2cb72e6
1 changed files with 5 additions and 2 deletions

View File

@ -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"