LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.
#include <std_disclaimer.h> /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at me for messing up your device, I will laugh at you.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
- Everything except 'broken' stuff
(see also second post for info on recurring questions)
Compatible with all Xiaomi Mi 5 variants (32GB / 64GB / 128GB). Xiaomi Mi 5S and 5S Plus are not supported.Downloads:
Builds are based off the Xiaomi's Android 7.0 firmware with proprietary blobs from MIUI 7.4.11 dev package.
- No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.
- Reboot to recovery (TWRP recovery for Mi 5 - Direct link)
- Format /system, /data and /cache
- Install LineageOS zip package
- Install [optional] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
- Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Important notes:Credits & collaborations:
- Current minimal * required * firmware version is MIUI 7.7.6 Global dev, otherwise installation will fail. Download the latest dev fastboot package directly from Xiaomi and flash it prior to installing LineageOS or, alternatively, download and install one of the latest custom packages containing firmware only (at your own risk).
- GApps can only be flashed on clean installs.
- Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
This work is due to efforts from Mi5Devs founding members (@h2o64 and me) that did the full device bring-up. Huge thanks to @deovferreira for all the help during the kernel bring-up after source code dropped. Also thanks to @ValoXis for giving me the motivation I needed and to @shade.sh for compiling unofficial builds during the transition phase.
Finally, all LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
LineageOS 14.1, ROM for the Xiaomi Mi 5
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.18.x
Last Updated 2017-05-02