Xiaomi bootloader unlocked - what to do next? full checklist 2026

You've successfully unlocked a bootloader on a Xiaomi, Redmi or POCO smartphone -- but what now? This step opens up custom firmware, root rights, and deep system customization, but it also carries risks ranging from loss of warranty to bricking up the device. Unlike standard instructions that say "just flash TWRP," we'll take every step after unlocking, from preparing the backup to restoring IMEI if something goes wrong.

It’s important to understand that unlocking the bootloader does not mean automatic freedom of action. For example, on new models (Xiaomi 13/14, Redmi Note 12) after unlocking, an anti-rollback can work, which will lock the device when trying to downgrade the version of MIUI. And on some devices (for example, POCO F5), you need to additionally disable the Mi Flash Lock through ADB. In this article, only current data for 2026, without outdated tips like β€œInstall Magisk 20.4”.

If you unlocked the bootloader for a specific purpose (e.g. installing Google Camera or removing ads in MIUI), we will show you the minimum steps necessary to avoid risking system stability. For enthusiasts, we will analyze advanced scenarios: flashing to AOSP, overclocking the processor or recovering from a soft breech.

1. Checking the unlock status and preparing the device

Before you do anything, make sure the bootloader is actually unlocked.

  • πŸ”§ Turn off the phone and press the volume down. + Power to log into Fastboot Mode.
  • πŸ–₯️ Connect the device to your PC and type in the command: fastboot oem device-info In the answer, look for the line Device unlocked: true. If there is false, unlock not passed.
  • βš™οΈ On some models (Xiaomi) 12T, Redmi K50) status can be displayed as unlocked only after the first reboot.

Critically, if the command response has an Anti-rollback:4 (or other number), write down this value, which you will need when choosing a custom firmware. Installing software with a lower rollback will lead to hard-brick (irreparable damage).

Next, prepare the device:

  • πŸ“± Make a full backup with Mi Cloud or Xiaomi Backup (settings) β†’ Β«The phoneΒ» β†’ Β«Backup.β€œDon’t rely on a Google account – it doesn’t save settings. MIUI.
  • πŸ”‹ Charge your phone to 80% – when you run through fastboot, a discharge below 30% can interrupt the process.
  • πŸ“‚ Download the official firmware for your model from the site MIUI Download (select the version of Fastboot) ROM, Not Recovery).

⚠️ Note: If you plan to install custom software (such as LineageOS), check the support for your model right away in the forum. XDA Developers. some firmware (for example, for POCO X3 NFC) Requires pre-installing of the patch disable_dm-verity.

2. Installing TWRP or OrangeFox: Which Recovery to Choose?

Xiaomi's stock recovery doesn't allow you to install unofficial firmware or modifications, so the next step is to install custom recovery.

  • πŸ› οΈ TWRP β€” The most popular, but on new devices (Xiaomi 13, Redmi Note 12 Pro)+) It may not work due to encryption FBE (File-Based Encryption).
  • 🦊 OrangeFox - fork TWRP better-supported MIUI and the function of automatic partition mounting.
  • πŸ“± PitchBlack – an alternative for devices with a problem TWRP (for example, POCO F4 GT).

How to install (in the example of TWRP):

  1. Download the recovery image for your model from the official TWRP website (file with the.img extension).
  2. Restart your phone to fastboot and execute the command: fastboot flash recovery twrp-3.7.0_12-0-lmi.img (Replace the file name with yours).
  3. Immediately after installation, reboot to recovery, holding Volume up + Power.

⚠️ Note: On devices with dynamic partitions (Xiaomi) 12, Redmi K40) before-fixing TWRP You need to disable the avb command: fastboot flash vbmeta vbmeta.img (file vbmeta.img You can get it from the official firmware).

πŸ“Š What kind of recovery do you prefer?
TWRP
OrangeFox
PitchBlack
Other
I haven't tried it yet.

3. firmware custom software: MIUI, AOSP or GSI?

After installing custom recovery, you can choose one of three ways:

Type of firmwarePlusesConsSuitable for
Official MIUI (Fastboot)Stability, OTA-Update, retain the guarantee (conditionally)Advertising, MIUI restrictionsFor beginners who want to bring back the stock
Custom MIUI (e.g. MIUI EU)Advertising-free, advanced settings, weekly updatesThere may be bugs, no OTAs.Users who lack the function of the drain
AOSP (LineageOS, Pixel Experience)Clean Android, no Bloatware, long-term supportThe camera, NFC or sensors may not workEnthusiasts who want a β€œvanilla” Android
GSI (Generic System Image)Universality and Project Treble supportLow productivity, bugsFor experiments or unofficially supported models

