[KERNEL][11.0.0] Sultan Kernel [June 16, 2022]

Search This thread

Sultanxda

Recognized Developer
Code:
/*
* Your warranty is no longer valid, unless you lie.
*
* I am not responsible for bricked devices, strained relationships,
* 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 kernel
* 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.
*
*/

This is a no-frills custom kernel for the Pixel 4 and Pixel 4 XL designed to be used with the stock ROM and custom Android 11 ROMs. It's intended to be a simple replacement for the stock kernel that brings several under-the-hood enhancements. This kernel is not meant to be customized by users.

Changelogs for each update can be found in the 2nd post of this thread.

Features:

  • Full real-time preemption (PREEMPT_RT), which makes the kernel as responsive and stutter-free as possible
  • Compiled with GCC 12.1 from the Arch Linux repository
  • Built with Link Time Optimization (LTO) for improved overall kernel performance
  • Built with Dead Code Elimination (DCE) to shrink the kernel's size by removing unused code
  • Removed lots of excessive bloat (improves security and performance)
  • Simple LMK, a custom low memory killer that improves memory management
  • Optimized CPU frequencies and EAS energy model for improved performance and battery life
  • WireGuard, a next generation secure VPN tunnel
  • Passes SafetyNet bootloader unlock check
  • Improved gaming performance
  • Improved overall system fluidity and graphics performance
  • Improved stability
  • Many other miscellaneous improvements not listed here

Source code:
11.0.0-sultan branch: https://github.com/kerneltoast/android_kernel_google_floral

Credits:
  • zx2c4 (for WireGuard)
  • osm0sis (for AnyKernel3)
  • kdrag0n (for quite a few useful commits)
  • If your name should be here and it isn't, then replace my camera with a OnePlus 3

Installation instructions:
You can flash this kernel normally in TWRP, LineageOS recovery, or Franco Kernel Manager.

Telegram group:
https://t.me/sultanskernel

Downloads:
Latest kernel
 
Last edited:

Sultanxda

Recognized Developer
Changelog:

June 16, 2022:
*Fixed rare random reboot into the bootloader when turning on or rebooting the phone sometimes
*Fixed several rare random reboots during normal usage, caused by PREEMPT_RT

Old changelogs:

June 1, 2022:
*Fixed random reboots introduced in the previous build

May 11, 2022:
*Fixed performance regression that worsened GeekBench scores
*Fixed very rare random reboots caused by zRAM
*Fixed potential lags when exiting the camera
*Now built with GCC 12.1 instead of 11.3

May 4, 2022:
*Fixed rare delays of up to 20 seconds when trying to wake the phone from deep sleep
*Improved wake speed when waking the phone while it is entering deep sleep

May 1, 2022:
*Fixed some mistakes related to Pixel Visual Core power management

April 30, 2022:
*Fixed frequent random reboots for users who migrated from Kirisakura
*Removed Android version check from the installer zip
*Fixed random reboots and freezes during deep sleep

April 24, 2022:
*Enabled full real-time preemption (PREEMPT_RT) to make the kernel as responsive and stutter-free as possible
*Optimized several sources of micro-stutters in the kernel
*Switched the deep sleep mode to s2idle, which makes the phone wake up from deep sleep faster
*Improved thermal management by disabling CPU isolation, which was a feature used by the thermal driver that degraded performance while gaming and actually increased heat output
*Improved graphics performance
*Now built with GCC 11.3 instead of 11.1

