[ASUS ROG Phone 3 ROMs, Kernels, Recoveries, & Othe] Freak07:
Update to 1.5.0

Hey guys and girls,

New Update. It includes the source for the new firmware 17.0823.2009.98.

Make sure to update to this firmware, before flashing the kernel. The zip won´t flash by default on older firmware.

Linux-Stable Upstream is merged, as well as CAF-Upstream.

Selinux-Mainline patches are backported now that Magisk 21.0 and greater support it. This gives selinux a performance boost.

You need to have upgraded to magisk 21.0 before flashing the kernel!

The download can be found here: https://github.com/topjohnwu/Magisk/releases/download/v21.0/Magisk-v21.0.zip

Alternatively download latest magisk manager from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v8.0.2/MagiskManager-v8.0.2.apk

Go to Settings and set Magisk Channel to Beta to get Magisk 21.0!

Several improvements from the Pixel 4 and Pixel 5 kernel are included. Adressing the GPU driver as well as the UFS driver yielding a performance boost.

Upstream CAF-Scheduler is tuned to perform better as well. These settings will be automatically applied after rebooting the device.

Disable Register Trace Buffer (RTB) logging and remove code throughout the kernel. We don´t have to debug sudden kernel panics and can rely on ramoops.

Disable some more debugging configs, that are not needed for perf_defconfig according to google.

More details in the changelog below and on GitHub as usual.

I´d advise everybody to read the instructions in the OP and follow them. They are written for a reason, because they ensure everything will be working as expected.

Kernel is made for the latest stock rom from Asus, you must update your phone to the most recent Asus update, before flashing the kernel.

Enjoy!

Changelog:

- Update Source Code to Asus Source 17.0823.2009.98 (make sure to update your phone before attempting to flash the kernel)

- Linux-Stable Upstream 4.19.152

- Merge latest CAF-Upstream

- Use latest prebuilt clang 11.0.5 from Google

- kernel/common update to binder

- merge latest f2fs-stable update, that includes ATGC

- disable various debugging configs, that are not needed in a perf build kernel according to google.

- scheduler updates from Googles Pixel kernel

- use s2idle for deepsleep, as pixel 4/5

- Backport mainline Selinux commits, thanks [MENTION=4898097]arter97[/MENTION] (you must be on magisk 21.0, otherwise the kernel won´t boot)

- disable selinux auditing (we don´t have to adress selinux denials running a stock rom)

- ufs improvements from pixel 4/ pixel 5 kernel

- gpu/kgsl improvements from pixel 4/pixel 5 kernel

- ported per process reclaim from Pixel 5 kernel, instead of using outdated CAF implemenation

- display tweaks to reduce power consumption on statically rendered images

- several fixes to CleanSlate features (big thanks [MENTION=3088420]tbalden[/MENTION])

- other changes please take a look at github

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

Kernel: https://www.androidfilehost.com/?fid=10763459528675573454

Instructions how to flash the kernel can be found in the OP!

But look at this post too :)

To make use of the CleanSlate features you need to download both CleanSlate Apps:

Please take a look at the CleanSlate thread for CleanSlate features. I will provide the link to the free to download apps here.

If you use the CleanSlate features and benefit over time, maybe think about giving something back to [MENTION=3088420]tbalden[/MENTION] and purchase them from PlayStore. :)

CleanSlate Configuration App (to control the features):

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

CleanSlate Companion App (provides additional information from userspace for CleanSlate Kernel features to work correctly)

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

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