Why unlocking the bootloader on Xiaomi 13 Ultra is not a trivial task
Xiaomiโs flagship 13 Ultra smartphone with a Snapdragon 8 Gen 2 processor and a Leica camera is secured at the hardware level. Unlocking the bootloader here is not just a formality, but a multi-step process with Xiaomi checks. Unlike budget models, where you just wait 72 hours, at 13 Ultra, the account-to-device linking algorithm works harder: the system analyzes usage history, purchase region and even the frequency of flashing.
The main problem is that Xiaomi is tying the unlocking option to the official region of sale of the device. If your 13 Ultra is bought in China but used in Europe, the chances of successfully unlocking through the Mi Unlock Tool are reduced by 40%, while the process itself does not void the warranty (under official terms of Xiaomi), but deprives the right to free repair in the event of software failures after manipulation of the firmware.
In this article, the guideline for 2026 is relevant to the latest changes in Xiaomi policy, including the avoidance of typical errors (for example, code 86006 or 86012).We do not consider โgreyโ methods with waiting, only a legal way that minimizes the risks of โbrickingโ the device.
Preparing for Unlocking: What to Do Before Starting
Before you start unlocking, make sure that all the preconditions are met, and ignoring them is the main cause of errors in the linking stage of the account to the device.
- ๐ฑ Version. MIUI: The device must run on global or Chinese firmware (but not custom!). โ The phone. โ Version. MIUI. If you should. EEA (Europe), IN (India) or RU (Russia is a global version.
- ๐ Mi Account Link: Device must be linked to Mi Account for at least 7 days (for new devices). If the phone is purchased from hand, delete the old account through Settings โ Accounts. โ Mi Account โ Delete the account.
- ๐ Battery charge: At least 60%. Unlocking can take up to 30 minutes, and interruption due to battery discharge will result in a lock-up for 72 hours.
- ๐ป Computer: You will need a Windows PC 7/10/11 (64-bit) port USB 2.0/3.0. Virtual Machines (VMware, VirtualBox) are not supported!
If your Xiaomi 13 Ultra is purchased in China but your account is registered in Europe, the system can block unlocking with an error of 86006 (โThis device is not supportedโ).
Mi Unlock Tool: where to download and how to avoid counterfeiting
The official unlock tool, the Mi Unlock Tool, is distributed only through Xiaomi's website, but many users are confronted with fake versions that may contain malware or block the device.
- Go to en.miui.com/unlock (official source).
- Click Unlock Now and log in to the same Mi Account that is linked to your phone.
- Download the archive. miflash_unlock.zip (size ~50 MB) and unpack it into the root of the disk C:\ (path should not contain Cyrillic!).
- Launch the file. miflash_unlock.exe on behalf of the administrator.
โ ๏ธ Note: If the site offers to download the utility from other resources (for example, 4PDA or XDA Developers are informal builds. They may work, but the risk of an account or device being blocked increases. Xiaomi regularly updates its verification algorithms, and pirated versions often contain outdated certificates.
๐ก
Before you start the Mi Unlock Tool, temporarily disable the antivirus (such as Avast or Kaspersky).It can block Xiaomi drivers, which will result in a 0x80070005 error ("Access is denied").
After installing the utility, check the version in the lower right corner of the window. At the time of writing, the current version is 6.5.224.24. If the number is lower, update the tool through the About menu.
Step-by-step: unlock the bootloader on Xiaomi 13 Ultra
Now, to the process itself, follow the instructions in the steps, and any deviation can lead to additional waiting times (up to 720 hours!) or a complete lockdown.
โ๏ธ Preparation for unlocking
Step 1: Enable the developer mode and debugging over USB
1. Go to Settings โ About the phone.
2. Tap 7 times on the MIUI version until the notification "You became a developer" appears.
3. Go back to the basic settings, open Additional โ For developers.
Activate:
- ๐ง Debugging by USB
- ๐ Unlocking OEM (point-of-point!)
- ๐ฑ Factory Unblocking (if any)
Step 2: Linking your device to your Mi Account
1.In the same menu for developers, find the item Unlock status Mi.
2.Click Add Account and Device.
3. Confirm the action via SMS or email (depending on the account settings).
4. Wait for the message "Device successfully tethered. Wait: 168 hours" (7 days).
โ ๏ธ Note: If you see โ360 hoursโ or โ720 hoursโ instead of 168 hours, this means that the bootloader has previously been tried to unlock on this device!).
Step 3: Connect to PC and launch the Mi Unlock Tool
1. Turn off the Xiaomi 13 Ultra.
2. Press the Loudness Down + Power buttons to enter the Fastboot Mode (the screen with the hare and the inscription FASTBOOT).
3. Connect your phone to your PC via the original USB cable (it is better to use the USB 2.0 port on the back of the system unit).
4. Launch it. miflash_unlock.exe Sign in to your Mi Account.
5. The utility should automatically identify the device. If this does not happen, install the drivers manually through Device Manager (look for the device with an exclamation mark in the "Other Devices" section).
Step 4: Unlocking
1.In the Mi Unlock Tool window, press Unlock.
2. Confirm the action on the phone (if a request appears).
3. wait until the process is completed (usually takes 10-30 seconds).
4. Once successfully unlocked, the phone will automatically restart. Now the Fastboot Mode will have the inscription UNLOCKED (in red).
What to do if the Mi Unlock Tool is 86012 error?
Typical errors and their solutions
Even if you follow all the instructions, users often encounter errors, and here's a table of the most common codes and how to fix them.
| Error code | Reason. | Decision |
|---|---|---|
| 86006 | The device is not supported in your area. | Change the region of your Mi Account or go through the global firmware |
| 86012 | Xiaomi server has blocked the account | Wait 24 hours or change. IP-address |
| 0x80070005 | No access rights (antivirus/firewall) | Disable protection and launch the utility on behalf of the administrator |
| Couldnโt unlock | The wait of 168/360 hours is not completed | Wait for the end of the timer (check the Unlock Status Mi) |
| Device not connected | Problems with drivers or cable | Use the original cable and USB 2.0 port, reinstall the drivers |
If your error is not listed in the table, check the utility log (file) unlock_log.txt in the folder with Mi Unlock Tool) and search for a solution on the Mi Community forum or XDA Developers (look for themes with Xiaomi tag) 13 Ultra).
What to do after unlocking the loader
Successful unlocking is only half the battle, and now your device is vulnerable to unauthorized changes, and it also lacks some security features.
- ๐ Install custom recovery (for example, TWRP Or OrangeFox) for backup and firmware installation. ZIP-files are impossible.
- ๐ฒ Turn off automatic updates MIUI In Settings โ The phone. โ Update the system, otherwise the next update may block the bootloader again.
- ๐ก๏ธ Enable the signature check of boot files (if you plan to use official firmware) to protect against the installation of fake packages.
- ๐ Create a full backup through adb backup or TWRP. Unlocked bootloader increases the risk of โbrickingโ in case of firmware errors.
โ ๏ธ Note: After unlocking Xiaomi 13 Ultra loses support for Widevine L1 (descend L3), This means that you cannot view content in high resolution (1080p+) on streaming services (Netflix, Disney)+, Prime Video. Return L1 can only be done by re-locking the loader and resetting to factory settings.
๐ก
Unlocking the bootloader on Xiaomi 13 Ultra does not void the warranty, but disqualifies the right to free repair in the event of software failures. Physical breakdowns (screen, battery, camera) remain under warranty.
How to lock the boot loader back (if necessary)
If you decide to return the device to its original state (for example, for sale or warranty repair), the bootloader can be blocked back.
- Swipe the official firmware through Fastboot with the flag --lock:
fastboot flash all [name firmware].tgz --lock- Or use the Mi Flash Tool with the Clean All and Lock option.
- After firmware, reset to factory settings in Settings โ Additional โ Recovery and Reset.
Important: Locking the bootloader erases all data on the device, including internal memory (/data), and may require re-assignment of the Mi Account (waiting 168 hours).