Skip to content

Instantly share code, notes, and snippets.

@m1stadev
Created April 22, 2024 00:58
Show Gist options
  • Save m1stadev/c0c9313c37a2ed42ceb71903a5102677 to your computer and use it in GitHub Desktop.
Save m1stadev/c0c9313c37a2ed42ceb71903a5102677 to your computer and use it in GitHub Desktop.
Necessary `udev` rules to access DFU/Recovery/checkra1n devices on Linux.
# Handle iOS devices in DFU and Recovery mode - for use with libirecovery
# Change group and permissions of iOS devices in DFU, legacy WTF, and Recovery mode
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="122[27]|128[0-3]", TAG+="uaccess"
# Handle checkra1n DFU mode
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1338", TAG+="uaccess"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment