FORUMS
Remove All Ads from XDA

[Kernel][05.10.2019][4.14.151] Kirisakura_Q 1.0.3 for Pixel 4/XL aka FLORAL

4,170 posts
Thanks Meter: 11,667
 
By Freak07, Senior Member on 27th October 2019, 12:06 PM
Post Reply Email Thread
Kirisakura-Kernel for the Pixel 4 and Pixel 4 XL

Hello everyone,

After rising to the most popular kernel on the Pixel 3/XL forums, here is Kirisakura-Kernel for the Pixel 4 (FLAME) and Pixel 4 XL (CORAL), together FLORAL.
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!

The kernel always aims to include the latest linux-stable-upstream thereby improving security and stability!
Have a read about linux-stable and why it is important here

The EAS implementation is heavily updated with changes from CAF, kernel/common and other improvements.
To have a read about our scheduler, which is called EAS, take a look here:
https://developer.arm.com/open-sourc...are-scheduling



Main Features:
- Based on latest kernel sources from Google, Kernel is made for Android 10 (Android Q)!
- Linux-Stable-Upstream included to latest 4.14.151
- include all important fixes/improvements from kernel/common
- include many CAF patches, which are not yet included by Google
- compiled with Clang 10.0.0 and built with -O3 optimizations
- F2FS implementation updated to latest state of kernel/common and kernel.org maintained by Jaegeuk Kim.
- Safety Net patches are included -> Kernel passes Safety Net
- Flashing the kernel will keep root!
- Tested to work on custom ROMs
- Flashable via EXKM and FKM on a rooted system!
- AnyKernel3 powered by @osm0sis (big thanks!)

EAS related features:
- EAS implementation patched up to latest CAF state
- Schedutil is patched up with kernel/common and CAF patches to improve performance and efficiency!



