Development [KERNEL] [OOS] Omega Kernel OOS11 [June 13, 2021]

Search This thread

Flasher8

Senior Member
Apr 24, 2011
1,189
174
I'm not sure why but this kernel solved charging rate during screen on / using device.

Stock kernel giving me 2k mA +-

Omega kernel giving me 6k mA +-

Thanks 👍
 

Attachments

  • Screenshot_20210509-181740.jpg
    Screenshot_20210509-181740.jpg
    597.7 KB · Views: 97
  • Screenshot_20210509-141034__01.jpg
    Screenshot_20210509-141034__01.jpg
    433.9 KB · Views: 97
  • Screenshot_20210509-181641.jpg
    Screenshot_20210509-181641.jpg
    535.6 KB · Views: 97

drmorrowa2

Member
Dec 8, 2020
22
4
I was using this kernel (May 5 update) briefly before updating to 11.2.5.5. Can the same kernel be flashed on the latest update? Or does it even matter which version of OOS I am on?
 

grinch247

Senior Member
Jun 5, 2010
658
160
This kernel is absolutely outstanding 💯
 

Attachments

  • Screenshot_20210510-235855.jpg
    Screenshot_20210510-235855.jpg
    220.9 KB · Views: 99
  • Screenshot_20210510-235914.jpg
    Screenshot_20210510-235914.jpg
    252.6 KB · Views: 101
  • Screenshot_20210510-235920.jpg
    Screenshot_20210510-235920.jpg
    236.7 KB · Views: 101
  • Like
