[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] planet9:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/

This kernel should be compatible to all up to date Pie/Oreo custom ROMs. Its goal is to further improve battery life and to offer as many features as possible while maintaining perfect stability. All battery tweaks are toggleable so you can decide whether you prefer performance or battery life.

Every release will be tested with the latest LineageOS 16.0 build before release.

Compatibility to other custom ROMs is very likely but cannot be guaranteed.

Advanced Kernel for Oreo is now discontinued. The non-treble Pie version should work fine with Oreo ROMs.

Features

Built with bleeding edge GCC 10.0.0 toolchain, optimized for Cortex-A53

Linux 3.18.140, CAF Tag LA.UM.7.6.r1-05500-89xx.0

Treble ROM support.

Spectrum

WireGuard VPN

KCAL v2 color control

Sound control

Intellithermal v3

USB keyboard support

Arch power

Adreno idler

Adreno boost

Slimbus OC

Fingerprint boost

State notifier

Boeffla wakelock blocker

CPU wake boost

Vibration intensity control

Force fast charge to enforce maximum charging speed on any charger. (Use at your own risk! Disabled by default.)

Qnovo driver for better charging temperatures

Powersuspend

Toggleable touchboost

Powersaving work queue by default

Tuned interactive governor

Additional lower frequencies: 307MHz and 480MHz

Additional overclocking frequencies: 2208MHz and 2150MHz - Only selectable in OC version.

Disabled CRC check for up to 30% faster I/O, toggleable

Fsync switch

Improved zram with lz4 compression

Native CIFS and BTRFS filesystem support

Support for SMB2 and SMB3

SdFat for FAT and exFAT support

Support for rtl8812au and rtl8814au usb wifi adapters.

CPU governors

: relaxed, chill, electron, elementalx, impulse, zzmoove, alucard, darkness, nightmare, yankactive, intelliactive, blu_active, interactive, conservative, ondemand, powersave, performance, userspace

Hotplug governors

: alucard_hotplug, thunderplug, blu_plug, msm_hotplug, intelli_plug, lazyplug, autosmp, AiO_hotplug (Pie only)

I/O schedulers

: noop, deadline, cfq, bfq, sio, fiops, zen, maple

TCP congestion algorithms

: westwood, reno, bic, cubic, highspeed, htcp, vegas, veno, scalable, lp, yeah, illinois

Countless additional improvements

Overclocking

With every version of Advanced Kernel two files are released: One with overclocking support and one without. Be aware that overclocking may physically damage your phone! If you still want to use it, download and install the kernel zip from the "Overclocking" subfolder. The default zip from the main folder doesn't allow overclocking and is "safe".

The overclocked kernel will first boot with 2.2GHz, then the maximum frequency is lowered by the active spectrum profile. To enable overclocking after booting you have to use a kernel manager app to select a higher maximum cpu frequency. The tradeoff is that higher frequencies also come with higher CPU-voltages so your battery level will drop faster while OC frequencies are in use.

Force fast charge:

Available on the OC and non-OC kernel. This feature overrides the detected charging current with the maximum possible current for the Zenfone 3 (1910ma) so that every charger is fully utilized. Please be especially careful when using this feature as possible safety measures are disabled! It's disabled by default and can be enabled by enabling "USB fastcharge" at KernelAdiutor's "Battery" section or in EX Kernel Manager under "Miscellaneous".

Installation

Simply flash the provided zip file via TWRP over your custom ROM installation. No need to wipe anything!

Before flashing you may want to backup the "Boot" partition. Restore it to revert any changes.

Flashing a ROM will overwrite this kernel: You'll have to flash the kernel zip again after updating your ROM.

In order to use all of the features you'll need some additional apps and root:

Spectrum: Offers some easily selectable profiles. These are still WIP and in no way comprehensive!

A kernel manager like EX Kernel Manager (paid) or Kernel Adiutor (free).

Spectrum profiles

Battery: Very battery friendly profile. It sacrifices performance for battery life.

Balanced: As close to stock as possible with only minor tweaks.

Performance: Tuned for CPU performance.

Gaming: Everything always runs as fast as possible. Burns away your battery!

Reporting issues

Before reporting an issue please check that it only occurs when having this kernel installed. Otherwise it may be an issue with the ROM.

The above also applies the other way around: Don't report issues to the maintainer of a ROM unless they also occur without this kernel.

Be aware that performance issues are very likey related to your personal settings. Don't blame me for your decision to run only one core at 307 MHz :p

Always use the latest Advanced Kernel release with the latest build of you ROM of choice. If the kernel is much newer than the ROM or the other way around weird issues may arise.

Download

All zip files support both the ZE520KL and the ZE552KL.

The treble version is only compatible to treble ROMs using APD as the vendor partition.

The non-treble version is compatible to non-treble Pie ROMs and SHOULD be compatible to Oreo ROMs too.

Flashing the wrong version won't harm your device but will prevent your ROM from booting! This can be easily fixed by flashing the right version or re-flashing your ROM.

Download: https://drive.google.com/drive/folders/1cel2AB59-6kOaLkk7dK6uBPwejdw6s4C

Additional credits

Due to the sheer amount of features it's not possible to list all of the contributors here. Please check the commit history for a comprehensive list.

XDA:DevDB Information

Advanced Kernel for Custom ROMs, Kernel for all devices (see above for details)

Contributors

planet9

Source Code: https://github.com/Planet-X/android-kernel-zenfone3_advanced

Kernel Special Features: Overclocking, Force Fast Charge

Version Information

Status: Stable

Created 2019-07-19

Last Updated 2019-07-19