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

planet9

Senior Member
Apr 24, 2017
114
500
0
Advanced Kernel V1.0 has been released!

Due to compatibility-breaking changes Advanced Kernel 1.0 is only compatible to LineageOS version 2018-08-11 (and possibly newer builds of other custom roms)!
You may experience weird issues when using it with an older ROM.
Changes:
  • The zip file is now signed with my release-key.
  • Added CPU wake boost driver.
  • Removed asusdebug for a lighter kernel.
  • Updated BFQ I/O scheduler.
  • Updated F2FS driver.
  • Added SdFat for FAT and exFAT support.
  • Imported many more misc fixes and improvements.
  • Updated Toolchain to GCC 8.2.1.
  • Updated kernel to Linux 3.18.118, CAF Tag LA.UM.6.6.r1-09500-89xx.0.
    Thanks to @makorn645:
  • Modifications for "Swipe up to wake".
  • Misc improvements of the defconfig for more performance.
 

sam.fisher190

Member
Aug 16, 2016
39
9
0
@planet9 Greetings sir ,MR @+)KEV1N(+ is building a custom Linage OS 15.1 for asus zenfone 3 zoom(ze553kl) , is it possible to use this kernel in his upcoming build and if not what can we do to port this kernel along !? I thank both developers for their efforts.
 

CygnusBlack

Senior Member
Feb 20, 2011
759
284
0
Hello all.
Is it relatively safe to flash this to a ASUS_Z01BDC (zenfone3 2GB ram, screen:5.5) ? THANK YOU VERY MUCH.
Don't even try as your phone is the Laser version. You'll probably brick it.
You can flash it only on ZE520KL and ZE552KL.

---------- Post added at 04:04 PM ---------- Previous post was at 04:02 PM ----------

@planet9 Greetings sir ,MR @+)KEV1N(+ is building a custom Linage OS 15.1 for asus zenfone 3 zoom(ze553kl) , is it possible to use this kernel in his upcoming build and if not what can we do to port this kernel along !? I thank both developers for their efforts.
I don't think it'll be possible as the OP doesn't have the phone.
 
  • Like
Reactions: sintoo

playfsx

Member
Feb 8, 2009
7
6
0
Great work planet9! I really appreciate the effort bringing new capabilities and freedom to this phone.
I was excited to flash a custom kernel for a while now! I wanted to use my phone as a usb keyboard with a very good reason in mind. All though it will be fun for pranks there is a far more useful application for it. Since we carry our phones everywhere with us make sense to store our passwords into them. Keepass does that in a secure, offline manner which i really like compare to online solutions. The problem arises when you have to type the password to the computer especially when the computer is not yours there is security implications transferring the password file to the non trusted environment. Luckily there is a module in keepass that can pretend to be usb keyboard and therefore type the password safely from the phone to the computer. The only thing it needs is a kernel with support for a keyboard mode. This repo: ( github.com/pelya/android-keyboard-gadget ) have some details how to apply the patch. I lack technical expertise to do it my self but you may able to give this wonderful functionality to all of us. What you think ?
 

planet9

Senior Member
Apr 24, 2017
114
500
0
Great work planet9! I really appreciate the effort bringing new capabilities and freedom to this phone.
I was excited to flash a custom kernel for a while now! I wanted to use my phone as a usb keyboard with a very good reason in mind. All though it will be fun for pranks there is a far more useful application for it. Since we carry our phones everywhere with us make sense to store our passwords into them. Keepass does that in a secure, offline manner which i really like compare to online solutions. The problem arises when you have to type the password to the computer especially when the computer is not yours there is security implications transferring the password file to the non trusted environment. Luckily there is a module in keepass that can pretend to be usb keyboard and therefore type the password safely from the phone to the computer. The only thing it needs is a kernel with support for a keyboard mode. This repo: ( github.com/pelya/android-keyboard-gadget ) have some details how to apply the patch. I lack technical expertise to do it my self but you may able to give this wonderful functionality to all of us. What you think ?
Thanks for pointing out this useful feature :good:
It'll be included in the next Advanced Kernel version, released as soon as the October security patch is merged into LOS 15.1.
Related commits:
https://github.com/Planet-X/android...mmit/779924ea7470a639b5f30d15bbff7cc127ef2058
https://github.com/Planet-X/android...mmit/d9ae5da0cb417cf674e03eb44c91299a169c1f0d
 

planet9

Senior Member
Apr 24, 2017
114
500
0
Advanced Kernel V1.1 is ready!

Changes:
  • Added USB keyboard support.
  • Added support for SMB2 and SMB3.
  • Updated kernel to Linux 3.18.123, CAF Tag LA.UM.6.6.r1-09900-89xx.0.
Just a heads-up for those who are already running a pie custom rom: You can download an Advanced Kernel pie preview build here: https://drive.google.com/drive/folders/1rjHQO_03OMp2wfmJc2tAasAmOO5hDJPq
It has all the features of V1.1 and should be quite stable. The official release will follow soon.
Happy testing!
 

SnoopyOne

Senior Member
Sep 17, 2015
127
65
0
Kaohsiung City
Changes:
  • Added USB keyboard support.
  • Added support for SMB2 and SMB3.
  • Updated kernel to Linux 3.18.123, CAF Tag LA.UM.6.6.r1-09900-89xx.0.
Just a heads-up for those who are already running a pie custom rom: You can download an Advanced Kernel pie preview build here: https://drive.google.com/drive/folders/1rjHQO_03OMp2wfmJc2tAasAmOO5hDJPq
It has all the features of V1.1 and should be quite stable. The official release will follow soon.
Happy testing!
It works fine for me!:) But I always have a question: Why I'm always experience stutter in games when I'm using your Adv. Kernel? Whatever Rom I use?
It's the only bug that I have experienced and It's annoying that I have to report to you.
When I came back to the stock kernel provided by the rom, it becomes normal without any issue.:rolleyes:
Anything I can help? Like logcat or something else?:highfive:
 

