How to Upgrade Xiaomi Mi5 Android 10: Official and Unofficial Methods

Xiaomi Mi5, Released in 2016, it originally ran on Android 6.0 Marshmallow with a proprietary shell. MIUI 7. Although official support for the device has long been discontinued, many users still want to upgrade to a more modern version of the OS β€” for example, Android 10. From the desire to get new features to the need to run modern applications that require an up-to-date version of the OS.

But there’s a caveat: Xiaomi has never released an official update to Android 10 for this model, and the last official version is Android 8.0 Oreo (from the Internet). MIUI 10) This means that Android 10 will require custom firmware, such as LineageOS, Pixel Experience or other modified builds, and in this article we will discuss all the available methods, their pros, cons and potential risks.

It is important to understand: Update to Android 10 on Mi5 β€” It's not just pressing the Update button, it's a process that requires unlocking the bootloader, installing a custom recap and manipulating the firmware, and if you're not prepared for possible bugs or even bricking up the device, you'd better stop at the official one. MIUI Or consider buying a new smartphone.

1 Can Xiaomi be officially updated? Mi5 Android 10?

The short answer is no. Xiaomi Mi5 (codename gemini received the last official update to Android 8.0 Oreo MIUI 10.Subsequently, support for the device was completely discontinued.The table below shows the official update chronology for this model:

Android versionMIUI versionRelease dateStatus
6.0 MarshmallowMIUI 7 / 8April 2016The original firmware
7.0 NougatMIUI 8 / 9December 2016Official update
8.0 OreoMIUI 10June 2018Last official update
9.0 Pieβ€”β€”It's not out.
10.0β€”β€”Only custom firmware.

If you Mi5 It still runs on Android 6.0 or 7.0, and you can upgrade to Android 8.0 through the standard update menu:

  1. Go to Settings β†’ About the phone β†’ System update.
  2. Click "Check Updates."
  3. If available MIUI 10 (Android 8.0), download and install it.

But what if you want a dozen, well, custom firmware comes to the rescue, but before you start installing it, you need to understand the risks and prepare the device.

πŸ“Š You are updating your Xiaomi Mi5 custom-stitched?
Yeah, I'm on Android 10.
Yeah, but on an older version.
No, I'm afraid of the risks.
I'm planning on it soon.

2. Xiaomi Preparation Mi5 install Android 10

Before you start firmware, you need to follow a few critical steps, and skipping any of them can lead to data loss, device failure, or even β€œbricking” (complete failure).

Unlocking of the bootloader (Bootloader)

Xiaomi is blocking the bootloader on all its devices, including Mi5. Without it unlocking, custom firmware installation is impossible:

  • πŸ”— Getting permission from Xiaomi through the official website (en.miui.com/unlock).
  • πŸ“± Linking the Mi Account to the device (required!).
  • πŸ”“ Use the Mi Unlock Tool to unlock.

⚠️ Note: Xiaomi may refuse to unlock if your account is new or your device was purchased in the secondary market.In some cases, you have to wait up to 720 hours (30 days) after you have attached your account.

Installation of custom recaveri (TWRP)

Xiaomi's standard recavator does not allow unofficial firmware to be installed. TWRP (Team Win Recovery Project – a popular custom recovery with advanced features.

For Mi5 fitting TWRP 3.6.2 or later, you can install it via fastboot using the command:

fastboot flash recovery twrp-3.6.2-gemini.img


fastboot boot twrp-3.6.2-gemini.img

Backup of data

Install custom firmware erases all data from the device. before starting the process:

  • πŸ“ Backup your contacts, photos and files on your PC or cloud.
  • πŸ”„ Save the list of installed apps (you can use Titanium Backup or Swift Backup).
  • πŸ“ Write it down. IMEI Devices (in case of network recovery after firmware).

Linked to the Mi Account to the device|Loader unlocked|Installed TWRP|Data backup made.|Battery charged (>50%)

-->

Also make sure that your Mi5 enough battery charge (at least 50%) and the original one is on hand USB-Using uncertified cables can cause a connection to break during firmware.

3. Android 10 Custom Firmware for Xiaomi Mi5: review

Since the official Android 10 for Mi5 There is no such thing as a third-party firmware, and the only way to do that is to use firmware from third-party developers. Below are the most stable and popular options adapted for gemini encoding.

3.1. LineageOS 17.1

LineageOS is one of the most famous custom firmware based on pure Android (AOSP). Version 17.1 is based on Android 10 and offers a:

  • πŸ”„ Regular security updates.
  • πŸš€ Minimalist interface without extra software.
  • πŸ”§ Support for most functions Mi5 (camera, sensors, LTE).

Cons: there is no branded shell MIUI, certain functions (e.g, IR Blaster may not work properly.

3.2. Pixel Experience

This firmware mimics the Google Pixel interface, including branded chips like Now Playing and Live Captions. Mi5 Available version based on Android 10.

Pros:

  • 🎨 Design as close as possible to the β€œstock” Android from Google.
  • πŸ“± Optimized productivity.

Cons: possible bugs with the camera (especially in mode) HDR).

3.3. Havoc-OS

Havoc-OS is a custom firmware with a lot of customization and fine customization. It is based on Android 10 and supports:

  • πŸŽ›οΈ Advanced interface settings (themes, animations, gestures).
  • πŸ”‹ Optimized energy consumption.
  • πŸ”’ Built-in privacy features.

However, due to the large number of customizations, the firmware may work less stable than LineageOS.

3.4. CrDroid

CrDroid is another option with a focus on performance and stability, combining elements of LineageOS and branded chips from the Pixel Experience.

Features:

  • πŸ› οΈ Optimized core for better performance.
  • πŸ”„ Regular updates from the community.

The choice of firmware depends on your priorities: if you want stability – LineageOS, if you want a β€œpixel” experience – Pixel Experience, and if you like customization – Havoc-OS.

What is the most stable firmware for Mi5?
User reviews on forums XDA Developers and 4PDA, LineageOS 17.1 is considered the most stable. It has a minimum number of bugs, is well optimized for the Snapdragon 820 (chipset). Mi5) But even that one can have problems with VoLTE. 4G) on some operators.