For installation of MIUI EU or other custom MIUI:

  1. Reboot to TWRP and run Wipe β†’ Format Data (this will remove encryption).

For AOSP-Firmware (e.g. LineageOS 20):

  • πŸ“Œ Check out your model support at wiki.lineageos.org.
  • πŸ”„ Make backup persistent and modem partitions in TWRP (They're responsible for IMEI linkage).
  • πŸ› οΈ Install the firmware + NikGapps (for Google services) + Magisk (optional).

Download firmware for your model | Check anti-rollback | Make backup persist/modem | Format data in TWRP | Install NikGapps (if you need Google)

-->

4. Getting root rights: Magisk or KernelSU?

Root rights give full control of the system, but disable the ability to OTA-There are two main ways to get root in 2026, and updates can disrupt banking applications:

  • πŸ”§ Magisk is a classic method that works on most devices. The latest stable version is Magisk 26.4 (check on GitHub).
  • 🐧 KernelSU – an alternative for cores with support KPROBE. Suitable for Android 12+, but requires a custom core.

Instructions for Magisk:

  1. Download the latest Magisk.apk and rename it to Magisk.zip.
  2. V TWRP set up ZIP-file.
  3. Restart and check root through the Magisk app or command: su in the terminal.

For KernelSU:

  • πŸ” Make sure your core supports KPROBE (check out on kernelsu.org).
  • πŸ“¦ Install. KernelSU.zip through recovery or thread a custom core with KernelSU support.
  • πŸ”„ Activate in settings: Settings β†’ The phone. β†’ Version of the kernel (stamp 5 times).

⚠️ Note: On devices with Dynamic Partition (Xiaomi) 11T, POCO F3) Magisk installation can result in a looped reboot, in which case a patch is required. disable_forceencrypt.

πŸ’‘

If banking applications stop working after installing Magisk, try enabling MagiskHide (in Magisk settings) and adding the application to the hidden list.

5.Recovery from Errors: From a Soft Brick to Losing an IMEI

Even with care, there are some things that can go wrong, and let's look at the typical problems and their solutions.

  • πŸ”„ Bootloop – usually caused by incompatible firmware or incorrect Wipe Solution: Load to TWRP And do the Wipe. β†’ Advanced Wipe β†’ Dalvik, Cache, Data. Refresh the firmware.

Loss of network or IMEI

  1. Restore backup modem and persist in TWRP.
  2. If there is no backup, try flashing stock MIUI through the Mi Flash Tool with the clean all option.
  3. 🚫 Hard-brick (device not turned on) – if the bootloader is damaged, only help EDL-Mode (emergency firmware via Qualcomm 9008). This requires an authorized Xiaomi account and boxing (for example, UFi Box).

FAQ: Frequent questions after unlocking

Can I unlock the bootloader without waiting 7 days (168 hours)?
Officially, no. Xiaomi requires a wait-in to link an account to a device. Workarounds (like resetting time or using multiple accounts) no longer work from 2023. The only way to speed up the process is to buy a device with an already unlocked bootloader (but risk running into scammers).
Why does the camera not work after the AOSP firmware?
This is a typical problem due to the lack of proprietary libcamera drivers. Solutions: Install an ANX Camera or GCam with a config for your model. Run a Camera2API-enabled kernel (e.g. Perseus Kernel for POCO F3). Return to MIUI - some models (e.g., Xiaomi 11 Lite NE) require stock drivers to make the camera work properly.
How to update custom firmware without losing data?
For MIUI EU: Download the new version of the firmware (ZIP). Reboot to TWRP and set ZIP No wiping, re-sweep Magisk (if installed). AOSP (For example, LineageOS: Use the built-in updater (if any). or install the update via adb sideload: adb sideload lineage-20.0-20260501-nightly-surya-signed.zip Important: When updating with dirty flash (without a Wipe), bugs may occur.
Can I unlock a bootloader on Xiaomi without a PC?
No, a PC with ADB and Fastboot installed is required to unlock. Alternative methods (e.g., through apps like the Mi Unlock Tool on your phone) are fraud. The only exception is devices with an already unlocked bootloader (buy with caution!).
What if the NFC stopped working after unlocking?
The problem is typical for AOSP firmware on Xiaomi/Redmi devices. Solutions: Sweep through the stock core (boot.img) from the official MIUI. Install the NFC Fix patch for your model (look for XDA or 4PDA). Check the settings: Settings β†’ Connected devices β†’ NFC – sometimes the option is simply disabled.