[KERNEL][EAS][LAVENDER][9.0] || Clarity Kernel || HANA-CI

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,379
0
22
Tangerang
github.com
Clarity Kernel | Stability for performance
From HANA-CI Build Project​


Code:
#include 

/*
 * Your warranty is now void.
 *
 * 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 point the finger at me for messing up your device, I will laugh at you.
 */
Clarity is an EAS based kernel that have aim to get fully balanced with battery and performance usage without need any configuration to use. and also, always up-to-date with CAF, AOSP/Common, F2FS & EXFAT, designed for flash & forget kernel :3.

Features

  • Based on CAF Kernel Tag 'LA.UM.8.2.r1-05100-sdm660.0' & WLAN Tag 'LA.UM.7.2.c6-03700-sdm660.0'
  • Up-to-date for linux-stable (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git)
  • Up-to-date for f2fs stable branch (https://github.com/jaegeuk/f2fs-stable)
  • Up-to-date for exfat stable branch (https://github.com/arter97/exfat-linux)
  • Compiled using Clang 10.0.0 Proton Clang (Compat VDSO)
  • Merged EAS patch from several sdm660/636 devices
  • Use optimized energy model data for sdm660 (by @kdrag0n)
  • Schedutil, Blu_schedutil & Pwrutilx CPU Governor
  • CPUSets & Stune Assist (EAS Assist Management)
  • Optimized CPU Boost for EAS (Dynamic Stune Boost v3)
  • Introduce Energy Model Management Framework for legacy support
  • Upstreamed CFQ and BFQ I/O Schedulers
  • Updated LZO/LZ4 Compressor/Decompressor Module
  • Improved Power Efficient Workqueue
  • USB Fastcharge
  • Klapse
  • Backlight Dimmer
  • And any other improvement or feature that i forget to tell '_' (Check git for more details)

AnyKernel Features


Compatibitlity

  • AOSP / LOS Based ROM
  • MIUI 10 (Android 9 Vendor)
  • NOT Compatible MIUI 11 (Android 10 Vendor], request xiaomi to upload their latest source :(

How To Install

  • Flash using recovery mode, reboot, done

Downloads


Credits

  • The Linux Foundation, CodeAurora
  • @rama982 - For stable kernel base
  • @krasCGQ - For several sdm660 specific fix and optimization
  • @alanndz - For majority help on some issue in kernel
  • @najahiii - For EAS bringup and optimizations on sdm636/660
  • @kradg0n - For proton clang 10.0.0 prebuilt
  • And all others who have their commits or contributions picked

Tell me if i'm miss with credits :)

Telegram Support


XDA:DevDB Information
Clarity Kernel For Redmi Note 7 from HANA-CI Build Project, Kernel for the Xiaomi Redmi Note 7

Contributors
Nicklas Van Dam
Source Code: https://github.com/HANA-CI-Build-Project/kernel_xiaomi_lavender

Kernel Special Features: EAS

Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2020-01-13

Created 2020-01-17
Last Updated 2020-01-17
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,379
0
22
Tangerang
github.com
Changelogs​

r13 - 01-13-2020 (GMT+7)

  • Upstreamed to v4.4.209
  • Updated WiFi tags to 'LA.UM.7.2.c6-03700-sdm660.0'
  • Switch to Proton Clang 10.0.0 (prebuilt-20200104)
  • Disable LLVM Polly optimizations
  • Apply several scheduler & schedutil optimizations for EAS
  • Fix Backport of Energy Model Management Framework
  • Fix cpufreq stats leaks (thanks to @alanndz, for references. Based on celtare21)
  • Merge ion/iommu & Merge latest other optimization from @Kerneltoast
  • Backport Deduce Wakeup Reasons function to manage several wakeup issue on kernel
  • Optimize CPUSets for Big.LITTLE device (missmatched on older build -_-)
  • Remove POPP GPU power control level
  • Implement crypto NEON XOR accelerated + CRC32 performance
  • Removed Several VLA Usage on kernel
  • Revert a lot of old gpu optimizations (cleanup)
  • Removed direct references to HZ
  • Disable other left debugfs & debugging drivers
  • Disable sched_boost features on kernel
  • Other misc optimizations


Older changelog isn't available for public, due still experimental builds
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,379
0
22
Tangerang
github.com
FKM OTA Support Added for Clarity Kernel!

You can access it, by installing latest FK Kernel Manager from playstore

How to use:
- Go to flasher menu
- Click "import a kernel download configuration" option from menu "CUSTOM KERNEL CONFIGS"
- Then copy the json link below for mido or lavender, depending on your device
- Click download to automatically Download and install kernel through the apps

Lavender :
- Pie / Ten OTA (FKM)
Copy Here (https://raw.githubusercontent.com/N...3-3.18-2/readme/fkm-ota/lavender/jconfig.json)
 
Last edited:

Nicklas Van Dam

Senior Member
Dec 14, 2013
2,829
1,379
0
22
Tangerang
github.com
Same problem with no deep sleep on pe10 official
send last_kmsg or dmesg here, i can't predict any issue with that reason

I'm using PE 10 too now in my lave, deepsleep working fine here, just make sure you don't have any lot process of background or anything that prevent deepsleep happen.

I'll try to configure deepsleep time faster on next build if possible
 
Last edited:

Rangdrol

Senior Member
Oct 12, 2019
83
19
0
Thank you for this great kernel. Stable, good performance. no hanging or error. everything works as it should with LineageOS 16. Only the battery is empty 1 to 1.5 hours faster. Is maybe the tribute for the good performance.
 
Last edited:

Rangdrol

Senior Member
Oct 12, 2019
83
19
0
Is battery a bit drain?

Sent from my Xiaomi Redmi Note 4 using XDA Labs
Only very little drain, compaired to mokee or stock. Kernel is super. In the moment my favourite.
Edit: 29.01.20. now battery not more drain.
I think, the mobile network signal was weak or something like that.
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone