FORUMS

KERNEL ❯ PIXEL 3 XL ❯❯ Proton Kernel • v19 • September 8

452 posts
Thanks Meter: 1,011
 
Post Reply Email Thread
Announcement from kdrag0n: The final Proton Kernel v19 is available!
Proton Kernel • Pixel 3/XL
by kdrag0n

This kernel has been discontinued as I no longer own my Pixel 3 XL and have moved on. The original post has been retained below for transparency, but I would strongly recommend using another kernel.


I am not liable if your phone explodes, stops functioning, or turns into scrap metal. I have no obligation to publish 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 if they are useful, within reason. The kernel has been debloated to reduce size and improve performance.

Compatibility
Stock and custom Pie ROMs are supported. Both the Pixel 3 and Pixel 3 XL are supported in the same package. Wiping cache isn't necessary. Magisk is retained, so there is no need to reflash it afterwards. The kernel may be flashed from TWRP or your app of choice.

Android Q is NOT supported, nor will it ever be.

Features
Quote:

​ ​ ​ ​ • Latest upstream Linux 4.9.191
​ ​ ​ ​ • Latest Google August updates
​ ​ ​ ​ • Compiled with bare-metal GCC 9.1.0
​ ​ ​ ​ • Heavily tuned Spectrum and FKM performance profiles
​ ​ ​ ​ • Numerous configuration changes for performance, size, and battery
​ ​ ​ ​ • Heavily debloated for faster boot, enhanced security, and smaller download
​ ​ ​ ​ • Fast and versatile installer (modified version of @osm0sis' AnyKernel2)
​ ​ ​ ​ • Sound control (microphone and speakers only; @flar2)
​ ​ ​ ​ • Latest WireGuard VPN snapshot
​ ​ ​ ​ • KCAL advanced color control
​ ​ ​ ​ • A wide variety of battery and performance improvements from the Qualcomm, Pixel 3a, Snapdragon 855, and more kernels
​ ​ ​ ​ • CPU governors: performance, powersave, schedutil, userspace, ondemand, conservative
​ ​ ​ ​ • I/O schedulers: noop, deadline, cfq, anxiety, bfq
​ ​ ​ ​ • Various improvements from @Sultanxda, @arter97, @ab123321, @Freak07, etc
​ ​ ​ ​ • Vibration control (@flar2)
​ ​ ​ ​ • TCP congestion control algorithms: westwood, reno, bbr, bic, cdg, cubic, dctcp, highspeed, hybla, htcp, vegas, nv, veno, scalable, lp, yeah, illinois
​ ​ ​ ​ • Xbox and DualShock USB controller support
​ ​ ​ ​ • Simple LMK for improved memory management and reduced camera opening lag (@Sultanxda)
​ ​ ​ ​ • Assorted scheduler patches to improve battery and performance
​ ​ ​ ​ • Speculative page fault for faster app opening
​ ​ ​ ​ • Support for forcing fast charging (500 mA limit bumped to 900 mA for USB, 5V limit bumped to 9V for wireless)
​ ​ ​ ​ • Simple GPU Algorithm
​ ​ ​ ​ • AVB 2.0 and dm-verity fully disabled (allows custom boot animation on stock ROM)
​ ​ ​ ​ • Display tweaks
​ ​ ​ ​ • Speaker gain control and backlight dimmer
​ ​ ​ ​ • Efficient in-kernel CPU and memory boosting solution (modified version of @Sultanxda's work)
​ ​ ​ ​ • Improved overall performance and battery life compared to stock
​ ​ ​ ​ • Faster lock implementations backported from mainline
​ ​ ​ ​ • Lots of backports from the mainline kernel
​ ​ ​ ​ • Scheduler improvements and fixes from Qualcomm's Snapdragon 855 kernel
​ ​ ​ ​ • Support for common Realtek RTL815x USB Ethernet adapters
​ ​ ​ ​ • A few F2FS tweaks (namely Rapid GC) by @arter97
​ ​ ​ ​ • I/O prioritization by app groups (background, foreground, etc) when using CFQ (ported from Pixel 3a) for better UX during background app updates and other I/O-heavy scenarios
​ ​ ​ ​ • Countless other features and optimizations to enhance the overall experience

Think twice before enabling fast wireless charging because cheap chargers can cause your phone to heat up significantly more than usual, which damages the battery permanently. They may also cause temporary issues with your phone (such as ticking sounds) or irreversible damage to internal circuits. However, if used properly with a high-quality charger, there should not be any issues. Enable at your own risk. I am not responsible for any damage to you or your phone caused by this feature.

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.

Join the Telegram group for beta builds and support


Donate to support development

XDA:DevDB Information
Proton Kernel, Kernel for the Google Pixel 3 XL

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

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v19
Stable Release Date: 2019-09-08

Created 2018-11-19
Last Updated 2019-09-09
The Following 26 Users Say Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
19th November 2018, 05:47 AM |#2  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 1,011
 
Donate to Me
More
FAQ
Q: Is my phone not secure anymore? You said you disabled security features for performance.
A: Not really. Kernel features such as CFI, stack protector, etc protect against potential attacks in a way where if an attack is detected, the phone will forcibly reboot. It doesn't prevent the attack in the first place. This kernel simply disables such features because they have a performance impact. Preventative security features such as SELinux are not disabled, nor will they ever be.

Some speculative execution mitigations such as SSBD have also been disabled. That's because these have quite an impact on performance. How many times have you heard of L1TF, Spectre, Meltdown, or anything of the like exploited in the wild?

Q: Why GCC instead of Clang? Isn't Clang better? Google switched to it.
A: No. I benchmarked Clang 8 with LTO, Clang 8, and GCC 8. Here are the full results.

Q: Do I need to flash Magisk after the kernel?
A: No. The kernel will keep Magisk if it's already installed.

Q: My phone randomly rebooted or locked up. / Apps are crashing.
A: Describe your issue accurately with detail and provide logs. It's easy to do with apps like Syslog or MatLog. If it's an unexpected reboot, grab all the files from /sys/fs/pstore for the log. For reboots the current logs (dmesg, logcat, etc) are useless - I need the logs from the previous boot, which are in pstore.

Q: How do I see what version I'm running?
A: Settings → System → About → Android version → Kernel version
The Following 3 Users Say Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
19th November 2018, 06:18 AM |#3  
_LLJY's Avatar
Senior Member
Flag Singapore
Thanks Meter: 3,062
 
Donate to Me
More
Wonderful!
The Following User Says Thank You to _LLJY For This Useful Post: [ View ] Gift _LLJY Ad-Free
19th November 2018, 07:06 AM |#4  
Freak07's Avatar
Senior Member
Thanks Meter: 13,677
 
More
Welcome @kdrag0n let the fun begin!
The Following User Says Thank You to Freak07 For This Useful Post: [ View ] Gift Freak07 Ad-Free
19th November 2018, 04:43 PM |#5  
drdrewdown's Avatar
Senior Member
Flag Land of Oz
Thanks Meter: 1,094
 
More
Flashed using Exkm like I've done with all the other kernels. Lost Magisk FYI
19th November 2018, 06:31 PM |#6  
ridobe's Avatar
Senior Member
Flag Westfield, In.
Thanks Meter: 431
 
More
Quote:
Originally Posted by drdrewdown

Flashed using Exkm like I've done with all the other kernels. Lost Magisk FYI

Sup Drew.

Are you using the canary build? That one has been giving some of us fits. I just flash both then reboot.

Sent from my crosshatch using XDA Labs
19th November 2018, 08:05 PM |#7  
drdrewdown's Avatar
Senior Member
Flag Land of Oz
Thanks Meter: 1,094
 
More
Quote:
Originally Posted by ridobe

Sup Drew.

Are you using the canary build? That one has been giving some of us fits. I just flash both then reboot.

Sent from my crosshatch using XDA Labs

Nah just on Beta
19th November 2018, 11:36 PM |#8  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 1,011
 
Donate to Me
More
Quote:
Originally Posted by drdrewdown

Flashed using Exkm like I've done with all the other kernels. Lost Magisk FYI

Hmm, I'll look into that. Using 17.3 myself.
The Following User Says Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
19th November 2018, 11:38 PM |#9  
drdrewdown's Avatar
Senior Member
Flag Land of Oz
Thanks Meter: 1,094
 
More
Quote:
Originally Posted by kdrag0n

Hmm, I'll look into that. Using 17.3 myself.

Pretty sure it removed TWRP too, in case you run across something in testing
20th November 2018, 01:07 AM |#10  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 1,011
 
Donate to Me
More
Quote:
Originally Posted by drdrewdown

Pretty sure it removed TWRP too, in case you run across something in testing

Looks like it corrupts the ramdisk so TWRP and Magisk won't work. Flash the kernel in TWRP until this is fixed. Hopefully I'll have an update out in a few hours to fix flashing in EXKM/FKM/other apps.

To recover from your current situation:
• Fastboot TWRP
• Flash TWRP installer
• Flash Magisk
• Flash Proton Kernel

You do not need to reboot recovery after flashing TWRP.
The Following User Says Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
20th November 2018, 01:09 AM |#11  
drdrewdown's Avatar
Senior Member
Flag Land of Oz
Thanks Meter: 1,094
 
More
Quote:
Originally Posted by kdrag0n

Looks like it corrupts the ramdisk so TWRP and Magisk won't work. Flash the kernel in TWRP until this is fixed. Hopefully I'll have an update out in a few hours to fix flashing in EXKM/FKM/other apps.

To recover from your current situation:
• Fastboot TWRP
• Flash TWRP installer
• Flash Magisk
• Flash Proton Kernel

You do not need to reboot recovery after flashing TWRP.

Right on. Thanks for confirming
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes