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

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

Search This thread
I had WiFi stuck off and camera shutdown a day or so ago on stock kernal and no root I was on q beta I flash-all.d without -w fixed my issue. Also had music crash issue with Pandora bluetoothing to radio would happen every time on Pie. Since taking the beta hasn't happened once.
 

kdrag0n

Senior Member
Feb 19, 2016
696
1,928
kdrag0n.dev
Just flashed it, thanks for the update! Camera seems to work fine.
Could you please also fix:

-NFC can't turn on
- Sound issue if music playback is interrupted (for example Spotify runs music, try sending a message to anyone in WhatsApp, that sending "pop" sound crashes music playback)
Thanks for reporting, I'll try to reproduce those issues.

I had WiFi stuck off and camera shutdown a day or so ago on stock kernal and no root I was on q beta I flash-all.d without -w fixed my issue. Also had music crash issue with Pandora bluetoothing to radio would happen every time on Pie. Since taking the beta hasn't happened once.
So these issues aren't specific to Proton Kernel?
 

kdrag0n

Senior Member
Feb 19, 2016
696
1,928
kdrag0n.dev
Just flashed it, thanks for the update! Camera seems to work fine.
Could you please also fix:

-NFC can't turn on
- Sound issue if music playback is interrupted (for example Spotify runs music, try sending a message to anyone in WhatsApp, that sending "pop" sound crashes music playback)

NFC works perfectly fine for me. Sending a message in Telegram doesn't affect Spotify playing in the background either, I can hear both the pop and the music. Are you sure these are kernel issues?
 

Dogan1995

Member
Jan 11, 2014
12
4
NFC works perfectly fine for me. Sending a message in Telegram doesn't affect Spotify playing in the background either, I can hear both the pop and the music. Are you sure these are kernel issues?

Thanks for testing, flashed stock boot again and still had the sound issue, so doesn't seem to be a kernel issue, will try to flash stock system and see.

NFC is tuning on normally with stock kernel and won't turn on with proton, so I am very sure this is caused by the kernel, but may be a bad combination of proton + magisk (modules).

Will do some more testing and write again
 
  • Like
Reactions: kdrag0n

kdrag0n

Senior Member
Feb 19, 2016
696
1,928
kdrag0n.dev
Thanks for testing, flashed stock boot again and still had the sound issue, so doesn't seem to be a kernel issue, will try to flash stock system and see.



NFC is tuning on normally with stock kernel and won't turn on with proton, so I am very sure this is caused by the kernel, but may be a bad combination of proton + magisk (modules).



Will do some more testing and write again
Is NFC just not working or not turning on altogether? If it doesn't work but turns on, which NFC-capable items are you trying to use? I just tested a Yubikey NEO several times while toggling NFC at various intervals and everything worked.
 

danw_oz

Senior Member
Jul 12, 2011
1,381
351
Brisbane
I'm having an issue with Mobile Data turning off randomly and have to reboot for it to enable. I can get some logcats for you guys. I'm on DU weekly.

I think that is a google issue, I have had this for a while on stock since the last three updates by google, although it hasn't happened on this one yet, but I have been running proton kernel since
 

kdrag0n

Senior Member
Feb 19, 2016
696
1,928
kdrag0n.dev
Here's a new test build. This fixes the bad battery life on test build 1475.

Changelog:
• Upstreamed to Linux 4.9.167
• Fixed unstable performance on high big cluster CPU frequencies (@kerneltoast)
• Revamped CPU Input Boost (@kerneltoast, me)
• Fixed schedutil using lower frequencies less often than usual
• Improved kernel flash speed (@arter97)
• Updated AnyKernel2 flasher base (@osm0sis)
• Improved Pixel 3 XL flickerfree integration (@DevriesL)
• Fixed GPU wakeup frequency being set to max
• Fixed frequent CMA allocation failures
• Backported procfs, memory management, readahead, and workqueue updates from mainline (@arter97)
• Improved F2FS rapid GC (@arter97)
• Fixed ION prefetch work blocking CPUs (CAF)
• Reduced Wi-Fi driver memory fragmentation (@arter97)
• Bumped dirty writeback interval to 30 seconds (@arter97)
• Backported numerous scheduler updates from the Snapdragon 855 kernel
• Added vibration and stability fixes from Android Q DP2 kernel
• Enabled cpuidle during suspend again (needs testing)
• Fixed scheduling delays in tight GPU idle loop (from SD 855)
• Improved effective memory utilization (Android Q DP1)
• Exposed raw battery level

