[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] unicastbg:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS 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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Updating LineageOS from recovery​

Download LineageOS installation package.

Reboot to recovery.

Flash the package.

Reboot to system

Installing LineageOS from recovery, coming from other ROMs​

Download LineageOS installation package.

Optionally, download an application package add-on such as Google Apps (use the arm64 architecture).

If you are not in recovery, reboot into recovery:

With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.

Now tap Wipe.

Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.

Return to the previous menu and tap Advanced Wipe, then select the Cache and System partitions and then Swipe to Wipe.

Sideload the LineageOS .zip package:

On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.

On the host machine, sideload the package using: adb sideload filename.zip.

check

TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success.

(Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.

info_outline

NOTE: If you want the Google Apps add-on on your device, you must follow this step before booting into LineageOS for the first time!

Once you have installed everything successfully, run ‘adb reboot’.

Official installation instructions from Lineage.

Downloads :

https://drive.google.com/drive/folders/1CwLCOM3_ouBL3K2nfi682V9hlcKAHmf6?usp=sharing

https://mega.nz/folder/PlsEySYJ#1YtIgUgGrhO2vCUxx6xkmw

The purpose of this thread is to continue the support of Lineage 16 for Mi5S.

I am no developer, therefore I can't promise fixing bugs or changing the functionality.

The builds are done the official way and no software is added or removed afterwards.

My target is to do a build at least once a month.

XDA:DevDB Information

[ROM][UNOFFICIAL][capricorn][9] LineageOS 16.0, ROM for the Xiaomi Mi 5s

Contributors

Unicastbg

Source Code: https://github.com/LineageOS

First Created 2021-04-05

Last Updated 2022-04-20

Security patch level January, 2022

Latest build: lineage-16.0-20220420-capricorn-OTA

Changelog (for all LOS16 devices): https://www.lineageoslog.com/16.0