How to flash Lineage OS 14.1 on Xiaomi Mi5S

In this guide we will install UNOFFICIAL Lineage OS 14.1 (OS 7.1.1) on Mi5S device.

You need unlocked bootloader and custom recovery mod (TWRP) installed.

Download links:

Lineage OS 14.1 (OS 7.1.1) ROM: lineage-14.1-20170118-UNOFFICIAL-capricorn.zip

TWRP Capricorn: TWRP_Capricorn.zip

Drivers & software:

Install UNOFFICIAL Lineage OS 14.1

  1. Download lineage-14.1-20170118-UNOFFICIAL-capricorn.zip and move to your phone internal memory.
  2. Turn off your phone completely.
  3. Enter recovery mode (volume button up + power button). After Xiaomi logo appears, keep holding buttons for 3 seconds and release all buttons.
  4. In TWRP press “Wipe” > “Advanced Wipe” > select “Dalvik / ART Cache”, “System”, “Data” and “Cache”. Next “Swipe to Wipe”.
  5. Now press “Install” and select downloaded ROM. Make swipe “Swipe to confirm Flash”.
  6. Select wipe dalvik cache
  7. Reboot your device.
  8. Wait for the first startup.

Installing GAPPS ARM64 on Mi5S

First download GAPPS installer here.

  1. Download and move GAPPS .zip file into phone storage.
  2. Turn off device.
  3. Enter recovery mode (volume button up + power button). After Xiaomi logo appears, keep holding buttons for 3 seconds and release all buttons.
  4. In TWRP press “Install” and select downloaded gapps file. Swipe to confirm Flash.
  5. Select wipe dalvik cache
  6. Reboot your device.