From ad6613d8fb7692840cfff08e42cd01011ad084cd Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 13 Sep 2023 17:11:25 +0200 Subject: [PATCH] android adb and fastboot --- modules/android.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/android.nix b/modules/android.nix index e4b26e2..263d2f9 100644 --- a/modules/android.nix +++ b/modules/android.nix @@ -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" ''; }