mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
android adb and fastboot
This commit is contained in:
parent
5d2ce80867
commit
ad6613d8fb
@ -22,10 +22,15 @@
|
||||
#=> Bus 001 Device 008: ID 2a70:d001 OnePlus Technology (Shenzhen) Co., Ltd. ONEPLUS A6003
|
||||
# https://stackoverflow.com/a/53887437
|
||||
#
|
||||
# sudo udevadm control --reload-rules
|
||||
#
|
||||
# After adding this, `adb devices` returnes:
|
||||
#=> List of devices attached
|
||||
#=> 21801e97 sideload
|
||||
#
|
||||
# Added to head of /etc/udev/rules.d/99-local.rules
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="2a70", ATTR{idProduct}=="d001", MODE="0666", GROUP="plugdev"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="0000", MODE="0666", GROUP="plugdev"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user