185
Downloads
609.5MB
Size
8b4c0ce8ac86a8b364ab736079c65128
MD5
Sep 14, 2019 | 01:42AM
Upload Date
Description:
✅ Device
└ Enable "noatime" and "nodelalloc" mount option in fstab;
└ Improvements for cpu_boost parameters;
└ Performance optimization for system properties;
└ Remove deprecated "LOCAL_MODULE_TAGS := eng" usage (backport from lineage-17.0);
└ Remove unused moudles "ipanat/test";
└ Try to fix full disk encryption;
└ Use XML audio policy configuration file (backport from lineage-17.0).
✅ Kernel
└ Kernel features enabled:
└ Enable additional security features;
└ Enable IPV6_TUNNEL, IPV6_GRE and INET_UDP_DIAG;
└ Enable LZ4 compress and decompress;
└ Enable thermal governer FAIR_SHARE and USER_SPACE.
└ Import devfreq boost driver:
└ Perform devfreq boost to 6000Hz when apps launches;
└ Perform devfreq input boost for 50ms.
└ Import dynamic schedtune boost v3:
└ Improve performance and reduce heating;
└ CPU_BOOST is also enabled.
└ Improve camera power consumption;
└ Improve performance and stability;
└ Remove unused kernel configs and unnecessary warnings.
✅ Others
└ Android security patch level: 9/5/2019;
└ Drop unused SELinux modification for API 26.0 and 27.0;
└ Fix Addon-su by modifying SEPolicy in local repositories;
└ Prevent some useless directories to be created in data/;
└ Show hostname and device name in mksh (eg. Terminal simulator, ADB shell...);
└ Take measures to reduce ROM size:
└ Remove some uncommonly used static binaries: bash, nano, vim, traced...;
└ Remove deprecated packages: AOSP Calendar, BookmarkProvider, DisplayCutout Overlays, CtsShim...;
└ Merge NotoSerifCJK fonts into Notoserif fonts (regular and bold);
└ The free space in "system/" (218MB, without other operation) should be available to install "Pico Gapps".
└ Use "-Ofast" or "-O3" optimization level for most native libraries:
└ Improve performance and smoothness at the cost of ROM size (+5MB) and longer build time;
└ The moudles (*.so) are located in "system/lib", "system/lib64";
└ The binaries are located in "system/bin" and "system/xbin";
└ Some moudles have conflicts with "-Ofast" were downgraded to "-O3", or directly excluded;
└ Moudles that generate debug info were built with "-g0" to reduce size.
Additional Information:
⛔ Known issues:
————————
VOLTE (no IMS stuff).
Refer to the following links for more details:
————————
device: https://github.com/WJXXBSH/android_device_xiaomi_libra
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
https://github.com/WJXXBSH/android_vendor_xiaomi_msm8994-common