*adb: no devices/emulators found* on adb shell while phone plugged #37

Open
opened 2025-05-03 03:15:36 +02:00 by Benjamin_Loison · 3 comments

My Fairphone 4 LineageOS 22.2 and my Linux Mint 22.1 Cinnamon Framework 13.

My Fairphone 4 LineageOS 22.2 and my Linux Mint 22.1 Cinnamon Framework 13.
Author
Owner
adb devices
List of devices attached

Adding USBGuard rule:

allow id XXXX:XXXX serial "XXXXXXXX" name "Fairphone 4 5G" hash "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=" parent-hash "XXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/X=" with-interface { ff:ff:30 ff:ff:40 ff:ff:50 ff:ff:80 ff:ff:70 ff:42:01 } with-connect-type "hotplug"

solved the issue after sudo service usbguard reload.

```bash adb devices ``` ``` List of devices attached ``` Adding USBGuard rule: ``` allow id XXXX:XXXX serial "XXXXXXXX" name "Fairphone 4 5G" hash "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=" parent-hash "XXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/X=" with-interface { ff:ff:30 ff:ff:40 ff:ff:50 ff:ff:80 ff:ff:70 ff:42:01 } with-connect-type "hotplug" ``` solved the issue after `sudo service usbguard reload`.
Author
Owner
adb devices
Output:
List of devices attached
XXXXXXXX	unauthorized
```bash adb devices ``` <details> <summary>Output:</summary> ``` List of devices attached XXXXXXXX unauthorized ``` </details>
Author
Owner

Even if no USBGuard issue, have to wait a few seconds it seems.

Even if no USBGuard issue, have to wait a few seconds it seems.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/adb#37
No description provided.