yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] marko94:
This kernel is a beast. Comparing with stock one, no heats , no lags, no keyboard lags, no issues. Finally I have a feel like I have 1000 eur phone in my hand

Thank you @kristofpetho
[OnePlus 9 Pro] Burt Squirtz:
Before posting any issues with a new build of a kernel, might be a good idea to dirty flash oxygen OS twice. (Flash reboot, flash reboot).

Should always do this when upgrading to a new kernel build, in my humble opinion.

After that, flash the latest GCC kernel. I'm willing to bet you won't have camera issues anymore.
[OnePlus 9 Pro] Ben19799:
Usually I don't post my issues and rather try to solve them my self.

I posted the issue this time upon request from the developer to do so.

Quote;

To further get to bottom of the issues:

To anybody who had the camera issues: can you please list here ALL of the Magisk modules you are using?

Thank you

Unquote;

Anyway thanks for the tip.
[OnePlus 9 Pro] sunxutian:
not sure if it is just me, I noticed battery charging (wireless wrap 50w) behaves a bit weird after flashing this kernel, from 0% to 80% I got ~1400mA (compare to stock ~2500mA), from 80% to 90% with kernel it drops under 1000mA and beyond 90% it's constantly shows me 50mA while stock always gives me around 2000mA, haven't test with wire charger yet but this weird charging behavior is a deal breaker for me, Thanks for the development as always, everything else looks excellent,
[OnePlus 9 Pro] kristofpetho:
Please provide logs, otherwise I can't do anything. I don't have a Wireless Warp charger to test with.
[OnePlus 9 Pro] hallo dare:
I had the same issue, but the latest release seems to have fixed it
[OnePlus 9 Pro] sunxutian:
I am on latest still see the issue
[OnePlus 9 Pro] WatskeBart:
I had this as well (camera app black screen, which was gone after a reboot btw).

Running 11.2.5.5.LE15BA with Omega-11.0_0516 and the following Magisk (v23) modules:

Systemless Hosts

ADB & Fastboot for Android NDK

Busybox for Android NDK
[OnePlus 9 Pro] sunxutian:
Okay I managed to get the kernel log, not sure if it is useful but please take a look.

For some reason cannot attach file, please check this gist https://gist.github.com/sunxutian/1e8ddb600194b3b30d23cff81771ed89
[OnePlus 9 Pro] kristofpetho:
I don't know what to say. Some days I'm flashing 4-5 kernels and never run into issues.

All I have is Magisk and Magisk Hide. Nothing else.

I highly suspect that this camera server issue stems from a misbehaving module, and it manifests randomly.
[OnePlus 9 Pro] Smedslund:
Sorry mr wise guy. I will not comment on anything again.
[OnePlus 9 Pro] toolhas4degrees:
I've never had any cam issues on any of your releases. I've been on all but you last test kernel.
[OnePlus 9 Pro] toolhas4degrees:
This depends on what the kernel installer alters if it alters anything besides ramdisk and kernel you will need to restore what it alters(aka your method is right here) if it only alters ramdisk and kernel all you need to do is restore your stick rooted kernel backup from exkm or fkm then reboot then flash the new kernel.
[OnePlus 9 Pro] dijia1124:
Cam issues didn't happen anymore since flashing this test build. Seems the problem has been solved.

For magisk modules, here is what I'm always using (the last one is a Chinese font module)
[OnePlus 9 Pro] djsubterrain:
Maybe check battery settings to see if any apps/services showed a high usage?
[OnePlus 9 Pro] GHOST1010:
Could you add support for battery idle mode?
[OnePlus 9 Pro] Skinzaholic:
On newest release, double tap to wake is a 50/50 chance of working. Everything else that I've seen is great ! Can't thank you enough for your work !
[OnePlus 9 Pro] kristofpetho:
It will. :)

Enabled some additional diagnostics in GCC so fixing code errors it found.
[OnePlus 9 Pro] Walhalla:
which logs do you need? I have the same problem with the latest version of the kernel. I also flashed back to the stock kernel and verified that it charges faster.