planet9

Senior Member
Apr 24, 2017
114
500
0
Advanced Kernel for Pie!

Advanced Kernel for Pie is finally here :laugh:
It should work with every Pie custom ROM that is currently available.

Changes:
  • Kernel source has been fully rebased for Pie.
  • New version labels: Releases for Pie ROMs start with a P followed by the release number.
  • Updated kernel to Linux 3.18.124, CAF Tag LA.UM.7.6.r1-03100-89xx.0.
 

planet9

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

Advanced Kernel P2 is up, now with an additional kernel module for rtl8812au/rtl8814au usb wifi adapters.
Check the third post (here) for more information on the module. A new version of it will be released with every new kernel version for pie.

The new AiO_hotplug can be used to statically set the number of cores the phone should use. It is not load-based, meaning it will not dynamically online/offline cores depending on the cpu load.

Changes:
  • New rtl88XXau kernel module for usb wifi adapters.
    Check the third post for more information: https://forum.xda-developers.com/showpost.php?p=75805767&postcount=3
  • Updated AnyKernel installation scripts.
  • Updated spectrum balanced profile to use elementalx with maple.
  • Added AiO_hotplug.
  • Updated kernel to Linux 3.18.127, CAF Tag LA.UM.7.6.r1-03600-89xx.0.
 

planet9

Senior Member
Apr 24, 2017
114
500
0
thank you very much that you make these kernels that then are useless if you do not make a kernel for kali nethunter
Nethunter, except for wifi frame injection, should work fine with this kernel. I haven't added the frame injection patch yet but it may be added in the future.
Keep in mind though that the built-in wifi adapter of the zenfone 3 doesn't support monitor mode and is in general not suited for nethunter.
If you own a wifi adapter with the rtl8812au or rtl8814au chipset you could use the new 88XXau kernel module for AK P2. I haven't tested it with nethunter though.