How to flash Xiaomi Mi4c: official and custom firmware (2026)

Xiaomi Mi4c is the iconic 2015 smartphone that is still popular today thanks to its powerful hardware (Snapdragon 808, 2/3 GB of RAM) and the ability to install modern firmware. However, with the release of new versions of MIUI and Android, official support for the device has long been discontinued, which means that you will have to sew the phone manually to upgrade the system or restore functionality.

In this article, you will find step-by-step instructions for running the Mi4c through Fastboot, TWRP, and MiFlash, as well as how to unlock the bootloader, select the right firmware (including custom LineageOS or Pixel Experience) and solve typical bugs.

1. Firmware Preparation: What to Do Before Starting

Xiaomi Mi4c firmware is a mindful process. The first thing you need to do is save all the important data. Even if you plan to upgrade without resetting, the risk of losing information remains. Use Mi Cloud, Google Drive or physical copying to your PC via MTP.

Next, check:

  • πŸ”‹ Battery charge: at least 60%. Fastboot firmware can drain the battery, and interruption due to discharge often leads to a brickΒ».
  • πŸ–₯️ Computer - preferably with Windows 10/11 (MiFlash or Linux (for fastboot via terminal) MacOS may have driver problems.
  • πŸ”Œ Cable USB β€” It's original or high-end, and cheap cables can interrupt the connection, which is critical when you're firmware.
  • πŸ“₯ Drivers - install the Mi PC Suite or Qualcomm drivers manually (links in the section below).

If you are flashing Mi4c for the first time, we recommend starting with the official firmware through MiFlash.Castom firmware (like LineageOS 18.1) requires an unlocked bootloader and a TWRP installed, which adds to the complexity.

πŸ“Š What kind of firmware do you plan to install?
Official MIUI
LineageOS (Pixel Experience)
Stock Android
Another.

2. Unlock the bootloader on Xiaomi Mi4c

Without unlocking the bootloader (bootloader), you will not be able to flash Mi4c custom firmware or TWRP. Official firmware through MiFlash is installed on the locked bootloader, but with restrictions (for example, you can not roll back to the old version).

The unlocking process includes several stages:

  1. Link your Mi Account to your device in Settings β†’ Xiaomi Account.
  2. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  3. Enable OEM Unlock and USB Debugging in Settings β†’ Additional β†’ For Developers.
  4. Connect the phone to the PC and execute the command: fastboot oem unlock On the screen of the smartphone will appear a warning – confirm unlock.

⚠️ Note: Unlocking the bootloader resets all data on the device, including internal memory (data). Xiaomi can also block the ability to unlock if the device is not activated in the Mi Cloud for more than 30 days.

If the fastboot oem unlock command doesn’t work, try the official Mi Unlock Tool (you can download it from Xiaomi’s website).However, note that the Mi4c may require waiting 72–168 hours after you have attached your account.

What if the Mi Unlock Tool can’t see the device?
1. Check if debugging is included on USB and whether access to data is allowed from the PC (you will receive a request when connecting). 2. Install Android Bootloader Interface drivers manually through Device Manager. 3. Try another one. USB-port (preferably) USB If a virtual machine is used, connect the device directly to the host.

3. Select firmware for Xiaomi Mi4c

There are three types of firmware available for Mi4c:

  • πŸ“¦ Officially MIUI β€” stable and stable developers (e.g, MIUI 10 - The last official for Mi4c). Suitable for restoring the β€œbrick” or returning to the stock firmware.
  • πŸ› οΈ Android-based castoms: LineageOS (up to 18.1), Pixel Experience, Havoc-OS TWRP and unlocked loader.
  • πŸ”„ Ported firmware - for example, MIUI 12/13 It may contain bugs, but add new features.

Below is a comparison table of popular firmware for Mi4c (current for 2026):

FirmwareAndroid versionRequirementsPlusesCons
MIUI 10 (official)7.0 NougatLocked loaderMaximum stability, OTG supportOlder version of Android, no updates
LineageOS 18.111TWRP, unlocked bootloaderModern Android, no BloatwareNo branded Xiaomi features, possible camera bugs
Pixel Experience12TWRP, unlocked bootloaderPure Android with Pixel chipsPoor Optimization for the Snapdragon 808
MIUI 12 (port)10TWRP, unlocked bootloaderModern interface, support for themesSensors or NFCs may not work

For beginners, we recommend starting with the official MIUI 10. Power users can try LineageOS 18.1, which is the most stable among custom firmware for the Mi4c.

πŸ’‘

Before downloading the firmware, check that it is compatible with the code name of your device - Mi4c is called libra. Inappropriate firmware (for example, for Mi4s) will lead to a brick.

4. Firmware via Fastboot (MiFlash)

The method is suitable for installing official MIUI firmware or recovering the device after a failure.

  • πŸ’» Windows PC (for MiFlash).
  • πŸ“ Firmware in.tgz format (for example, libra_global_images_V10.2.2.0.NXKCNXM_20190422.0000.00_7.0_global).
  • πŸ”§ MiFlash utility (download from the official website).

Step-by-step:

  1. Unpack the firmware in a folder without Cyrillic characters (for example, C:\Mi4c\rom).
  2. Turn off the phone and press Volume Down + Power to log into the Fastboot.
  3. Connect the Mi4c to your PC and start MiFlash.
  4. In the utility, click Select and specify the path to the folder with the firmware.
  5. Select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader).
  6. Press Flash and wait until it is completed (5-10 minutes).

⚠️ Note: If MiFlash gives an error critical partition flashing is not allowed, then the bootloader is locked, and the firmware is only possible on a newer version. MIUI. Unlocking is required to circumvent the restriction (see Section 2).

β˜‘οΈ Preparing for firmware through MiFlash

