[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Release Milestone 2.0.0

Hey guys and girls,

As already announced here is the first milestone release, which bumps the kernel to 2.0.0. This was tested extensively for several months so I´m confident this update will work out quite well for anybody.

I have a few more changes already in testing, so for sure this is not the last interesting release!

A short summary:

General Changes:

There are many updates from kernel/common to stay inline with it.

Latest linux-stable, which dropped again a few hours ago is included!

CAF patches addressing memory leaks, instabilities etc were merged for various subsystems.

Security and stability:

Kernel hardening patches from the "old" (when it was still trustworthy) Copperhead OS Pixel 2/XL kernel were brought in to improve security!

Latest linux-stable, which dropped again a few hours ago is included!

Camera driver:

The camera driver is updated to the latest state found on CAF for 4.9 devices with SD845.

These are hundreds of commits, improving performance, fixing memory leaks, race conditions and general enhancements for the camera driver!

F2FS-Upstream

F2FS is upstreamed to the latest state found on kernel/common and kernel.org maintained by Jaegeuk Kim.

These also consist of hundreds of commits improving f2fs. Numerous stability fixes as well little performance enhancements.

For example:

https://github.com/aosp-mirror/kern...8f2dc94#diff-9e44216d8d30c09f81a853e6f08c48dc

https://github.com/aosp-mirror/kern...ed51fc5#diff-9e44216d8d30c09f81a853e6f08c48dc

https://github.com/aosp-mirror/kern...5f9793f#diff-9e44216d8d30c09f81a853e6f08c48dc

https://github.com/aosp-mirror/kern...e572f26#diff-9e44216d8d30c09f81a853e6f08c48dc

Memory Management:

I decided to fall back to lz4 ZRAM compression. Google increased the ZRAM size from 512MB to 1GB! Since then I rarely see ZRAM maxed out, contrary to when it was only 512MB. ZSTD was used because of the higher compression ratio (to squeeze more resources into the 512MB). So using ZSTD makes no longer sense from a logical point of view. Fall back to LZ4, which offers (slightly) faster de/compression speeds! This helps to improve memory management again!

There are also a few other changes that help with memory management from higher kernel versions backported!

Other changes:

Mac randomization is removed for now. Please fall back to the built in option in developer options.

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?

I wish you all a nice day/evening!

Changelog:

- Upstream to 4.9.151

- Stay inline with kernel/common

- Kernel hardening patches

- Improvements for cpuidle (deep sleep)

- CAF patches adressing various issues

- CAF camera driver updated to latest state! (improves stability and performance)

- zram compression: fall back to lz4 for improved memory management

- F2FS updated to latest state!

For further details please take a look at my github!

Download is below :)

Download:

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

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: http://paypal.me/freak07