Unlocking the bootloader on Xiaomi smartphones is a must for custom firmware, root rights, or device recovery after software failures. Although the manufacturer officially allows this procedure, it requires care: wrong actions can turn a phone into a brick. In this article, we will discuss the legal way to unlock through the Fastboot, which works on most models, from the Redmi Note 10 to Xiaomi 14 Ultra.
Itโs important to understand that Xiaomi put restrictions on unlocking the bootloader in 2017, linking the process to linking the Mi Account account, which means that without official permission, you canโt get around the protection. We wonโt be looking at โgreyโ methods with bypassing waiting โ they violate the terms of use and can lead to locking the device. Instead, focus on a safe way that ensures the security guarantee (if itโs still valid) and the health of the smartphone.
The unlocking process takes 3 to 7 days due to the mandatory waiting period Xiaomi has put in place to protect users from random action. If you're willing to wait and follow instructions, let's get going. If not, consider alternatives: You can do this without unlocking (for example, through ADB or standard developer settings).
Why you need to unlock the bootloader on Xiaomi
A bootloader is a program that runs to the operating system and controls the boot process. On Xiaomi smartphones, it is locked by default to protect against:
- ๐ก๏ธ Malware installations โ blocking prevents the launch of uncertified firmware that may contain viruses.
- ๐ง Unauthorized changes โ without unlocking, you can not get root access or change system files.
- ๐ฑ Warranty loss โ although unlocking the warranty itself will not void the warranty, any consequences after it (for example, damage to the software) will not be considered a warranty event.
However, there are also good reasons to unlock the bootloader:
- ๐ Install custom firmware (such as LineageOS or Pixel Experience) for advanced features or updates after official support ends.
- ๐ Remove built-in Bloatware โ pre-installed Xiaomi apps that cannot be removed in standard ways.
- ๐ง Recovery after the โbrickโ โ if the smartphone stopped booting due to a firmware error, the unlocked bootloader allows you to reflash it through Fastboot.
- ๐ฑ Testing of new versions MIUI prior to the official release (through MIUI Beta or Ported assemblies).
Before you continue, assess the risks:
โ ๏ธ Note: Unlocking the bootloader will reset all data on the device, including photos, contacts and apps. Xiaomi does not provide tools to back up blocked data (for example, Xiaomi does not provide tools for backing up blocked data, DRM-keyboard L1). After the procedure, some functions may not work correctly: for example, banking applications will refuse to run on a device with an unlocked bootloader.
Preparing for Unlocking: What to Do in advance
Before starting the process, make sure all the preliminary steps are followed, and skipping at least one item may result in errors or inability to complete the unlock.
Create a backup copy of data (photos, contacts, messages)
Charge your smartphone to 60% or more
Make sure the latest version is installed on the device MIUI
Connect your device to a stable Wi-Fi network (not mobile internet)
Download and install Mi Unlock Tool on PC
-->
Letโs look at each item in more detail:
1. Data backup
As mentioned earlier, unlocking the bootloader completely erases all data on the device.
- ๐ธ Photos and videos (including from the DCIM and Pictures).
- ๐ Contacts, messages, call log.
- ๐ฎ Game saving and application data.
- ๐ Passwords and keys (for example, for Google Authenticator or banking applications).
Use cloud services (Google Photos, Mi Cloud) or local copying on your PC. Please note that some data (such as saving games) may not be restored even after copying - check this for specific applications.
Verification of version 2. MIUI renewal
Xiaomi requires that the device has the latest stable version MIUI You can check the relevance in the settings:
- Go to Settings โ About the phone โ System update.
- Click Update Checker and wait for the result.
- If an update is available, install it.
If your device is on the Beta version MIUI, We recommend you switch to a stable branch:
- Open the Update app (Updater).
- Click on the three dots in the top right corner and select Select Service Pack.
- Download the latest stable firmware for your model from the official Xiaomi website and install it manually.
3. Linking Mi Account to the device
Unlocking the bootloader requires a Mi Account that is tied to the device for at least 72 hours.If you have just created an account or recently dropped your phone, wait 3 days before trying to unlock.
To link the account:
- Go to Settings โ Accounts โ Mi Account.
- Sign in to your account (if you havenโt already).
- Enable the option to Sync Data and Find the device.
โ ๏ธ Note: If you use a Mi Account created through a VPN or suspiciously IP-Xiaomi can block the unlocking of the address, and it is recommended to use an account created at least 30 days ago with a confirmed phone number.
Installation of necessary tools on PC
To unlock the bootloader via Fastboot, you will need a Windows computer (officially, the Mi Unlock Tool does not support macOS or Linux).
1. Download Mi Unlock Tool
The official utility for unlocking the bootloader is available on the Xiaomi website:
- Go to the Mi Unlock page (may be required) VPN, If the site is blocked in your area).
- Download the latest version of the Mi Unlock Tool (at the time of writing, version 6.5.224.24 is current).
- Unpack the archive in a separate folder (for example, C:\MiUnlock).
Do not download the utility from third-party sites - it can be malware. The official file has a digital signature Xiaomi.
Installation of drivers ADB and Fastboot
To interact with the device via Fastboot, you need drivers, and you can install them in two ways:
- ๐ง Through Mi Unlock Tool โ when you first connect your phone in Fastboot mode, the utility will offer to install drivers automatically.
- ๐ฅ๏ธ Manually - download Mi USB Driver from the official Xiaomi website or use Google Universal Drivers for ADB.
For manual installation:
- Download Android SDK Platform-Tools from Google.
- Connect your phone to your PC in Fastboot mode (how to do this is described in the next section).
- Open Device Manager on PC, and find a device with an exclamation point (usually Android Bootloader Interface).
- Update the driver by specifying the path to the folder with the platform-tools.
3. Verification of device connection
To make sure your PC recognizes your smartphone in Fastboot mode, follow the following steps:
- Open the command line (Win + R โ enter cmd).
- Go to the folder with the platform-tools (or Mi Unlock Tool): cd C:\platform-tools
- Connect your phone in Fastboot mode (instruction below) and type in the command: fastboot devices
- If the device is identified, you'll see its serial number. If it's not, check the drivers or the cable.
Windows 10/11
macOS
Linux
other-->
How to Transform Xiaomi into Fastboot Mode
Fastboot mode (also known as Bootloader Mode) is a special state of the device in which it is ready to receive commands to unlock or firmware.
Method 1: Through the Recovery Menu
This method works if the phone turns on and responds to the presses:
- Turn off the device.
- Press the power and volume reduction buttons at the same time.
- Hold them until the Fastboot logo appears (an open-belly Android robot).
Method 2: Through commands ADB
If the phone is on and connected to the PC, you can use it. ADB:
- Enable USB Debugging in the Developer Settings (Settings โ About Phone โ MIUI Version โ Press 7 times, then go back to Additional Settings โ For Developers).
- Connect the phone to the PC and confirm the debugging permission.
- In the command line, type: adb reboot bootloader
Method 3: For โbricksโ (if the phone is not turned on)
If the device does not respond to buttons but charges (the indicator is on), try:
- Connect your phone to charge for 10-15 minutes.
- Press the power + Volume increase for 20-30 seconds.
- If there is a vibration or logo โ release the buttons and immediately press the power. + Reduce the volume for entering the Fastboot.
In Fastboot mode, the phone screen will look like this:
- ๐ฑ Black background with white text FASTBOOT.
- ๐ค Image of Android robot with an open case.
- ๐ Connected status (if connected to PC).
โ ๏ธ Warning: If this device is locked on the screen after you log in to Fastboot, that's okay -- it should be before you unlock it. If instead you see This device is corrupted, it means the firmware is corrupted and you need to restore it.
Unlock the bootloader through the Mi Unlock Tool
Now that you're done, you can start unlocking, and the whole process takes about 5 to 10 minutes, but remember to have a 72-hour waiting period after you've linked your account.
Step 1: Launch the Mi Unlock Tool
Open the downloaded Mi Unlock Tool on behalf of the administrator (right click) โ Launch on behalf of the administrator.A first run may be a warning about an unidentified publisher - ignore it (this is the official Xiaomi software).
Step 2: Authorization in Mi Account
In the utility window:
- Select a language (if available in Russian).
- Enter the username and password from the Mi Account associated with the device.
- Confirm the login via SMS or email (if required).
If the utility gives you an error Couldn't sign in, check:
- ๐ Internet connection stability (it is better to use a cable connection).
- ๐ Time on PC โ it should coincide with the real one (the error may occur due to the wrong date).
- ๐ต Absence VPN Proxies (they can block the connection to Xiaomi servers).
Step 3: Connecting the device
Make sure the phone is in Fastboot mode (as described earlier) and connect it to the PC via the original cable.The Mi Unlock Tool should show a Phone connected message.
If the device is not determined:
- ๐ Try another one. USB-port USB 2.0 on the back of the PC).
- ๐ Reinstall drivers (as described in the section above).
- ๐ฑ Reboot your phone to Fastboot mode again.
Step 4: Starting Unblocking
Press Unlock in the utility, the system will check if it is 72 hours since the account was linked, and if so, a warning about the reset will appear, confirm it.
It takes a few minutes to unlock, and when it's done, the phone automatically restarts, and you'll see the Unlocked successfully message.
Once unlocked, the bootloader will remain open even after flashing it, unless you manually lock it through the fastboot oem lock command. However, some custom firmware can block it again.
๐ก
Once successfully unlocked, the phone will be reset to factory settings, and all data, including accounts and apps, will be deleted without recovery.
Frequent mistakes and their solutions
Even if you follow the instructions accurately, you can get errors, and let's look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| Cann't unlock orCurrent account is different from the account info on the device | The Mi Account is not tied to the device or has been tied less than 72 hours ago. | Wait 3 days from the moment you have your account attached, make sure you use the same account as you used on your phone. |
| This device is not supported | Mi Unlock Tool is outdated or the device model is not supported. | Download the latest version of the utility from the official website. For new models (for example, Xiaomi). 13T Redmi Note 12 may require a special version. |
| Fastboot is not recognized | Fastboot drivers are not installed or the path to platform-tools is not added to the environment variables. | Reinstall drivers or specify the full path to fastboot.exe in the command line. |
| Device is locked. Unable to unlock | The device was previously unlocked, but then the bootloader was locked manually or through firmware. | Repeat the unlocking process. If the error repeats, try flashing the official firmware through the Mi Flash Tool and starting over. |
| Network error | Problems with connecting to Xiaomi servers (blocking) VPN, shaky). | Turn it off. VPN, Check the network connection. Try using another PC or network. |
If your error is not listed in the table, try:
- ๐ Finding a solution in forums XDA Developers or 4PDA (Specify the exact device model and error text).
- ๐ก Use a different PC or cable (sometimes a problem in your computer) USB-port).
- ๐ฑ Switch the device to the latest official version MIUI Using the Mi Flash Tool and try again.
What if the Mi Unlock Tool is 99% locked?
What to do after unlocking the loader
When you unlock successfully, you have new opportunities, but you also have limitations.
1. Checking the status of the loader
To make sure the bootloader is unlocked, reboot the phone to Fastboot mode and check the inscription at the bottom of the screen. It should change from Locked to Unlocked.
You can also check the status through the command:
fastboot oem device-infoIn the conclusion, find the lines:
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: trueInstallation of custom recovery (TWRP)
With the bootloader unlocked, you can install an alternative recovery, for example, TWRP. That'll allow it:
- ๐ Make backups of the entire system (Nandroid backup).
- ๐ฑ Install custom firmware and cores.
- ๐ง Get root access through Magisk.
Instructions for installing TWRP:
- Download the TWRP image for your model from the official website twrp.me.
- Reboot your phone to Fastboot.
- In the command line, type: fastboot flash recovery twrp.img fastboot reboot recovery
3. Getting root rights through Magisk
If your goal is root, follow these steps:
- Download the latest version of Magisk from GitHub.
- Copy the file. Magisk.apk phone-on.
- Reboot to TWRP And install Magisk as ZIP-file.
- Reset the device.
โ ๏ธ Note: After getting root, some apps (such as banking or Netflix) may fail due to the SafetyNet trigger.To get around this, install the MagiskHide Props Config module or use Universal SafetyNet Fix.
4. Data recovery and device setup
Once unlocked, the phone will be reset to factory settings to recover data:
- ๐ฑ Sign in to your Google Account to sync your contacts and apps.
- ๐ธ Move photos and videos from backup.
- ๐ Reset two-factor authentication and passwords.
Some data (such as saving games or setting up apps) may be lost irrevocably. If you use Titanium Backup or similar tools, restore backups only after you have fully configured the system, otherwise conflicts may occur.
๐ก
If the phone slows down or warms up after unlocking the bootloader, reset to factory settings again, sometimes residual files from the previous firmware conflict with the new system.