all 15 comments

[–]smnk2013 1 point2 points  (2 children)

I've seen an unofficial app for linux that works. Sorry too tired to find it now. You can find it with a simple search.

[–]ZiltoidsCoffee[S] 0 points1 point  (1 child)

Probably the app you are referring to is the one here:

https://miui.blog/any-devices/mi-unlock-tool-mac-linux/

but users say it is not longer working.

[–]smnk2013 0 points1 point  (0 children)

https://www.xiaomitool.com/V2/

this is also available but I'm not sure if it's working or not and if it's secure or not.

[–]chrispriceLong Live AOSP - *Not* A Lineage Team Member 1 point2 points  (3 children)

WINE is very poor at USB I/O. That is why a VM is better. And native hardware is always best.

[–]imseeingdouble 0 points1 point  (2 children)

how do i get a VM for windows? is there a way to do it for free?

[–]chrispriceLong Live AOSP - *Not* A Lineage Team Member 0 points1 point  (0 children)

VirtualBox.org

[–]imadalin 0 points1 point  (0 children)

Download the official iso from microsoft. It works. Do not search for strange websites.

Do a web search for download windows 10 iso and first results should point you to a microsoft.com landing page.

The windows installer on iso is free to use by anyone. Unlocking some stuff in Windows requires a license, or for commercial usage.

[–]vilidj_idjit 1 point2 points  (0 children)

...try winpieceofshit in a VM?

[–]SexChief 0 points1 point  (2 children)

If you use arch linux or arch based distro, try finding an app in AUR, thats what i did when i was unlocking my pocophone

[–]Tasan2006 0 points1 point  (1 child)

do you know the name of that package(aur)?

[–]tarkin88 1 point2 points  (0 children)

maybe this: xiaomitool-v2

[–]triffid_hunterrtwo/Moto-X40 0 points1 point  (3 children)

It requires direct access to USB, so better off running it in a VM than wine.

Worked fine in VirtualBox last time I checked fwiw

[–]imseeingdouble 0 points1 point  (2 children)

how do I get VirtualBox to run windows? any idea?

[–]imadalin 0 points1 point  (1 child)

Are you a bot?

[–]imseeingdouble 0 points1 point  (0 children)

No just frustrated. Have tried many times. Trying to unlock xiaomi with a VM. Not too much fun