Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions 51-android.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"

Expand Down