In this guide, we will show you a nifty method to fix the “Code 20045: The place where the account is registered does not match the place where the phone is sold” error message. The Chinese OEM has made it quite a challenging task when it comes to unlocking the bootloader. Earlier, we just needed to use the Mi Unlock Tool and wait for a week and the task stands complete.
However, that is no longer the case, ever since HyperOS made its way. And if you are a Chinese user, then things have gotten even worse with weird requirements like reaching level 5 of the Mi Community, among others. The misery doesn’t end here. If you own a Chinese device with a global Xiaomi account or vice versa, then you will be greeted with the following error message when you attempt to unlock the bootloader:
Code 20045: The place where the account is registered does not match the place where the phone is sold
For users outside China who own a Chinese device, this is proving to be a major obstacle. This is because creating a Chinese Xiaomi account outside of China is a tough nut to crack because the official website requires a Chinese phone number for registration. With that said, some users did manage to create a Chinese Xiaomi account using an email via this link. However, as soon as they reached the final stage of the unlocking process, they were greeted with another error message, namely:
Code 20041 = “sorry, your mi id is not associated with a phone number”
This is happening because users are adding a non-Chinese phone number, which isn’t allowed. So what can be done? Well, I found a nifty workaround using which you can create a Chinese Xiaomi account using an international phone number and then proceed ahead with the unlocking process. Here’s how it can be done.
Table of Contents
Fix Code 20045: The place where the account is registered does not match the place where the phone is sold
Important Notes
- The following international phone numbers are not supported:
+91 (India), +62 (Indonesia), +1 (all phones with +1)
- So for those sets of users, they can use an online service and get a temporary phone number.
- In case you do not get the verification code via SMS, then check your WhatsApp. In rare cases, the code is also sent there.
- However, if you still don’t receive the code, try adding your region to the registration link: &uRegion=Your_Region
- Make sure to replace Your_Region accordingly. Example for Russia:
https://cn.account.xiaomi.com/pass/register?sid=unlockApi&_locale=en_CN&uRegion=RU
- You can find your region code from this page.
Unlocking Process
- To begin with, create your account with a Chinese region using this link.
- Now log in to the Mi Community app and request unlocking permission.
- Then, link your account from the Developer Options.
- Now, download the Mi Unlock Tool from here.
- Then launch it and you’ll be able to unlock the bootloader using it.
That’s it. These were the steps to fix the “Code 20045: The place where the account is registered does not match the place where the phone is sold” error message. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution as soon as possible.