Update Android on Xiaomi 5 Plus: official and hidden ways

Xiaomi Mi 5 Plus (codenamed Gemini) was released in 2016, but is still in demand due to its powerful hardware and the ability to install modern firmware. However, official support for MIUI for this model has long been discontinued – the last stable release from Xiaomi came out in 2019. This does not mean that the device is doomed to an outdated version of Android: there are legal and informal ways to upgrade the system to current versions.

In this article, we will analyze all available methods of updating - from the standard to the standard. OTA-Update (if it is still available) to install custom firmware based on Android 10/11 through TWRP We will pay special attention to device preparation, data backup and solving common errors such as Error. 7 If you have never stitched smartphones yourself – do not worry: we will give step-by-step instructions with explanations for beginners.

1. Verification of the current firmware version and compatibility

Before you start updating, you need to determine exactly which version of MIUI and Android is installed on your Xiaomi Mi 5 Plus, which depends on the choice of firmware method and compatibility with new versions.

To get a version of the software:

  1. Open the Settings. β†’ The phone.
  2. Scroll down to MIUI version – the current firmware (e.g. MIUI 10.2.1.0) is listed here.
  3. Click a few times on the kernel version bar and you will see information about Android (for example, Android 7.0 Nougat).

Compare the data with the compatibility table below. Xiaomi Mi 5 Plus officially supported updates to MIUI 10 based on Android 7.0, but unofficial firmware allows you to install versions up to Android 11:

Android versionThe latest official MIUIInformal firmwareNotes
6.0 MarshmallowMIUI 8LineageOS 13Older version, not recommended
7.0 NougatMIUI 10.2.1.0LineageOS 14.1, Pixel ExperienceStable work, recommended for everyday use
8.1 Oreoβ€”LineageOS 15.1, Havoc-OSRequires unlocking the loader
10/11β€”Pixel Experience 10/11, crDroidPossible bugs with camera and sensors

