[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] dungphp:
Code:

/* Disclaimer
* 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 blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/

About Project:

Cardinal-AOSP is a Custom ROM which was initially based on AOSPB, then we changed our mind and rebased it to AOSP-RRO, to get better compatibility with most of the devices. And now we are based on AOSP on oreo. The main aim of this ROM is to bring stock AOSP experience as much as possible while maintaining performance, smoothness and good battery backup. I hope that you'll all love this project, and help us, shape it even more better. Meanwhile, all of our sources are publicly available on our Github. We also do own a Google+ Community, where you can.... uhm... you know, do what all others do at forums and communities! Hope you enjoy your stay and like our work on Cardinal-AOSP.

NOTE: we won't be accepting any feature requests, and only essential features will be added to enhance stock AOSP experience.

Changes on top of AOSP:

• QS Tiles: Adb over network, Caffeine, Screenshot, Reboot, Sound, Volume, PiP, Headsup, compass, Accidental touch

• Cardinal logo on statusbar

• Signature spoofing support for MicroG

• Comes with Pixel/Stock theme

• Comes with Margarita substratum theme

• Reboot to recovery/bootloader in powermenu

• Latest Ringtones/Effects tones from Pixel image

• Allow lower temp for night light

• Accept All files over bluetooth option

• Volume Adjustments Sound

• Add SystemUI Tuner features into Wings

• Disabled RescueParty

• Enable Custom shapes option on Launcher3

• Screenshot sound toggle

• Reset Battery Stats

• Ship with Lightening browser

• L/R IME/Music Cursors

• VoLTE icon toggle

• DND Tile enhancements

• HSPA+ icon

• Add/Remove tiles with one click

• Volume link/unlink notification and ringtone

• Kill app button from recent screen

• Mobile data always on disabled by default

• Append app name to screenshot file name

• SIM Manual provisioning

• Quick face unlock

• Show infinity on large notification

• Allow hiding vpn, data saver, volte, roaming icon from statusbar

• Scramble pin layout

• Package name in app info screen

• Descriptive vendor image mismatch message

*Wings*

*General*

• Configurable SystemUI theme (Wallpaper based, light, dark)

• Wake on Plug

• Sensor block-per package

• In call vibrations

• Expanded desktop

• Scrolling cache

*Status Bar*

• Secured QS

• QS title visibility

• Custom QS layout configuration

• Headsup toggle

• Headsup whitelist/blacklist

• Ticker notification

• IME Selector notification toggle

• Battery light/Notification light options

• Network traffic meter

• DT2S on Statusbar

• Battery styles

• Smart notification

• Suppress notification

• Qs footer warning toggle

*Buttons*

• Volume button wake

• Volume button music control

• Dynamic software Navigationbar/Hardware keys toggle

• Accidental touch

• Button backlight controls

• Custom Key rebindings

• Option to Disable Home key when ringing

• Screen off actions

• Swap hw keys

• Power button as flashlight

*Lock Screen*

• option to hide lockscreen shortcut on secured lockscreen

• Lockscreen media art toggle

• Option to unlock with FP directly after reboot

*Recents*

• Clear all FAB option

Downloads:

Download Cardinal-AOSP UnOfficial Builds: https://www.androidfilehost.com/?w=files&flid=240729

Download 8.1 GApps: OpenGapps

Flashing Instructions:

- Download ROM and GApps

- Reboot to recovery and Backup existing ROM (Just in case!)

- Wipe System, Data, ART cache, Cache

- Flash ROM, Gapps and reboot...

Credits

LineageOS

NitrogenOS

AOSPA

Omnirom

DirtyUnicorns

Me and Nijel8

And you

[MENTION=3516174]recenz[/MENTION] for wonderful bootanimation

[MENTION=7772507]Wizper99[/MENTION] for awesome wallpaper

Extreme apologies if we've missed out someone, please feel free to PM, in case we've forgotten to pin your name here!

FAQs:

On what this ROM is based on?

As name says, it's an AOSP based project!.

Does this ROM supports themes?

Yes!, and as a bonus, we shipping with our own theme called Margarita!.

Error 7 while flashing on recovery, what should I do?

Update your TWRP recovery to latest version which has Oreo changes and fixes.

is forceclosing on my device, what should I do?

Report the issue with proper logs on our Google+ Community!.

How to take Logs ?

This doc should help you - How to take logs.

I would like to suggest a feature for this ROM?

We are not accepting any feature request for this project as of now, if it's really essential, post it under the "Feature Wish" section in our Google+ Community. We'll certainly look into it.

Does the zip include SuperSU, or should I flash it separately?

Nope , user has to flash himself.

So, you guys, a part of Citrus-CAF?

Aaah, yes! its our another project based on CAF, and featurerich!

So, I've this working build ready for an unsupported device. I would like to go official with it. What should I do? Contact us on G+ community with your trees linked on post.

So, how do I find out the latest updates, I mean, is there some kinda, a channel, apart from the Google+ Community? Oh yes, there is. Head to [MENTION=234729]cardinal[/MENTION]Releases on Telegram.

Source Information:

Cardinal-AOSP on Github: https://github.com/Cardinal-AOSP/manifest

Kernel source: https://github.com/nijel8/android_kernel_xiaomi_msm8956