https://forum.xda-developers.com/as...ra-1-0-0-asus-rog-phone-t4155505/post83609625Hi mate, Injust updated to Firmware WW-17.0823.2008.78 and the kernel was .70 now is .78
XDA Rule #1: Search before posting.
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.
- 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 @arter97 (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 @tbalden)
- other changes please take a look at github
I wish you all a nice day/evening!
Download is below
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 @tbalden and purchase them from PlayStore.
CleanSlate Configuration App (to control the features):
CleanSlate Companion App (provides additional information from userspace for CleanSlate Kernel features to work correctly)
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
Unfortunately I can’t tell you as I don’t know. Backup your boot.img before flashing the kernel so you can flash it through fastboot in case you’re ending up in a bootloop.
You need to open the kernel.zip and adjust the following line in anykernel.sh to match your current security patch state:
supported.patchlevels=2020-08 - , or just delete the data after the "=".
I’ll update the kernel here and bump the thread when I find time