On 2019-10-08 16:44, Guerlan wrote:
> I tried that too, but when I run qvm-usb I get an empty list of usb
> devices. Running lsusb obviously gives me a lot of usb devices (on
> dom0). So I thought sys-usb is needed for USB to work. What am I doing
> wrong?
I think the trick is to:
1) Make sure your Android device presents itself as a USB drive, so that
you can copy/move files between the device and the VM.
Q: Have you used the phone with any other Linux/Windows machine such
that you know it is configured to present the USB drive interface? I'm
pretty sure you need to configure that on the phone first.
2) Then Dom0 needs to have the proper tools/drivers to see that USB
device as a drive, so that it can be passed/attached via the command
line tools or the toolbar applet. I know that fedora-25 has a
"android-tools" package that might be needed for this.
Once you can see it in dom0 using qvm-usb/qvm-block you should be able
to pass it through to your VM with the toolbar applet or qvm-block attach.
Its been a long while since I have done this, and I have not yet done it
with either Qubes4.x nor my current Android phone, so your mileage may
vary greatly.