Please do not hesistate to let me know of any issues that may arise. This will be released as v18 soon if no issues are reported. For example, is camera crashing fixed? Bluetooth audio? NFC?
 

Attachments

  • ProtonKernel-pixel3-test1519.zip
    13.3 MB · Views: 29

Paz9

Senior Member
Jan 3, 2011
2,520
656
Here's a new test build. This fixes the bad battery life on test build 1475.



Please do not hesistate to let me know of any issues that may arise. This will be released as v18 soon if no issues are reported. For example, is camera crashing fixed? Bluetooth audio? NFC?

camera, bluetooth and audio dont seem like kernel issues (unless im mistaken)

what caused the bad battery?
 

kdrag0n

Senior Member
Feb 19, 2016
696
1,928
kdrag0n.dev
camera, bluetooth and audio dont seem like kernel issues (unless im mistaken)



what caused the bad battery?
It's very much possible for a kernel to break camera, Bluetooth, audio, NFC, and everything. After all, it has the drivers for them.

Bad battery was caused by this set of scheduler changes consisting of some CAF commits as well as backports by ARM: https://github.com/kdrag0n/proton_bluecross/commit/67dc2e652ae873251037cf43bde376b99634976d
 

kdrag0n

Senior Member
Feb 19, 2016
696
1,928
kdrag0n.dev
Here's a new test build. This fixes the bad battery life on test build 1475.







Please do not hesistate to let me know of any issues that may arise. This will be released as v18 soon if no issues are reported. For example, is camera crashing fixed? Bluetooth audio? NFC?
Has anyone encountered any issues on this test build? This will be released as stable v18 in a day or two if there are no complaints.
 

ubergeek77

Senior Member
Oct 30, 2015
233
80
Has anyone encountered any issues on this test build? This will be released as stable v18 in a day or two if there are no complaints.
I'll flash it right now and let you know how it goes.

Edit: USB Type-C Earbuds are working on this build, where previously media wouldn't play when they were plugged in on v17. So far so good!
 
Last edited:
  • Like
Reactions: biggiesmalls657

Paz9

Senior Member
Jan 3, 2011
2,520
656
Here's a new test build. This fixes the bad battery life on test build 1475.



Please do not hesistate to let me know of any issues that may arise. This will be released as v18 soon if no issues are reported. For example, is camera crashing fixed? Bluetooth audio? NFC?

tested this for the entire day
seems better.
now that sultans kernel is gone, i may try this again and hope my netflix doesnt break this time around haha
 
  • Like
Reactions: kdrag0n

aureon

New member
Dec 1, 2011
4
0
Can I install nethunter over your kernel,it support rtl wifi USB cards
Thanks

---------- Post added at 11:18 AM ---------- Previous post was at 11:09 AM ----------

Can I install nethunter over your kernel,it support rtl wifi USB cards
Thanks
 

ubergeek77

Senior Member
Oct 30, 2015
233
80
Just to chime in on this build after having it installed overnight - the camera still works, whereas by now the camera would be crashing on load after the phone was powered on for this long on v17. I haven't had a chance to test Bluetooth or NFC yet, but those seem to be working for other people.

That other weird bug where Wi-Fi just stopped working randomly hasn't happened yet either, but I never found a way to reproduce it. It would just happen randomly. Hopefully that doesn't happen anymore either!
 

Lessaj

Senior Member
Oct 17, 2012
252
86
Has anyone encountered any issues on this test build? This will be released as stable v18 in a day or two if there are no complaints.

