[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 3.1.0

Hey guys and girls,

Alright here´s the next update :) Latest Asus Source is merged. Make sure to successfully update to firmware 17.0240.2009.49 before flashing the kernel.

This kernel has more improvements from the SD865 Scheduler. Upstream Linux is merged as well.

Starting with release 3.0.6 this kernel will have a separate kernel.zip for custom roms. The kernel for custom roms comes without support from my side, but testers confirmed everything is working.

I´m using the stock ROM and I have no time to cross flash between custom and stock ROMs.

Unfortunately some drivers (vibration and display) require changes so a second version of the kernel is needed.

Please note that this kernel supports only the vibration implementation from Omni-Rom and other custom roms that are based on omnis vib implementation. (Lineage will have issues with vibration)

Detailed changelog below and on github.

Kernel backend PSI-Support and PSI-Enable Magisk-Module:

2.6.0 introduced kernel-backend PSI support .Asus enabled the userspace low memory killer in the stable firmware update. However they do not use it with PSI like the Pixel 4 and google intends, but with vmpressure levels.

If you´re interested in this topic here is more information.

I personally like the PSI-approach way better and I think google did some excellent work there.

If you want to enable this feature just flash the PSI-Enable Magisk-Module via Magisk Manager, when you´re on 2.6.0 or higher and reboot.

If you say I like the approach from Asus just don´t flash it.

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:

- Linux-Stable Upstream to 4.14.199

- scheduler updates from SD865 CAF-Kernel

- merge latest Asus Source 17.0240.2009.49 (make sure to update your phone to latest firmware before flashing!)

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

Kernel for the Stock Firmware by Asus (make sure you´re always on the latest firmware)

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

Kernel for Custom Roms (please note vibration only works properly on omni based custom roms)

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

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

But look at this post too :)

PSI-Enabler-Magisk-Module: https://www.androidfilehost.com/?fid=4349826312261798764

Only for Android 10 Stock Rom running a custom kernel with PSI enabled! Flashable via Magisk Manager!

Brightness Module (reduces minimum brightness):https://www.androidfilehost.com/?fid=4349826312261766808

Only for Android 10 WW Stock Firmware ! Flashable via Magisk Manager.

The module is offered without any form of support. Please do not discuss it here in the thread.

If you face issues, it´s probably because you accidentally use any form of tweak, app, script, module or some other conflicting mod.

It´s optional and can be used standalone without the kernel.

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