Skip to content

Instantly share code, notes, and snippets.

@programmer-ke
Last active April 24, 2021 08:32
Show Gist options
  • Save programmer-ke/9665fa4ea00013d70278f3be011b19b6 to your computer and use it in GitHub Desktop.
Save programmer-ke/9665fa4ea00013d70278f3be011b19b6 to your computer and use it in GitHub Desktop.
Device Manager Code 10 Error while using the Xiaomi Mi Unlock tool in Virtualbox
This is probably an issue to do with the not being able to correctly
utilize the usb2.0 connection on your computer from within Windows in virtualbox.
First thing to confirm is that you have the virtualbox extension pack
installed. By default, virtualbox ships with usb 1.0 support.
The virtualbox extension pack will add support for usb 2.0, 3.0 among
other features. You can find the extension pack from the official
virtualbox website: https://www.virtualbox.org/wiki/Downloads
Next, ensure that you've added the USB device to the guest
OS in which you're running the unlock tool. Plug in the phone to a
USB 2.0 port in your computer then select the Windows VM, go to
settings, then USB, the the + button to add the device. Select it from the dropdown.
Instructions of the above for debian based linux can be found
here: https://www.techrepublic.com/article/how-to-enable-usb-in-virtualbox/
Next start the VM and then follow the instruction in post #17 here:
https://forum.xda-developers.com/t/resolved-mi-unlock-tool-cannot-detect-phone.3663139/#post-73566526
This ensures you have the Xiaomi drivers correctly installed.
After this, you should be able to successfully detect your xiaomi
device from the mi unlock tool from within the Windows Guest OS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment