How to reflash Xiaomi Mi 9C: official and custom firmware

Why do you want to re-watch the Xiaomi Mi 9C?

Xiaomi Mi 9C (also known as Mi CC9e in China) launched in 2019 with MIUI 10 powered by Android 9 Pie. Since then, official updates have stopped, with users facing slowdowns, lack of support for new apps and security vulnerabilities.

βœ… Update Android to the current version (for example, Android 12 through custom firmware like LineageOS or Pixel Experience).

βœ… Remove built-in bloatware (pre-installed Chinese apps that slow down the system).

βœ… Improve performance through optimized cores and modified settings.

But there are risks, from a breeze (turning a phone into a brick) to a loss of warranty, and this article provides detailed instructions tailored to the specifics of the Mi 9C (codename laurus), including unlocking the bootloader, selecting firmware, and solving common errors.

πŸ“Š Why do you want to re-examine Xiaomi Mi? 9C?
The official firmware is outdated
I want a custom OS (LineageOS, Pixel Experience)
Phone's slowing down.
Other

Preparation for firmware: what to do before the start

Before you start, make sure that all the preliminary steps are followed, and neglect of preparation is the main cause of firmware failure.

First, check the device model. Xiaomi Mi 9C has two options:

  • πŸ“± Global (firmware with global suffix) - for the international market.
  • πŸ‡¨πŸ‡³ China (firmware with cn suffix) – Chinese version with restrictions (for example, without Google services).

You can find out your model in Settings β†’ About Phone β†’ Model or through the command fastboot getvar product.

Second, save important data. The firmware erases the internal memory (/data).

  • ☁️ Cloud services (Google Drive, Mi Cloud).
  • πŸ’Ύ Local backup via adb backup or TWRP (if already established).
  • πŸ“± Transfer to a memory card or PC (photos, contacts, SMS via Mi Mover).

Make a backup of data | Check the battery (minimum 60%) | Download the correct firmware for the model laurus | Install ADB/Fastboot drivers | Prepare a USB cable (preferably original)

-->

Third, unlock the bootloader (if not done before). Xiaomi locks it by default.

  1. Link your Mi Account to your phone in Settings β†’ Xiaomi account.
  2. Activate Developer Options (7 times click on the MIUI version in About Phone).
  3. Enable OEM Unlock and USB Debugging in Settings β†’ More β†’ For Developers.
  4. Use the official Mi Unlock Tool (download from Xiaomi website).

⚠️ Attention: Unlocking the bootloader resets the phone to factory settings. After the procedure, you will have to wait 72-168 hours (depending on the account) before you can sew custom recovery or software.

Choosing firmware for Xiaomi Mi 9C: official vs custom

The type of firmware depends on the capabilities of the phone after the update. Let's consider the main options:

Type of firmwareAdvantagesDeficienciesWhere to download
Official MIUI (Global/China)Stability, OTG support, no risk of bricAn outdated version of Android, BloatwareOfficial website
MIUI EU (unofficial)No Ads, Weekly Updates, OptimizedIt may contain bugs, no. OTA-updateXiaomi.eu
LineageOSClean Android, Long-Term SupportThe camera or NFC may not workLineageOS
Pixel ExperienceGoogle Pixel interface, quick updatesLess optimization for Xiaomi ironPixel Experience

For beginners, we recommend starting with the official MIUI Global or MIUI EU. Power users can try LineageOS or Pixel Experience, but consider:

  • πŸ”§ The scaling needs installation TWRP (custom recovery).
  • πŸ“± Certain functions (e.g, IR-blaster NFC) They may not work properly.
  • πŸ”’ Netflix or banking apps will require Magisk to pass SafetyNet.

πŸ’‘

Before choosing firmware, check reviews on 4PDA or XDA Developers forums – some builds may have critical bugs (e.g., a broken camera module).

Step-by-step: Firmware via Fastboot

Fastboot is the most reliable way to flash the Xiaomi Mi 9C, especially if the phone is not turning on or needs recovery.

  • πŸ–₯️ PC Windows/Linux and installed drivers ADB/Fastboot.
  • πŸ“± Cable USB Type-C (original or high-quality).
  • πŸ“ Firmware in.tgz or.zip format (unpacked in a folder).

Steps:

  1. Turn off the phone. Press Volume down + Power to enter the Fastboot (there will be a hare in a hat-eared hat on the screen).
  2. Connect the phone to a PC. Check the connection with the command: fastboot devices must display the serial number of the device.
  3. For official firmware, use the Mi Flash Tool: Select the firmware folder. Specify Clean all or Clean all and lock (if you want to lock the bootloader after you have firmware). Press Flash and wait for completion (5-10 minutes).

fastboot

fastboot flash boot boot.img


fastboot flash recovery recovery.img




fastboot flash system system.img




fastboot reboot

⚠️ Warning: If the firmware is interrupted during flashing vbmeta, don't panic - this is normal for some builds. Just restart the phone manually (fastboot reboot).

