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

Search This thread

kristofpetho

Senior Member
May 27, 2009
5,152
9,767
Zoetermeer
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!
 

Attachments

  • Omega-11.0_0516.zip
    17.3 MB · Views: 217

PKkeys

Senior Member
  • Apr 19, 2021
    54
    7
    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!
    1st! :D
     

    PKkeys

    Senior Member
  • Apr 19, 2021
    54
    7
    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!
    Thanks a ton! :D
     

    PKkeys

    Senior Member
  • Apr 19, 2021
    54
    7
    Damn, Man! You sir a magician! It's not even touching 42 deg Celcius now on asphalt 9 gaming! Im not sure is it because of your kernel or something I'm doing right, lol!
     

    liver20

    Senior Member
    Dec 24, 2012
    2,107
    324
    30530
    OnePlus 7T
    OnePlus 8 Pro
    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!
    Thanks for your work.... Amazing kernel
     
    • Like
    Reactions: kristofpetho

    RumRunner19

    Member
    Mar 28, 2021
    7
    1
    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!
    Can I just flash this over the previous version with Franco Kernal Manager?
     

    dijia1124

    Senior Member
    May 12, 2017
    110
    31
    OnePlus 9 Pro
    Screenshot_20210517-020829.jpg
    Screenshot_20210517-020834.jpg

    Battery life with Omega 5.16 version
    Amazing!
     
    • Like
    Reactions: kristofpetho

    Top Liked Posts

    • 21
      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!
      2
      Is it recommended to re flash stock kernel before flashing new versions?
      I only flash back to stock when I have issues. None of us had issues with the latest. It's awesome
    • 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!
      21
      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.
    • 44
      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!

      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!
      21
      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!
      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!
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone