How to Root Xiaomi, Redmi & POCO with Magisk
Master installation guide for Xiaomi, Redmi, and POCO smartphones (POCO F6, F5, X6 Pro, X3 Pro, Xiaomi 14, 13, Redmi Note 13, 12, 11, 10, K70, K60) running HyperOS or MIUI. Learn how to navigate the official Mi Unlock Tool 168-hour countdown, extract stock boot images from Fastboot TGZ packages, and prevent DM-Verity bootloops.
Xiaomi / Redmi / POCO Technical Rooting Profile
- Supported Brands: Xiaomi, Redmi, POCO, Black Shark.
- Operating Systems: Xiaomi HyperOS 1.0 / 2.0 and MIUI 14 / 13 / 12.
- Flashing Tool: Official Mi Unlock Tool (for unlocking) + standard Fastboot CLI (for flashing).
- Target Partition:
init_boot.img(devices launching on Android 13/14+) orboot.img(older devices). - Hardware Security: Relockable AVB 2.0; hardware warranty is respected in India and select international regions even after unlocking.
The Mi Unlock Tool 168-Hour Waiting Period Explained
Unlike Google Pixel or OnePlus devices which unlock instantly via Fastboot, Xiaomi enforces a server-side cryptographic token waiting period to prevent unauthorized retailer modification:
Step-by-Step Installation Walkthrough: Fastboot Method
Step 1: Complete Bootloader Unlocking
- After the 168-hour countdown expires, power off your device.
- Hold down Power + Volume Down to enter Fastboot Mode (the orange Fastboot logo or classic Mi bunny will appear).
- Connect your phone to your PC, open Mi Unlock Tool, and click Unlock.
- The tool will verify the server token and unlock the bootloader, wiping all user data.
Step 2: Obtain Stock Fastboot ROM (.tgz)
Always download the official Fastboot ROM (packaged as a .tgz archive), NOT a Recovery ROM (.zip). Extract the TGZ archive to reveal the images/ folder containing:
images/init_boot.img(for devices launched with Android 13/14+)images/boot.img(for devices launched with Android 12 or earlier)images/vbmeta.img(used for DM-Verity disabling if required)
Step 3: Patch Image via Magisk App
Step 4: Flash in Fastboot Mode
Xiaomi & POCO Troubleshooting & Error Recovery
My Xiaomi phone shows a black screen with "The system has been destroyed". How do I fix this?
This error indicates that Android Verified Boot (AVB) detected an altered boot partition with DM-Verity enforcement enabled. To fix it: reboot to Fastboot mode (hold Power + Vol Down), flash stock vbmeta.img with disabled verification flags (fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img), then flash your stock boot.img.
Why does Mi Unlock Tool show "Account not bound" or fail to add device in HyperOS?
On Xiaomi HyperOS, bootloader unlocking requires a verified Mi Account. In the Global version, you must register in the Xiaomi Community App under the "Me -> Unlock Bootloader" section. In China ROMs, you must have Level 5 Community status. Always ensure Wi-Fi is disconnected and Mobile Data is active when tapping "Add account and device".
Supported Models & Dedicated Rooting Guides
Select your exact hardware model below to view verified partition patching, firmware extraction, and Fastboot flashing instructions:
Xiaomi 15, 15 Pro & 15 Ultra (HyperOS 2.0)
2024–2025
SoC: Qualcomm Snapdragon 8 Elite (3nm, Oryon CPU, Adreno 830 GPU) |...
Target Partition: init_boot.img (GKI Architecture — Extracted from off...
POCO F7, F7 Pro & POCO F7 Ultra
2025
SoC: Snapdragon 8 Gen 3 (F7 Pro) / Snapdragon 8 Elite (F7 Ultra) / ...
Target Partition: init_boot.img (GKI 2.0 — Never patch boot.img on POC...
Redmi K80, K80 Pro & K80 Ultra
2024–2025
SoC: Snapdragon 8 Elite (K80 Pro) / Snapdragon 8 Gen 3 (K80) / Dime...
Target Partition: init_boot.img (GKI Architecture on Snapdragon K80/K8...
Redmi Note 14, 14 Pro & Note 14 Pro+ 5G
2024–2025
SoC: Snapdragon 7s Gen 3 (Pro+) / Dimensity 7300-Ultra (Pro) / Dime...
Target Partition: init_boot.img (Qualcomm Pro+) / boot.img (Dimensity ...
Xiaomi 14, 14 Pro & 14 Ultra (HyperOS)
2024–2025
SoC: Qualcomm Snapdragon 8 Gen 3 (4nm TSMC)
Target Partition: init_boot.img (HyperOS GKI Architecture)
POCO F6, F6 Pro, POCO F5 & F5 Pro
2023–2024
SoC: Snapdragon 8s Gen 3 / 8 Gen 2 / Snapdragon 7+ Gen 2
Target Partition: init_boot.img (GKI Architecture)
POCO X6 Pro, POCO X6, X5 Pro & X3 Pro
2023–2024
SoC: MediaTek Dimensity 8300-Ultra / Snapdragon 7s Gen 2
Target Partition: init_boot.img (X6/X6 Pro) or boot.img (X3 Pro legacy)
Redmi K70 Pro, K70, K70 Ultra & K60 Series
2023–2024
SoC: Snapdragon 8 Gen 3 / Dimensity 9300+ / Snapdragon 8 Gen 2
Target Partition: init_boot.img
Redmi Note 13 Pro+ 5G, Note 13 & Note 12 Series
2023–2024
SoC: MediaTek Dimensity 7200-Ultra / Snapdragon 7s Gen 2 / Dimensit...
Target Partition: init_boot.img (Note 13) / boot.img (Note 12)
Redmi 9C, 9A, 10, 12 & 13C Series
2020–2024
SoC: MediaTek Helio G35 / G85 / G88 (12nm Architecture)
Target Partition: boot.img (Non-GKI Legacy Architecture)
Related Guides & Next Steps
Explore interconnected tutorials, module guides, and developer references related to this topic:
Extract Fastboot TGZ ROMs
GuideUnpack raw boot images from official Xiaomi HyperOS firmware.
Fix Bootloops & Safe Mode
TroubleshootRecover instantly from bootloops without losing personal data.
Universal Install Guide
InstallUniversal installation and Fastboot command walkthrough.
Verified against official upstream release Magisk v30.7 on Xiaomi HyperOS and MIUI. Primary reference: topjohnwu/Magisk on GitHub.