Xiaomi Redmi 9 with NFC is a popular budget smartphone that, even a few years after its release, remains relevant due to the ability to install custom firmware. Flashing allows you to upgrade to the latest version of MIUI or Android, remove unnecessary applications, improve performance or even install alternative firmware like LineageOS or Pixel Experience. However, the process requires caution: wrong actions can turn the phone into a βbrickβ.
In this article, we will look at all the steps of flashing, from preparing and unlocking the bootloader to installing the firmware through Fastboot or Recovery. We will pay special attention to the nuances of the NFC model, since it has specific drivers that may not work correctly on some custom builds. If you are a beginner, we recommend you to carefully study each section and not miss the warnings.
1. Preparation for flashing: what you need to know before starting
Flashing is not just a system update through the settings menu, it is a complete software replacement that can affect warranty, sensor performance (including NFC), and even the physical health of the device. Before you start, answer three key questions:
- πΉ Why do you need it? If the goal is just to update. MIUI, Check for official updates in Settings β The phone. β System Update: Castom firmware is justified if you want to remove bloatware, get a clean Android or fix bugs from an older version.
- πΉ Are you prepared for the risks? Wrong firmware can lead to data loss, a broken module NFC or complete inoperability of the phone.
- πΉ Is there a backup? Without a backup of important data (contacts, photos, messages), you can't start the procedure.
Please note that after the re-reading:
- π± All settings will be dropped to the factory.
- π The bootloader is unlocked (if it has been blocked), which may violate the warranty.
- π‘οΈ Some features, such as Google Pay, may stop working due to lack of Widevine certification. L1 custom-made).
β οΈ Attention: Redmi 9 with model NFC It's called lancelot, and make sure you download the firmware for this modification, and it's firmware for Redmi 9 without it. NFC (Juice will not work and will lead to errors.
2 Unlocking the bootloader: a mandatory step before the firmware
The bootloader on all Xiaomi smartphones is locked by default. This is a security measure that prevents unofficial software from being installed. To flash the phone, it must be unlocked. The process takes up to 720 hours (30 days) due to Xiaomi's policy, so start in advance.
Unlocking will require:
- π± Smartphone Redmi 9 with NFC battery-charged%.
- π» Windows computer (recommended) 7/10/11) and USB-cable (original!).
- π Mi Account linked to phone (required with a confirmed number and email!).
- π οΈ Mi Unlock Tool (you can download it on the official Xiaomi website).
Step-by-step:
- Turn on the developer mode on the phone: go to Settings β About phone and 7 times click on the MIUI version.
- Back to Settings β Additionally. β For developers and activate: π§ Debugging by USB π Unlocking OEM (point!)
Connect the phone to the PC, confirm the debugging permission on the smartphone screen.
Mi Unlock Tool
Mi Account
Fastboot
"Couldnβt unlock"
Linked to Mi Account by phone | USB | Debugging enabled Activated OEM | Battery unlock >60% | Downloaded Mi Unlock Tool-->
β οΈ Warning: Once the bootloader is unlocked, the smartphone will perform a full reset (wipe). All data will be deleted! Also, Widevine may stop working on some firmware. L1, What will reduce the quality of streaming on Netflix and Disney+ before 480p.
3. firmware selection: official MIUI vs custom builds
For Redmi 9 with NFC (lancelot), two types of firmware are available:
- Official (MIUI) - stable and weekly versions from Xiaomi, suitable for returning to the runoff state or updating to the latest version.
- Custom builds (AOSPs) are built on pure Android (e.g. LineageOS, Pixel Experience, HaventOS) and give more freedom, but can have bugs, especially with NFC and camera.
Step-by-step:
- Unpack the firmware in a folder from fastboot.exe (for example, C:\platform-tools\).
- Turn off the phone and press Power + Volume down to log into the Fastboot.
- Connect your smartphone to your PC and check the connection with the command: fastboot devices must display the serial number of the device.
- For official purposes MIUI run the firmware script: flash_all.bat For custom firmware, use manual commands (example for LineageOS): fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash vendor vendor.img fastboot reboot
π‘
If the process is stuck at the sending 'system' stage, check it out. USB-often helps to reconnect to another port (preferably) USB 2.0).
β οΈ Note: When installing custom firmware through Fastboot, be sure to file separately the vendor and firmware, otherwise the modules may not work. NFC, Wi-Fi or Bluetooth.
5. Installation via Recovery (TWRP) for custom firmware
If you choose custom firmware (like Pixel Experience), itβs more convenient to install it through TWRP Recovery, an alternative restore that allows you to flash.zip files and make backups.
For Redmi 9 NFC (lancelot), TWRP 3.7.0+ is suitable.
Installation instructions:
- Download TWRP.img and firmware (.zip) to your phone.
- Reboot to Fastboot and Sweeve TWRP: fastboot flash recovery twrp-3.7.0-lancelot.img fastboot reboot recovery
- V TWRP run the Wipe β Advanced Wipe and mark: π§Ή Dalvik / ART Cache ποΈ System π Data π Cache
Install β Select ZIP
Magisk
Disable Force Encryption
π‘
Without disabling forced encryption (FBE) custom firmware may not boot or work with errors. ZIP-file Disable_Dm-Verity_ForceEncrypt And then you run it after the main firmware.
The first run after the firmware can take 5-10 minutes.
6. Performance check and problem solving
After flashing, you need to check the key features of Redmi 9 NFC:
- πΆ Network and Calls: Make sure it is determined SIM-map and mobile Internet.
- πΆ Wi-Fi and Bluetooth: Connect to the network and check file transfer.
- π³ NFC: Try paying through Google Pay or reading the tag (if it doesnβt work, stitch the vendor or kernel separately).
- π· Camera: Take a test shot (there may be artifacts on custom firmware).
Typical problems and solutions:
| Problem. | Reason. | Decision |
|---|---|---|
| The phone does not turn on after the firmware | Incorrect firmware or interrupted process | Repeat the firmware through Fastboot with full wipe |
| NFC doesn't work | There is no driver in the firmware | Select a vendor from stock MIUI |
| Not defined SIM-map | Damaged modem or EFS | Restore EFS from the backup or stitch the stock firmware |
| Google Pay is not working. | No certification or unblocked bootloader | Use alternatives (e.g. Revolut) or return to MIUI |
How to recover the IMEI if it has dropped?
7. Return to stock firmware (if something went wrong)
If custom firmware is unstable or you want to return the warranty, you can roll back to the official MIUI.
- Download the stable version of MIUI for lancelot from the official website.
- Unpack the archive and launch it. flash_all.bat (Like the Fastboot section).
- After firmware, the phone will automatically restart and perform the initial setup.
To return the guarantee, it is necessary:
- π Block the bootloader back (via fastboot oem lock, but it is risky!).
- π± Reset the unlock counter in the Mi Unlock Tool (possible only after blocking the bootloader).
β οΈ Attention: Locking the bootloader on custom firmware will result in a phone blink (completely inoperable)! MIUI.