28.08.2019

Virtual Box Cant Detect Iphone

  1. Virtual Box Cant Detect Iphone 6

If you’ve recently upgraded to Windows 10 and now facing the issue of iTunes not detecting or identifying your iPhone, then probably you’re not the only one. After the upgrade of the Windows 10 operating system, a number of people are facing this issue.

I cannot see any USB devices within my VirtualBox guest VMs from my host. How do I enable access for my guest VMs?

slmVirtual box cant detect iphone 6slm
263k72 gold badges569 silver badges714 bronze badges

4 Answers

In order to enable access to these devices you'll need to add your username to the group vboxusers.

Example

You can confirm the change afterwards:

After doing the above you'll want to logout and log back in, so that for the newly added group to get picked up by your user account. Then from the VirtualBox GUI you'll be able to right click on the USB icon in the lower right group of icons, and select whatever USB devices you want to give control over to your running guest VM.

Detecting USB devices

You can use VirtualBox's little known command line tool VBoxManage to list out the USB devices that are accessible. This is a good way to also confirm that the group addition made above to your username are being picked up correctly.

Example

Virtual

without group

with group

References

Tshepang
27.2k72 gold badges190 silver badges267 bronze badges
slmslm
263k72 gold badges569 silver badges714 bronze badges

I changed the following and that worked for me

Make sure that the extension pack is installedIn VirtualBox in the settings of the VM Go to Ports and then to USB (based on a Macbook)Enable USB controllerEnable USB 2.0 controllerAnd this did the trick: add an empty filter (on the right there's a button for it)

Without the empty filter USB was not recognized in the VMBut once I added an empty filter USB works fine now.

Virtual Box Cant Detect Iphone 6

AlexAlex

This may be useful sometimes. Though not related directly to the question above, this may be a follow up issue once USB is detected in VirtualBox but not shown in guest os.

I followed many blogs to make my USB enabled on Virtual Box (~5.0.28?) on Mac for Windows 7 Pro.

Things that I did but USB not detected

1.I did install the same compatible extension pack for USB for virtualbox2. Enabled USB 3.0 in Virtual Box Manager (Tried 2.0 though I was sure I had 3.0 port/usb)3. Ejected USB from native OS (Mac OSX)4. Tried with enabling filter from Virtual Box Manager (also tried to manually select the USB from the usb listed at the bottom of virtual box)5. From Device Manager I tried to detect it but the driver search failed. (Network was working and no firewall)

What worked

  1. Downloaded a lot of intel USB 3.0 drivers. Some failed saying system requirement not met. but 1 of the drivers worked. Installed the driver successfully.

Now my usb was detected (given you did the first part above as well)

NOTE: I also installed VirtualBox Guest Additions for share between mac/windows but don't think its related.

slm
263k72 gold badges569 silver badges714 bronze badges
DextersDexters

Try this..I'm using Fedora 25 as virtual guest in VirtualBox v 5.1.16.

At guest OS terminal ..

Then install VirualBox Guest additions, log off and log in back.

USB is able to detect for me after executing below command at admin prompt:

Then log off and log in back,And navigate to menu bar Devices -> USB -> add USB by selecting

Sometimes a Reboot of guest OS may require..

Satya KolaSatya Kola

Not the answer you're looking for? Browse other questions tagged usbvirtualbox or ask your own question.

Today at work (I started writing this the same day, but it took a bit longer then I thought to finish), we needed to test a new calendar feature with the various devices our sales reps use. Android was easy, the entire IT staff have android phones, and most even have an android tablet. iPhone is another matter, no one had an apple device we could test on. Luckily we happened to have a few old iPhone 3 in our storage closet from when we switched phone carriers a few years ago. Unluckily, they were using an old iOS version and no longer activated. Activation and upgrading require iTunes, which runs on Windows, but I sadly run a linux machine. For windows only tasks I run a virtual Windows XP machine in VirtualBox.

VirtualBox can pass USB devices from the host machine to the virtual machine, but doing so requires an extension package. You can download the extension file from Oracle’s website, but there are several versions available. I use VirtualBox v4.1.12. The website says that the 4.1.xxx extension package only works with version 4.1.xxx but it installed properly on my system anyways. You can install extensions from the Preferences panel under File > Preferences (Or Ctrl+G).

Once you have the extension installed, plug in your iPhone. Next, open up the settings panel for your virtual machine and go to the USB tab. Enable the USB controller. You also need to add a new filter for the iPhone. The USB filter will connect the iPhone to the virtual device for you automatically when it is connected. Now we can close the panel and start the virtual machine.

On the right side of the panel are the buttons that allow you to add and remove USB filters

With the virtual machine running you can install iTunes and open it up, the iPhone should connect like it would on a physical machine. Once it has finished setting itself up, iTunes should offer any available updates to iOS, let it start the update. About half way through, the update will fail, this is because the iPhone has rebooted into recovery mode, which changes the USB identification. We need to go back to the settings panel and add the recovery mode iPhone to the USB filters.

After adding the recovery mode filter

Once that is done, we can manually connect the recovery mode iPhone to the virtual machine to reconnect the iPhone to the virtual machine. This is done by right clicking the USB button at the bottom right of the Virtual Machine and selecting the iPhone from the list. Once this is done iTunes will recognize the troubled iPhone and ask if you want to reset and update it.

Once you select the iPhone, it will have a check in the box to show that it is connected.

At this point iTunes should be able to complete the update. As the iPhone shifts between normal and recovery mode, VirtualBox will use the filters you set earlier to automatically connect the device to the virtual machine, just like if it was a physical box. Once this is done you can remove the USB filters, or leave them as is so you can continue to use iTunes to load music and the like to your iPhone.

Software and versions used:
Oracle’s VirtualBox 4.1.12
Oracle VM VirtualBox Extension Pack 4.1.26
iTunes

Hardware used:
iPhone 3g