[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Kirisakura-Kernel for HTC U12+

Hello everyone,

Kirisakura kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!

This includes upstreaming to latest linux stable for enhanced security and stability. As well as bringing in important new CAF patches, as soon as CAF releases the sources for the SD 845!

Revisiting the stock EAS implementation for further efficiency enhancements is also on my current roadmap for future development. I´m sure there is potential!

To have a read about our scheduler, which is called EAS, take a look here:

https://developer.arm.com/open-source/energy-aware-scheduling

Main Features:

- Based on latest kernel sources from HTC for the HTC U12+ (2.45)

- Upstreamed to latest 4.9.246

- CAF-Upstream merged

- Pixel 3/XL EAS ported over

- Cleanslate features from @tbalden included! (big thanks to him!)

CPU related features:

- Dynamic schedtune boost from [MENTION=768127]josho[/MENTION]us

- CPU Input boost from [MENTION=4800121]Sultanxda[/MENTION]

- Disclaimer: please take a look at post 2 on how to set them up!

- Power saving workingqueues enabled by default (toogleable in EXKM)

have a read here: https://lwn.net/Articles/731052/

this complements EAS in general

- DDR bandwidth boost from @Sultanxda

Graphic related features:

- KCAL to control the display

- Adreno Boost

- Enabled NAP power saving state of Adreno 630

Network related features:

- Wireguard Support

Misc Features:

IO-Schedulers:

- cfq

- bfq

- maple

- deadline

- noop

- tripndroid

- fiops

- zen

TCP Congestion Algorithms:

- advanced algorithms enabled

- includes new bbr and sociopath tcps

Wakelock Blocker:

- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)

- common wakelocks that are safe to be blocked are blocked by default

Feature section for the "non visible" but perceptible improvements:

- mark certain IRQ and kthreads as performance critical

- updated schedutil governor

- updated binder section (responsible for interprocess communication)

- updated sdcardfs (have a read about it here: https://www.xda-developers.com/divi...les-fuse-replacement-will-reduce-io-overhead/ )

- Speculative Page Faults (1. 2)

- Memory allocation overflow protection (kernel hardening feature)

- proc gate vulnerability fixed

Requirements

- unlocked Bootloader

- USB-Debugging in developer options enabled

- latest adb and fastboot binaries

- working adb and fastboot environment

How to flash the Kernel:

1. Download the kernel.zip to your device

2. Reboot to TWRP

3. Flash the kernel.zip in TWRP

4. The kernel zip will detect if you´re rooted and keep root in that case! :)

5. Reboot and Profit :)

IMPORTANT NOTICES

1. After rooting, the option to enable face unlock from htc may be greyed out.

How to fix:

a. Open Magisk Manager

b. Open the side menu and tap on magisk hide

c. Tick faceunlock to be hidden

DOWNLOAD:

Download is located always in this folder:

https://www.androidfilehost.com/?w=files&flid=278195

Important: Read after Download

Please take a look at the second post after flashing the kernel!

Changelog:

0.1 Initial Release

0.2 https://xdaforums.com/showpost.php?p=77002100&postcount=32

0.5 https://xdaforums.com/showpost.php?p=77092842&postcount=46

1.0 https://xdaforums.com/showpost.php?p=77131607&postcount=61

1.1 https://xdaforums.com/showpost.php?p=77187557&postcount=82

1.3 https://xdaforums.com/showpost.php?p=77228675&postcount=85

1.4 https://xdaforums.com/showpost.php?p=77234128&postcount=88

1.7 https://xdaforums.com/showpost.php?p=77255692&postcount=90

2.0.3 https://xdaforums.com/showpost.php?p=77515446&postcount=115

2.1.1 https://xdaforums.com/showpost.php?p=77585106&postcount=136

2.2.0 https://xdaforums.com/showpost.php?p=77663581&postcount=167

2.2.3 https://xdaforums.com/showpost.php?p=77757758&postcount=181

2.3.4 https://xdaforums.com/showpost.php?p=77856442&postcount=195

3.0.2 https://xdaforums.com/showpost.php?p=78204561&postcount=244

4.1.1 https://xdaforums.com/showpost.php?p=78315932&postcount=261

5.0.0 https://xdaforums.com/showpost.php?p=78767277&postcount=301

5.2.1 https://xdaforums.com/showpost.php?p=78856374&postcount=321

7.0.0 https://xdaforums.com/showpost.php?p=79353529&postcount=337

9.1.0 https://xdaforums.com/showpost.php?p=79696218&postcount=355

10.0.0/1 https://xdaforums.com/showpost.php?p=79973617&postcount=364

Pie and forward (please not this release is a hacked base OREO-base to work on Android Pie):

10.7.0 https://xdaforums.com/showpost.php?p=81035393&postcount=378

Pie:

1.2.0_NEXT https://xdaforums.com/showpost.php?p=84014357&postcount=388

Donations:

Donations are not mandatory but very welcome if you want to support development or just buy me a coffee :)

If you like my work: http://paypal.me/freak07

Credits:

@osm0sis for all his work, including the ak2 installer!

[MENTION=3088420]tbalden[/MENTION] for being the best HTC wingman!

[MENTION=398245]LeeDroid[/MENTION] for his awesome roms!

[MENTION=1162986]Captain_Throwback[/MENTION] for all the mentoring and guidance!

[MENTION=5687366]Eliminater74[/MENTION] for bringing me into the game and the Inspiration

[MENTION=6842057]nathanchance[/MENTION] for his upstream guidance and assistance

[MENTION=5438598]RenderBroken[/MENTION] for helping me out

[MENTION=4684315]flar2[/MENTION] for all his work

[MENTION=6745491]joshuous[/MENTION] for all the help he provided to me

XDA:DevDB Information

Kirisakura-Kernel , Kernel for the HTC U12+

Contributors

Freak07

Source Code: https://github.com/freak07/Kirisakura_Imagine/commits/master_bluecross_eas

Kernel Special Features: Linux Upstream, KCAL, CAF, Cleanslate Features, Pixel 3 EAS

Version Information

Status: Stable

Created 2018-06-28

Last Updated 2020-11-28