How to unlock a bootloader on Xiaomi 13 Ultra: the official method of 2026

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โ€).

๐Ÿ“Š You have already tried to unlock the bootloader on Xiaomi?
Yeah, it worked.
Yeah, but there was a mistake.
No, just planning.
I don't know what it is.

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.

  1. Go to en.miui.com/unlock (official source).
  2. Click Unlock Now and log in to the same Mi Account that is linked to your phone.
  3. Download the archive. miflash_unlock.zip (size ~50 MB) and unpack it into the root of the disk C:\ (path should not contain Cyrillic!).
  4. 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

Done: 0 / 4

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?
This error means that Xiaomi's server has temporarily blocked your account due to too frequent attempts to unlock.Solutions: 1. Wait 24 hours and try again. 2. Check if you're using it. VPN or proxy (Xiaomi blocks such connections). 3. Try changing the connection. IP-address (e.g. by reconnecting to mobile internet instead of Wi-Fi). 4 If the error repeats, create a new Mi Account in the same region as the device's firmware.

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 codeReason.Decision
86006The device is not supported in your area.Change the region of your Mi Account or go through the global firmware
86012Xiaomi server has blocked the accountWait 24 hours or change. IP-address
0x80070005No access rights (antivirus/firewall)Disable protection and launch the utility on behalf of the administrator
Couldnโ€™t unlockThe wait of 168/360 hours is not completedWait for the end of the timer (check the Unlock Status Mi)
Device not connectedProblems with drivers or cableUse 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.

  1. Swipe the official firmware through Fastboot with the flag --lock:
fastboot flash all [name firmware].tgz --lock
  1. Or use the Mi Flash Tool with the Clean All and Lock option.
  2. 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).

FAQ: Frequent questions about unlocking Xiaomi 13 Ultra

Can I unlock the bootloader without waiting 168 hours?
Officially, no. All โ€œcircumventโ€ methods (such as changing your account region or using modified versions of the Mi Unlock Tool) can block your account or device. Xiaomi tightened checks in 2023, and most of the loopholes are closed. The only legal way to reduce the wait is to buy a device with an already unlocked bootloader (for example, on AliExpress marked โ€œUnlocked Bootloaderโ€).
Why can't Mi Unlock Tool see my device?
There are several reasons: Xiaomi drivers are not installed (download them from the official website). USB-cable (try the cable from the kit). USB 3.0/3.1 Incompatible (try the port) USB 2.0). Antivirus blocks the connection (turn it off temporarily). Also check that the phone is in Fastboot mode, not in Recovery.
Will Google Pay work after itโ€™s unlocked?
Yes, but with reservations: If you install custom recovery or informal firmware, Google Pay will stop working due to the SafetyNet trigger. On the official firmware with the unlocked bootloader, Google Pay works, but may require additional verification (for example, confirmation by SMS).
Can I unlock the bootloader on Xiaomi 13 Ultra with firmware for China (CN)?
Technically, yes, but with nuances: Mi Account must be registered in China. 86006 ("Device not supported") error is more likely if the phone is used outside of China. Once unlocked, it is recommended to flash the global version of MIUI (for example, EEA or Global), otherwise there may be problems with Google services. If you do not live in China, it is easier to buy a device with global firmware or flash it yourself before unlocking.
What happens if the unblocking process is interrupted?
The consequences depend on the stage: If you interrupt the process before sending a request to the server (at the stage of checking the device), nothing critical will happen. You can try again immediately. If you interrupt during unlocking (after pressing Unlock), the device may stop booting (hard brick state). EDL If you interrupt after successful unlocking (for example, pull the cable when you reboot) โ€“ the bootloader will remain unlocked, but there may be errors in the system. โš ๏ธ Warning: If the phone doesn't turn on after interruption (black screen, no button response), don't try flashing it through Fastboot - this can aggravate the problem. EDL.