USB filter for iPhone fails on mac sierra guest.

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Locked
hk1ll3r
Posts: 2
Joined: 15. Jul 2019, 18:52

USB filter for iPhone fails on mac sierra guest.

Post 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.
Attachments
Sierra-2019-07-15-09-54-39.log
log file
(120.53 KiB) Downloaded 38 times
hk1ll3r
Posts: 2
Joined: 15. Jul 2019, 18:52

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

Post 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!
Attachments
Sierra-2019-07-15-10-34-39.zip
VM log file
(38.9 KiB) Downloaded 38 times
usb-commands.txt
commands on the host
(10.64 KiB) Downloaded 65 times
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

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

Post 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.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Locked