[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 3.0.0

Hey guys and girls,

So here´s the next milestone update. I tried to put this release off for as long as possible, but I finally feel it´s ready to be released here.

The reason why I was so hesitant, is that I don´t want to introduce any instability. The current kernel has run for me for months, without a single reboot.

Don´t get me wrong the new release is absolutely fantastic. I´m quite sure of it :)

This new release is not an update but rather a complete new kernel! I started to work on the idea a few months ago. Progress was made a month ago, after I spent way too much time on this and was on the verge of giving up. But here we go now. Thanks also to @arter97 who answered a few questions :)

The new kernel is completely redone from scratch.

It´s based on latest Q Preview Source from Google. Only a few commits, which ensure compatibility with Android Q needed to be reverted. So far that´s the same as the old kernel.

But this time I managed to completely merge the latest CAF source into it. CAF stands for Codeaurora Forums, where the development of Qualcomm Code happens.

As [MENTION=6842057]nathanchance[/MENTION] correctly observed the Pixel 3/XL kernel is more CAF than the Pixel kernels from earlier years. See this twitter post for Pie and the trend continues for Android Q.

Earlier I would only pick a few selected CAF patches. But now the complete CAF tree is merged in our tree. This includes hundreds of commits for SOC specific drivers, other improvements, stability fixes etc.

It gets better. The kernel is specifically rebased on to the new LE.UM.3.2.1-11600-SDX24-Tag, which contains a lot more improvements and cutting-edge changes than the regular sdm845 tag.

Performance is way better, than the old kernel. I think everyone will be pleased.

The only things, which needed to be reverted completely from CAF was the dynamic CLK addition for the display driver. But that´s incompatible and currently not worth it. Maybe it might be later looked into. I also decided to not touch the drivers responsible for charging.

New improvements from the Pixel 3a/XL devices are also merged in this kernel. WiFi driver is updated to latest state from Q Preview 3. We should have a lot more fixes on that front now too.

Audio driver is updated to latest CAF state and Q Preview 3 state as well. The audio driver is released in a separate repo from Google/CAF and needs to be updated alongside the kernel to ensure compatibility with our new shiny CAF base.

While redoing the kernel I decided to drop a lot of stuff, that previously aimed at helping with performance.

We dropped back to Google´s way of touch/interaction boosting. No custom CPU Boosts any longer. Performance is excellent and battery life too. Only the underlying EAS machinery is updated. So far that works very good.

I also dropped a few other "under the hood" things you won´t miss after flashing the kernel.

There are a few commits from @arter97 ´s OP6 kernel, which should improve things a bit more.

The memory leak fixes from [MENTION=4800121]Sultanxda[/MENTION] are included as well. Thanks to him!

There are many more changes and improvements, please feel free to take a look at my git!

I tried to update the OP as best as I could.

All features like wake gestures, sound control are still in their place. If you find something missing please report back.

Oh and it included 4.9.176 :cowboy:

This kernel is tested for over a month now! It´s perfectly stable and no issues for me or any of my testers. As already said I put so much work in to it, I hope it pays off and everybody has the same feeling as me.

This kernel should leave us with a good time until Android Q officially drops :)

Just in case:

If you face issues, please return to a stock environment, only your rom plus magisk root, without any modules, scripts, tweaks or mods and see if you can reproduce the issue.

Tell me the exact steps needed to reproduce.

Then send me a dmesg and a logcat (if the kernel crashes not) or a ramoops (in case the device reboots). Take a look at the second post for a guide on how to obtain these.

Special thanks to [MENTION=6266829]Paddybecks87[/MENTION], [MENTION=4576054]MArtyChubbs[/MENTION] and [MENTION=336855]melgar[/MENTION]

I wish everybody a nice day/evening! :)

Changelog:

- I´m sorry this time you have to read my massive story :)

Important :)

All flashing errors are now fixed. If you experience the ramdisk error please take a look at the FAQ.

Have fun flashing and enjoy your device with latest linux-stable :)

Why is linux-stable important?

Download is below :)

Download:

https://www.androidfilehost.com/?fid=1395089523397966558

or following the link in the op to the correction version

Instructions can be found in the OP!

But look at this post too :)

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07