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

Development [KERNEL] [OOS] Omega Kernel OOS11 [September 18, 2021]

Search This thread

subson1k

Member
May 26, 2021
5
2
OnePlus 9 Pro
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.
So far so good, thanks for all the hard work on this! :)

Regarding the 10-20% speed increase, where are we likely to see the effects of this?

And just for anyone else reading: I use the V4A + Ainur Narsil + Audio Mod Magisk modules and can confirm that they're working fine with 0529.
 
  • Like
Reactions: kristofpetho

kristofpetho

Senior Member
May 27, 2009
5,189
9,998
Zoetermeer
So far so good, thanks for all the hard work on this! :)

Regarding the 10-20% speed increase, where are we likely to see the effects of this?

And just for anyone else reading: I use the V4A + Ainur Narsil + Audio Mod Magisk modules and can confirm that they're working fine with 0529.
It's core kernel efficiency. It executes commands and threads that much faster.
It translates to smoothness and snappiness.
 

GHOST1010

Senior Member
Apr 18, 2016
296
59
OnePlus 9 Pro
Sorry to say but OnePlus has just released 11.2.6.6 😂, waiting for source to get updated so you can build a new one, but I think the old one built on 11.2.5.5 shoud work fine. Currect me if I'm wrong.
 

GHOST1010

Senior Member
Apr 18, 2016
296
59
OnePlus 9 Pro
The screen getting slowly dimmer or brighter when turning on is nothing new, it happens on all OnePlus with Finger on display , there is nothing broken , or nothing to fix here. No point in spamming it here in this kernel thread.
Hope you understand.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I have had same issues recently. I dont think its kernel related but hw related. At first my suspect was my case but after removing it I noticed that power button it self is very sensitive, mushy and not clicky at all as it was when new. Vol buttons are still clicky as ever before. Support told me to visit service center AND didnt know if warranty covers it. And i am not too keen atm to drive 200km together just to find out
    I believe it is hardware related. I have watched the kernel log and it's recognising a single press as two. So while it's in all likelihood caused by hardware, it can be masked by software by just ignoring button events that are unreasonably close. :)
    2
    If someone has encountered a double-click problem, check if you have an enabled magic module called oneplus9poos. Disabling this module solved the problem.
    2
    Not true. I never uninstall magisk and I install OOS updates over omega kernel.
    Yes when updating using a FULL OTA. When was the last time a FULL OTA was on time and not a month or two late. You can not take an incremental update on Omega or any custom kernel. It will fail.
    2
    And after installing OOS 11.2.9.9 I have to first install Magisk into inactive slot, before rebooting the device, right?
    You can uninstall Magisk from the Magisk app, as Update needs stock kernel. Download 11.2.9.9 update from Oxygen Updater app and install from Settings/ update from local storage. Do not reboot, then Install Magisk to Inactive Slot. Now you can reboot. Then use kernel manager to flash Kernel.
    1
    I believe it is hardware related. I have watched the kernel log and it's recognising a single press as two. So while it's in all likelihood caused by hardware, it can be masked by software by just ignoring button events that are unreasonably close. :)
    Just wondering if new device as this is, starts already give hw issues something as simple as power button, how its gonna hold up in a long run? Not very happy about this at all!
  • 54
    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.
    • Westwood as the default congestion algorithm (BBR is also available)
    • 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
    28
    New kernel release!

    Changelog:
    - Pulled in patch from Google to make cpufreq stat collection less CPU-hungry (smoothness)
    - Pulled in 3 Clang/LLVM stability fixes from upstream Linux
    - Pulled in a patch for better power consumption when vibrations are enabled (from arter's source)

    While this kernel works on latest 11.2.9.9, please note that OnePlus hasn't released sources yet for 11.2.9.9.

    Enjoy!
    25
    New release!

    Changelog:
    - Build with Google's Clang 13.0.1, updated Binutils to 2.37
    - Pulled in 5 code fixes from CAF for display driver
    - Pulled in 2 logic fixes from CAF for display driver
    - Pulled in 3 various CAF stability fixes
    - Fixed a dmesg error message with a commit from upstream Linux
    - Removed all android_fs tracing from the ext4 and f2fs filesystem drivers
    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!
    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!