• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

KERNEL ❯ PIXEL 5 ❯ Proton Kernel

Search This thread
I'd wait on giving this a try for now. I'm rooted on a stock ROM and flashing this kernel sent my phone into a boot loop. A few users above me have experienced similar results.
I haven't had any problems with the Kernel and root. I did get a "Phone in starting" or whatever when you first turn it on with the Proton ROM that wouldn't go away. I went back to stock ROM with the Proton Kernel and haven't had any issues since rooting.
 
Could someone explain to me how to install this Kernel with Minimal ADB and Fastboot on windows?
This is all of the top of my head but it should work.

1. Download Kernel to your PC
2. Boot your phone into fastboot mode adb reboot bootloader
3. Flash the Kernel fastboot boot protonkernel.img
4. Reboot fastboot reboot
5. Verify everything is working by going to Settings > About Phone > Android Version > look for Build Number (I think)
 
  • Like
Reactions: blabla189
This is all of the top of my head but it should work.

1. Download Kernel to your PC
2. Boot your phone into fastboot mode adb reboot bootloader
3. Flash the Kernel fastboot boot protonkernel.img (use the name of the Kernel here, you can just drag it into your CMD window)
4. Reboot fastboot reboot
5. Verify everything worked by going to Settings > About Phone > Android Version > look for Build Number (I think)
 
  • Like
Reactions: blabla189

Knuxyl

Senior Member
May 20, 2009
218
86
Google Pixel 5
There are some serious issues with your kernel.
The auto brightness is way too reactive which causes the screen to constantly flicker
I noticed for the past hour there has been a constant flickering circle in the center of the status bar, I have no idea what it is.
I also did not notice any performance difference. The only benefit was the Wireguard implementation which worked perfect.

Because of these issues I went to flash the stock boot.img back to the phone and now the phone won't boot. I'm assuming your boot flasher is doing something that I wouldn't agree with due to the lack of an uninstaller and the refusal to boot after original boot is flashed. Even though this is open source I don't trust it. Digging through the entire kernel is not something I feel like doing.

I also do not see the flashers source code in the link you posted, only the kernel source code. This is not open source.
 
Last edited:

ViperPyro

Senior Member
Feb 9, 2010
215
73
The auto brightness is way too reactive which causes the screen to constantly flicker
I noticed for the past hour there has been a constant flickering circle in the center of the status bar, I have no idea what it is.
I have not had any screen brightness flickering in 6+ months of using this kernel.
The 'flickering circle' is the proximity sensor checking if something is close, should not be related to this kernel. You may have a setting on that enables this check more often (call speaker phone detection, Flip to Shhh, others).
reddit.com/r/the_pixel_5_and_the_mystery_of_the_flickering/
 
  • Like
Reactions: peneoark

Knuxyl

Senior Member
May 20, 2009
218
86
Google Pixel 5
I found out the dot was because of an app, I still dont know what it means. I have all that proximity stff turned off, but irrelevant.

The other issues could be cuz im on los, but still the lack of open source and inability to uninstall is a definite no go for me.
 

williejack619

Member
Feb 18, 2017
19
3
okay soooo can some one tell me how the hell yall install this kernel this kernel is outdated i try to install the latest one 2.0 and it didnt even boot up were is the latest link at
 
  • Like
Reactions: Pixel86

jallenhayslett

Senior Member
Dec 23, 2012
492
110
okay soooo can some one tell me how the hell yall install this kernel this kernel is outdated i try to install the latest one 2.0 and it didnt even boot up were is the latest link at
Check the GitHub page in the OP for the most recent kernel version. Boot the kernel image from the bootloader and it will install itself and reboot.

Code:
fastboot boot imagename.img
 
  • Like
Reactions: elong7681
Hey guys, this is probably a dumb question; but how do I restore the stock kernel on Pixel 5?

I tried downloading the firmware and extracting the boot.img file and then running fastboot boot boot.img but it didn't work. Am I missing something?
 

andybones

Forum Moderator
Staff member
May 18, 2010
14,724
14,995
Google Pixel 5
Hey guys, this is probably a dumb question; but how do I restore the stock kernel on Pixel 5?