The first screenshot is with the omega kernel and the second with the stock kernel. Both with screen off while charging.
[OnePlus 9 Pro] kristofpetho:
Thanks. I'll need both dmesg as well as logcat, with one from stock and one from Omega. And please indicate the timestamp that you started charging.
[OnePlus 9 Pro] djsubterrain:
Could use the log capture I coded, made it a few years ago, just updated it with the latest ADB Tools, it'll dump out DMesg, KMesg, Logcat and Radio Log, then it zips them all up with a label showing the date captured ::

Get_Logs_Script_2021.zip | by djsubterrain for Utilities

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

MD5 : 0043ece20a3289d60d2223a8770e0ea9

Just need to download, unzip it to a folder and run getlogs.bat
[OnePlus 9 Pro] r4p70r:
Work's

No camera crash
[OnePlus 9 Pro] Walhalla:
I sent you the logs via PM. I hope it helps. Have a nice day.
[OnePlus 9 Pro] QanTnkz:
Is there a way to max out the refresh rate at 90hz? Wanna strike a balance between smoothness and SOT.
[OnePlus 9 Pro] luckylui:
AutoHz - Apps on Google Play

Gain back control of your screen!

play.google.com
[OnePlus 9 Pro] GHOST1010:
Did you change anything related to charging ? Phone gets more hot compared to stock , and also the current doesn't drop when screen is on and gets hot when using it vs. stock kernels drops the current when screen is on, so phone dozen get hot when using it.
[OnePlus 9 Pro] kristofpetho:
Which version of the kernel are you running? And was it ever ok on any Omega build?

Everyone: I appreciate all the feedback, but when you see any bugs or issues, please be a bit more verbose about the description.

At the minimum: which Omega version are you currently running? Have you had the issue before? If not, which was the last Omega version that was working? And please, include logs...
[OnePlus 9 Pro] PKkeys:
The last test build is amazing, waiting for the official one.

Issues

1. I do find brightness issues at times (during unlock, and during youtube/Netflix videos)
[OnePlus 9 Pro] GHOST1010:
I've used only the 0517and 0519test , both behave the same way in this regard , I use an app that logs the current and temp graphs , and comparing it, stock one the current drops whe phone is being used hence feels cooler to hold , and I think omega has not such bias , also saw some people says that omega charges faster in some TG groups, maybe this could be the reason.

Would like others to check this out and see if it's the same for them.
[OnePlus 9 Pro] Atul Menon:
I have a big problem, i have no idea if i am facing it coz of kernel or root. After rooting with patched boot.img and installing omega . Im getting system ui freezes, with camera app crashing resulting in black screen. I have to reboot each time inorder to fix the issue. I tried removing root and locking bootloader issue is not there in stock kernel and without root. Tested it for two days and these issue dint occur. So idk what went wrong. I tried twice same, rooting and after installing omega. No modules or subs. This issue is there, strange issue .
[OnePlus 9 Pro] stazz83:
Never quote the whole OP 🤦🏻‍♂️

As for the question, are you sure you used the right patched boot image, one that corresponds to your region?
[OnePlus 9 Pro] Shooter7889:
For me when I first root I download EU version zip and flash it two times(to both sides of phone). Then I install kernal and whatever modules. Not sure if flashing rom to both slots would prevent or not..?..
[OnePlus 9 Pro] pyry666:
Just BOOT pached.img dont flash it. Then in Magisk direct install and reboot..

Edit: So your issues arent caused by Omega!
[OnePlus 9 Pro] Shooter7889:
Yes for initial root.
[OnePlus 9 Pro] Shooter7889:
I have had no issues with Omega.. I was telling the person who said they were that after rooting but b4 flashing any kernal or magisk module I personally always flash my OS to both slots. Whether it helps I'm not positive. But I have no issues with custom kernal or anything
[OnePlus 9 Pro] pyry666:
Sorry, quoted wrong person but my advice is solid for those who need it.
[OnePlus 9 Pro] Shooter7889:
For sure. Always best to boot the patched_boot.img first in case any problems.
[OnePlus 9 Pro] kristofpetho:
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!
[OnePlus 9 Pro] tech_head:
Hi,

I read through the whole thread but forgive me if I missed this question.

Does this kennel modify the "verified boot" flag? I was using ElementalX on my previous phones and having that flag cleared makes passing SafetyNet easier for GPay.

