• September 2019

How to Install Android 9 Pie on Xiaomi Mi 5s


Ahead of official OEM update, Android Pie for Mi 5s, is available to download via custom ROMs like Lineage OS 16. This is a step-by-step guide on how to install Android Pie on Mi 5s.

The Mi 5s (codename: capricorn) was launched with Android Marshmallow while Android Nougat was the final Android upgrade that was available.

– Mi 5s may get the official Android Pie update but it may take a couple of months. This Android Pie upgrade for Mi 5s is through custom ROM such as Lineage OS 16.

– Installing a custom ROM requires little bit advance knowledge of operating an Android device.


How to Install Android 9 Pie on Xiaomi Mi 5s

Android 9 Pie Custom ROMs available for Mi 5s:

Following Custom ROMs available for Mi 5s based on Android 9 Pie:

Mi 5s Android 9 Pie ROM list

Lineage OS 16 Android 9 ROMLineageOS 16 Android Pie for Mi 5s


Required Downloads and Links before you Update Android 9 Pie on Mi 5s:


Root binary is NOT inbuilt in any custom ROM. So you may need install a SuperSU or Magisk ROOT zip file.

SuperSU rooting guide to enable ROOT access.

How to Install/Update Android 9 Pie on Mi 5s:

  1. Download the TWRP recovery for Mi 5s from the downloads list.
  2. Install TWRP Recovery on Mi 5s using fastboot.
    – To install the TWRP recovery on the phone needs to have an unlock bootloader on Mi 5s
  3. Enter into TWRP recovery mode and Wipe data partition, Cache partition, System partition and clean Dalvik cache.
    – Here is a step-by-step guide on how to wipe data using TWRP recovery

    Don’t wipe or format Internal memory here. If you do, you will lose all your phone data.
    – To be on safe side, backup all data on your Android Phone before wiping anything.
  4. Then, download one of the Android Pie ROMs available for Mi 5s and copy the file to your phone using TWRP MTP mode or sideload.
    – Each link provided in this guide has their own step-by-step installation guide.
  5. Install ROM zip using TWRP recovery.
  6. Download Pie MindTheGApps package (recommended for LineageOS 16 ROM), copy that to your phone and then Install Android Pie GApps using TWRP
    – Well, this step is an optional but if you don’t do you will not be able to install any applications on your Android Pie ROM.
    – The GApps package provides basic Google Play Services, Play Store application and other Google Applications.
  7. Reboot your phone and enjoy Android Pie on Mi 5s.
  8. Optionally, if you want ROOT on the Android Pie ROM, then restart your phone into TWRP recovery mode and install SuperSU to enable ROOT.
    – This step is not necessary to run Android Pie smoothly but if you want ROOT on the Android Pie ROM then you need to follow this step.

That’s all.

If you are facing any issue while following this guide, then you can comment here or you can create a topic on the Mi 5s (capricorn) Forum or on the respective Android Pie, LineageOS 16, Android Oreo Custom ROM topics.

About the Author

I am a Software Engineer by profession. I have worked with few big companies, such as: BROADCOM Corporation, Cypress Semiconductor, LSI Corporation, TOSHIBA Corporation; on various cutting edge technologies and product lines, such as: RAID storage Driver, SSD Firmware, WLAN Firmware etc. Having more than 7 years of experience in Software Engineering domain. Now contributing to the Custom ROMs community by bringing various Custom ROMs to the end users, developed by thousands of developers across the globe.


Leave a Reply