Skip to content

Instantly share code, notes, and snippets.

@firegurafiku
Created February 26, 2017 13:30
Show Gist options
  • Save firegurafiku/b34052a92863858dd58a42e0d910371e to your computer and use it in GitHub Desktop.
Save firegurafiku/b34052a92863858dd58a42e0d910371e to your computer and use it in GitHub Desktop.
{# Please read README.md and STYLEGUIDE.md before making edits. #}
# Unlocking Xiaomi bootloader
All Xiaomi smartphones, officially supported by Lineage~OS,
come with factory locked, but unlockable bootloaders.
Unfortunately, you have to request a *permission* from Xiaomi
to perform the unlock, thus making bootloader unlock a major hassle.
The procedure includes creating an account at Mi Cloud
and linking it to your phone number,
as well as downloading proprietary Windows-only software.
Doing this may also void your warranty.
## Request for unlocking permissions {#request-unlock}
{% paragraphs %}
{{ paragraph "register-mi-account" }}
Register a Mi account (navigate to https://en.miui.com/register)
if you don't already have one.
You probably shouldn't register via your Facebook profile since
that would create a somhow limited account needing further "upgrading".
{{ paragraph }}
Visit [Xiaomi's official unlocking website][miui-unlock]
and apply for unlocking permissions.
You will have to specify the reason
why you're unhappy with a locked device;
just tell them the truth, in your own words.
It seems like they're tracking the uniqueness of these messages.
[miui-register]: https://en.miui.com/register/
[miui-unlock]: http://en.miui.com/unlock/
{% alert note %}
You don't have to register another account and re-apply for permission
each time you want to unlock a new device.
However, your're only allowed to unlock one unique device every 30 days.
{% endalert %}
{{ paragraph }}
Wait for several days before your request is accepted.
After you receive your confirmation SMS from Xiaomi,
return to official unlocking site and download Mi~Unlock software.
This software is proprietary and runs only on Windows;
moreover, it requires Internet access during its runtime
to check whether you really have permissions to do the unlock.
{% endparagraphs %}
## Unlocking the device {#unlocking-device}
{% paragraphs %}
{{ paragraph }}
...
...
{{ paragraphs }}
...
...
{% endparagraphs %}
...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment