[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] blankaf:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.​

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/

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. You will need to provide your own Google Applications package (gapps). 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 our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Important information:

This thread is for LineageOS 15.1 builds for Xiaomi Mi 6. The following will not be supported here:

Custom kernels

Mods

Xposed

We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:

Flashed a custom kernel

Installed or did mods from untrusted sources

Modified system files

WARNING:

This is an early preview of LineageOS 15.1, there's no guarantee it'll work stable.

Database migration from previous LineageOS is currently NOT supported, you MUST perform a data wipe before.

Tips:

SELinux works in permissive

FBE is currently not supported

NFC is a bit buggy and drains a lot in standby, disable it when you don't use it.

You need at least MIUI Global Oreo 8.2.8 firmware, otherwise you'll get error 7 when installing the zip. Latest MIUI Global Oreo firmware is recommended.

Installation:

First time flashing LineageOS 15.1 on your device, or coming from another ROM?

Download the zip(s)

Install a compatible Recovery (I recommend twrp-3.2.1-0-sagit-blankaf-3.img as it works with /vendor (/cust) partition and February security patch decryption.)

Perform a nandroid backup of your current ROM (Optional)

Format data & wipe system, data, cache and dalvik cache

Flash LineageOS

Optional: Install the Google Apps addon package

Reboot

Source code:

https://github.com/LineageOS

https://github.com/blankaf/device_xiaomi_sagit

https://github.com/blankaf/vendor_xiaomi_sagit

https://github.com/blankaf/kernel_xiaomi_msm8998

Credits:

LineageOS Team & Contributors

Code Aurora Forum

......

Download:

ROM

https://www.androidfilehost.com/?w=files&flid=248834

Firmware

https://androidfilehost.com/?w=files&flid=237301

XDA:DevDB Information

LineageOS 15.1 for Xiaomi Mi6, ROM for the Xiaomi Mi 6

Contributors

blankaf

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

Version Information

Status: Beta

Created 2018-02-24

Last Updated 2018-04-08