Download Lineage OS For Xiaomi Mi5s Nougat 7.1.1.Lineage os is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.


THIS IS AN INITIAL BUILD WHICH MAY NOT BOOT AT ALL. HAVE A BACKUP BEFORE FLASHING THIS AND TRY AT YOUR OWN RISK. Installing a custom ROM on a Xiaomi Mi5s requires the bootloader to be unlocked on the Xiaomi Mi5s phone, which may VOID your warranty and may delete all your data. Before proceeding further you may consider backup all data on the phone. You are the only person doing changes to your phone and I cannot be held responsible for the mistakes done by you.

Status of Lineage os for Xiaomi Mi5s Nougat 7.1 Custom ROM:

– Not Known
– Not Known

Before Starting

Take care of following tasks before you proceed with flashing custom ROM:
Task 1: Install USB drivers for your device on your PC.
Task 2: Be sure to backup your data including Contacts, SMS / MMS, APN & MMS Settings as well as photos and videos stored on your device’s internal or external storage.
Task 3: Make sure that your device is well charged. Ideally, the battery level should be around 60-80%. The more the better.
Task 4: USB Debugging should be enabled on your device.
Important: Most of the custom ROM will not have Google Apps in them. So, you will have to download and install GApps manually.Also take nandroid backup before installing

Done with preliminary precautionary steps? So, here’s the guide:

TWRP recovery let’s you do a number of cool stuff but the whole point of having a custom recovery is to be able to flash unsigned .zip files. These .zip files could be anything from a custom kernel, boot, recovery, MODs or full custom ROMs.

Let’s see how to flash a lineage os rom on Mi5s using TWRP recovery.

How to Install a Lineage os ROM using TWRP Recovery

  1. Download and transfer the Lineage os ROM and Gapps for linage os you wish to flash to your device’s storage.
  2. Boot your device into TWRP recovery.
  3. Select “Wipe” from TWRP main menu and do a “Swipe to Factory Reset” on the bottom of screen.
    └ Note: This will factory reset your device. If your custom ROM doesn’t require a factory reset, then simply skip this step.
  4. Go back to TWRP main menu, tap on “Install” and select the Lineage os  ROM .zip file and gapps for lineage os that you transferred to your device in Step 1.
  5. After selecting the .zip file, do “Swipe to Confirm Flash” on the bottom of screen to begin the custom ROM installation process. This may take some time.
  6. Once your ROM is successfully flashed, you’ll see “Wipe cache/dalvik” option, select it and then do “Swipe to wipe” on bottom of screen.
  7. Once cache & dalvik wipe completes, hit the “Back” button on-screen and then select “Reboot System” button.


1.Download gapps for Lineage OS 7.1.1

2.Download Lineage os 14.1 for Xiaomi Mi5s (capricorn)

3.How to Root Lineage OS rom Easily
Share To:

LineageOS Team

We are trying hard to provied Lineage os rom for every possible device.To support us like our facebook page and follow on facebook.

29 comments so far,Add yours

  1. Root cannot be applied to applications

  2. Why u guys post my rom without my admit? and also without any credits?

    1. Saw that on chinese miui. Bad style but what to do. Anyway thank you for the port. Can't wait to have it fully functionnal. Keep up the great work X
      Thanks from XDA

    2. 想必你就是小白吧 为在miui论坛发的贴向你道歉

  3. Home button wake up doesn't work. (if Phone sleep mode - over 30sec , Home button not work)
    SIM 1 signal good ! , SIM 2 signal weak.(not stable)

    others thing working great !

  4. Need... Fix error "Multi touch".
    I can not play game!

  5. Can not wake up when notification arrives

  6. No have Notification led light function.

  7. Ask the original creator and uploader for fixes and future updates of this ROM

    1. We renewed on 19th and seemed to have joined promotion. Link: Mod = viewthread & tid = 7059644 & extra = page% 3D3 & mobile = 2. Do not know if you can visit China's forum (Google translation)

  8. Can i install this rom into xiaomi mi5s plus?

  9. Flash via TWRP get the error 7
    I edited the updater-script, deleted the assert that seems check trustzone(line 2)
    Got flashed and works well.

    Model: MI5 China (unlocked and flashed newest stable Global Version)
    TWRP ver: twrp-3.0.2-3-gemini

    1. DAMN! It worked for me too! Thank you!
      If someone interested, the path to files is
      I removed the whole 2nd line

  10. I have installed lineage for xiaomi mi5 but the back button is not working. Does anyone have the same problem?

  11. hi!this rom is official and supported for LineageOs Team? or only for the Internet Comunity?Even so thanks

  12. hi!this rom is official and supported for LineageOs Team? or only for the Internet Comunity?Even so thanks

  13. Wifi Sharing option is not working.

  14. Wifi Sharing option is not working.

  15. Forceclose if i try to setup fingerprint.
    SIM cards cannot be disabled. I want to disable the second sim card at night. Any solution for this function?

  16. Is there newer build LineageOS for Capricorn?

  17. just wanted to ask, is someone working on newer version?

  18. Multi-touch doesn't work and zooming is impossible! Roll out some update

  19. camera does dot work for this version