KERNEL ❯ ZENFONE 6 ❯❯ Proton Kernel • v2.0 • October 1

Search This thread

kdrag0n

Senior Member
Feb 19, 2016
622
1,676
kdrag0n.dev
Proton Kernel • ZenFone 6
by kdrag0n

I am not liable if your phone explodes, stops functioning, or turns into scrap metal. I am not obligated to publish and update this kernel. However, if you provide an accurate description of your issue accompanied with logs, it is likely that I will at least look into your issue. By flashing this kernel, you acknowledge the potential risks it brings.

Introduction
Proton Kernel strives to provide the perfect balance of performance and battery life in order to create the best possible experience for your phone. Features are welcome within reason.

Compatibility & Installation
The stock Pie ROM as well as all custom ROMs (Pie and 10, including GSIs) are supported. Wiping cache is unnecessary. Magisk is retained, so there is no need to reflash it afterwards. The kernel may be flashed from TWRP or your app of choice.

Features
List on GitHub Gist

The 72 Hz refresh rate is optional and is not recommended if you are concerned about your display's longevity. Some units may also show artifacts on the higher refresh rate. Staying on 60 Hz is thus recommended, but if you are willing to take the risk, you can add "72hz" or "72fps" anywhere in the ZIP file name to activate 72 Hz. The flasher output will update accordingly to confirm the change. I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THE HIGHER REFRESH RATE. YOU HAVE BEEN WARNED.

Downloads
Downloads and changelogs can be found here on GitHub. The topmost release is the latest. Alternatively, you can simply download the latest version here.

Make sure you download the flashable package, NOT source code! Source code is for developers and cannot be flashed.

Thanks to:
  • Asus for sending me a device to work on
  • Packet for sponsoring with a build server
  • Sultan Alsawaf for his support and dedication
  • Everyone whose work I've used in this kernel

Join the Telegram group for pre-release builds and support
Donate to support development. You know you want to.

XDA:DevDB Information
Proton Kernel, Kernel for the ASUS ZenFone 6 (2019)

Contributors
kdrag0n
Source Code: https://github.com/kdrag0n/proton_zf6

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v2.0
Stable Release Date: 2019-10-01

Created 2019-09-03
Last Updated 2019-10-02
 

Avalon

Senior Member
Mar 10, 2015
373
68
Bit of a noob here when it comes to custom kernels. The risks you mentioned at the beginning of your post, what do they entail? I like to improve the performance of my phone, but for as long as I'm flashing custom ROMs I haven't touched the kernel at all. Unless the developer of said ROM recommends using a certain kernel and guides me through it.
 

kdrag0n

Senior Member
Feb 19, 2016
622
1,676
kdrag0n.dev
Bit of a noob here when it comes to custom kernels. The risks you mentioned at the beginning of your post, what do they entail? I like to improve the performance of my phone, but for as long as I'm flashing custom ROMs I haven't touched the kernel at all. Unless the developer of said ROM recommends using a certain kernel and guides me through it.

The typical risks: warranty void, possible bricks, etc. ROMs come with the same risks too. Realistically you should never encounter any issues that can't be easily fixed, the disclaimer is just there so people can't hold me liable if something happens to go very wrong.
 

Avalon

Senior Member
Mar 10, 2015
373
68
The typical risks: warranty void, possible bricks, etc. ROMs come with the same risks too. Realistically you should never encounter any issues that can't be easily fixed, the disclaimer is just there so people can't hold me liable if something happens to go very wrong.

I see, thank you for the explanation!
 

shadeMe

Senior Member
Feb 10, 2013
222
36
Thanks for developing for this phone! Are artifacts caused by the 75Hz refresh rate problematic in the long-term with respect to the display's durability/performance? Or are they just visual glitches that are benign?
 

kdrag0n

Senior Member
Feb 19, 2016
622
1,676
kdrag0n.dev
Thanks for developing for this phone! Are artifacts caused by the 75Hz refresh rate problematic in the long-term with respect to the display's durability/performance? Or are they just visual glitches that are benign?

There shouldn't be any long-term issues, but for the paranoid, there's always a 60 Hz option available if you don't want to take any risks whatsoever.
 

kdrag0n

Senior Member
Feb 19, 2016
622
1,676
kdrag0n.dev
Proton Kernel v1.1 has been released. Download

Changelog:
? ? ? ? • Added automatic boot-time display reset for 75 Hz (removes need to toggle it manually after boot)
? ? ? ? • Fixed installation when coming from other kernels
? ? ? ? • Re-enabled per-app CPU frequency time-in-state stats for more accurate battery stats
? ? ? ? • Enabled traditional CPU frequency usage stats (thanks to a CAF commit to make it work with fast frequency switching)
? ? ? ? • Re-calculated internal display interface timings for 75 Hz (should reduce artifacts on lower-quality units)

Donate to support development

Enjoy!
 
Last edited:
  • Like
Reactions: Oyeahoyeah800

kdrag0n

Senior Member
Feb 19, 2016
622
1,676
kdrag0n.dev
This is amazing! I'm curious, does the display panel only allow you to refresh it so far only to 75 Hz? Or could it be pushed more without negative side effects?
80 Hz causes significant visual glitches that render the device unusable. Values between 75 and 80 Hz aren't worth testing in my opinion since they're not standard refresh rates and won't bring any perceptible benefits.

I am getting an error when I attempt to flash the kernel, with error code 1. No clue what could be causing the problem
Same error here...
There was an issue with v1.0's flasher which caused this error to appear when coming from another kernel. It's fixed in v1.1.
 

Cranky2002

Member
Jun 14, 2019
10
2
Seems to be working nicely but I've noticed a slight detail of the kernel version missing in the settings and that the backlight always remains on extremely dimly after turning the smartphone off. You can notice it if you go into a pitch black room with the display off.
 
Last edited:

troy5890

Senior Member
Jun 14, 2014
1,572
541
ASUS ZenFone 6 (2019)
80 Hz causes significant visual glitches that render the device unusable. Values between 75 and 80 Hz aren't worth testing in my opinion since they're not standard refresh rates and won't bring any perceptible benefits.


Ah, so that's why 75 Hz is the sweet spot. Thanks for informing us on the matter, as this only makes me even more excited to purchase this device.
 
  • Like
Reactions: Oyeahoyeah800

Cranky2002

Member
Jun 14, 2019
10
2
Also found that the screen often lags and artifacts while on max brightness especially while watching back recorded videos on the phone. Running the latest lineage and this kernel.
 

kdrag0n

Senior Member
Feb 19, 2016
622
1,676
kdrag0n.dev
Can someone guide me how to install this kernal
Installation instructions and compatibility information are in the OP.

Seems to be working nicely but I've noticed a slight detail of the kernel version missing in the settings and that the backlight always remains on extremely dimly after turning the smartphone off. You can notice it if you go into a pitch black room with the display off.
Looks like these issues are specific to the stock ROM. I've just installed the stock ROM to test, so they should be fixed very soon in v1.2.

hows the Battery life affected?
Battery life is more or less identical to the stock kernel from my experience.

Also found that the screen often lags and artifacts while on max brightness especially while watching back recorded videos on the phone. Running the latest lineage and this kernel.
That means you need to use 60 Hz. The 60 Hz mode is currently broken, but v1.2 (coming very soon) will have it working.
 
  • Like
