FORUMS
Remove All Ads from XDA

KERNEL ❯ PIXEL 3 ❯❯ Proton Kernel • v18 • May 13

438 posts
Thanks Meter: 948
 
Post Reply Email Thread
Announcement from kdrag0n: Proton Kernel v18 is available!
Proton Kernel • Pixel 3/XL
by kdrag0n

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.

Features
Quote:

​ ​ ​ ​ • Latest upstream Linux 4.9.175
​ ​ ​ ​ • Latest Google May updates
​ ​ ​ ​ • Compiled with AOSP Clang 9.0.2 with LTO for performance
​ ​ ​ ​ • 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

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

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: v18
Stable Release Date: 2019-05-13

Created 2018-11-24
Last Updated 2019-05-14
The Following 19 Users Say Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
 
 
24th November 2018, 05:27 AM |#2  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 948
 
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
26th November 2018, 05:39 AM |#3  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 948
 
Donate to Me
More
Proton Kernel v5 "The Cherry on Top" has been released to improve performance further. Get it here on GitHub.

Full changelog:
Quote:

​ ​ ​ ​ • Upstreamed to Linux 4.9.140
​ ​ ​ ​ • Switched to Simple LMK (@Sultanxda)
​ ​ ​ ​ • Micro-optimized memory routines
​ ​ ​ ​ • Tuned SLUB page order
​ ​ ​ ​ • Switched to z3fold allocator for zRAM to reduce stuttering and lag when loading old apps (@ab123321)
​ ​ ​ ​ • Miscellaneous zRAM optimizations
​ ​ ​ ​ • Reduced logging
​ ​ ​ ​ • Removed fsync control (nobody should use this)
​ ​ ​ ​ • Disabled some useless drivers
​ ​ ​ ​ • Tuned PowerHAL foreground app boost
​ ​ ​ ​ • Added some memory leak fixes from CAF (@Freak07)
​ ​ ​ ​ • Disabled auditing for better performance

Direct download link

Enjoy!
The Following 6 Users Say Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
29th November 2018, 11:33 PM |#4  
Member
Thanks Meter: 0
 
More
sorry

if I flash other kernel but I want try ur kernel now.

Can I direct flash your kernel?

or I have to flash original factory first?

and if I want back to Original factory kernel, just flash google os?
30th November 2018, 02:56 AM |#5  
frewys's Avatar
Senior Member
Flag Miami beach
Thanks Meter: 285
 
More
Quote:
Originally Posted by Edemilorhea

sorry

if I flash other kernel but I want try ur kernel now.

Can I direct flash your kernel?

or I have to flash original factory first?

and if I want back to Original factory kernel, just flash google os?

I usually have no problems going from kernel to kernel
But to be on the safe side it is reccomended to go to stock first
Use ex kernel manager as you can make a backup of the original one in it and restore in between
1st December 2018, 06:19 AM |#6  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 948
 
Donate to Me
More
Proton Kernel v6 has been released to fix bugs and add a few touches. Get it here on GitHub.

Full changelog:
Quote:

​ ​ ​ ​ • Upstreamed to Linux 4.9.141
​ ​ ​ ​ • Re-added fsync control (strongly recommended to keep enabled)
​ ​ ​ ​ • Fixed cellular data lockups
​ ​ ​ ​ • Removed Simple LMK (back to Android Kernel LMK)
​ ​ ​ ​ • Fixed performance regressions
​ ​ ​ ​ • Re-added blu_schedutil governor
​ ​ ​ ​ • Disabled VESA DSC 1.1 display compression for Pixel 3 XL (supposedly visually lossless, but it's still compression)
​ ​ ​ ​ • Disabled dm-verity and FEC

Direct download link

Please vote on the poll if you haven't already. It lets me know what people want the most for this kernel.
Enjoy!
The Following 4 Users Say Thank You to kdrag0n For This Useful Post: [ View ] Gift kdrag0n Ad-Free
1st December 2018, 12:34 PM |#7  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by kdrag0n

Proton Kernel v6 has been released to fix bugs and add a few touches. Get it here on GitHub.

Full changelog:
Direct download link

Please vote on the poll if you haven't already. It lets me know what people want the most for this kernel.
Enjoy!

Hi

I use ex kernel now, can I use ex kernel manager flash ur kernel now?

Or I flash stock boot.img first?
1st December 2018, 05:18 PM |#8  
kdrag0n's Avatar
OP Senior Member
Thanks Meter: 948
 
Donate to Me
More
Quote:
Originally Posted by Edemilorhea

Hi

I use ex kernel now, can I use ex kernel manager flash ur kernel now?

Or I flash stock boot.img first?

Simply flashing it is fine.
2nd December 2018, 04:28 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Works great on Pixel 3 with Magisk.
2nd December 2018, 07:54 PM |#10  
Raul Fresh's Avatar
Member
Flag Panama
Thanks Meter: 4
 
More
How about the battery life with this kernel ? is better than stock fabric kernel ??
3rd December 2018, 10:36 PM |#11  
Member
Thanks Meter: 21
 
More
What are the differences between schedutil and blu_schedutil?

Great kernel BTW!
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