[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Hey guys and girls,

Alright here´s the next update :) WiGig functionality is now fixed. An issue with TWRP not being compatible to f2fs upstream is resolved.

The scheduler is heavily updated as well with upstream code from the SD865 kernel. (There´s more to come on this regard.)

This update introduces a separate kernel 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.

Other changes include CAF-Upstream, Linux-Stable upstream, Updates to f2fs and others.

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.198

- scheduler updates from SD865 CAF-Kernel

- Fix WiGig

- resolve a conflict with TWRP originating from F2FS-Upstream

- Merge CAF Upstream

- F2FS Stable brought to latest state

- patches from kernel/common

- update AK3-Zip (thanks to [MENTION=4544860]osm0sis[/MENTION])

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=8889791610682940459

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

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

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