Thanks
[OnePlus 9 Pro] kristofpetho:
No, patching that flag on this phone breaks the fingerprint reader.
[OnePlus 9 Pro] tech_head:
Well, that sucks!!
[OnePlus 9 Pro] zoman7663:
Awesome work, wireless charger verified working as it should! Thanks!
[OnePlus 9 Pro] djsubterrain:
Mine had only been charging up to 95%, I had thought it was by design to prevent battery damage but you're right, it's going up to 100% now
[OnePlus 9 Pro] kristofpetho:
Glad it's working fine now. Thanks for testing.
[OnePlus 9 Pro] l_mike:
Can confirm that wireless warp charging works very well now.

Beautiful job here.
[OnePlus 9 Pro] Atul Menon:
Oh srry about that, yes i used the correct boot.img that corresponds to my region
[OnePlus 9 Pro] djsubterrain:
Battery efficiency back to amazing again, charged it earlier and left it sitting, lost 2%
[OnePlus 9 Pro] djsubterrain:
@kristofpetho Could you have a look at the attached logs?

I'm having a problem pairing my PC bluetooth with my phone and I'm sure it worked before.

Trying to get "Your Phone" in Windows set up. I have bluetooth on my PC and it's shown the dial pad before but refuses to pair now even though the app itself is set up.

I tried pairing and then captured the logs. Tried it a couple of times.
[OnePlus 9 Pro] phr0zen:
Which battery/energy ring app you using? Also, do you notice any difference in battery when using it?
[OnePlus 9 Pro] thirtythr33:
noticed on the latest kernel the overheat error on the battery is back, but was not present in previous build, anyone else having the issue?
[OnePlus 9 Pro] djsubterrain:
Energy Ring: Universal Edition - Apps on Google Play

Battery, Cam/Mic/GPS Access indicator around your punch-hole camera lens!

play.google.com

None at all
[OnePlus 9 Pro] fromiOS2Android:
I have never got it before but got it yesterday with the Latest build🙃
[OnePlus 9 Pro] GHOST1010:
This is an issue with OnePlus itself, just cycle reverse wireless charge on and off, and it will go. AFAIK it's just a bug in reporting overheat and dose not effect charging performance.
[OnePlus 9 Pro] kristofpetho:
Guys, we can't have everything...

We can either have a faulty thermal throttling mechanism which was in prior builds - no overheat warning, faster charging when screen on, but also slower Warp Wireless charging

OR

Working thermal throttling like on stock like in the latest build - potential overheat warnings, slower charging with screen on, but fully working Warp Wireless charging.
[OnePlus 9 Pro] Flasher8:
Not everyone have wireless charger 😆... 2 build definitely very hassle for you as well. Sad but true we can't have perfect 1. 😔...
[OnePlus 9 Pro] GHOST1010:
There are no over heating issues, it's just people getting paranoid and checking in cpuz, just toddling reverse charge removes the error if they want. The latest release is how it should be.

Once again amazing work from you. 👍
[OnePlus 9 Pro] djsubterrain:
Can someone else test out bluetooth and post any issues here, see my earlier post.
[OnePlus 9 Pro] kristofpetho:
Bluetooth works perfectly on my end, with multiple devices tested.
[OnePlus 9 Pro] zoman7663:
No issues here, watches and buds working well.
[OnePlus 9 Pro] kristofpetho:
Hey, there is nothing in dmesg that would indicate a kernel issue. Your userspace logcat though shows issues with opphone - did you install Oneplus Phone? If yes, then that might be the cause.
[OnePlus 9 Pro] luckylui:
No issues with Bluetooth either.. it's paired with my OnePlus watch.
[OnePlus 9 Pro] hibert:
can the kernel be used on the op9? (non pro). both have the same SoC. could also offer me as a tester. If the question has already been answered, sry for the spam.
[OnePlus 9 Pro] hallo dare:
Post in thread '[KERNEL] [OOS] Omega Kernel OOS11 [May 25, 2021]' https://xdaforums.com/t/kernel-oos-omega-kernel-oos11-may-25-2021.4271027/post-84941459
[OnePlus 9 Pro] kristofpetho:
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.
[OnePlus 9 Pro] liver20:
Some times in 25th build double tap to wake up not works
[OnePlus 9 Pro] kristofpetho:
Thanks. I'll look into it, but I have it on stock kernel as well, same thing on the 8 pro...
[OnePlus 9 Pro] subson1k:
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.
[OnePlus 9 Pro] kristofpetho:
It's core kernel efficiency. It executes commands and threads that much faster.

It translates to smoothness and snappiness.
[OnePlus 9 Pro] GreekPilot:
I confirm that sometimes phone does not wake up, either double tap, nor single tap, not even pressing power button, but i don't believe it is kernel's fault...
[OnePlus 9 Pro] GreekPilot:
And yes, with the last kernel, phone runs smoothlier...
[OnePlus 9 Pro] GHOST1010:
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.
[OnePlus 9 Pro] kristofpetho:
We'll have to see if it works
[OnePlus 9 Pro] kristofpetho:
If you can get me logs I can take a look at where the problem is
[OnePlus 9 Pro] GreekPilot:
Unfortunately (thanks God) it happens once every 3 days.... Difficult to get logs....
[OnePlus 9 Pro] djsubterrain:
Has anyone noticed a behaviour where, when you wake up the phone the screen will be dark and gradually get brighter, even if you have auto-brightness off?
[OnePlus 9 Pro] netgar:
Can I install using 11.2.4.4?
[OnePlus 9 Pro] Flasher8:
Yes bro, I'm facing this big since last few updates. No fix until now from OnePlus. Literally I'm complaining and no ppl cares.
[OnePlus 9 Pro] fromiOS2Android:
I have had this since the phone was New. Not kernel related.. I do not know why though😕
[OnePlus 9 Pro] GHOST1010:
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.
[OnePlus 9 Pro] Flasher8:
Finger on display ?? Mind explain ?
[OnePlus 9 Pro] galza:
Dev does the kernel works on latest update 11.2.6.6?
[OnePlus 9 Pro] kristofpetho:
I haven't installed it yet - BA is not out yet, but I've heard it works.
[OnePlus 9 Pro] GHOST1010:
"FOD", Under display fingerprint scanner, it's an optical one
[OnePlus 9 Pro] berndv01:
it works on 11.2.6.6
[OnePlus 9 Pro] Samuel Holland:
I'm still on 11.4.4 Na. Sorry if it's a little off topic. I haven't had a update and on US unlocked variant. Also oxygen updater shows the same for inc and full. Kernel has still been working beautifully.
[OnePlus 9 Pro] PKkeys:
Okay, This is an offtopic question! I'm rooted and running the 11.5.5 version. How to update 11.6.6 and keep root?
[OnePlus 9 Pro] fromiOS2Android:
Maybe read the first post off the main thread about rooting and how to keep it?

https://xdaforums.com/t/guide-magisk-unlock-root-keep-root-oos-11-2-6-6.4252373/
[OnePlus 9 Pro] PKkeys:
For some weird reason, I'm finding the latest kernel has thermal issues! The May 25th version was good! reverted to it!
[OnePlus 9 Pro] GHOST1010:
Wow such and helpful reply !

Duh , it's his personal kernel and he will do what he feels right.

Hope you make a kernel with no "thermal issues!".
[OnePlus 9 Pro] PKkeys:
-_- Meh
[OnePlus 9 Pro] kristofpetho:
Thermal drivers are exactly the same on the two latest builds.
[OnePlus 9 Pro] stazz83:
Running the 0529 build and it's ridiculously snappy! Thanks, @kristofpetho !
[OnePlus 9 Pro] kristofpetho:
The next release will run circles around 0529...
[OnePlus 9 Pro] dkcats3:
How do I restore the stock kernel? I tried booting a clean magisk patched boot image and then direct installing through the magisk app, but upon reboot the kernel returns to being omega

EDIT: I figured it out, you have to flash the boot image from fastboot. Booting it and then flashing from within magisk is not permanent.
[OnePlus 9 Pro] lendawg:
Anyone running the latest kernel build on 11.2.6.6
[OnePlus 9 Pro] zoman7663:
Yes
[OnePlus 9 Pro] PKkeys:
Yes!
[OnePlus 9 Pro] lendawg:
I assume due to the exclamation point it's running well?
[OnePlus 9 Pro] reffu:
(I posted this before, but I think it got lost)

