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

Search This thread

djsubterrain

Senior Member
  • Jan 4, 2012
    3,937
    3,673
    Livingston
    OnePlus 9 Pro
    I know it is not really kernel related, but since there is a lot of talk about this, has anyone been able to fix the notification problem with Gmail? I only receive emails when I manually refresh the app.

    Have you disabled battery optimisation for the app? Settings>Battery>Battery Optimisation then search on top right for GMail, mine works on "Intelligent Control" but try it on "Don't optimise"
     
    Last edited:

    djsubterrain

    Senior Member
  • Jan 4, 2012
    3,937
    3,673
    Livingston
    OnePlus 9 Pro
    @kristofpetho Looks like OnePlus updated the kernel source a few hours ago to sync with new release :

    Synchronize codes for OnePlus 9 Oxygen 11.2.5.5.LE25AA


    This update is a bit weird :


    - CONFIG_SLIMBUS_MSM_NGD=y
    + CONFIG_SLIMBUS_MSM_NGD=m

    Fat fingers?
     
    • Like
    Reactions: Flasher8

    kristofpetho

    Senior Member
    May 27, 2009
    5,159
    9,797
    Zoetermeer
    I bought the OP9 PRO for fastest performance but really irritated with overheating. Does this kernel reduce the performance of the device even by a bit to control overheating?
    Can anyone confirm the temperature range while video calling for 5 min?
    I am not touching performance with my kernel, just removing an insane amount of debugging as well as doing code fixes.
    I just did an hour of video calling through Teams and the phone is not even warm.
     

    Flasher8

    Senior Member
    Apr 24, 2011
    1,189
    174
    @kristofpetho Looks like OnePlus updated the kernel source a few hours ago to sync with new release :

    Synchronize codes for OnePlus 9 Oxygen 11.2.5.5.LE25AA


    This update is a bit weird :


    - CONFIG_SLIMBUS_MSM_NGD=y
    + CONFIG_SLIMBUS_MSM_NGD=m

    Fat fingers?
    Do you mind explain?
     

    sunny1689gupta

    Senior Member
    May 30, 2016
    89
    5
    31
    Google Pixel 2 XL
    OnePlus 9 Pro
    I am not touching performance with my kernel, just removing an insane amount of debugging as well as doing code fixes.
    I just did an hour of video calling through Teams and the phone is not even warm.


    So u mean to say, one plus just screwed the debuggin part which is causing so much overheat. Wow.
    Will be waiting for your new kernel version since I am on latest update
     

    Flasher8

    Senior Member
    Apr 24, 2011
    1,189
    174
    Explain what?

    That link is the github for OnePlus, that section is the kernel for the OnePlus 9 family with chipset SM8350, that's where OnePlus releases the public code for developers.

    It would be used to build custom kernels, recoveries and roms.

    Is that what you meant?
    Oh, I mean fat finger part. 😂😂😂
     

    kristofpetho

    Senior Member
    May 27, 2009
    5,159
    9,797
    Zoetermeer
    Ah right, it says "+ CONFIG_SLIMBUS_MSM_NGD=m", I was wondering if it should be "n" since it was "y" before, seems like a boolean value. (on or off)
    It's a tri-state setting.

    y = build it inside the kernel
    m = build it as a module (then it will be a separate file on the vendor partition)
    n = don't built it at all

    I actually have everything building inside the kernel, and even disabled module support, so I don't use anything from the vendor partition.
     

    Flasher8

    Senior Member
    Apr 24, 2011
    1,189
    174
    Explain what?

    That link is the github for OnePlus, that section is the kernel for the OnePlus 9 family with chipset SM8350, that's where OnePlus releases the public code for developers.

    It would be used to build custom kernels, recoveries and roms.

    Is that what you meant?
    Oh, I mean big finger part.
    It's a tri-state setting.

    y = build it inside the kernel
    m = build it as a module (then it will be a separate file on the vendor partition)
    n = don't built it at all

    I actually have everything building inside the kernel, and even disabled module support, so I don't use anything from the vendor partition.
    Is the latest source better than previous ? 😁😁😁
     

    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!