Important: Xiaomi Mi 5 Plus has two modifications – the standard one (3/32 GB and Pro (4/128 Unofficial firmware may not support the Pro version due to Differences in the hardware. Clarify the model in the settings (Settings) β†’ The phone. β†’ Model).

πŸ“Š Which firmware do you prefer?
Official MIUI
LineageOS
Pixel Experience
Another custom
I don't know.

2.Preparing the phone for the update: backup and unlock

Updating your firmware is a process that can cause data loss or even a hardening of your device, and to minimize the risks, follow these steps:

Data backup

Save important information to the cloud or computer:

  • πŸ“± Contact and SMS: Export through Settings β†’ Google β†’ Backup or Mi Mover application.
  • πŸ“· Photo and video: copy the folder DCIM on PC or upload to Google Photos.
  • πŸ”‘ Apps and settings: use Titanium Backup (root rights required) or adb backup.
  • πŸ“ Notes and documents: sync with Mi Cloud or save manually.

Backup data | Check battery power (minimum 60%) | Install Xiaomi drivers on PC | Download firmware and tools (TWRP, Fastboot) | Disable antivirus and firewall-->

Unlocking of the bootloader (Bootloader)

Unofficial firmware requires unlocking the bootloader. Xiaomi allows this to be done legally through the official Mi Unlock Tool, but the process can take up to 720 hours (30 days) of waiting.

Instructions for unlocking:

  1. Link your Mi Account to your phone: Settings β†’ Mi Account β†’ Sync.
  2. Enable Developer Mode: Click 7 times on the MIUI version in your phone settings.
  3. Activate OEM Unlock and USB Debugging in Settings β†’ Additional β†’ For Developers.
  4. Download Mi Unlock Tool, log in to your account and connect your phone in Fastboot mode (clip Volume Down + Power).

⚠️ Warning: Once the bootloader is unlocked, all data on the phone, including internal memory, will be reset, as will some features (e.g. Mi Pay or Widevine). L1 for HD-The streaming may stop working.

Method 1: Officially Update via OTA or Mi Flash

If your Xiaomi Mi 5 Plus hasn’t yet received the latest official firmware, you can try upgrading through standard tools, which is the most secure method, but only works for MIUI 10 and lower versions.

Updating by Air (OTA)

Check for updates:

  1. Go to Settings β†’ About the phone β†’ System update.
  2. Click Check for updates.
  3. If the update is available, download it and confirm the installation.

If the system is writing no Updates, but you are sure that your version will not be the last, try resetting the update cache:

Settings β†’ Applications β†’ Application Management β†’ Three points (menu) β†’ Show system β†’ System Update β†’ Storage β†’ Clear cache

Manual update via Mi Flash (Fastboot)

If OTA doesn't work, you can manually flash the official firmware through the Mi Flash Tool.

  1. Download the latest Fastboot firmware for the Mi 5 Plus (select Global or China region depending on your model).
  2. Unpack the archive in a folder without Cyrillic characters (for example, C:\Mi5Plus_Fastboot).
  3. Install the Mi Flash Tool and Xiaomi drivers.
  4. Transfer the phone to Fastboot mode (clip Volume down + Power when the phone is off).
  5. Connect your phone to your PC, open Mi Flash, specify the path to the firmware folder, and press Refresh β†’ Flash.

⚠️ Note: When you run through Mi Flash, select Clean all only if you want to reset your phone to factory settings. To save data, choose Clean all and lock (but this will block the bootloader again).

πŸ’‘

If Mi Flash gives you an error of 0x80070002, try running the program on behalf of the administrator or disable driver signature verification in Windows.

Method 2: Install custom firmware via TWRP

If official updates are not available, you can install an unofficial firmware based on Android 10/11. This will require custom TWRP receivers and an unlocked bootloader.

Installation of TWRP Recovery

Download the latest version of TWRP for Mi 5 Plus (for example, from the official website or from the XDA Developers forum).

fastboot flash recovery twrp-3.6.2_gemini.img


fastboot boot twrp-3.6.2_gemini.img

Once installed successfully, the phone will automatically reboot to TWRP. Don't reboot to the system - get to the firmware immediately, otherwise the standard recaveri will overwrite TWRP.

Firmware custom ROM

The following are the Mi 5 Plus Firmware:

  • πŸ“± LineageOS 17.1 (Android 10) - stable, with minimal bugs.
  • 🎨 Pixel Experience (Android 11) – Google Pixel interface.
  • ⚑ Havoc-OS – customizable firmware with many functions.
  • πŸ”§ crDroid – Optimized for Performance.

Installation instructions:

  1. Download firmware (.zip format) and GApps (Google services, if they are not part of ROM).
  2. Transfer files to your phone or flash drive (in TWRP you can connect the device to your PC as a drive).
  3. In TWRP, run Wipe β†’ Advanced Wipe and mark Dalvik, Cache, System, Data (don’t touch Internal Storage unless you want to lose files).
  4. Press Install, select a firmware file and confirm the installation.
  5. After ROM firmware, install GApps (if necessary) and run Reboot System.
What if TWRP doesn’t see internal memory?
If TWRP does not display files in internal memory, try: 1. Connect the phone to the PC via USB-OTG and copy the firmware to a flash drive. 2. Use the command adb push rom.zip /sdcard/ to transfer the file. 3. Reflash another version of TWRP (for example, from OrangeFox).

5. Solving common firmware errors

The process of updating Xiaomi Mi 5 Plus can be accompanied by errors. Let’s consider the most common of them and how to fix them.

Mistake.Reason.Decision
Error 7 in TWRPIncompatibility of firmware with the device or an outdated version of the recovery.Update TWRP or check the phone model in the updater-script file (remove the assert line).
Hanging on the Mi logoIncorrect Wipe or kernel module conflict.Return to TWRP, run the full Wipe and reflash the ROM.
Fastboot: FAILED (remote: 'Not allow in Lock State')The bootloader is locked.Unlock the bootloader through the Mi Unlock Tool (see section 2.2).
No network after firmwareThere are no modem drivers or incorrect Baseband settings.Sweep separately modem.img from the official firmware or check the APN settings.

If the phone does not turn on after the firmware:

  1. Try to pinch Volume up + Power for 10-15 seconds for a forced reboot.
  2. If it doesn’t work, try to use the official firmware on Fastboot (see Section 3.2).
  3. As a last resort, use it. EDL-Mode (requires an authorized Xiaomi account and boxing Mi Flash Pro).

πŸ’‘

If the fingerprint sensor or camera stops working after firmware custom ROM, check for the corresponding fixes on the XDA or 4PDA forum.

6. System optimization after update

After a successful update, it is recommended to follow several steps to improve performance and stability:

Battery setup

Newer versions of Android can use up faster due to background processes.

  • πŸ”‹ Disable unnecessary background apps: Settings β†’ Battery β†’ Optimizing the battery.
  • ⚑ Enable charge saving or ultraeconomic mode (in custom firmware).
  • πŸ”„ Calibrate the battery: completely discharge the phone, then charge to 100% without interruptions.

Checking drivers and modules

Custom firmware sometimes lacks drivers for some components.

  • πŸ“Ά Modem and network: enter in the engineering menu ##4636## and select Phone Information.
  • 🎡 Sound: Test speakers and microphone through voice recording.
  • πŸ“Έ Camera: Install Google Camera or ANX Camera to improve the quality of images.

If something doesn't work, look for the corresponding fix on XDA or 4PDA. For example, you may need to flash a separate firmware to fix Wi-Fi.

Installation of Magisk for root rights

If you need root rights (for example, for Xposed or system file modifications), install Magisk:

  1. Download the latest version of Magisk (.zip).
  2. Reboot to TWRP and stitch the file like a regular firmware.
  3. Install the Magisk Manager app to manage modules.

⚠️ Note: Root rights may disrupt some apps (e.g. banking or Netflix) and use the MagiskHide module to mask root.

7.Alternative methods: Project Treble and Generic System Image (GSI)

If standard methods don’t work, you can try installing Generic System Image (GSI) β€” a universal firmware compatible with devices that support Project Treble. Xiaomi Mi 5 Plus supports Treble, so this method can be useful for installing Android 12+.

7.1 Project Treble Support Verification

Find out if your device supports Treble:

adb shell getprop ro.treble.enabled

If the command returns true, you can install GSI. Download the appropriate image from the Phh-Treble or GitHub site.

Installation of GSI via Fastboot

GSI firmware is performed in several stages:

  1. Unpack the system.img image from the GSI archive.
  2. Translate your phone to Fastboot and execute commands: fastboot erase system fastboot flash system.img
  3. Scan vendor.img (if required) and vbmeta to disable signature verification: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  4. Run fastboot reboot.

Advantages of GSI:

  • βœ… The ability to install the latest version of Android (up to Android 13).
  • βœ… Clean Android without unnecessary Xiaomi apps.

Disadvantages:

  • ❌ Possible bugs with camera, sensors or network.
  • ❌ No official support from the manufacturer.

FAQ: Frequent questions about the Xiaomi Mi 5 Plus update

Can I revert to the old version of MIUI after the upgrade?
To roll back on the official firmware via Mi Flash, select the Clean all option, but note that this will reset all data. ROM, First, return to the official firmware via Fastboot, then roll back. ⚠️ Recoil from Android 10+ Android 7 can cause problems with the bootloader, in which case you will need firmware through the EDL.
Why is the mobile network not working after the firmware?
This is a typical problem when installing custom firmware. Reasons: modem.img is missing or incompatible with your model. APN settings are incorrect (check Settings β†’ Mobile Network β†’ Access Points). There is no support for your region in the firmware. Solution: run modem and firmware from the official firmware or find a patch for your firmware on 4PDA.
How to upgrade Xiaomi Mi 5 Plus without a computer?
Without PC, you can only upgrade through OTA (if available) or customization ROM through TWRP. To do this: Download the firmware (.zip) directly to your phone. Reboot to TWRP (Hold the volume up + Power. Run the Wipe and run the file. ⚠️ Without a computer, it is impossible to unlock the bootloader or flash the Fastboot firmware.
What is the most stable firmware for everyday use?
For Xiaomi Mi 5 Plus recommended: LineageOS 17.1 (Android 10) – minimum bugs, good optimization. Pixel Experience (Android 11) – if you want a clean Android with chips from Google Pixel. Official MIUI 10 – if the stability and operation of all functions (for example, IR Blaster). Avoid firmware on Android 12+ – they can work unstable due to the lack of drivers.
Can I upgrade the Xiaomi Mi 5 Plus to Android 12 or later?
Technically yes, but with serious reservations: Officially no, the latest version from Xiaomi is Android. 7.0. Unofficially, you can do it through GSI (see section 7), But they won't work IR Blaster, NFC (Some firmware, some sensors, you can shoot in low resolution or artifacts, and you can have performance problems because you don't optimize for Snapdragon. 820. We recommend you to stay on Android. 10/11 Balance between relevance and stability.