Why udev rules are needed
Linux restricts raw USB access by default. Without the correctudev rules your user account cannot communicate with the device over ADB or put it into EDL mode without sudo.
Automatic setup (recommended)
Run the single command below. It writes both the EDL-mode and ADB-mode rules in one shot:udev:
Manual setup
Step-by-step — create the rules file manually
Step-by-step — create the rules file manually
- Navigate to the udev rules directory:
- Check whether the file already exists:
- Create or open the file:
- Add (or verify) the following content:
- Restart
udev:
Confirm plugdev membership
Check your groups:plugdev is missing, add yourself:

