Xiaomi Phone unlock requirements and procedure
⚠️ Article status notice: This article has been marked as incomplete
This article needs additional work for its sourcing and verifiability to meet the wiki's Content Guidelines and be in line with our Mission Statement for comprehensive coverage of consumer protection issues.
This notice will be removed once sufficient documentation has been added to establish the systemic nature of these issues. Once you believe the article is ready to have its notice removed, please visit the Moderator's noticeboard, or the discord and post to the #appeals channel.
Learn more ▼
This article has been flagged due to verification concerns. While the topic might have merit, the claims presented lack citations that live up to our standards, or rely on sources that are questionable or unverifiable by our standards. Articles must meet the Moderator Guidelines and Mission statement; factual accuracy and systemic relevance are required for inclusion here!
Articles in this wiki are required to:
- Provide verifiable & credible evidence to substantiate claims.
- Avoid relying on anecdotal, unsourced, or suspicious citations that lack legitimacy.
- Make sure that all claims are backed by reliable documentation or reporting from reputable sources.
Examples of issues that trigger this notice:
- A topic that heavily relies on forum posts, personal blogs, or other unverifiable sources.
- Unsupported claims with no evidence or citations to back them up.
- Citations to disreputable sources, like non-expert blogs or sites known for spreading misinformation.
To address verification concerns:
- Replace or supplement weak citations with credible, verifiable sources.
- Make sure that claims are backed by reputable reporting or independent documentation.
- Provide additional evidence to demonstrate systemic relevance and factual accuracy. For example:
- Avoid: Claims based entirely on personal anecdotes or hearsay without supporting documentation.
- Include: Corporate policies, internal communications, receipts, repair logs, verifiable video evidence, or credible investigative reports.
If you believe this notice has been placed in error, or once the article has been updated to address these concerns, please visit the Moderator's noticeboard, or the #appeals channel on our Discord server: Join here.
🔔This is a user-submitted guide
What is presented here is not objective information about a company's relation to consumer rights and does not follow the Consumer Rights Wiki's usual content guidelines.
This is a guide intended to give you more rights over your purchase. Inclusion of guides such as this one is only permitted in certain circumstances described in the article types page.
This guide may be incomplete and the information in it may have not been validated or updated. For more information see the discussion around it.
- For official mission and guidelines, please see our Mission statement
If you believe this notice has been placed in error, please visit the #appeals channel on our Discord server: Join Here or at the Moderators' noticeboard: Click here.
Most Xiaomi phones come with a bootloader that might be able to unlock, but unlike the Android's default unlocking procedure, Xiaomi had the following requirements in 2022:[1]
- The user must create and link a Xiaomi account to their phone
- This requires accepting the EULA for creating an account
- Stated directly in the EULA is the following[2]
6. Modification of this Agreement Xiaomi may need to revise this Agreement and various rules from time to time in accordance with the promulgation of laws and regulations, the development of the Internet, and the adjustment of the company's operating conditions and business strategies. We will notify you of the new agreement in an appropriate manner, and you may view the latest version of the terms of the agreement on the relevant service page. Once the revised agreement and rules are announced, they will take effect immediately and become an integral part of this Agreement. If you do not agree to the modified terms, you shall immediately discontinue your use of our services. Your continued access or use of our services shall be deemed as your acceptance of the modified agreement.
- Stated directly in the EULA is the following[2]
- This requires accepting the EULA for creating an account
- The user must use the official Mi Unlock app (only available for Windows)
- For certain devices, Xiaomi requires users to [1]
Click on Unlock » Unlock anyway. On your first attempt, Mi Unlock will flash the message Couldn’t unlock. Please unlock 168 hours later. Follow the timer / waiting period to unlock successfully.
- Effective January 2025, Xiaomi has updated its bootloader unlocking policy to make it difficult for users to unlock the bootloaders on their devices. The updates include but are not limited to:[3][4]
- Limiting users to only one device bootloader unlock per year, down from three
- Bootloaders need to be re-locked for MIUI users to update to HyperOS
- Only 2,000 devices per day can be unlocked across the world.[5] People are using bots to login at midnight (Chinese time), when the 2,000 slots are released — making unlocking practically impossible.[6]
- An attempt to unlock the bootloader of a device made for the China market will show as error 20045, as shown on xdaforums. This is unavoidable unless you have a Chinese Xiaomi account and you are in China.[7]

What the 20045 error looks like (account location not matching vendor location).
Ways around the limitations
On some MediaTek-based devices, users with advanced technical skills can try unofficial means such as using mtkclient to try and unlock the bootloader without going through the official Xiaomi procedure. This should be done at the users' own risk, as it voids the warranty, may brick the device and/or lock the device out from all official means of unlocking.
As of 2025 there is still a way to get round the limited number of authorizations for the many Xiaomi devices with Qualcomm Snapdragon processor, which was working with devices running HyperOS 3 in 2025.[6] Other ways published in the past no longer worked.
References
- ↑ 1.0 1.1 Paul, J C (20 Aug 2022). "Complete Guide to Unlocking the Bootloader: Announcement, Troubleshoot and Tips". Xiaomi Community. Archived from the original on 2 Sep 2022. Retrieved 19 Dec 2025.
- ↑ "Xiaomi Account User Agreement". Xiaomi. Archived from the original on 20 Jan 2025. Retrieved 19 Dec 2025.
- ↑ Bardakçı, Emir (30 Dec 2024). "Xiaomi global bootloader unlock policy has changed". XiaomiTime. Archived from the original on 10 Jun 2025. Retrieved 10 Jun 2025.
- ↑ Bardakçı, Emir (2024-12-26). "Xiaomi updates the rules about Bootloader Unlocking on HyperOS". XiaomiTime. Archived from the original on 10 Jun 2025. Retrieved 10 Jun 2025.
- ↑ bartoszsz7 (1 Feb 2024). "New bootloader unlocking procedure on HyperOS". Reddit. Archived from the original on 20 Dec 2025. Retrieved 19 Dec 2025.
{{cite web}}: CS1 maint: numeric names: authors list (link) - ↑ 6.0 6.1 "How to unlock bootloader on Xiaomi HyperOS(all devices,except CN)". XDA Forums. 1 Feb 2024. Archived from the original on 6 Feb 2026. Retrieved 19 Dec 2025.
- ↑ 电竞小先锋 (10 Feb 2025). "小米2025年BootLoader解锁新规解析及影响" [Analysis and Impact of Xiaomi's New Regulations on Bootloader Unlocking in 2025]. 百度首页 (in 中文). Archived from the original on 18 Oct 2025. Retrieved 18 Oct 2025.