What to do if the Mi Flash Tool gives you a "can't find device" error?
1. Check the cable connection (try another USB port). 2. Update the drivers via Device Manager (select "Mi Flash" manually). 3. Run the Mi Flash Tool on behalf of the administrator. 4. Try another PC (sometimes the problem is in conflict with the antivirus).

Firmware through TWRP: installing custom software

If you choose LineageOS, Pixel Experience or other custom firmware, you will need TWRP β€” custom recovery. For the Mi 9C version 3.6.2 or later is suitable.

Instructions for installing TWRP:

  1. Download the image twrp-3.6.2_9-0-laurus.img official website.
  2. Reboot your phone in Fastboot and Switch Recovery: Fastboot Flash Recovery twrp-3.6.2_9-0-laurus.img
  3. Immediately after firmware, go to TWRP, holding Volume Up + Power (otherwise the system will overwrite recovery).

Install custom firmware through TWRP:

  1. Copy firmware (.zip) and Gapps (if you need Google services) to your phone or memory card.
  2. V TWRP run the Wipe β†’ Advanced Wipe and mark: πŸ—ƒοΈ Dalvik / ART Cache πŸ“ System πŸ—‘οΈ Data πŸ“± Cache

Install

Gapps

Magisk

Reboot β†’ System

πŸ’‘

If the phone has been stuck on the Xiaomi logo for more than 10 minutes after firmware, go back to TWRP and repeat the steps of Wipe β†’ Format Data (enter yes manually).

Typical errors and their solutions

Even with the exact following of the instructions, there can be problems.

Mistake.Reason.Decision
Fastboot: FAILED (remote: 'Flashing is not allowed in Lock State')The bootloader is not unlockedUse the Mi Unlock Tool (see Preparation section)
The phone does not turn on after firmware (black screen)Incompatible firmware or interrupted processRepeat the firmware through Fastboot with a full clean (clean all)
E: Unknown command [log] in TWRPAn outdated version of TWRPUpdate recovery to 3.6.2+
No network after firmwareNot stitched with modem or vendorSweep through the official firmware through the Mi Flash Tool with the Flash all except storage tick

If your phone has turned into a hard brick, try:

  • πŸ”Œ Test Point method: disassemble the phone, close contacts on the board and run through the Mi Flash Tool in mode EDL.
  • πŸ› οΈ Contact the service center (if you are not sure about your rationing skills).

πŸ’‘

If the camera doesn’t work after LineageOS firmware, download a separate GCam module with a configured configuration for laurus (look for 4PDA).

After Firmware: Setup and Optimization

After successful firmware, follow a few steps to work stably:

Initial setting:

  • πŸ”„ Restart your phone 2-3 times (this helps the system to settle down").
  • πŸ“Ά Set up the network manually if the automatic search doesn’t work.
  • πŸ”’ Enable Developer Options and turn off animations to speed up the interface (Settings) β†’ System system β†’ For developers β†’ Speed of animation Γ—0.5).

2. Optimization of productivity:

  • πŸ—‘οΈ Clear the cache through Settings β†’ Warehouse β†’ Clear the cache.
  • πŸ”‹ Calibrate the battery (discharge to 0%, charge to 100% without interruption).
  • πŸ›‘οΈ Install Magisk to manage root rights and modules (e.g, ViPER4Android sound-wise).

Verification of functionality:

  • πŸ“Έ Test the camera (take a photo on the main and front).
  • πŸ“Ά Make sure that Wi-Fi, Bluetooth are working, GPS.
  • πŸ’³ Check Google Pay or SberPay (if contactless payments are needed, you will need to hide the root via Magisk).

⚠️ Note: If the Pixel Experience is not working after the firmware IR-blaster (DU remote), install the Mi Remote application from APKMirror - it will restore functionality.

FAQ: Answers to Frequent Questions

Can I flash Xiaomi Mi 9C without unlocking the bootloader?
No. Xiaomi blocks unofficial firmware installation without unlocking, with the only exception being an update via OTA or Mi Flash Tool with official firmware (but that won't give new Android versions).
How to return the official MIUI after custom firmware?
Download the official firmware for your model (laurus_global or laurus_cn) And you can run through the Mi Flash Tool in Clean All and Lock mode, and that will block the bootloader and return the stock recovery.
Why does LineageOS not work after the firmware?
Probably not a vendor or firmware file. Try: Swipe official MIUI through Fastboot; install LineageOS on top without vendor cleaning; or manually copy /vendor files from stock firmware.
How to upgrade TWRP to Xiaomi Mi 9C?
Download the current image twrp.img and run it through the current version. TWRP: Go to Install. β†’ Install Image. Choose downloaded twrp.img. Enter the Recovery section. Reboot to Recovery (Reboot) β†’ Recovery).
Can I flash Xiaomi Mi 9C on Android 13?
Officially, no, as Xiaomi has stopped supporting. However, there are unofficial builds of LineageOS 20 or Pixel Experience 13 for laurus. Keep in mind that they may contain bugs (for example, the broken Widevine L1 for Netflix in HD).