I tried downloading the firmware and extracting the boot.img file and then running fastboot boot boot.img but it didn't work. Am I missing something?
Not a dumb question by any means.
The first time I wanted to roll back to stock, I was hit with a bootloop when I tried to fastboot flash the stock boot.img

So a "dirty flash" was required and got me up and going again.

What ROM are you on?
If stock run the factory image again removing the (-w)
If using a custom ROM, just re-flash it as you did before, but do not factory reset.

This should work, but ofc backup anything you need to just to always be sure. (y)
 
  • Like
Reactions: elong7681

jorgeccastro

Member
Mar 1, 2016
40
8
flashes as instructed but pixel 5 just boots to fastboot mode - and does nothing else - had to flash ROM as update to fix it.did I do something wrong?

PS. using Proton ROM
 
Last edited:
  • Like
Reactions: peneoark

messer0815

New member
Jun 21, 2013
4
0
Hi,
On my pixel 5 I have protonAOSP v11.6.0 and proton Kernel v1.4. deployed.

I can admit that it is faster than OEM. At least it feels like that: apps are loading/opening faster, internet browsing loads websides more smooth. All seems running few milliseconds with more "speed". From my point of few...

But what i wonder about:
I found found out, that with proton Kernel v1.4 the idle CPU clock speed is very high. Idle means, no actions on the phone are done, just have the homescreen open for example. Here is a screen with CPU-z app, no other apps are open in background. Idle cpu-speed is permanent on 1516 Mhz:
Screenshot_20211109-220841_Quickstep.jpg



Then i flashed back the oem-kernel to check what is the situation here.
In comparison, on same conditions, the stock-kernel has a permanent idle cpu-speed clock of 576 MHZ:
aa.jpg



So in my understanding, higher cpu-clock on idle means higher accu consumption on idle? On stock kernel i had accu cycles easily of more than 2 days, even with much using of the phone...

Why was the idle cpu-speed on proton Kernel pushed up so high? In idle the phone dont need such a hight cpu clock i guess.
Any explainations highly appreciated.
I realy love the speed, but i doubt a bit of the endurance of the loading/accu cycles.
Thx!!
 

Strika92

New member
Mar 26, 2018
3
0
Is it possible to disable charging? I dont wanna load the phone every time i plug in a cable like when i connect the Phone with the computer or when i connect to the car and use android auto. This would bei awesome to decide when the phone charge and when just be connected and do not charge.

I know there are some files under "/sys/class/power_supply/battery/". And tasker could handle that but i dont know how to set it up.
Anyonee know which one i have to change and how it works?
 
May 5, 2018
34
4
Should I flash kernel or magisk first?
1) Clean install A12 stock
2) Flash magisk
3) Flash Proton

or

