FORUMS
Remove All Ads from XDA

[KERNEL][EAS][MIDO][9.0] || Clarity Kernel ||

2,710 posts
Thanks Meter: 1,251
 
Post Reply Email Thread
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.6.r1-02300-89xx.0'
  • Up-to-date for aosp common kernel 3.18 (https://android.googlesource.com/kernel/common)
  • 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 NusantaraClang (Compat VDSO)
  • Merge EAS Based on (https://github.com/EAS-Project/msm-3.18)
  • Schedutil & Pwrutilx CPU Governor
  • CPUSets & Stune Assist (EAS Assist Management)
  • Upstreamed CFQ and BFQ I/O Schedulers
  • Audio Optimizations (UHQA, Slimbus OC, etc)
  • Updated LZO/LZ4 Compressor/Decompressor Module
  • Optimized CPU Boost for EAS (Dynamic Stune Boost v3)
  • Upstreamed ZRAM,ZSMALLOC & ZCACHE
  • Improved Power Efficient Workqueue
  • Cortex a53 Optimizations
  • USB Fastcharge
  • 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
  • NOT Compatible with MIUI and Never be...

How To Install
  • Android 10 : Flash kernel -> Magisk -> Reboot
  • Android 9 : Flash Kernel -> Reboot

Downloads

Credits
  • The Linux Foundation, CodeAurora
  • @krasCGQ - For initial mido bringup kernel
  • @NATO66613 - For EAS initial mido bringup
  • @thehitman7 - For EAS initial mido bringup
  • @najahiii - For Nusantara Clang 10.0.0
  • @ramadhanr124 - For upstream support from new caf tag
  • @alanndz - For help me solved some issue on compiling kernel
  • @alvian29 - For optimized powerhint (EAS Based ROM)
  • And all others who have their commits or contributions picked

Tell me if i'm miss with credits

Join my telegram channel for new updates : Telegram Channel

No Telegram Group Support for now..

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

Contributors
Nicklas Van Dam
Source Code: https://github.com/Nicklas373/kernel...ree/dev/yukina

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: r12
Stable Release Date: 2019-11-01

Created 2019-10-27
Last Updated 2019-11-01
The Following 17 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
27th October 2019, 12:48 PM |#2  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,251
 
Donate to Me
More
Changelogs


r12 - 11-01-2019 (GMT+7)
  • Merge Kernel AOSP / Google Common Source as per 20191101 (GMT+7)
  • Merge Latest EXFAT FS as per (20191030 GMT+7)
  • Migrate all init customizations to kernel (hardcoded) during SAR implementation on some android 10 ROM
  • Backported totalram_pages api from kernel 4.4
  • Add few kgsl optimizations
  • Add SHA256/512 Encryption
  • Remove a few HZ dependency
  • Revert some thermal optimizations
  • Remove dirty hack compiler workaround for kernel
  • Remove Qualcomm Panic data corruption commits from old sources
  • And other misc optimizations (look git for more details)


r11 - 10-27-2019 (GMT+7)

  • Merge latest CAF kernel tag 'LA.UM.8.6.r1-02300-89xx.0'
  • Merge kernel AOSP / Google Common Source as per (20191027 GMT+7)
  • Merge latest EXFAT FS as per (20191027 GMT+7)
  • Switch to CFQ as default I/O Schedulers
  • Revert simple LMK and switch back to ALMK
  • Improve clang Kernel Hardening
  • Remove some high priority workqueue on kernel
  • Enable kernel sched sysctl sysfs


r10 - 10-27-2019 (GMT+7)

  • Based on LA.UM.8.6.r1-01900-89xx.0 CAF Kernel & Prima tag
  • Compiled using NusantaraDevs Clang 10.0.0 (Compat VDSO)
  • Merged Latest AOSP/Common kernel changes for 3.18 from https://github.com/aosp-mirror/kernel_common as per 20191018 (GMT +7)
  • Use LLVM Polly Optimizations for clang
  • Rebased EAS algorithm to https://github.com/EAS-Project/msm-3.18
  • Removed several EAS patch & CPU Governor (energy capacity, power allocator & energy modelling, sched_boost)
  • Removed several unused patch during new base migration
  • Removed several GPU optimizations
  • Removed several GPU patch optimizations
  • Removed SDFAT FS & Import EXFAT FS (use vfat fs as default for fat partition)
  • Introduce CPUSets Assist
  • Add audio-app stune boost configuration
  • Import optimized intelli thermal v3.0
  • Enable CPU CAF Boost toggle & Dynamic Stune Boost (0ms)
  • Reset schedutil to default google value state (also cleanup)
  • Fix some wakelock issue
  • Other misc cleanup & optimizations


Older changelog isn't available for public, due still experimental builds
The Following 3 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
27th October 2019, 12:49 PM |#3  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,251
 
Donate to Me
More
Two Builds Temporary
NOTE:
- Build split to 2 versions, look 'Android Version' code [P / Q] at the end of file name for installation
- For android 10, please enable thermal manager manually from kernel manager

Reason:
- Android 10 build on mido was implement SAR in ROM and that was mess init kernel patching, so android 10 init can't be patched from anykernel normally. Another workaround is only from hardcoded directly to kernel only for android 10

- Android 9 version doesn't have this issue, and still can use init tweaking instead.
The Following 3 Users Say Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
27th October 2019, 12:55 PM |#4  
ramadhanr124's Avatar
Member
Flag Semarang
Thanks Meter: 72
 
Donate to Me
More
Wow cool post , thanks for sharing
27th October 2019, 04:42 PM |#5  
Senior Member
Thanks Meter: 23
 
More
New kernel. 2 version in one day !
27th October 2019, 10:39 PM |#6  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,251
 
Donate to Me
More
Quote:
Originally Posted by henxui25

New kernel. 2 version in one day !

Not 2, there's actually one. Another is only old version that still have close related with a new one.

Sent from my Xiaomi Redmi Note 4 using XDA Labs
The Following User Says Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
27th October 2019, 11:59 PM |#7  
fortrose's Avatar
Junior Member
Thanks Meter: 1
 
More
Quick wake up, schedutil + cfg = 10+ working hours of my phone screen.
Nice job, thanks
Liquid Remix Pie + Clarity Kernel r11
The Following User Says Thank You to fortrose For This Useful Post: [ View ] Gift fortrose Ad-Free
28th October 2019, 01:43 AM |#8  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,251
 
Donate to Me
More
Quote:
Originally Posted by fortrose

Quick wake up, schedutil + cfg = 10+ working hours of my phone screen.
Nice job, thanks
Liquid Remix Pie + Clarity Kernel r11

You're welcome

Sent from my Xiaomi Redmi Note 4 using XDA Labs
29th October 2019, 07:11 PM |#9  
Echo MsK's Avatar
Member
Flag Mymensingh
Thanks Meter: 19
 
More
Tnx for cpu thermal feature.
30th October 2019, 12:13 AM |#10  
Nicklas Van Dam's Avatar
OP Senior Member
Flag Tangerang
Thanks Meter: 1,251
 
Donate to Me
More
Quote:
Originally Posted by Echo MsK

Tnx for cpu thermal feature.

You're welcome
The Following User Says Thank You to Nicklas Van Dam For This Useful Post: [ View ] Gift Nicklas Van Dam Ad-Free
1st November 2019, 02:32 PM |#11  
Senior Member
Thanks Meter: 189
 
More
Can anyone check jitters using Benchkit magisk module?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes