Installation MIUI Magic is a way to turn Xiaomiβs standard firmware into a unique version with advanced features, an optimized interface and exclusive features that arenβt in official builds. β It's about the phone. You're going to have to unlock the bootloader, pick the right firmware version, and follow the instructions carefully to avoid turning the phone into a brickΒ».
In this article, we will discuss all the steps from the device preparation to the final setup of the Magic firmware, including solving typical errors. POCO (Except for HyperOS devices, they require a separate approach. If you're new to Android customization, don't skip the backup and unlock the bootloader sections, which is critical!
What is it? MIUI Magic and why you need it
MIUI Magic is a modified version of the standard shell. MIUI, It's a custom-built experience that's designed by enthusiasts to enhance the user experience:
- π¨ Deep customization of the interface: changing icons, fonts, animations and even system sounds without root rights.
- β‘ Performance optimization: Unnecessary system applications (bloatware) are removed, work with RAM and battery is improved.
- π Additional privacy features: Tracker lock, extended permissions for applications.
- π± Exclusive features: for example, Game Turbo 2.0 for gamers or Super Wallpapers with dynamic wallpapers.
But there are pitfalls:
- β οΈ Loss of warranty (if the device is warranty-free, it is better to wait).
- π Risk of βbrickingβ when installed incorrectly.
- π΅ Problems with OTA-Updates (you will need to update manually).
If you're ready to experiment, read on. If in doubt, try the theme of the Topic first. β Online (there are free alternatives with similar designs).
Device preparation: backup, unlocking the bootloader and tools
Before you start installing, be sure to save all the data. The firmware erases the internal memory, and recovery through Mi Cloud may not work due to the changed system.
- π Local backup: copy photos, videos and documents to a PC or external drive.
- βοΈ Cloud services: Google Photos, Mi Cloud (but note that after firmware may require re-authorization).
- π± Backup apps: Swift Backup (requires root) or Titanium Backup (obsolete but reliable).
Next, unlock the bootloader. Without this step, you can't install Magic. It takes up to 720 hours (30 days) of waiting because of Xiaomi's security policy.
- Link your Mi Account to your device in Settings β Xiaomi Account.
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Turn it on. OEM-unlocking and debugging USB In Settings β Additionally. β For developers.
- Install Mi Unlock Tool on your PC and follow the program instructions.
β οΈ Note: If the device was purchased less than 30 days ago, the Mi Unlock Tool will show the Couldn't unlock error!).
Also prepare the necessary tools:
| Tool. | Appointment | Reference |
|---|---|---|
| Mi Flash Tool | Installation of firmware through Fastboot | Official website |
| ADB & Fastboot | Managing the device through the command line | Android Studio |
| TWRP Recovery | Castom recavery for installation ZIP-firmware | Official website |
| OrangeFox Recovery | The alternative TWRP supportive F2FS | Download |
Make a data backup|Tie up a Mi Account|Unlock the loader|Download the Mi Flash Tool and ADB|Choose a Magic version for your model-->
Choice of version MIUI Magic: Stable vs. Weekly
Firmware MIUI Magic is divided into two types:
- π’ Stable: tested builds with minimal bugs, suitable for daily use.
- π‘ Weekly: fresh versions with new features but possible errors.
How do you choose the right version?
- Check the code name of your device (e.g., raphael for Redmi) K20 Pro. You can find it in Settings. β The phone. β Model or command: adb shell getprop ro.product.device
- Download the firmware from the official Telegram channel MIUI Magic or forum XDA Developers.
- Pay attention to the region: Global, China or EEA. It is better to choose the Global or EEA.
Example of firmware file name: miui_MAGIC_raphael_global_23.4.12_v14-13.zip, where:
- raphael is the code name of the device.
- global, region,
- 23.4.12 - assembly date,
- v14-13 β Magic version (based on the MIUI 14).
β οΈ Note: Do not install firmware for another model, this is guaranteed to lead to hard brick (irreparable damage). For example, the firmware for the Redmi Note 10 Pro (sweet) is not suitable for the Redmi Note 10 (mojito).
How to check the compatibility of the firmware?
Installation MIUI Magic: A step-by-step process
There are two main ways to install: through Fastboot (for clean installation) and through TWRP (Upgrade or install on top of an existing firmware. We'll look at both options.
Method 1: Installation via Fastboot (recommended for beginners)
This method is suitable if you are installing Magic for the first time or want to completely clean the device.
- π₯οΈ Windows computer (or Linux/macOS fixed ADB/Fastboot).
- π Cable USB (preferably original).
- π¦ Firmware in.tgz or.zip format (for Fastboot).
Instructions:
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\Magic\).
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect the device to your PC and start the Mi Flash Tool.
- In the program, select the folder with firmware, press Refresh (should appear). COM-port) and click Flash.
- Wait until it is completed (usually 5-10 minutes).
Method 2: Installation through TWRP (power-user)
If you have a custom recap (for example, TWRP), You can use Magic as a way to ZIP-The advantages of this method:
- β Data storage (if not formatted) /data).
- β Possibility of installation on top of another custom firmware.
- β Magisk support for root rights.
Instructions:
- Download the firmware.zip and put it on internal memory or SD-map.
- Boot to TWRP (Put Volume Up + Power on the phone off).
- Make a backup of the current firmware (optional, but recommended).
- Press Install, select. ZIP-file and run to confirm.
- After installation, run the Wipe β Format Data (if clean installation is required) and restart.
β οΈ Note: If, after installation, through TWRP phone hangs on the logo MI, Try repeating the process with full data partition formatting. If that doesn't work, restore the backup or go through Fastboot.
π‘
If the Mi Flash Tool is an anti-rollback error, you are trying to install an older firmware version than the one already in use, in which case you need to find firmware with the same or newer anti-rollback number (checked in the updater-script file).
First setup and optimization MIUI Magic
Once you have successfully installed, you will be met by the initial setup wizard, where you can immediately turn on key functions:
- π Auto-Update Magic: in Settings β The phone. β Update system turn on Check for updates automatically.
- π― Theme: Go to Themes and select one of the exclusive themes for Magic (such as Magic Dark or Neon).
- β‘ Performance mode: c Settings β Battery β Activate High Performance Modes for Games.
- π Advertising Blocking: C Settings β Confidentiality β Special permissions to disable Personalized Advertising.
For deeper customization:
- Install Magisk for root rights (if necessary). Download Magisk.zip and pass through TWRP.
- Use Magisk modules, for example: ViPER4Android β To improve sound, XiaomiEU β to integrate features Xiaomi.eu, LSposed β to modify system applications.
If after setting up there are lags or overheating, try:
- Reset the settings to factory (in Settings) β Additionally. β Recovery and discharge).
- Disable animations in Settings β The phone. β Version. MIUI (Click 10 times on the kernel version, then select 0.5x In Settings β Additionally. β For developers).
- Remove unnecessary applications through Settings β Applications (but do not remove system applications!).
π‘
After installing Magic, it is recommended to disable automatic updates via Settings β The phone. β Updating the system β Three points. β Settings to avoid conflicts with official OTA.
Solving Common Errors After Installation
Even if you install it properly, you can have problems, and here are the most common ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| Phone not turned on (black screen) | Incorrect firmware or interrupted installation | Swipe through Fastboot the official firmware, then repeat the installation of Magic. |
| Constant reboots (bootloop) | Magisk module conflict or damaged ZIP | Load in TWRP, remove /data/adb/modules, Re-stripe Magic. |
| No network or mobile data | Inconsistency of the modem part of the firmware | Swipe vendor and firmware from official firmware via Fastboot. |
| Google services are not working | There are no GApps or incorrect regions | Install NikGApps or OpenGApps via TWRP. |
| Fast battery discharge | Background processes or unoptimized core | Calibrate the battery (discharge to 0%, charge to 100% without interruptions). |
If none of these methods helped, contact the support chat. MIUI Magic with error logs:
- Connect the phone to the PC.
- Enter in the command line: adb logcat > log.txt
- Repeat the error and stop the recording (Ctrl)+C).
- Attach the log.txt file to the message.
What if the Mi Flash Tool canβt see the device?
How to Reverse the Official Firmware
If MIUI Magic didn't live up to expectations or there were critical errors, you can go back to the official firmware:
- Download stable Fastboot firmware for your model from the official Xiaomi website.
- Unpack the archive and launch the Mi Flash Tool.
- In the program settings, select clean all (this will completely clean the device!).
- Connect your phone in Fastboot mode and press Flash.
- After completion, the phone will restart with the official firmware.
If you want to save data, try flashing the official recovery first through Fastboot:
fastboot flash recovery recovery.img
fastboot reboot recoveryThen, in the drain Recovery, select Wipe data and Reboot.
β οΈ Warning: After returning to the official firmware, unlocking the bootloader is saved. To block it again (for example, for warranty repair), use the command: fastboot oem lock But note that this will reset all data again!