Reactions: Oyeahoyeah800

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Proton Kernel • ZenFone 6
    by kdrag0n

    I am not liable if your phone explodes, stops functioning, or turns into scrap metal. I am not obligated to publish and update this kernel. However, if you provide an accurate description of your issue accompanied with logs, it is likely that I will at least look into your issue. By flashing this kernel, you acknowledge the potential risks it brings.

    Introduction
    Proton Kernel strives to provide the perfect balance of performance and battery life in order to create the best possible experience for your phone. Features are welcome within reason.

    Compatibility & Installation
    The stock Pie ROM as well as all custom ROMs (Pie and 10, including GSIs) are supported. Wiping cache is unnecessary. Magisk is retained, so there is no need to reflash it afterwards. The kernel may be flashed from TWRP or your app of choice.

    Features
    List on GitHub Gist

    The 72 Hz refresh rate is optional and is not recommended if you are concerned about your display's longevity. Some units may also show artifacts on the higher refresh rate. Staying on 60 Hz is thus recommended, but if you are willing to take the risk, you can add "72hz" or "72fps" anywhere in the ZIP file name to activate 72 Hz. The flasher output will update accordingly to confirm the change. I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THE HIGHER REFRESH RATE. YOU HAVE BEEN WARNED.

    Downloads
    Downloads and changelogs can be found here on GitHub. The topmost release is the latest. Alternatively, you can simply download the latest version here.

    Make sure you download the flashable package, NOT source code! Source code is for developers and cannot be flashed.

    Thanks to:
    • Asus for sending me a device to work on
    • Packet for sponsoring with a build server
    • Sultan Alsawaf for his support and dedication
    • Everyone whose work I've used in this kernel

    Join the Telegram group for pre-release builds and support
    Donate to support development. You know you want to.

    XDA:DevDB Information
    Proton Kernel, Kernel for the ASUS ZenFone 6 (2019)

    Contributors
    kdrag0n
    Source Code: https://github.com/kdrag0n/proton_zf6

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: v2.0
    Stable Release Date: 2019-10-01

    Created 2019-09-03
    Last Updated 2019-10-02
    8
    Proton Kernel v2.0 has been released. Download

    Changelog:
    ? ? ? ? • Upstreamed to Linux 4.14.146
    ? ? ? ? • Added full support for Android 10 with APEX (excluding the stock beta)
    ? ? ? ? • Merged Qualcomm's Android 10 changes
    ? ? ? ? • Replaced 75 Hz display mode with 72 Hz for increased quality tolerance
    ? ? ? ? • Switched default display mode to 60 Hz (enable 72 Hz by adding "72hz" or "72fps" anywhere in the ZIP file name)
    ? ? ? ? • Fixed assistant key on custom ROMs
    ? ? ? ? • Fixed redundant F2FS extension list updates
    ? ? ? ? • Fixed reboots when enabling Twin Apps on the stock ROM
    ? ? ? ? • Imported Asus 16.1220.1909.193 changes
    ? ? ? ? • Reverted automotive and Snapdragon 675 changes (dirty and regresses in performance)
    ? ? ? ? • Added support for LineageOS' USB device lockdown setting in Trust
    ? ? ? ? • Upgraded toolchain to the latest upstream LLVM state as of September 15, 2019
    ? ? ? ? • Reduced CPU frequency stat accounting overhead
    ? ? ? ? • Backported faster queued spinlock implementation from mainline
    ? ? ? ? • Backported atomic operation, read-write semaphore, and mutex optimizations from mainline
    ? ? ? ? • Fixed off-by-one error in little CPU capacity
    ? ? ? ? • Switched to warm resets with a fix for the stock ROM (kernel logs are now preserved across reboots)
    ? ? ? ? • Discarded unnecessary Asus vibration changes
    ? ? ? ? • Fixed SchedTune boosting bug where foreground tasks would get stuck on the little cluster (@RenderBroken)
    ? ? ? ? • Increased GPU worker thread priority and added master dispatcher thread (@kerneltoast)
    ? ? ? ? • Improved Prime cluster utilization

    Thanks to Packet for sponsoring this project with a build server!

    For those who asked, I've uploaded extracted stock firmware images to my website for convenience: https://kdrag0n.dev/files/android/firmware/zenfone6/UL-ASUS_I01WD-ASUS-16.1220.1909.193-1.1.1-user/

    Donate to support development

    Enjoy!
    3
    Bit of a noob here when it comes to custom kernels. The risks you mentioned at the beginning of your post, what do they entail? I like to improve the performance of my phone, but for as long as I'm flashing custom ROMs I haven't touched the kernel at all. Unless the developer of said ROM recommends using a certain kernel and guides me through it.

    The typical risks: warranty void, possible bricks, etc. ROMs come with the same risks too. Realistically you should never encounter any issues that can't be easily fixed, the disclaimer is just there so people can't hold me liable if something happens to go very wrong.
    3
    This is amazing! I'm curious, does the display panel only allow you to refresh it so far only to 75 Hz? Or could it be pushed more without negative side effects?
    80 Hz causes significant visual glitches that render the device unusable. Values between 75 and 80 Hz aren't worth testing in my opinion since they're not standard refresh rates and won't bring any perceptible benefits.

    I am getting an error when I attempt to flash the kernel, with error code 1. No clue what could be causing the problem
    Same error here...
    There was an issue with v1.0's flasher which caused this error to appear when coming from another kernel. It's fixed in v1.1.
    3
    Proton Kernel v1.2 has been released. Download

    Changelog:
    ? ? ? ? • Fixed display sometimes not turning off, staying at a very low brightness, and inhibiting deep sleep
    ? ? ? ? • Fixed filename detection for 60 Hz mode

    Donate to support development

    Enjoy!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone