[NOTE]: DO NOT USE 20190710! That version has performance issue and isn't recommended to install.
✅ Kernel
└ Use EAS as default scheduler:
└ More power efficient than "interactive";
└ You could switch back to "interactive" or other schedulers by replace/modify "/system/vendor/bin/init.qcom.post_boot.sh";
└ Note: the rom's kernel is not the same as Watermelon Kernel;
└ Thanks to @Gah0.
└ Restore original refresh-rate (60 Hz) for unsupported screens:
└ Supported: Sharp-rsp61322 (keep 30~75 Hz) [Mi-4c];
└ Unsupported: Sharp-nt35595 (restore to 30~60 Hz) [Mi-4s], AUO-nt35596 (restore to 30~60 Hz) [Mi-4c].
└ Decrease min scaling frequency for big clusters (2*A57):
└ 384.0 → 302.4 .
✅ Device
└ Adjust CPU scheduler parameters for EAS;
└ Disable input boost to prevent scheduler conflict;
└ Move "setenforce" out of init.qcom.rc (SELinux will keep enforcing).
✅ Others
└ Android System Webview: 75.0.3770.101;
└ Android security patch level: 7/5/2019.
Additional Information:
Known issues:
————————
VOLTE (no IMS support);
Addon-su not working.
Refer to the following links for more details:
————————
device: https://github.com/WJXXBSH/android_device_xiaomi_libra
device-common:https://github.com/WJXXBSH/android_device_xiaomi_msm8994-common
kernel: https://github.com/WJXXBSH/android_kernel_xiaomi_libra
vendor: https://github.com/WJXXBSH/android_vendor_xiaomi_libra
vendor-common: https://github.com/WJXXBSH/android_vendor_xiaomi_msm8994-common