Download and Install LineageOS 16.0 for Xiaomi Mi 5

In this post, we have given a step by step Installation Guide to flash LineageOS 16 for Mi 5

If you are looking for a Custom ROM for Mi 5 then you are at right place. Custom ROM is flashed to gain more control over the Android phones so you can customize and modify it. In the case of Mi 5, the MIUI can be a problem for Stock Android user because of its heavily customized UI and bloatware.

LineageOS 16 for Mi 5 is a stable Custom ROM with good performance and stability. In fact, LineageOS is the most used custom ROM for Android. Based on AOSP, LineageOS contains no bloat and is updated frequently thanks to the developers. Read more about LineageOS later in this Post.

Table of Contents


Download and Install LineageOS 16 for Xiaomi Mi MIX

Download and Install LineageOS 16 for Xiaomi Mi 5s Plus [Android Pie]

Download and Install LineageOS 16 for Mi 5 (Android Pie)

About the ROM

XDA Thread

ROM OS Version: Android 9 Pie

ROM Kernel: Linux 3.18.120

Status: Beta

Maintained by: bgcngm


  • Unlocked Bootloader
  • TWRP Installed
  • The battery should be charged to 50%

Download Section

ROM: LineageOS 16

GApps: Opengapps

TWRP: Download

Drivers: ADB and Fastboot

Magisk: Magisk v18.1

How to Flash LineageOS 16 on Mi 5

Note: Install all drivers and take a backup before proceeding

Step 1: Unlock the Device

  • Go to Mi Unlock Page for Permission to Unlock the Bootloader
  • Open the Mi Flash Unlock tool and Login with the account which has unlocking permissions
  • Unlock the Device

Step 2: Boot the recovery

Note: Only use the TWRP given in Download section, Other TWRP versions are not supported
  • Connect the phone to PC
  • Download recovery, rename it to recovery.img and place it in C:\adb folder
  • Open a command prompt by pressing Shift + Right Click and then click on Open command window or Powershell
  • Paste this command to boot recovery

fastboot boot recovery.img

This will boot the recovery.

Step 3: Flash the ROM and GApps

Note: The required firmware version is MIUI 8.8.30 Global dev or later
  • Download the latest ROM and GApps
  • In the TWRP, Click on Wipe and perform a Full Wipe
  • Or Format the Data if coming from MIUI and device was encrypted

TWRP wipe

  • Go to Install and Flash the latest ROM zip file

Install ROM in TWRP

  • Reboot to bootloader and boot TWRP once again (In case you haven’t flashed the recovery)
  • Flash GApps and any other necessary add-ons

That’s it, You have flashed LineageOS 16 for Mi 5

LineageOS and its features

LineageOS 16

LineageOS is the most used and most trusted Custom ROM out there. It was started as CyanogenMod and known to be the first custom ROM or firmware which was able to make its way to some smartphone as pre-installed default firmware.

LineageOS is based on AOSP code and you will hardly feel a difference from stock Android. There are some third-party apps like Trebuchet, AudioFX, Clock, Dialer. Jelly, Eleven Music Player, Recorder, Snap Camera. All the apps are useful and there are no Ads in them. LineageOS comes without Google app or GApps, you have to install them after flashing the ROM.

Due to its stability and performance, many other custom ROMs use LineageOS code as their base, some of them are Resurrection Remix and crDroid.

If you want a daily driver with good battery life and performance, then LineageOS is one the best option for you.


  1. Audio/Media
  2. Buttons/Navigation Bar
  3. Calls
  4. Display
  5. Gestures
  6. Performance
  7. Lock Screen/Security
  8. Quick Settings
  9. Status Bar
  10. SystemUI
  11. Miscellaneous

Apart from these features, you get all perks of Android Pie which includes features like Digital Wellbeing, Machine learning, Adaptive Battery, which pushes back the app which you dont use often. Other new features are Adaptive Brightness, App actions, New navigation style, Rotate Screen Quickly and other features which tune up the phone according to your use.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top