4. Step-by-step instructions: how to install Android 10 on Xiaomi Mi5

Now, to the installation process itself, we'll use LineageOS 17.1 as an example, but the steps are similar for other firmware.

4.1. Download the necessary files

You will need to:

  • πŸ“± LineageOS 17.1 for gemini (you can download it on the official website).
  • πŸ”„ Open GAPPS (Google service package, choose nano or pico to save space).
  • πŸ”§ Magisk (optional if root access is required).

4.2. Recovery Mode transition (TWRP)

Turn off the device.

  1. Hold the Loud up. + Power button before logo appears TWRP.
  2. In the Recavator menu, select Wipe β†’ Advanced Wipe.
  3. Mark Dalvik items / ART Cache, System, Data, Cache and swipe for cleaning.

Installation of firmware and GAPPS

TWRP:

  1. Click Install and select the downloaded LineageOS file.
  2. After installing the firmware, repeat the step for Open GAPPS.
  3. If you want root, go to Magisk.
  4. Reboot the device (Reboot β†’ System)

⚠️ Note: The first launch after the firmware may take 10-15 Do not interrupt the process or turn off the device, even if it seems to be "hang" on the logo.

Configure after installation

After the first launch:

  • πŸ”„ Go through the initial setup (select language, connect to Wi-Fi).
  • πŸ”’ Enable Developer Options (7 times click on Build Number in Settings) β†’ The phone).
  • πŸ“± Disable Auto Update System to Avoid Conflicts with Custom Firmware.

πŸ’‘

If the mobile network does not work after firmware, check the settings APN. It often helps to manually enter your operator’s parameters.

Possible problems and solutions

Even with the right custom firmware installation, there can be problems, and let's look at the most common ones and how to fix them.

The device shall not be switched on after firmware

If Mi5 Does not respond to the power button or hovers on the logo:

  • πŸ”‹ Try to pin the volume down. + Meals for food 10-15 second-on-second forced reboot.
  • πŸ”„ If it doesn't help, go back to TWRP Re-install the firmware (the file may have been corrupted when downloaded).
  • πŸ”§ In the extreme, complete the reset through TWRP β†’ Wipe β†’ Format Data (Erase Everything, Including Internal Memory!).

The camera or sensors are not working

Camera problems are often due to the lack of drivers.

  • πŸ“· Install an alternative camera app, such as GCam (for the camera) Mi5 Suitable modified versions of Arnova8G2 or BSG).
  • πŸ”„ Try another firmware (e.g. Pixel Experience instead of LineageOS).
  • πŸ”§ Check if camera permissions are included in the settings (Settings) β†’ Annexes β†’ Permits).

5.3 Problems with mobile network or Wi-Fi

