FWIW I have a working AppVM for using adb. It uses Debian 10 as template, I have it with no networking and only for connecting the phone through adb, copy files and do backups.
Interestingly the adb server fails to start the first time, but it works on second try. Then I'm able to copy files (which fail for me through MTP on other VMs), adb shell and everything I have tried. I'm on regular QubesOS 4.0 with kernel 4.19.80-1.pvops.qubes.x86_64 on a Librem 13v2 laptop. Fidel Ramos PGP 7F07 1B7C 479F EDD1 https://fidelramos.net ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, November 10, 2019 12:18 AM, Demi M. Obenour <[email protected]> wrote: > I was trying to use adb with QubesOS’s USB passthrough, and I was > not able to get it to work. > > According to a post on LKML, the USBIP driver (used by QubesOS > USB passthrough) and libusb are not meant to work together. > One alternative would be to use qemu in the stubdomain to present an > emulated PCI USB device, instead of requiring USBIP support in the > guest kernel. This would also allow USB passthrough to work to VMs > that do not support USBIP, or indeed even qrexec. > > Right now, I plan on using adb in sys-usb itself, after blacklisting > drivers for USB devices not in use. There ought to be a better way. > IMO, sys-usb should only support USBIP, with the real protocol > handling done in other domains, and the resulting devices (be they > block devices or others) attached to yet other domains. > > Sincerely, > > Demi > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > You received this message because you are subscribed to the Google Groups > "qubes-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/qubes-devel/356ba859-0456-38a0-631c-77266e3865f0%40gmail.com. -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/MJI2sN7718ICWpax_4oHDtS35dP5tdtIIN2Miko4z8OGPSbRrZ9pW69RvQy-BY4NrnN2aJxX_CkHmJIANnSw8Mhxm0QNnzu0aOqhX4kD1gM%3D%40fidelramos.net.
