Xiaomi Rooting Guide โ
Requirements: โ
Mi Account (Active for more than 30 days)
MIUI Unlock Tool
- Download link: MIUI Unlock Tool
Windows PC/Laptop
Custom Recovery
- Download Custom for your device from:
Magisk
- Download link: Magisk Releases
Fastboot ROM for Your Device (Optional)
Steps: โ
1. Unlock Your Bootloader โ
- Enable Developer Options:
- Go to Settings > About Phone > HyperOS/MIUI version
- Tap HyperOS/MIUI version 7 times to enable Developer Options
- Enable OEM Unlocking and USB Debugging:
- Go to Settings > Additional Settings > Developer Options
- Enable OEM unlocking and USB debugging
- Bind your Xiaomi account to your phone:
- Tap Mi Unlock status ยป Agree ยป Add account and device.
- Make sure your device can connect to the internet using mobile data.
- Once the account is successfully bound, you should get a message Added successfully.
- Mi account is associated with this device now.
- Apply for Bootloader Unlock
- MIUI
- You can proceed to straight to next step of unlocking with MIUI Unlock Tool.
- HyperOS
- Download Xiaomi Community App.
- Login using your MI account.
- Change your Mi Community region to Global.
- Then click onUnlock Bootloader> Apply for unlocking.
- Wait for the time app showed after which you will be given access to unlock bootloader.
- Check Tips and Tricks
- MIUI
- Unlock with MIUI Unlock Tool:
- Install the MIUI Unlock Tool
- Log in with your Mi Account
- Boot your device into Fastboot mode (Power + Volume Down)
- Connect your device to the PC and follow the tool's instructions
Note: Unlocking the bootloader will erase all data on your device.
2. Download Custom Recovery for Your Device โ
- Choose a custom recovery compatible with your device model
- Download the
.img
file for your device - Rename the downloaded file to
recovery.img
.
3. Flash Custom Recovery โ
Using Windows: โ
- Install ADB and Fastboot tools
- Download from Google Platform Tools
- Open Command Prompt in the folder containing the recovery image
- Boot your device into Fastboot mode (Power + Volume Down)
- Connect your device to the PC
- Execute the following commands:sh
fastboot flash recovery recovery.img
Using Linux: โ
Install Android Debug Bridge (adb):
- For Arch Linux:bash
sudo pacman -S android-tools
- For Debian/Ubuntu/Mint:bash
sudo apt install adb
- For RHEL/CentOS/Fedora:bash
sudo yum install adb
- For OpenSUSE:bash
sudo zypper install adb
- For Arch Linux:
Open your terminal in same folder where custom recovery (
recovery.img
) is downloaded.Boot your device into Fastboot mode (Power + Volume Down)
Connect your device to the PC
Execute the following commands:
fastboot devices
fastboot flash recovery recovery.img
- Wait for success message on terminal.
- Disconnect phoen from pc and reboot by pressing these buttons at the same time
Power + Vol Up + Vol Down
for 15 seconds.
Never ever reboot into recovery using fastboot command.
4. Flash Magisk Using Custom Recovery โ
- Boot into Custom Recovery:
- Press Power + Vol Up button untill you see boot screen release the power button and after 3 seconds release Vol Up button.
- Transfer Magisk ZIP to your device storage if not already
- In recovery, select Install
- Navigate to the Magisk ZIP file and select it
- Swipe to confirm the flash
- Reboot your device
5. Complete Magisk Setup โ
- Open the Magisk app on your device
- Follow any prompts to complete installation
- Verify root access with a root checker app
Tips and Trciks: โ
Alternative unlock bootloader โ
Unlocking the Bootloader on Redmi Note 13 4G NFC and Xiaomi 11 Lite 5G NE (HyperOS)
After struggling with delays and account errors on the MI Community app, I found an effective method online to unlock the bootloader on HyperOS devices.
Steps to Bypass MI Community Account Error and Unlock the Bootloader on HyperOS:
Requirements: โ
- HyperOS-BootLoader-Bypass-V2:
- Download the Settings.apk file:
- Download here - Telegram Link
- Download and install the MI Unlock Tool:
Instructions: โ
- Log in to your MI account.
- Uninstall the MI Community appโyou won't need it anymore.
- Install the Settings.apk from this message. Your device settings will now be in English, resembling MIUI 14.
- Go to Developer Settings and toggle USB Debugging (turn it off, then on again).
- Enable OEM Unlock.
- Connect your phone to your computer.
- Open the HyperOS-BootLoader-Bypass-V2 folder and run the bypass.cmd script. (If everything is successful, you'll see a green "SUCCESS" message and a prompt to link your phone to your MI account in the phone settings.)
- In Developer Settings, disable Wi-Fi and ensure Mobile Internet is enabled.
- Open "MI Unlock Status" and link your account to your phone. (Make sure mobile data is on, and Wi-Fi is off. Youโll receive a notification confirming that your account is linked.)
- Open MI Unlock and log in to your account.
- Enter FASTBOOT mode on your phone by holding down the volume down and power buttons until FASTBOOT appears on the display.
- Connect your phone to your computer.
- In MI Unlock, click UNLOCK and accept all the prompts.
- You should now see a timer. In my case, it was 72 hours, but it may vary depending on your situation.
- Reboot your phone by long-pressing the power button and use it normally. After the timer expires, repeat steps 11 to 13 to complete the process.
- Congratulations! Your bootloader is now unlocked.
IMPORTANT NOTES: โ
- Do not log out of your MI account on your phone.
- Do not reset the settings.
- Do not reinstall the Settings application (even though the language might be inconvenient for now).
- Do not update your firmware until the process is fully complete.
Thanks to @Kaktusbv for sharing this method.
Source : Telegram
Hyper OS Feature Unlocker โ
FOR Redmi Note 13 4G(Sapphire) & Redmi Note 13 4G NFC(Sapphiren) ONLY
Features: โ
- Hyper Blur
- New Hyper Boot Animation
- Dynamic Refresh Rate
- 90FPS Refresh Rate
- And many more
Requirements: โ
For Sapphire:
For Sapphiren:
Steps: โ
- Install Magisk
- Open Magisk and flash the module according to your device.
- Reboot your device.
Disclaimer: Rooting voids your warranty and may brick your device if not done properly. Proceed at your own risk and ensure you have backups of important data.