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

KERNEL ❯ PIXEL 5 ❯ Proton Kernel

Search This thread

jallenhayslett

Senior Member
Dec 23, 2012
492
110
@kdrag0n

Not looking for an ETA, but is it safe to assume since there haven't been any updates to your kernel since May that there haven't been any significant changes to the Android kernel and it is safe to be using a kernel 4 months out of date from the system?
 

dark2099

Senior Member
Aug 27, 2012
1,324
572
Chicago
@kdrag0n

Not looking for an ETA, but is it safe to assume since there haven't been any updates to your kernel since May that there haven't been any significant changes to the Android kernel and it is safe to be using a kernel 4 months out of date from the system?
Check the download link the first post, there have been a couple updates to the kernel, one within the last few weeks, he just doesn't always update the OP.
 

dark2099

Senior Member
Aug 27, 2012
1,324
572
Chicago
@kdrag0n Had a random reboot at work today, phone was attempting to connect to the free wifi (uses email to login) as it doesn't like the hidden SSID employee. Had just opened Facebook Messenger too. This happened after the phone had been sitting idle on my desk. Pixel 4a 5G, stock OS, only rooted and your kernel, no mods, latest August Security patch, logs attached.
 

Attachments

  • logs.zip
    219.1 KB · Views: 2

Pixel86

Member
Aug 6, 2021
6
0
I am still confused with regard to passing SafetyNet. If I unlock my bootloader, flash proton kernel (with the current stock Android 11 build), don't root, and relock my bootloader, will I pass SafetyNet?
 

dragynbane222

Senior Member
Jul 2, 2012
190
66
Google Pixel 4 XL
Google Pixel 5
I wonder if something changed since the OP made this.
Will need to wait for one of these fine Devs to help out further.

Thank you for coming back in and posting your results for the rest of us.
The likely culprit is the boot partition hash no longer matches what's in the hash map when that kernel is flashed, unlocked bootloaders allow for that, locked does not
 
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


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
Hello, I've never flashed a custom kernel before. I was wondering if it's possible to flash it without losing any data or performing a factory reset? Let me know!
 
Thanks for your reply. I ended up getting it all set up. I was already rooted.

One question; how noticeable are the improvements with just the Kernel?
I would say depends on your usages, in general, there are improvements, device feels much snappier, but battery-wise will become worse. I have tested for sometime before, then decided to go back protonaosp (without protonkernel)
 
Hi guys,
I'm currently experiencing an issue with the Proton ROM + Proton Kernel. I cannot access the files on my phone from a PC. I tried both on Ubuntu and Windows 10 on two different devices. On Windows, I can't see the device. On Ubuntu I can see the device but if I access it and open "Internal Storage" it appears to be empty. Drivers are up to date. I tried setting the use USB for setting to "File Transfer" in both places in Settings that I found it but no luck. Any ideas? Anyone else experienced this?
 
Last edited:

pablo103

Member
Aug 12, 2010
43
10
Hi guys,
I'm currently experiencing an issue with the Proton ROM + Proton Kernel. I cannot access the files on my phone from a PC. I tried both on Ubuntu and Windows 10 on two different devices. On Windows, I can't see the device. On Ubuntu I can see the device but if I access it and open "Internal Storage" it appears to be empty. Drivers are up to date. I tried setting the use USB for setting to "File Transfer" in both places in Settings that I found it but no luck. Any ideas? Anyone else experienced this?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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)
    1
    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)
    1
    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/
    1
    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
    1
    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
  • 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.