Android USB debugging

23 views
Skip to first unread message

pepito

unread,
Nov 16, 2021, 8:10:21 AM11/16/21
to qubes-users
My setup: Qubes 4.1 running on a Framework Laptop, new Pixel 5 phone (with USB debugging enabled)

My goal: Use an AppVM to flash a custom ROM to the phone using `fastboot` (Android platform tools).

But I run into a problem almost immediately: I cannot attach the USB device to my AppVM.

From a sys-usb terminal, I can see the Android device listed in the output of `lsusb`. However, from dom0 the device does not appear in the output of `qvm-usb` (or `qvm-device usb`) and is not in the dropdown list in the system tray.

Any ideas as to why Qubes does not recognize the Android device, and/or how I can get this working?

Note: I prefer not to run Android platform tools in sys-usb for the sake of security/isolation.

awokd

unread,
Nov 20, 2021, 11:34:34 AM11/20/21
to qubes...@googlegroups.com
pepito:

> Note: I prefer not to run Android platform tools in sys-usb for the sake of
> security/isolation.

This, or assigning a USB controller directly to your Android AppVM, is
the only way I've been able to get it to work.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots
Reply all
Reply to author
Forward
0 new messages