FORUMS
Remove All Ads from XDA

[EOL][KERNEL][9.0.0] Sultan Kernel [April 2, 2019]

6,331 posts
Thanks Meter: 37,157
 
By Sultanxda, Recognized Developer on 17th February 2019, 04:50 AM
Post Reply Email Thread
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 3 and Pixel 3 XL designed to be used with the stock ROM and custom Pie 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:
  • Compiled with the latest official GCC toolchain for the kernel
  • Removed lots of excessive bloat (improves security and performance)
  • Fast fingerprint unlock and screen power on
  • Improved app launch performance
  • CPU Input Boost: a custom CPU boost driver to keep the phone smooth while maximizing battery life
  • MSM Thermal Simple: a custom thermal monitor driver that keeps the phone cool
  • WireGuard, a next generation secure VPN tunnel
  • Passes SafetyNet bootloader unlock check
  • Reduced power consumption
  • Improved overall system fluidity and graphics performance
  • Improved stability
  • Westwood+ TCP congestion algorithm
  • Many other miscellaneous improvements not listed here

Source code - 9.0.0-sultan branch:
https://git.zx2c4.com/android_kernel_google_bluecross
or
https://github.com/kerneltoast/andro...ogle_bluecross

Credits:
  • zx2c4 (for WireGuard, providing project resources, co-authorship on parts of this kernel, and sending me stickers)
  • osm0sis (for AnyKernel2)
  • If your name should be here and it isn't, then replace my camera with a OnePlus device

Installation instructions:
To install this kernel, simply download and flash it in a custom recovery. Do the same when there is a new update available.

Download:
Latest version: https://github.com/kerneltoast/andro...s_20190402.zip

XDA:DevDB Information
Sultan Kernel, Kernel for the Google Pixel 3

Contributors
Sultanxda, zx2c4
Kernel Special Features:

Version Information
Status: Stable

Created 2019-02-17
Last Updated 2019-04-10
The Following 13 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
 
 
17th February 2019, 04:50 AM |#2  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,157
 
Donate to Me
More
Changelog:

April 2, 2019:
*Merged April Security Bulletin fixes
*Removed CPU underclock (the instability was due to a missing driver)
*Improved CPU Input Boost driver efficiency and performance

Old changelogs:

March 30, 2019:
*Removed Simple LMK (it's not ready yet; it still causes freezes)

March 29, 2019:
*Fixed performance issues and microstutters
*Added rewritten Simple LMK driver for improved memory management

March 27, 2019:
*Fixed frequent stuttering due to a bug in the CPU clock driver

March 26, 2019:
*Improved touchscreen latency
*Fixed occasional bouts of intense lag
*Fixed scheduling issue that reduced performance

March 25, 2019:
*Underclocked gold CPU cluster to 2553 MHz to improve performance (speeds higher than 2553 MHz actually run slower)
*Forced all kernel processes to run on the silver CPU cluster to save power
*Improved the performance of string operations in the kernel

March 14, 2019:
*Removed Simple LMK (fixes freezes)
*Removed CPU underclock

March 10, 2019:
*Rewrote Simple LMK for vastly improved memory management
*Re-enabled all gold cluster CPU cores

March 4, 2019:
*Merged March Security Bulletin fixes

March 3, 2019:
*Actually fixed front camera not working for some users
*Added MSM Thermal Simple, a custom thermal driver to keep the phone cool
*Reduced gold CPU cluster max frequency to 2323 MHz to save power
*Improved memory management (Simple LMK kills fewer apps each time it is invoked)
*Improved performance when multitasking
*Adjusted scheduling to improve overall performance and power consumption

February 16, 2019:
*Merged February Security Bulletin fixes
*Fixed front camera not working for some users
*Fixed support for custom ROMs
*Fixed screen not turning off in TWRP
*Improved memory management (Simple LMK kills apps less often and kills less-recently-used apps first)
*Reduced CPU boost frequencies (reduces power consumption)
*Switched from BBR to Westwood+ TCP congestion algorithm
*Fixed WireGuard not turning on sometimes

January 23, 2019:
*Initial release
The Following 10 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
17th February 2019, 04:50 AM |#3  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,157
 
Donate to Me
More
Reserved
The Following 3 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
18th February 2019, 12:33 AM |#4  
Senior Member
Thanks Meter: 23
 
More
Wow Sultan kernel on the Pixel 3 !

What a great surprise!

Thank you very much for that
21st February 2019, 11:10 PM |#5  
Senior Member
Thanks Meter: 23
 
More
Hi there,

I can't open the front camera with your kernel
Do you have any suggestion please?

Thank you
23rd February 2019, 09:02 PM |#6  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,157
 
Donate to Me
More
Quote:
Originally Posted by Nizur

Hi there,

I can't open the front camera with your kernel
Do you have any suggestion please?

Thank you

Try this kernel: https://forum.xda-developers.com/sho...&postcount=128
The Following User Says Thank You to Sultanxda For This Useful Post: [ View ]
23rd February 2019, 10:38 PM |#7  
Senior Member
Thanks Meter: 23
 
More
Quote:
Originally Posted by Sultanxda

Try this kernel: https://forum.xda-developers.com/sho...&postcount=128

It is noticeably faster than the last build and the front camera works. However, opening apps and switching between seems less smooth than the stock kernel
25th February 2019, 11:31 PM |#8  
Slomies's Avatar
Senior Member
Thanks Meter: 106
 
More
Quote:
Originally Posted by Nizur

It is noticeably faster than the last build and the front camera works. However, opening apps and switching between seems less smooth than the stock kernel

Try this kernel https://forum.xda-developers.com/sho...&postcount=131
28th February 2019, 03:00 AM |#9  
Senior Member
Thanks Meter: 28
 
More
Im confused, which should i flasht the one in the first post, very fast, or 4core?
4th March 2019, 04:48 AM |#10  
Sultanxda's Avatar
OP Recognized Developer
Flag California
Thanks Meter: 37,157
 
Donate to Me
More
Quote:
Originally Posted by LoneWanderer_97

Im confused, which should i flasht the one in the first post, very fast, or 4core?

A new build is up in the first post with lots of fixes and improvements. Flash that one.
The Following 2 Users Say Thank You to Sultanxda For This Useful Post: [ View ]
4th March 2019, 06:03 PM |#11  
Senior Member
Thanks Meter: 76
 
More
@Sultanxda can you bump up the linux stable version to latest one on the kernel? I started experiencing white screen flashes while waking the device after using the 3/3 kernel. This did not happen on Kirisakura, so flashed that back to check and yes it didn't happen anymore. I saw that your kernel is based on 4.9.124 while Kirisakura based on 4.9.161. Now I dont know if that is actually causing it or not but it's that difference I can see from outside, it's possible some other fixes/patches might also be there.
If anyone else experiencing the white flashes on the 3/3 build please ping.
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