Skip to content

Commit

Permalink
feat: add 04e8:685d ODIN link used instead of fastboot by Samsung (M0…
Browse files Browse the repository at this point in the history
…Rf30#284)

Details as seen in issue M0Rf30#269 - Samsung Galaxy A5 (2016)

Co-authored-by: Piotr Masłowski <[email protected]>
  • Loading branch information
JoesCat and mskiptr authored Sep 29, 2023
1 parent 4bb6409 commit 2e6c41a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 51-android.rules
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,8 @@ ATTR{idProduct}=="6866", GOTO="adbptp"
ATTR{idProduct}=="686c", GOTO="adbmidi"
# 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"
Expand Down Expand Up @@ -990,6 +990,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"

Expand Down

0 comments on commit 2e6c41a

Please sign in to comment.