Done: 0 / 5

5. Installation of TWRP and custom firmware

To install LineageOS, Pixel Experience or other custom firmware, you'll need TWRP, a custom recavator, which is more complex than Fastboot firmware, but it's more powerful.

Steps:

  1. Download the current TWRP for Mi4c (e.g. version 3.6.2 from mauronofrio).The file should be called twrp-3.6.2-libra.img.
  2. Move the downloaded file to a folder from fastboot (e.g., C:\platform-tools).
  3. Turn on Fastboot on your phone and connect to your PC.
  4. Run the command: fastboot flash recovery twrp-3.6.2-libra.img
  5. Immediately after that, go to the recaveri, holding Volume up + Power (otherwise the stock firmware will overwrite TWRP).
  6. In TWRP, run Wipe β†’ Format Data (required for custom firmware!).
  7. Transfer the firmware (e.g. lineage-18.1-20230510-UNOFFICIAL-libra.zip) to your phone via MTP or ADB Sideload.
  8. Install the firmware through Install β†’ Select a file β†’ Swipe to Confirm Flash.

After installing the first boot can take 10-15 minutes. If the system does not start for more than 20 minutes, try repeating the firmware or selecting a different version.

πŸ’‘

Custom firmware on Mi4c often has camera issues (HDR doesn't work) and NFC (due to lack of drivers).Before installing, check reviews on the 4PDA or XDA Developers forum.

6. Solving typical firmware errors

Mi4c firmware can be bugged, especially if the device is old or has been experimented with before, and consider the most common problems and solutions:

Error 1: Fastboot doesn't see the device

  • πŸ”Œ Check the cable and port USB (try USB 2.0).
  • πŸ–₯️ Install Qualcomm drivers HS-USB QDLoader 9008 manually (you can download it on the Internet) XDA).
  • πŸ”„ Restart your PC and phone, try another computer.

Mistake. 2: MiFlash is out. flash_write_failure

  • πŸ“ Check the integrity of the firmware files (unpack the archive again).
  • πŸ”§ Try a different mode in MiFlash (Clean All instead of Flash All).
  • πŸ”‹ Connect your phone to charge while you are firmware (sometimes helps with unstable power supply).

Error 3: After firmware, the phone does not turn on ("brick")

  • πŸ”„ Try going to Fastboot (Loudness Down). + Power) and repeat the firmware.
  • πŸ› οΈ If Fastboot is not available, try the mode. EDL (Emergency firmware via Qualcomm 9008). For that: 1. Close the test points on the board (for Mi4c β€” contact). 2. Connect your phone to your PC – you need to decide how to do it. QHSUSB_BULK. 3. Swipe through MiFlash in mode EDL.
  • πŸ“ž If nothing helps, contact the service center (for the purpose of Mi4c repair costs 1-3 thousand rubles).

⚠️ Attention: Regime EDL Requires authorization of Xiaomi account (for new devices). Mi4c This mechanism is often bypassed through patched versions of MiFlash, but it violates the license agreement.

7. System optimization after firmware

After successful firmware, the Mi4c may be slower than expected, due to outdated hardware and modern software.

For the official MIUI:

  • πŸš€ Turn off animation: go to Settings β†’ Additionally. β†’ For developers and install Windows animation, transition animation and animation duration on 0.5x.
  • 🧹 Remove unnecessary applications through ADB: adb shell pm uninstall --user 0 com.miui.weather2 (substitute com.miui.weather2 packet).
  • πŸ”„ Use Greenify to β€œfreeze” background processes.

For custom firmware (LineageOS/Pixel Experience):

  • 🎯 Turn on Force. GPU Rendering in the Developer Settings.
  • πŸ”‹ Limit background activity: Settings β†’ Annexes β†’ Special access β†’ Optimizing the battery.
  • πŸ› οΈ Install FrancoKernel or ElementalX kernel for better CPU frequency management.

If your smartphone is getting hot, try lowering the maximum CPU frequency through the Kernel Adiutor app (for example, to 1.4 GHz instead of 1.8 GHz).

8. Frequently Asked Questions (FAQ)

Can I flash Xiaomi Mi4c without unlocking the bootloader?
Yes, but only the official MIUI firmware via MiFlash in Clean all mode, but you won't be able to roll back to an older version or install custom firmware, and some features (such as root) will not be available.
What is the newest version of Android available for Mi4c?
Officially, Android 7.0 Nougat (in MIUI 10) can be unofficially installed Android 11 via LineageOS 18.1 or Android 12 via Pixel Experience. Newer versions (13+) are not ported due to hardware limitations.
What if the sensor or display does not work after the firmware?
This is a typical problem when installing incompatible firmware. Solutions: Check that the firmware is designed specifically for Mi4c (libra), not for Mi4s or other models. Install another firmware version (for example, instead of LineageOS try Havoc-OS). If the sensor does not work even in TWRP, run the stock MIUI through Fastboot. In rare cases, the problem is associated with damage to the display plume (repair required).
How to return stock firmware if the phone has become a β€œbrick”?
If the device is not enabled but is defined in Fastboot: Download the official firmware for Mi4c from the Xiaomi Firmware Updater site. Sweat through MiFlash in Clean all mode. If the Fastboot is not available, you will need firmware in EDL mode (see section 6).
Should I use the Mi4c in 2026?
It depends on your goals: βœ… Yes, if you want to extend the life of the device (castomy firmware gives updated Android and security fixes). βœ… Yes, if you need features that are not in stock MIUI 10 (e.g. Google Camera or Dark Mode). ❌ No, if you expect performance at the level of modern smartphones β€” the Snapdragon 808 is outdated for heavy tasks) Mi4c LineageOS 18.1 is still capable of serving as a backup phone.