[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] ashwin007:
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), 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.

What's working :

Boots

Wifi

Bluetooth

Camera ( Videos And Photos )

Video Playback

Audio ( Record and Playback )

Audio Jack

Sensors

GPS

VoLTE

IR Blaster

Fingerprint Sensor

Tap To Wake

On-screen keys <-> hw keys toggle

Notification LED

No more weird colour profile issue

TODO :

Enforcing SELinux

Instructions :

Download the latest build and gapps.

Make sure you are on the latest TWRP build from this thread.

Make sure you are on the latest Global Developer Firmware

Reboot to recovery

Flash the latest build and gapps

Reboot

Downloads :

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

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

Root addon : https://download.lineageos.org/extras

Google Apps : http://opengapps.org/

Source Code :

Kernel: https://github.com/ashwinr64/android_kernel_xiaomi_oxygen

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Donate :

If you like my work, consider getting me a beer:

PayPal: paypal.me/RAMESHASHWIN

ETH: (0xE29701C56B0c523de6b32863A4B26Bb7c8dF2606)

UPI : ashwinramesh@kotak

XDA:DevDB Information

LineageOS 15.1, ROM for the Xiaomi Mi Max 2

Contributors

ashwin007

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.x

Version Information

Status: Testing

Created 2018-03-31

Last Updated 2018-04-02