[KERNEL][Z017/Z012][TREBLE][P5] Advanced Kernel for Custom ROMs

akaSk8krew

Senior Member
Mar 17, 2011
474
100
43
Anadia
This version of Advanced Kernel is finally compatbile to treble ROMs!

Treble support notice:
There are two types of treble ROMs currently available:
1. Older releases using a newly created "vendor" partition.
2. Newer releases using the existing "APD" partition as vendor.
Advanced Kernel P4 is only compatible to the latest treble ROMs, meaning the second type.
You can't harm your device by flashing the wrong version but the ROM will stop booting.
Re-flash your ROM or flash the right Advanced Kernel zip to fix this.

Changes:
Now compatible to latest Treble ROMs! (APD partition only!)
Updated rtl88XXau kernel module.
Updated kernel to Linux 3.18.138, CAF Tag LA.UM.7.6.r1-04500-89xx.0.
Hi planet, you good?
one question: the new p4 kernel have squashFS??
thanks very much for your work:)
sorry my bad english
wheel in the air
 

thirdzcee

Senior Member
May 13, 2012
1,737
586
143
Bacolod City
Hi planet, you good?
one question: the new p4 kernel have squashFS??
thanks very much for your work:)
sorry my bad english
wheel in the air
In my understanding it should since it has support for /APD which is mounted using squashfs.

Using it for a day and only had 1 issue where it locked up during deep sleep. But it was probably my bad for messing too much with the hotplug parameters. Have set it to default and havent had any issues since
 

metaxda

Senior Member
Apr 19, 2018
204
68
28
i get problems booting, when flashing "Advanced Kernel"
with AOSP-Extended (2019-06 and 2019-07). I haven't tried other versions of this ROM either.

The phone doesn't want to boot, i.e. go past the logo screen.

Anyone else had issues like this?
 

planet9

Senior Member
Apr 24, 2017
114
500
0
Advanced Kernel P5

Advanced Kernel P5 is now available!
It's just a maintenance release to get everything up to date again. No new features this time.

Changes:
  • Updated Toolchain to GCC 10.0.0 (experimental).
  • Updated AnyKernel2 to AnyKernel3.
  • Updated rtl88XXau kernel module.
  • Updated kernel to Linux 3.18.140, CAF Tag LA.UM.7.6.r1-05500-89xx.0.
 

planet9

Senior Member
Apr 24, 2017
114
500
0
i get problems booting, when flashing "Advanced Kernel"
with AOSP-Extended (2019-06 and 2019-07). I haven't tried other versions of this ROM either.

The phone doesn't want to boot, i.e. go past the logo screen.

Anyone else had issues like this?
Sounds like you're using the non-treble version of Advanced Kernel on a treble ROM or the other way around.
Try to use the other version of the kernel and it should work.
 

metaxda

Senior Member
Apr 19, 2018
204
68
28
Sounds like you're using the non-treble version of Advanced Kernel on a treble ROM or the other way around.
Try to use the other version of the kernel and it should work.
You are right.
I used the Treble version of "Advanced Kernel" with AOSP Extended for Zenfone 3, and that worked!

( There is something quirky about AOSPExtended, and that is G-Apps needs to be flashed, straight after the ROM, and then phone boots up quickly )
 

Raufthenap

New member
Mar 12, 2020
3
0
0
Asus ZenFone 3 Advanced Kernel P5

Using this kernel on my Asus ZenFone 3 ZE552KL, I found that on the non-OC version of this kernel the CPU-Z and Device info HW recognize the CPU correctly (as Snapdragon 625), but on the OC version they recognize it as Snapdragon 626. At the same time, EXKM recognizes it correctly. BTW, I'm using LOS 16, which is non-treble OS. (Because when I first installed the treble version, it didn't fit to LOS 16, after which I realized that this OS is non-treble.). Accordingly, I had to install a non-treble version of this kernel. Also, I can say that I have to make some changes over and over again on the EXKM after every system reboot. These are the main problems I faced.