CPU related features:
- Power saving workingqueues enabled by default (toggleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to user power efficient workingqueues. This should work well in conjunction with EAS
- include cpuidle patches from CAF

File System related features:
- Include latest f2fs changes found on f2fs stable git
- Include rapid GC by @arter97 ( best thing is to read the commit description linked here. I compared GC on stock google f2fs, upstreamed f2fs and f2fs with rapid GC. Rapid GC is the most effective, followed by upstreamed f2fs.)

GPU related features:
- KCAL to control the display
- KLAPSE integrated
- KCAL/KLAPSE: changes safety measures -> allow completely disabling two RGB values (this was requested to, for example, only have red values on night dimming)
- add ability to reduce minimum brightness
- add high-brightness-mode (HBM)
- Update GPU driver to latest CAF state
- improve GPU performance (overall smoother experience)

Network related features:
- Wireguard Support (Details)

Memory related features:
- updated PSI monitor with latest changes
- improved mm with patches from latest mainline
- various other changes from mainline
- included zstd and lz0-rle as options for ZRAM-algorithm (lz4 is probably the best all around, so only change it if you know why and what you are doing)

Security related features:
- CFI and LTO both kept intact and are used to keep additional security Google implemented for us!
- Shadow Call Stack

Misc Features:

TCP Congestion Algorithms:
- advanced algorithms enabled
- includes [URL="https://github.com/freak07/Kirisakura_bluecross/commit/0f8782ea14974ce992618b55f0c041ef43ed0b78#diff-9d300dab5fe08187678045c92cbf5de6"]new bbr2

Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read this for further info

Other features:
- disable logging to make the kernel more lightweight in various places
- remove VLAs from the kernel (more info)


Feature section for the "non visible" but perceptible improvements:
- updated binder section (responsible for interprocess communication)
- updated sdcardfs ; have a read about it here:


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

1a. Optional: While it may not be necessary all times, you may want to restore stock boot.img, reroot with magisk and optionally install twrp.zip if coming from another kernel. Before reporting issues make sure you do that! Thank you!

You only need to do either 2a OR 2b
2a. Boot to TWRP and flash my kernel.zip. Root will be preserved! (Currently not working on Android 10 due to no TWRP for the Pixel 4/XL!! )
or
2b. Flash kernel zip in EX Kernel Manager or FKM app. Root will be preserved!

3. Reboot and profit!



DOWNLOAD:
Download is located always in this folder:

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


Important: Read after Download
Please take a look at the second post after flashing the kernel!


Changelog:

Android 10/ Q Kernels
1.0.0 Initial Release
1.0.1 https://forum.xda-developers.com/sho...5&postcount=51
1.0.3 https://www.androidfilehost.com/?fid...26312261619713


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 ak3 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for all of his work and the stuff I could learn from him
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@topjohnwu for magisk!
@arter97 , @kdrag0n for helping me out several times!

XDA:DevDB Information
Kirisakura Kernel, Kernel for the Google Pixel 4 XL

Contributors
Freak07
Source Code: https://github.com/freak07/FLORAL

Kernel Special Features:

Version Information
Status: Stable

Created 2019-10-27
Last Updated 2019-11-05
The Following 40 Users Say Thank You to Freak07 For This Useful Post: [ View ] Gift Freak07 Ad-Free
27th October 2019, 12:07 PM |#2  
Freak07's Avatar
OP Senior Member
Thanks Meter: 11,667
 
More
F.A.Q:

Question: Is root preserved when flashing this kernel?
Answer: Yes the Anykernel Zip will detect root and keep it.

Question: How to report bugs properly?
Answer: Have a look at post #3 in this thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re not using any mods, magisk modules, scripts or other modifications that alter various functions like sound mods, data traffic etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.

If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a ramoops file.
Easiest way is immediately after booting up, with a root explorer navigate to sys/fs/pstore. Copy the contents to your internal storage, zip it up and send it to me.

If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
The Following 6 Users Say Thank You to Freak07 For This Useful Post: [ View ] Gift Freak07 Ad-Free
27th October 2019, 12:08 PM |#3  
Freak07's Avatar
OP Senior Member
Thanks Meter: 11,667
 
More
Useful Resources

How to report bugs:

It is incredibly useful if bug reports are done in a proper way. That saves everyones time and will ultimately lead to a faster bugfix (hopefully).
The following guide from @nathanchance is a very good guideline on how to properly report a bug!

https://github.com/nathanchance/Andr..._Reporting.txt
The Following 6 Users Say Thank You to Freak07 For This Useful Post: [ View ] Gift Freak07 Ad-Free
27th October 2019, 12:08 PM |#4  
Freak07's Avatar
OP Senior Member
Thanks Meter: 11,667
 
More
This one belongs to me too.
The Following 8 Users Say Thank You to Freak07 For This Useful Post: [ View ] Gift Freak07 Ad-Free
27th October 2019, 01:10 PM |#5  
zetsumeikuro's Avatar
Senior Member
Thanks Meter: 1,098
 
More
Oh snap! The fun has begun boys! Good to see your kernel here!
27th October 2019, 01:38 PM |#6  
JakeDHS07's Avatar
Senior Member
Flag Danbury, CT
Thanks Meter: 658
 
More
Glad to see dev progress so quickly. Will check this out. Kudos
27th October 2019, 02:24 PM |#7  
ridobe's Avatar
Senior Member
Flag Westfield, In.
Thanks Meter: 402
 
More
That was awfully quick! So glad to see you here.
27th October 2019, 03:02 PM |#8  
knife2240's Avatar
Member
Flag Syracuse
Thanks Meter: 25
 
More
Thank you @Freak07. Flashed without a problem with EX KM. Nice work.
27th October 2019, 03:03 PM |#9  
Senior Member
Flag So. Cal.
Thanks Meter: 40
 
More
That was quick! Thank you so much.
27th October 2019, 05:19 PM |#10  
Senior Member
Thanks Meter: 73
 
More
I am unbelievably excited to see you here! I'm glad to see an amazing DEV working so hard, and quick, to bring an amazing kernel to the 4xl!
27th October 2019, 05:40 PM |#11  
Ippolito1971's Avatar
Senior Member
Flag OZARK
Thanks Meter: 1,082
 
Donate to Me
More
So very happy @Freak07 maintaining a kernel for the OP7/7pro and now the P4/P4XL. Thanks for all you do man!!
The Following User Says Thank You to Ippolito1971 For This Useful Post: [ View ] Gift Ippolito1971 Ad-Free
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