If the connection is lost or Wi-Fi is not caught:

  • πŸ“Ά Reset the device.
  • πŸ”§ Reset network settings (Settings) β†’ System system β†’ Reset β†’ Resetting the network).
  • πŸ”„ Make sure that IMEI Not reset (checked through code *#06#) if IMEI It is not available, restore it with the help of QCN-Recavatori (instructions are available on the 4PDA).

Fast battery discharge

Castom firmware is sometimes less optimized for power consumption, to extend the operating time:

  • πŸ”‹ Turn off unnecessary background processes (Settings) β†’ Battery β†’ Optimizing the battery).
  • πŸŒ‘ Turn on the dark topic (AMOLED-screen Mi5 Saves charge when displaying black).
  • πŸ”„ Install a power-enhanced core (e.g. FrancoKernel if it supports gemini).

πŸ’‘

If the device overheats or brakes heavily after firmware, it is likely that the firmware is not optimized for the Snapdragon 820. MIUI.

6. Alternatives: Should you upgrade to Android 10?

Before you spend time on firmware, you should ask yourself: is it necessary? Android 10 will bring you to the Internet? Mi5 few improvements:

  • πŸ”’ Improved permission system for applications.
  • πŸŒ™ Systemic dark theme.
  • πŸ“± Navigation gestures (although on the Mi5 They may not work perfectly because of the hardware buttons).
  • πŸ”’ More modern API for applications (some programs refuse to work on Android 8.0).

There are, however, downsides:

  • ⚠️ Loss of warranty (if it is still in effect).
  • ⚠️ Risk of β€œbricking” in case of error during firmware.
  • ⚠️ Unstable operation of some functions (NFC, IR-port, cameras).
  • ⚠️ Deteriorating performance due to heavier OS on legacy hardware.

If your goal is simply to extend your life Mi5, It might make sense to consider:

  • πŸ“± Buying a budget new smartphone (such as the Redmi Note 12 or the Redmi Note) POCO X5).
  • πŸ”„ Installing Android 8.1 with a custom core to improve performance.
  • πŸ”§ Use of the MIUI 10 with disabled unnecessary services (this will reduce the load on the system).

Critical moment: firmware Android 10 on Xiaomi Mi5 does not support encryption of user data (FBE). This means that when using a password or fingerprint, the device may slow down or not load at all. PIN-code instead of pattern lock.

7. rollback to the official firmware: how to return MIUI

If custom Android 10 is not satisfied with you, you can always return to the official MIUI. For that:

Downloading the official firmware

I need a Fastboot firmware for Mi5 (It's codenamed gemini:

  • πŸ”— On the official website of Xiaomi (miuidownload).
  • πŸ”— On the forum 4PDA (topically Mi5).

Choose the latest stable version MIUI 10 (Android 8.0).

Installation via Fastboot

Connect. Mi5 PC in Fastboot mode (click Volume Down) + Meals) and follow the commands:

fastboot flash all [name file firmware].tgz


fastboot reboot

Data recovery

After returning to MIUI:

  • πŸ“ Restore data from backup.
  • πŸ”’ Re-attach your Mi Account (if you unlock the bootloader).
  • πŸ”„ Update all apps through Google Play.

⚠️ Note: If you roll back on the official firmware, all data will be erased, including files on internal memory. If you need photos or documents, copy them to your PC in advance.

FAQ: Frequent questions about Xiaomi update Mi5 Android 10

Can I update you? Mi5 to Android 11 or 12?
Technically yes, but such firmware would be extremely unstable. - Xiaomi Mi5 equipped with a chipset Snapdragon 820 and 3 GB of RAM, which is not enough for comfortable operation of Android 11+. We recommend you to stop on Android 10 or consider buying a new device.
Will Google Pay work after the firmware?
Google Pay requires a certified firmware with a valid SafetyNet. Castom firmware usually doesn't pass this test. The alternative is to use Magisk with Universal SafetyNet Fix, but that doesn't guarantee 100% performance.
How to check if the bootloader is unlocked on the Mi5?
Turn off the device, then press the Volume down. + Power. If you see Unlocked at the bottom of the screen, the bootloader is unlocked. If Locked, you'll need to unlock it through the Mi Unlock Tool.
Can I upgrade to Android 10 without losing data?
No, custom firmware installation always requires a complete partition cleanup. /data. The only way to save data is to make a backup copy through TWRP (Backup menu) and restore it after installation, but this can lead to conflicts if the firmware is very different.
Where to download the actual firmware for Mi5?
Official and custom firmware for Xiaomi Mi5 (gemini can be found on the following resources: πŸ”— XDA Developers (section) Mi5). πŸ”— 4PDA (firmware Mi5). πŸ”— LineageOS (official builds) Always check user reviews before downloading!