Reactions: kristofpetho

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    New kernel release!

    The test team has been crazy busy, flashing sometimes 5 builds a day to pressure test, and come up with this new kernel.
    After tons of performance tests, we found that Clang (with the included optimizations) outperforms even the best GCC builds, so I'm now moving to using Clang by Google to compile the kernel.

    Changelog:
    - Fixed major network error where userspace was trying to modify network settings but the kernel wasn't allowing it (this issue is also present on stock kernel)
    - Pulled in a fix from CAF to improve/lower battery drain
    - Updated Wireguard module to latest version
    - Built using Google's latest Clang (12.0.6)
    - Enabled all Clang internal optimizations (reverted a crazy CAF patch disabling them), and fixed all subsequent code errors
    - Fixed an IRQ saving issue found via lockdep (upstream)

    Enjoy!
    19
    New kernel release!

    Changelog:
    - Built using Google's Clang
    - O3 optimization, ThinLTO, SCS, CFI all enabled (like stock)
    - Uses modules from userspace for maximum stability
    - Fixed thermal throttling issues
    - Fixed Warp Wireless charging issues

    Thanks to @Walhalla for helping to test Warp Wireless charging!

    Enjoy!
    17
    New kernel release!

    After extensive testing, the team has found that the GCC-compiled kernel performs much better across all benchmarks (between 10-20% better). So kernel will be compiled with GCC moving forward.
    Also, GCC + O3 produced faster binaries than GCC + LTO + O3, so I will also move forward with GCC + O3 (without LTO).

    The Warp Wireless charging and thermal throttling issue came from the fact that I built all kernel modules inline and was not relying on userspace to provide modules - this has now been fixed (thanks to @Walhalla for the testing!), so we can now enjoy the benefits of having all tweaks and optimizations of all the modules.
    With this kernel, during Warp Wired Charging and screen on, battery temp does not go above 37 C.

    Changelog:
    - Compiled again with GCC, without LTO
    - O3 optimization enabled for all warnings/errors fixed
    - Fixed charge throttling as well as thermal throttling during charging

    Enjoy!!!

    BTW I do believe everything is now 100% fully functional in the kernel, but if anyone experiences anything, please let me know!

    NOTE: If you use any weird Magisk Modules, you are on your own. Some of the modules really try to alter the way the system works and interferes with normal operations of the kernel and userspace.
    16
    For the first time with 1+ 9 pro, on 0529, I experienced overheating while charging by cable.

    View attachment 5326069
    Seriously. This is not aimed at you, but in general to people complaining of "overheating" and other weird errors.

    1. Please use common sense. The temp says 38.7 C. That it not overheating. Below 40 C while wired charging with 65W is completely normal. When your teamps go above 50 C, then complain.
    2. I just drove in the car with GPS on, high brightness, my phone is in a black Spigen case and it was in direct sunlight for 15 minutes. Absolutely no issue with overheating.
    3. The ONLY report I will accept that anyone's phone overheats is if I get a screenshot of the system dialog telling you your phone is overheating. Oneplus has a built-in mechanism to properly monitor battery and system temps. Rely on that, not some third party app which is most likely not even compatible with our phones.
    4. Most apps out there are not equipped for the dual battery setup of the 9 Pro. Stop using these. Or if you don't stop using these, at least don't say it's overheating when it is clearly not.
    5. I never have overheating issues. I only use Magisk, and Magisk Hide. I see a lot of people throw tons of modules on their phones. Especially that Oneplus Dialer + Messages module. That specific module creates tons of constant errors in logcat. There is only so much I can do with the kernel, people will need to start to actually think, and not complain...
    6. In fact I never have ANY issues with my 9 Pro. It's a great phone and clear step up from the 8 Pro. I just don't install crazy ass apps like most users do...

    End of rant. Apologies to all of you who are enjoying the kernel and not running into issues and using common sense.
    13
    New kernel released!

    Changelog:
    - Disable watermark boosting for significantly lower CPU usage during day-to-day use
    - Further tweaks to memory management
    - Removed USB webcam drivers
    - Updated with OOS 11.2.6.6 kernel sources
    - Fixed hardware detection algorhythm (kernel should now work on both the 9 and 9 Pro)

    IMPORTANT: Only flash this kernel if you are on 11.2.6.6, otherwise charging will be messed up. Oneplus updated the Warp chip firmware in this kernel which causes issues on 11.2.5.5.

    Enjoy!
  • 45
    Introduction

    Hello everyone, this is my personal kernel for the OnePlus 9 Pro.
    My philosophy on the kernel is pretty simple, intended to replace the stock kernel, but with a lot of under-the-hood tweaks.

    Hopefully you will all enjoy!

    Important thread information!

    I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
    Keep things civil, no flaming in the forums!

    Features

    • Up to date with OxygenOS 11 source
    • Compiled with Google's Clang toolchain for maximum stability, with all warnings and errors fixed
    • Compiled with Clang's cortex-a55 optimizations
    • Many tweaks under the hood for smoother UX, lower battery drain, etc.
    • BBR as the default congestion algorithm
    • Available to flash with AnyKernel3

    Latest kernel release on GitHub

    LINK

    Source

    Omega GitHub: https://github.com/kristofpetho/kernel_oneplus_sm8350
    Omega originally sourced from: OnePlusOSS

    Thanks where it's due

    @pyry666 for all his help getting me logs after logs after logs. Without him this wouldn't have been possible!
    @Burt Squirtz and @crashazz3 and @TheKnux for helping to test
    Kerneltoast for his extreme patience and guidance
    osm0sis (for AnyKernel3)
    @eng.stk for finding a way to have proper hardware detection working
    24
    New kernel release!

    The test team has been crazy busy, flashing sometimes 5 builds a day to pressure test, and come up with this new kernel.
    After tons of performance tests, we found that Clang (with the included optimizations) outperforms even the best GCC builds, so I'm now moving to using Clang by Google to compile the kernel.

    Changelog:
    - Fixed major network error where userspace was trying to modify network settings but the kernel wasn't allowing it (this issue is also present on stock kernel)
    - Pulled in a fix from CAF to improve/lower battery drain
    - Updated Wireguard module to latest version
    - Built using Google's latest Clang (12.0.6)
    - Enabled all Clang internal optimizations (reverted a crazy CAF patch disabling them), and fixed all subsequent code errors
    - Fixed an IRQ saving issue found via lockdep (upstream)

    Enjoy!
    24
    New kernel release!

    This is a huge one in terms of stability and smoothness.

    Changelog:
    - GCC LTO implemented
    - GCC O3 optimization (together with LTO results in significant improvement of hackbench scores)
    - Wireguard added
    - Anykernel 3 updated
    - Critical and stability fixes from CAF
    - More code fixes based on GCC's diagnostics
    - Significant improvement to ZRAM speed

    Enjoy!
    19
    New kernel release!

    Changelog:
    - Built using Google's Clang
    - O3 optimization, ThinLTO, SCS, CFI all enabled (like stock)
    - Uses modules from userspace for maximum stability
    - Fixed thermal throttling issues
    - Fixed Warp Wireless charging issues

    Thanks to @Walhalla for helping to test Warp Wireless charging!

    Enjoy!
    19
    New kernel release!

    Changelog:
    • Updated to latest OOS sources for 11.2.5.5
    • Updated GCC toolchain to 11.1.0, and fixes all new code warnings
    • Disabled some unnecessary tools in the kernel that are not needed for Android
    • Remove all debugging from the WLAN driver
    • Remove all debugging from the Camera driver
    • Pull in 2 scheduler fixes from CAF for load balancing
    • Disable hardware intergrity checking driver that polled the hardware every 5 seconds for errors
    This is a big one, enjoy!

    And happy birthday @avid_droid!