Installing informal firmware on Xiaomi smartphones is a process that opens up access to advanced features, current versions of Android and unique chips from community developers. However, this is not just an βair updateβ: the procedure requires unlocking the bootloader, working with the TWRP recavator, and risks turning the device into a βbrick.β In this article, we will discuss all the steps from preparation to final configuration, and also explain how to minimize risks and choose the right firmware for your model.
Before you start, itβs important to understand that Xiaomi doesnβt officially support third-party firmware installations, which means youβre out of warranty (if itβs still in place), and you take responsibility for possible failures. On the other hand, custom firmware like LineageOS, Pixel Experience or ArrowOS often offer cleaner Android without any extra software, better optimization and extended support for older models. Are you ready for experimentation? Then letβs get started.
1.Preparation: What to Know Before Installation
The first step is to assess the feasibility, and informal firmware is not for everyone.
- π Your device is no longer receiving official updates (e.g., Redmi Note 5 or Mi). A2), But you want a new version of Android.
- π You lack performance or function MIUI (For example, there is no Always On Display or too aggressive battery optimization).
- π‘οΈ Are you concerned about privacy and want to get rid of pre-installed Xiaomi services.
But there is a downside:
- β οΈ Loss of warranty (if the device is warranty, Xiaomi will refuse repairs if an unlocked bootloader is detected).
- π Possible issues with autonomy (some custom firmware is less optimized for battery life).
- π± Risk of "bricking" (if you interrupt the process or choose incompatible firmware).
Before you move on, check:
- The model of your device (in Settings β About Phone β Model) For example, the Redmi Note 10 Pro has the code name sweet, and the POCO F3 is alioth.
- The current version of MIUI and Android (this will help you choose a compatible firmware).
- Availability of a backup of data (installation of firmware erases everything from internal memory!).
2. Unlocking the bootloader: step zero
Without bootloader unlocking, unofficial firmware cannot be installed. Xiaomi allows it, but the process involves waiting and confirming an account. Here's how it works:
1. Link the device to your Mi Account:
- π± Go to Settings. β Xiaomi account and log in.
- π Turn on sync and confirm. email/phone.
2. Activate Developer Mode and allow OEM unlocking:
- π οΈ Go to Settings. β About the phone and 7 times click on the version MIUI, To activate the Developerβs settings.
- π Back to Settings β Additionally. β Developer settings and enable Unlocking OEM and debugging. USB.
3. Request unlocking via Mi Unlock Tool:
- π» Download the utility from the official website (only for Windows).
- π Connect your phone to your PC in Fastboot mode (turn off the device, then press Volume down). + Nutrition).
- β³ Run the Mi Unlock Tool, log in and follow the instructions. Usually you need to wait 72-168 hours (3-7 days) before confirmation.
β οΈ Note: If you have previously unlocked a bootloader on this device, you may not need to wait. However, binding to a Mi Account is mandatory - without it, unlocking is impossible.
What if the Mi Unlock Tool canβt see the device?
3. Select firmware: what to install instead of MIUI
Castom firmware is divided into two types:
- π± Ported GSI (Generic System Images are generic Android images that work on most Project Treble devices (supported with Android 8.0). GSI, Phhussons GSI.
- π― Specialized firmware, customized to a particular model, usually more stable. GSI, require exact matching of the device code.
Popular firmware for Xiaomi:
| Firmware | Features | Xiaomi support | Complexity of installation |
|---|---|---|---|
| LineageOS | Clean Android, regular updates, high stability | Most models (Redmi 4X to POCO F5) | Medium |
| Pixel Experience | Google Pixel interface, chips like Now Playing | Popular models (Mi 9, Redmi Note 10 Pro) | Medium |
| ArrowOS | Minimalist design, a lot of customization | Limited list (mainly flagships) | Tall. |
| MIUI EU | Official MIUI without Chinese services and advertising | Almost all Xiaomi devices | Low. |
Where do I look for firmware?
- π Official Project Sites (such as LineageOS or Pixel Experience).
- π Forum XDA Developers (search for a theme by your device code).
- π¬ Community telegram chats (e.g, @xiaomifirmware or @lineageosru).
β οΈ Warning: Avoid firmware from unknown sources - they may contain malware or spyware (MD5/SHA1) post-download!
π‘
Before choosing a firmware, check the reviews on the forums. Pay attention to bugs: if many users do not have a camera or mobile connection, it is better to look for another option.
4. TWRP Installation: Your Swiss Firmware Knife
TWRP (Team Win Recovery Project) is a custom recovery that allows you to install firmware, backup and restore the system, without which installing unofficial software is almost impossible.
Installation instructions:
- π Download the version. TWRP for your model from an official website or trusted source (for example, XDA). The file must have the.img extension.
- π» Connect your phone to your PC in Fastboot mode (as when unlocking the bootloader).
- π₯ Place the file. twrp-3.x.x-x-<code>.img to the folder with the platform-tools (from Android) SDK) The command is: fastboot flash recovery. twrp-3.x.x-x-<code>.img
- π Reboot to Recavery, Holding Volume Up + Nutrition (on some models - Volume up) + Loudness down + Nutrition).
If you replace TWRP with standard backups after the reboot, you have Anti-Rollback protection on your device, and you will need to:
- π§ Install TWRP via the fastboot boot command twrp.img (time-load).
- π Hand-stitch the file disable_force_encrypt.zip or no_verity_opt_encrypt.zip (look XDA).
Download the correct file.img for your model|Drivers installed ADB/Fastboot|The battery is charged at least by 70%|Backup of important data is made-->
5. Installation of firmware: step-by-step process
Now that you have the bootloader unlocked and you have TWRP installed, you can start the firmware. Never install the firmware through a standard backup, which will lead to error and possible data loss.
Algorithm of action:
- π Download the firmware (usually this one) ZIP-file) and place it on the external SD-card or internal memory (if not encrypted).
- π Reboot to TWRP (Keep the Volume up. + Power on-set).
- π§Ή Make a full backup of the current system (Backup section in the system) TWRP). This will save your data if something goes wrong.
- π§½ Perform Wipe (clean up): Press the Wipe β Advanced Wipe, tick Dalvik / ART Cache, System, Data, Internal Storage (if the firmware is not available) GSI). Swipe for confirmation.
- βοΈ Install firmware: Press Install, select ZIP-Add (if required) GApps (Google services) and Magisk (root rights). Swipe to start installation.
Reboot β System
If the system does not start after restarting (hangs on the logo or bootloop):
- π Go back in TWRP and repeat the Wipe β Format Data (enter yes to confirm).
- π Refresh the firmware.
- π‘ If the problem persists, try another firmware or kernel version.
π‘
Always check that the firmware is compatible with your deviceβs codename. Installing firmware for the Redmi Note 9 Pro (joyeuse) on the Redmi Note 9S (curtana) will cause the system to fail.
System configuration after installation
After a successful firmware, you will have:
- π± Go through the initial setting (choose language, connect to Wi-Fi, log in to your Google account).
- π Check the main functions: Mobile communication (calls, SMS, 4G/5G). Wi-Fi and Bluetooth. Camera (sometimes GCam or patches are required) Sensors (gyroscope, compass, fingerprint).
- π§ Install missing components: GApps (if not included in firmware) β download the appropriate package from OpenGApps. Magisk (for root rights) β ZIP through TWRP. Core (if productivity customization is required).
Typical problems and their solutions:
| Problem. | Possible cause | Decision |
|---|---|---|
| Mobile phone service is down. | Absent. IMS-fashions or misconfigurements APN | Install a patch for the modem or manually add an operator APN |
| Fast battery discharge | Unoptimized kernel or background processes | Sweat a custom core (like FrancoKernel) or calibrate the battery |
| NFC's not working | There is no support in the firmware | Look for firmware marked "NFC fixed" or return to MIUI |
If you encounter a bug that canβt be fixed, go to the XDA Developers forum or Telegram themed chats. There are usually solutions for popular devices.
7 Risks and how to minimize them
Installing custom firmware is always a trade-off between stability and the main risks and ways to avoid them:
- π₯ "Bricking" (complete device failure): Cause: interrupted firmware, incompatible file, errors when wipe. Prevention: use stable power (laptop charging or UPS), check hashes of files.
- π Battery problems: Cause: unoptimized core or background processes.Prevention: monitor battery consumption through Settings β Battery, stitch the custom core.
- πΆ Poor communication or GPS: Reason: no proprietary drivers for your region. Prevention: look for firmware marked "Global" or manually install modems.
What to do if the phone is not turned on?
- π Try charging the battery for 30 to 60 minutes (sometimes the discharge will block the start).
- π Go to Fastboot (Loudness Down) + Food, and ask again TWRP:
- π V TWRP Repeat the firmware installation or restore the backup.
- π If nothing helps, contact the service center (indicate that the firmware was unofficial).
β οΈ Note: On some Xiaomi models (such as the Redmi Note 8 Pro with a Mediatek chip), unlocking the bootloader can cause the camera to lock hardware.
8.Alternatives: what to do if the firmware is not suitable
If custom firmware is unstable or you lack MIUI features, consider alternatives:
- π Back on. MIUI: Download the official firmware from Xiaomi. Sweat it through Fastboot using the Mi Flash Tool (select the clean all option).
- π οΈ Use it. MIUI with patches: Install MIUI EU (A version without Chinese services, or scrolling Magisk for root rights and modules (e.g. Xiaomi.eu Patched). ADB: adb shell pm uninstall --user 0 com.miui.analytics
- π± Buy a new device: If your model is outdated, it may be easier to purchase a smartphone with official update support (e.g., a new device that is not available, POCO F5 Or the Redmi Note 12 Pro.+).
Remember, custom firmware is not a panacea; sometimes itβs better to stay on MIUI but customize it to suit you (e.g., disable ads through ADB or install a Nova Launcher launcher).
π‘
If you're not sure about your abilities, try flashing a custom recap and backing it up first, and you can experiment without losing data.