1) Clean install A12 stock
2) Flash Proton
3) Flash magisk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    flashes as instructed but pixel 5 just boots to fastboot mode - and does nothing else - had to flash ROM as update to fix it.did I do something wrong?

    PS. using Proton ROM
  • 20
    Proton Kernel
    Performance-oriented kernel​

    Proton Kernel is a minimal kernel focused on improving overall UX with performance and battery tuning.

    Usage with my ProtonAOSP ROM is recommended to get the most out of your phone. The ROM does not include Proton Kernel, so you will need to flash it yourself. The kernel alone will work just as well on stock, but you will not get the benefits of the ROM. More tightly coupled features may be added in the future.

    Installation
    This kernel is provided as a bootable flasher image. It is not a boot image for flashing into the boot partition. Boot the image with "fastboot boot ProtonKernel-pixel5-VERSION.img" to flash it. The image is specially packed with a custom flasher that is fast and easy to use, so flashing it into the boot partition directly will not work.

    All versions of all ROMs are supported, as well as Magisk if you wish to use it. Magisk will be preserved after flashing if you already have it installed. If not, you can install Magisk by patching your boot image before flashing the kernel.

    DO NOT FLASH THE IMAGE DIRECTLY TO THE BOOT PARTITION! It will not work, no matter what you flash it with — fastboot, kernel managers, etc.

    Features
    • Advanced CPU tuning specifically for the Snapdragon 765G to improve performance and reduce jitter
    • Scheduler ramp/decay tuning for faster response to quick actions
    • Display power-saving tweaks (mostly Pixel 5 only)
    • Near-instant display wakeup (Pixel 5 only)
    • Reduced touch latency and motion jitter (at the cost of losing Deep Press)
    • ThinLTO optimizations for performance
    • TCP ECN, BBR congestion control, and fq_codel network scheduler for faster and more reliable networking
    • 80 MiB of extra RAM unlocked for apps to use
    • More linear and consistent battery percentage curve
    • Custom fast & easy kernel flasher with support for Magisk and all ROMs
    • Minimal debugging for better security, performance, and reduced size
    • Sultan's Simple Low Memory Killer to improve memory utilization
    • Tuning for F2FS garbage collection, low-level atomic operations, and more
    • System call filters compiled to machine code for 66% faster filtering
    • Reduced CPU usage when using cellular data (for testing with 5G mmWave networks)
    • Compiled with the latest Proton Clang 13 toolchain
    • zRAM disabled to reduce CPU waste
    • WireGuard VPN acceleration
    • Support for power user tasks: USB modem-like devices (e.g. RFID tools), custom virtual USB Ethernet networking, isolated Linux containers
    • SafetyNet basic attestation passing without Magisk

    Downloads
    Downloads and changelogs can be found on GitHub. The topmost release is the latest.

    Make sure you download a flasher image, not source code! Source code cannot be flashed.

    Join the Telegram group for support and extras

    Donate to support development: recurring donation to keep the project alive in the long term or buy me a coffee

    Source code
    7
    Proton Kernel 1.2 is now available with security updates, March feature drop compatibility, and many other improvements.

    This kernel was not updated in January or February because Google did not update the kernel. I didn't get a chance to work on the kernel in March, but it is now up-to-date for April.

    Usage with my ProtonAOSP ROM is recommended to get the most out of your phone. The ROM does not include Proton Kernel, so you will need to flash it yourself. The kernel alone will work just as well on stock, but you will not get the benefits of the ROM. More tightly coupled features may be added in the future.

    Changes:
    • March and April updates
    • Performance & battery improvements
    • Optimizations from Sultan
    • System call filters compiled to machine code for 66% faster filtering
    • Reduced CPU usage when using cellular data (for testing with 5G mmWave networks)
    • Fixed stuttering caused by scheduler task misplacement
    • Updated compiler to Clang 13

    This version is compatible with the March feature drop, so it will no longer falsely report that the battery is overheating.

    Download

    Donate to support development: recurring donation to keep the project alive in the long term or buy me a coffee
    7
    Proton Kernel 1.1 is now available with security updates, improved performance tuning, extra RAM, and more.

    This update is required for the kernel to work properly on December ROMs, including the new version of ProtonAOSP. It will not boot on older ROMs.

    Changelog:
    • Updated to stock December kernel base (will not boot on older ROMs)
    • Improved CPU frequency and energy model tuning for performance
    • Further reduced display power usage for both Pixel 5 and 4a 5G
    • Enabled TCP ECN for better handling of poor networks (similar to iOS 11+)
    • Unlocked 5 MiB of extra RAM for apps
    • Added support for full-blown isolated Linux containers
    • Added support for USB modem-like devices (e.g. RFID tools)
    • Reduced debugging overhead
    • Fixed fastbootd flashing

    Download

    Donate to support development: recurring donation to keep the project alive in the long term or buy me a coffee
    5
    Proton Kernel 1.4 has been released.

    Changes:
    • May security patch

    Download

    Donate to support development: recurring donation to keep the project alive in the long term or buy me a coffee
    4
    Thanks appreciate it, been a while since I am in the flashing game, your kernel is really good, I can tell by how it scroll in youtube. Anyway if you could look into swap space, and disable it, I know I done this in my Linux computer at work and I use to do it on android phones, not sure if they evolve into z-swap but that always give me an improve performance.
    Modern Android phones use zRAM for swap, which this kernel has disabled.