I've been running 1546 since posted and it's running well. 1519 had some stutters and pauses that 1546 seems to have resolved. Performance and battery both seem quite good, should be a great v18 candidate!
 

ubergeek77

Senior Member
Oct 30, 2015
233
80
Ok, update on the new build: I went to take a picture today and the camera force closed, I couldn't take the picture :(

This is the same problem I was having with the first v17 build that made me downgrade to v16.

Battery life seems largely improved though, so there's that.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    KERNEL ❯ PIXEL 3 XL ❯❯ Proton Kernel • v19 • September 8

    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
    ​ ​ ​ ​ • 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
    21
    Anyone tried kirisakura? Compared to proton
    Can't tell the difference if someone can explain different commits

    It's not polite to talk about another kernel in another Dev's thread.

    Do your research on it and decide for yourself

    I have tried both and have benchmarks if anyone is interested.

    as @c_86 already said it´s not polite to do what happened here. It happened in my thread too, so now I have to say something about it.

    Between any of us developers here there is no competition. If anyone runs into issues we help each other! Everyone can see what the other is doing, because it´s open source. For a release there are no secrets really.
    By repeatedly bringing up this comparison topic, you effectively discourage us from spending time on our hobby, which is developing.
    Developing takes time and a lot of testing! It also takes time to research about different improvements that we try to implement! We do this for free in our free time. We upload our work for free so everybody can use it. Be it our source code or the kernel you flash!

    It´s rude to just go into the threads and ask for comparisons, which is better, which is faster, which is better on battery etc. In my opinion it´s also far from polite to provide benchmarks via PM, to "hide" them away. I hope @24HourClock benchmarked every kernel with more than three benchmarks, in exactly the same environment, exactly on the same conditions and averaged the results from 10 results of each benchmark at least. I have no problems talking about why one kernel benchmarks lower than the other if it adds to a constructive discussion.
    Every developer focuses on different goals and that manifests in the kernel. That is part of the beauty here! Be glad you have all these choices on this forum.

    Why not spend your time just researching what the differences are? I linked a lot of information in every of my release posts! It´s easily accessible and relatively simply to understand.
    XDA is not a place to make your phone more cool, more sophisticated or just to show off. XDA is a place for development, for growing together by working together! In the end it´s a place to learn. A few years ago I didn´t know how to compile a kernel! I learned, learned, failed, and try to learn again!

    Just try all the brilliant kernels and choices you have here! Judge for yourself which one works best for you! Nobody else mirrors the exact same usage you have! Report back how the kernel works for you. Try to be as precise as possible what works or doesn´t. Try to contribute a part to make the kernel even better. Take part in discussion. Do not post this has better battery life than xyz. This has better performance than xyz. Try to have a constructive attitude in your posts! Explain why you want something. Do research about it. It´s not that hard to start somewhere!
    10
    Proton Kernel v10 has been released. Get it here on GitHub.

    Changelog:
    ​ ​ ​ ​ • Re-enabled Wi-Fi TSO to fully leverage download speeds over 100 mbit
    ​ ​ ​ ​ • Added support for dm-verity (fixes bootloop without Magisk)
    ​ ​ ​ ​ • Fixed several memory leaks (CAF, @Freak07)
    ​ ​ ​ ​ • Reduced I/O latency on non-important block devices

    Direct download link

    Enjoy!
    10
    Proton Kernel v9 has been released. Get it here on GitHub.

    Full changelog:
    ​ ​ ​ ​ • Upstreamed to Linux 4.9.147
    ​ ​ ​ ​ • Fixed bad idle battery drain
    ​ ​ ​ ​ • Miscellaneous changes from latest CAF
    ​ ​ ​ ​ • Queued read-write lock implementation
    ​ ​ ​ ​ • Removed dm-verity completely
    ​ ​ ​ ​ • Disabled support for obscure USB input devices
    ​ ​ ​ ​ • Miscellaneous memory management patches from CAF
    ​ ​ ​ ​ • Reverted hacky network patches from LEDE
    ​ ​ ​ ​ • Reverted custom Westwood+ default tunables
    ​ ​ ​ ​ • Fixed wake gestures resolution for blueline
    ​ ​ ​ ​ • Removed broken and impractical TCP congestion control algorithms
    ​ ​ ​ ​ • Added support for common Realtek RTL815x USB Ethernet adapters
    ​ ​ ​ ​ • Reduced initial random blocking by trusting hardware RNG
    ​ ​ ​ ​ • Enabled protected FIFOs and regular files
    ​ ​ ​ ​ • Disabled force fast charge by default (causes USB issues)
    ​ ​ ​ ​ • Disabled hardened usercopy (up to 8% performance hit in intensive networking scenarios) and string fortification (back to 100% performance + battery focused kernel)
    ​ ​ ​ ​ • Reduced unnecessary boosting on big cluster
    ​ ​ ​ ​ • Fixed some memory leaks
    ​ ​ ​ ​ • Enabled CAKE TCP ACK filter
    ​ ​ ​ ​ • Replaced ticket spinlocks with queued spinlocks (1-2% faster locks, up to 116% faster in contended I/O cases)
    ​ ​ ​ ​ • Backported an extra trigger for compaction from mainline 4.10
    ​ ​ ​ ​ • Removed devfreq boost trigger on frame commit
    ​ ​ ​ ​ • Backported queued spinlock and atomic operation updates from mainline
    ​ ​ ​ ​ • Backported hardware accelerated SHA256, SHA512, and other cryptography updates from mainline 4.10
    ​ ​ ​ ​ • Backported miscellaneous updates from mainline 4.10 (block direct I/O, etc)
    ​ ​ ​ ​ • RCU, locking (mutex, etc), IRQ affinity handling, scheduler, CPU idling, ARM64 architecture support, internal cleanups, and more backports from upstream mainline 4.10
    ​ ​ ​ ​ • Increased TCP Small Queue (TCP packet queue chunking) size for cellular data
    ​ ​ ​ ​ • Disabled Wi-Fi TCP Segmentation Offload (TSO)
    ​ ​ ​ ​ • Disabled Wi-Fi debugging (@celtare21)
    ​ ​ ​ ​ • Reduced input boost duration to 80 ms
    ​ ​ ​ ​ • Reverted to LZ4 as default zRAM compressor
    ​ ​ ​ ​ • Tuned memory allocation batch size
    ​ ​ ​ ​ • Removed rotational flag on loopback devices
    ​ ​ ​ ​ • Tuned dirty ratios for less memory usage
    ​ ​ ​ ​ • Disabled CPU debugging

    Direct download link

    Enjoy!
    10
    Proton Kernel v14 has been released. Download

    Changelog:
    ​ ​ ​ ​ • Upstreamed to Linux 4.9.154
    ​ ​ ​ ​ • Removed Adreno Idler
    ​ ​ ​ ​ • Tuned display properties
    ​ ​ ​ ​ • Updated display driver
    ​ ​ ​ ​ • Fixed screen not turning off in TWRP (slower to turn on now)
    ​ ​ ​ ​ • Fixed occasional recents stuttering
    ​ ​ ​ ​ • Fixed stuttering while flinging and video is playing
    ​ ​ ​ ​ • Fixed rare fling stuttering
    ​ ​ ​ ​ • Enabled System V IPC, POSIX message queues, and namespaces for advanced users (low overhead)
    ​ ​ ​ ​ • Reverted dirty security patches
    ​ ​ ​ ​ • Reverted useless touchscreen changes for XL
    ​ ​ ​ ​ • Reduced wakeup latency
    ​ ​ ​ ​ • Switched to BPF JIT instead of interpreter
    ​ ​ ​ ​ • Fixed broken touch after switching to another kernel
    ​ ​ ​ ​ • Fixed potentially low entropy in random pool
    ​ ​ ​ ​ • Reduced SchedTune general boost level
    ​ ​ ​ ​ • Reverted old patch causing memory fragmentation

    Donate to support development
    Download

    Enjoy!