October 18, 2021:
*Merged September Security Bulletin fixes (October didn't have any kernel changes)
*Improved memory management performance
*Improved system performance while using the camera
*Fixed a regression that caused worsened battery life
*Fixed video calling causing the entire UI to freeze with some apps

August 23, 2021:
*Merged August Security Bulletin fixes

July 25, 2021:
*Fixed front camera not working when using the Social Media Depth feature in Google Camera

July 10, 2021:
*Merged July Security Bulletin fixes
*Now built with GCC 11.1 instead of 10.3
*Improved Simple LMK responsiveness and accuracy, to only kill apps when it's really needed

May 6, 2021:
*Merged May Security Bulletin fixes
*Improved Simple LMK for better memory management (for example, games are less likely to be killed when multitasking while playing)
*Further improved scheduler performance for better overall system performance
*Further improved performance of Unity-based games (such as Genshin Impact)

April 6, 2021:
*Merged April Security Bulletin fixes
*Fixed some apps not working with the previous update

March 21, 2021:
*Improved scheduler performance for better overall system performance
*Improved performance of Unity-based games (such as Genshin Impact)

March 4, 2021:
*Re-enabled BPF JIT compiler to improve gaming and overall system performance

March 1, 2021:
*Merged March Security Bulletin fixes
*Fixed a bug where parts of the screen would erroneously remain dim in some apps
*Improved graphics performance
*Improved storage access latency
*Improved touch latency
*Improved overall system fluidity and power consumption

February 8, 2021:
*Added back missing thermal mitigation drivers to fix overheating

February 6, 2021:
*Merged February Security Bulletin fixes
*Further reduced overall system jitter

January 31, 2021:
*Fixed a bug in the ashmem rewrite that broke some system-wide sound effects

January 30, 2021:
*Added back support for prototype units
*Fixed a scheduler bug that caused random stutters
*Improved overall system fluidity
*Rewrote anonymous shared memory driver (ashmem) for improved graphics performance

January 16, 2021:
*Initial release
 
Last edited:

Balino

Senior Member
Mar 3, 2011
1,714
590
28
Gaeta
I've been running the kernel for 3 days now and it's running great so far... UI Is smooth, no hiccups, no lags no random reboot. Thank you for your work man
 

gotty91

Senior Member
Jul 6, 2015
50
3
Hi, this kernel does support double tap to sleep and double tap to wake? Thanks
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    Code:
    /*
    * Your warranty is no longer valid, unless you lie.
    *
    * I am not responsible for bricked devices, strained relationships,
    * 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 kernel
    * 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.
    *
    */

    This is a no-frills custom kernel for the Pixel 4 and Pixel 4 XL designed to be used with the stock ROM and custom Android 11 ROMs. It's intended to be a simple replacement for the stock kernel that brings several under-the-hood enhancements. This kernel is not meant to be customized by users.

    Changelogs for each update can be found in the 2nd post of this thread.

    Features:

    • Full real-time preemption (PREEMPT_RT), which makes the kernel as responsive and stutter-free as possible
    • Compiled with GCC 12.1 from the Arch Linux repository
    • Built with Link Time Optimization (LTO) for improved overall kernel performance
    • Built with Dead Code Elimination (DCE) to shrink the kernel's size by removing unused code
    • Removed lots of excessive bloat (improves security and performance)
    • Simple LMK, a custom low memory killer that improves memory management
    • Optimized CPU frequencies and EAS energy model for improved performance and battery life
    • WireGuard, a next generation secure VPN tunnel
    • Passes SafetyNet bootloader unlock check
    • Improved gaming performance
    • Improved overall system fluidity and graphics performance
    • Improved stability
    • Many other miscellaneous improvements not listed here

    Source code:
    11.0.0-sultan branch: https://github.com/kerneltoast/android_kernel_google_floral

    Credits:
    • zx2c4 (for WireGuard)
    • osm0sis (for AnyKernel3)
    • kdrag0n (for quite a few useful commits)
    • If your name should be here and it isn't, then replace my camera with a OnePlus 3

    Installation instructions:
    You can flash this kernel normally in TWRP, LineageOS recovery, or Franco Kernel Manager.

    Telegram group:
    https://t.me/sultanskernel

    Downloads:
    Latest kernel
    14
    Changelog:

    June 16, 2022:
    *Fixed rare random reboot into the bootloader when turning on or rebooting the phone sometimes
    *Fixed several rare random reboots during normal usage, caused by PREEMPT_RT

    Old changelogs:

    June 1, 2022:
    *Fixed random reboots introduced in the previous build

    May 11, 2022:
    *Fixed performance regression that worsened GeekBench scores
    *Fixed very rare random reboots caused by zRAM
    *Fixed potential lags when exiting the camera
    *Now built with GCC 12.1 instead of 11.3

    May 4, 2022:
    *Fixed rare delays of up to 20 seconds when trying to wake the phone from deep sleep
    *Improved wake speed when waking the phone while it is entering deep sleep

    May 1, 2022:
    *Fixed some mistakes related to Pixel Visual Core power management

    April 30, 2022:
    *Fixed frequent random reboots for users who migrated from Kirisakura
    *Removed Android version check from the installer zip
    *Fixed random reboots and freezes during deep sleep

    April 24, 2022:
    *Enabled full real-time preemption (PREEMPT_RT) to make the kernel as responsive and stutter-free as possible
    *Optimized several sources of micro-stutters in the kernel
    *Switched the deep sleep mode to s2idle, which makes the phone wake up from deep sleep faster
    *Improved thermal management by disabling CPU isolation, which was a feature used by the thermal driver that degraded performance while gaming and actually increased heat output
    *Improved graphics performance
    *Now built with GCC 11.3 instead of 11.1

    October 18, 2021:
    *Merged September Security Bulletin fixes (October didn't have any kernel changes)
    *Improved memory management performance
    *Improved system performance while using the camera
    *Fixed a regression that caused worsened battery life
    *Fixed video calling causing the entire UI to freeze with some apps

    August 23, 2021:
    *Merged August Security Bulletin fixes

    July 25, 2021:
    *Fixed front camera not working when using the Social Media Depth feature in Google Camera

    July 10, 2021:
    *Merged July Security Bulletin fixes
    *Now built with GCC 11.1 instead of 10.3
    *Improved Simple LMK responsiveness and accuracy, to only kill apps when it's really needed

    May 6, 2021:
    *Merged May Security Bulletin fixes
    *Improved Simple LMK for better memory management (for example, games are less likely to be killed when multitasking while playing)
    *Further improved scheduler performance for better overall system performance
    *Further improved performance of Unity-based games (such as Genshin Impact)

    April 6, 2021:
    *Merged April Security Bulletin fixes
    *Fixed some apps not working with the previous update

    March 21, 2021:
    *Improved scheduler performance for better overall system performance
    *Improved performance of Unity-based games (such as Genshin Impact)

    March 4, 2021:
    *Re-enabled BPF JIT compiler to improve gaming and overall system performance

    March 1, 2021:
    *Merged March Security Bulletin fixes
    *Fixed a bug where parts of the screen would erroneously remain dim in some apps
    *Improved graphics performance
    *Improved storage access latency
    *Improved touch latency
    *Improved overall system fluidity and power consumption

    February 8, 2021:
    *Added back missing thermal mitigation drivers to fix overheating

    February 6, 2021:
    *Merged February Security Bulletin fixes
    *Further reduced overall system jitter

    January 31, 2021:
    *Fixed a bug in the ashmem rewrite that broke some system-wide sound effects

    January 30, 2021:
    *Added back support for prototype units
    *Fixed a scheduler bug that caused random stutters
    *Improved overall system fluidity
    *Rewrote anonymous shared memory driver (ashmem) for improved graphics performance

    January 16, 2021:
    *Initial release
    10
    New build is up.
    10
    neeeeeeeeeeeeeeew buiiiiiiiild
    9
    New build up with improved scheduler performance and gaming performance for Unity-based games.