Out of curiosity, what specifically makes this incompatible with the standard OP 9? I see one commit in the repo that hardcodes some OP 9 Pro values in op_cmdline.c, but other than that I don't see anything specific to the OP 9 Pro (that I can decipher).
[OnePlus 9 Pro] kristofpetho:
Correct, it's that commit.
[OnePlus 9 Pro] toolhas4degrees:
I know there are differences in the way the camera is. But other that that I think they are close. But the camera difference alone would make the op9pro kernel probably not function correctly. Also there is a general thread for kernel development. You should probably post all op9 related kernel stuff in that thread to keep this one clean as it is for the 9 pro kernel. The other thread is this devs thread also.
[OnePlus 9 Pro] PKkeys:
Yes!!!
[OnePlus 9 Pro] mgear356:
6.6 source code is out on oos github!
[OnePlus 9 Pro] stazz83:
For the first time with 1+ 9 pro, on 0529, I experienced overheating while charging by cable.
[OnePlus 9 Pro] kristofpetho:
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.
[OnePlus 9 Pro] fromiOS2Android:
I agree with this sir. And specially point 6. 👍🏼👍🏼

Love this stable and snappy kernel and that it constantly gets updated from the developer @kristofpetho for minor bug fixes and improvement... Keep it up💪🏼💪🏼
[OnePlus 9 Pro] Ninxha:
First of all, thank you @kristofpetho for making this kernel for OP9 Pro community. I've only read amazing things about this kernel.

I want to unlock my bootloader and root just to flash this kernel but i have a question. After i root and flash kernel, every new update system update, i need to update manually through local ugprade and then reflash the kernel right?
[OnePlus 9 Pro] Ninxha:
I see. Thank you for your help. And i guess every Omega Kernel update, i just can flash over the previous version without problems, right?
[OnePlus 9 Pro] kristofpetho:
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!
[OnePlus 9 Pro] PKkeys:
You're the best!
[OnePlus 9 Pro] djsubterrain:
Will need to wait until EU build gets released so, sometime next month maybe?
[OnePlus 9 Pro] kristofpetho:
Yes please do
[OnePlus 9 Pro] freakzapster:
Deleted It Was My Bad
[OnePlus 9 Pro] Shooter7889:
Must flash in exkm(kernal Mgr) or FKM (Franco kernal Mgr) or another kernel Mgr
[OnePlus 9 Pro] dkcats3:
Is there a way to flash this without using a kernel flasher app? The only magisk image is for 11.2.5.5 for my NA variant, and if I try to take OTA with magisk still patched it says "failed" and doesnt even apply the OTA. Im on 11.2.6.6 stock right now after reverting to stock boot.img and updating
[OnePlus 9 Pro] dkcats3:
Yes I know, I did restore the stock image to update, I'm saying that now I cant regain root without flashing the magisk image but the latest is only for 11.2.5.5 and I am on 11.2.6.6, so I dont want to flash it if there may be conflicts. So now I am without root until someone can extract the 11.2.6.6 boot image for the AA devices.
[OnePlus 9 Pro] dkcats3:
Nevermind, I made it myself by locating the dev block, dd-ing the image, extracting it, patching in magisk and reflashing
[OnePlus 9 Pro] Scorp123:
Do you have the AA stock boot image to share then? Or at least the magisk patched 11.2.6.6AA image?
[OnePlus 9 Pro] Andrew8578:
Hello, I have an error flashing this kernel using EX Kernel Manager.

I never had an issue before. It says it doesn't have enough space, but I clearly have over 100GB of free space? I just updated to 11.2.6.6.AA. I'm not sure what's wrong here.

Here's an image of the error
[OnePlus 9 Pro] dkcats3:
See my next reply
[OnePlus 9 Pro] dkcats3:
here you go

https://xdaforums.com/t/guide-magisk-unlock-root-keep-root-oos-11-2-6-6.4252373/post-85122349
[OnePlus 9 Pro] Andrew8578:
so I flashed it using FKM instead of ex kernel, and and it has no issues. Really strange. Oh well. Whatever works to be honest. Thanks to avid_droid for suggesting an alternative flasher!