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

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

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

Google Apps : http://opengapps.org/

Source Code :

Device: https://github.com/ashwinr64/android_device_xiaomi_oxygen

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

Vendor: https://github.com/ashwinr64/android_vendor_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.me/RAMESHASHWIN

Indian users could donate thought UPI : ashwinramesh@kotak

XDA:DevDB Information

LineageOS 14.1, ROM for the Xiaomi Mi Max 2

Contributors

ashwin007

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

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.x

Version Information

Status: Testing

Created 2018-03-06

Last Updated 2018-03-19