Page 1 of 1

USB filter for iPhone fails on mac sierra guest.

Posted: 15. Jul 2019, 19:22
by hk1ll3r
I have a macOS guest VM hosted on my Ubuntu 18.04.2 LTS. My virtualbox version is "Version 6.0.8 r130520 (Qt5.9.5)". As I understand the guest additions are not available for macOS so I don't have that.

My host machine has 32GB of RAM, the guest OS uses 16GB of it.

I have no problem attaching my usb mouse, usb keyboard and external usb harddrives to the guest OS. But with an iPhone, when I try to attach it to the guest machine through the [devices -> usb -> iphone] menu, the guest machine hangs for a few seconds and then it fails. I get this notification:

"Failed to attach the USB device Apple Inc. iPhone [0702] to the virtual machine VMName."

from the log file, this seems to be the related line:
33:38:58.289730 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR)}, preserve=false aResultDetail=-111

I have come across only vague threads like this on the issue: /viewtopic.php?f=7&t=52838

How can I dig more into this issue? I really need to use the iPhone in my guest machine.

Re: USB filter for iPhone fails on mac sierra guest.

Posted: 15. Jul 2019, 19:38
by hk1ll3r
I also came across this post for debugging USB on VB: viewtopic.php?f=35&t=82639#p390402

So I attached the output of some commands and another log file.

Please help!

Re: USB filter for iPhone fails on mac sierra guest.

Posted: 15. Jul 2019, 20:12
by andyp73
You are running a macOS guest (aka a Hackintosh) under a Linux host on non-Apple hardware. This is not supported and is also a violation of Apple's End User License Agreement (EULA). More details can be found at: Important notice regarding Mac OS X as Guest.

Had you searched around the forums you would have seen that there are many similar threads all of which end up in the same state - locked and consigned to oblivion. Yours will be sent the same way the next time a site admin / mod passes by.

One of the site admins will be along shortly to lock this thread.

-Andy.