[KERNEL] [OOS] Omega Kernel OOS11 [April 19, 2021]

Search This thread

Reddit3321

Member
Jan 19, 2017
49
26
Two random reboots this morning running 2/26 build. Sorry, was only able to grab the logs for the 2nd reboot. Hope this helps.

Phone was idling when these reboots happened.


- Are you just stock rooted? Basically
- Are you running any mods? Adaway, thats it
- Which Magisk modules are you using? Systemless host for adaway
- Are you using Wireguard? N
- and so on... Just adaway, exkm, gsam battery monitor, stock apps

Let me know if I can provide any further info. File zipped due to xda upload extension requirement tomfoolery.
 

Attachments

  • ramoops.zip
    31.1 KB · Views: 1
Last edited:
  • Like
Reactions: kristofpetho

kristofpetho

Senior Member
May 27, 2009
5,066
9,339
Zoetermeer
Two random reboots this morning running 2/26 build. Sorry, was only able to grab the logs for the 2nd reboot. Hope this helps.

Phone was idling when these reboots happened.


- Are you just stock rooted? Basically
- Are you running any mods? Adaway, thats it
- Which Magisk modules are you using? Systemless host for adaway
- Are you using Wireguard? N
- and so on... Just adaway, exkm, gsam battery monitor, stock apps

Let me know if I can provide any further info. File zipped due to xda upload extension requirement tomfoolery.

Few questions:
- What device are you using?
- Which OS are you on?

As far as I can see, you WLAN driver died and it cascaded until the reboot...
 

arvylas

Senior Member
Mar 14, 2012
806
177
Athens!!
OnePlus 8 Pro
I have a weird issue. Everytime I try to reboot, the device can't boot. Instead it redirects me to recovery. After trying a couple more times from the recovery it finally boots. I'm stock 4.4 rooted 8pro.

Can someone point me to a log walkthrough? I haven't done it for a few years.
 

kristofpetho

Senior Member
May 27, 2009
5,066
9,339
Zoetermeer
I have a weird issue. Everytime I try to reboot, the device can't boot. Instead it redirects me to recovery. After trying a couple more times from the recovery it finally boots. I'm stock 4.4 rooted 8pro.

Can someone point me to a log walkthrough? I haven't done it for a few years.

Are you using systemless hosts? That's sadly something that can happen, it has to do with the way Magisk works.
 

firozpatel

Senior Member
Oct 4, 2014
297
46
Any idea why this happens when I try to clear recent apps? Not sure if it's the kernel, I am latest everything op8 pro using XXX ROM

Btw I have renamed the file with .zip or I wouldn't be able to upload, sorry
 

Attachments

  • console-ramoops-0.zip
    256 KB · Views: 1
  • 21-03-03-14-22-12.mp4.zip
    11.6 MB · Views: 2

kristofpetho

Senior Member
May 27, 2009
5,066
9,339
Zoetermeer
Any idea why this happens when I try to clear recent apps? Not sure if it's the kernel, I am latest everything op8 pro using XXX ROM

Btw I have renamed the file with .zip or I wouldn't be able to upload, sorry

Can you please link me to the exact XXX script you are using? And what options you are using? I'm guessing it messes with memory management and that is why that happens.

I highly recommend everyone NOT to use any mods...
 

firozpatel

Senior Member
Oct 4, 2014
297
46
Can you please link me to the exact XXX script you are using? And what options you are using? I'm guessing it messes with memory management and that is why that happens.

I highly recommend everyone NOT to use any mods...

I'm not 100% sure how to get you a script, it's a magisk module and the file is over 400mb, but I can send you the configuration profile if that helps,

I can't upload the file, just stuck at 0% for ages, is there an alternative way I could send you the file, telegram?
 

firozpatel

Senior Member
Oct 4, 2014
297
46
It's amusing people mess with various mods, which include system tweaks as well, and then blame the kernel developer for their own user errors!

did I blame the kernel dev? I specifically said I'm not sure if it's kernel related! Please don't be ignorant when someone is asking for some help
 

kristofpetho

Senior Member
May 27, 2009
5,066
9,339
Zoetermeer
I'm not 100% sure how to get you a script, it's a magisk module and the file is over 400mb, but I can send you the configuration profile if that helps,

I can't upload the file, just stuck at 0% for ages, is there an alternative way I could send you the file, telegram?

Thanks. Can you please send me your configuration profile?
 

Top Liked Posts

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

    Changelog:
    - Cleaned out older commits (stability)
    - Updated Google's Clang toolchain to 12.0.4 (latest)
    - Fixed a GPU bug where the UI might jitter a bit (smoothness)

    Enjoy!
    21
    New kernel release!

    Changelog:
    - Updated Clang to Google's latest
    - Disable coresight clocks when not used (better battery drain)
    - Pulled back the two fixes for network driver that previously fixed random reboots (apologies, don't know how I didn't have those in latest...)

    Enjoy!!!

    And with that, unless something big comes up, this might be my last kernel for the 8 Pro, since I'm now rocking a 9 Pro...
    9
    New bugfix kernel!

    Changelog:
    - Fix bootloop issue on previous kernel (apologies)

    Enjoy!
    5
    Is it okay to run on 11.0.5.5 (EU update)
    Yes, confirmed running ok. I'm currently running the kernel on 11.0.5.5 EU version.
    2
    Can your kernel work on OP7T with OOS11?
    It absolutely will not. Please don't flash this kernel on anything other than an 8 Pro.
  • 48
    Introduction

    Hello everyone, this is my personal kernel for the OnePlus 8 Pro, will use it as my daily driver as soon as I get the device! (hopefully very early next week)
    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
    • Includes WireGuard
    • Includes KCAL support
    • Available to flash with AnyKernel3

    Latest kernel release on GitHub

    LINK

    Source

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

    Thanks where it's due

    Nathan Chance for his guidance and patience with general kernel dev questions
    Kerneltoast for his extreme patience and guidance
    freak07 for his dtb advice
    tbalden for figuring out the 8 Pro boot issues
    zoman7663 for testing
    osm0sis (for AnyKernel3)
    32
    Releases

    April 19
    - download HERE
    - Fixed bootloop issue

    April 16 - download HERE
    - Updated Clang to Google's latest
    - Disable coresight clocks when not used (better battery drain)
    - Pulled back the two fixes for network driver that previously fixed random reboots (apologies, don't know how I didn't have those in latest...)

    March 23 - download HERE
    - Cleaned out older commits (stability)
    - Updated Google's Clang toolchain to 12.0.4 (latest)
    - Fixed a GPU bug where the UI might jitter a bit (smoothness)

    March 16 - download HERE
    - Enabled a new set of Clang compilation diagnostics, and fixed them with the help of CAF, who started fixing them in their 5.4.y kernels (7 coding errors)
    - Fixed a similar issue in the qseecom driver that didn't show up in diagnostics
    - Fixed a potential resourcing error in the mhi bus driver

    March 13 - download HERE
    - Reverted all CAF patches to fix hiccups observed in UI
    - Kept 1 USB driver patch to fix faulty transfer of big files
    - Kept 2 network driver patches to address random reboots previously observed

    March 10 - download HERE
    - Reverted all CAF patches from the kernel
    - Added back only critical fixes that (hopefully) do apply to our use case (not did add back any "nice-to-have" patches)

    March 4 - download HERE
    - Pulled in some critical bugfixes from CAF:
    - 3 UFS file system fixes
    - 1 F2FS fix
    - 1 memory allocation fix
    - 3 wireless driver fixes
    - 1 more USB transfer fix
    - 4 GPU/video driver fixes
    - Updated Anykernel3 to latest version
    - Built with Google's Clang 12.0.3 (I save ~1 minute every time I do a build, which adds up)

    February 26 - download HERE
    - Switched back to LLVM's Clang 11.1.0 branch for stability reasons
    - Updated Wireguard to latest version
    - Potential fix for some random reboots a few users were seeing (reverted two smoothness commits)
    - Fixed a major code error in OnePlus's source code
    - Potential fix for CPU's min frequencies sticking in some situations

    February 22 - download HERE
    - Updated Wireguard to latest v1.0.20210219
    - Removed more debugging from GPU driver for smoothness
    - Updated compiler to Google's Clang 12.0.3

    February 14 - download from HERE
    - Reverted "Removed 3 performance loggers/debuggers from the kernel" to fix media playback issue

    February 11 - download from HERE
    - Heavy kernel cleanup, removed a lot of commits that either did nothing, or even reduced performance
    - Reverted to using userspace, Oneplus-supplied WiFi driver (improved battery life)
    - Fixed some previous ugly code fixes I had in the kernel
    - Enabled Clang's detection of code formatting errors, and fixed all of them
    - Removed 3 performance loggers/debuggers from the kernel

    January 25 - download from HERE
    - Switched back to Google's Clang 12.0.2 for compiling (much faster to compile)
    - Updated WireGuard to latest version
    - Fixed some coding errors caught by Clang after turning on some additional diagnostics

    January 20 - download from HERE
    - Switched from Google's Clang 12 compiler to stable LLVM Clang 11.0.1 (custom built)
    - Removed all debugging from the camera driver (it will not kill the battery if you use the camera a lot)
    - Removed some overbearing debugging from the video/media driver
    - Removed debugging from the Oneplus priximity driver
    - Fixed coding errors found by a run of GCC compiler (there were 2-3 major errors in the code that Clang didn't catch)
    - Added WLAN driver to the kernel (using the same 5.2.022.3E driver that Oneplus is using)
    - Removed a ton of debugging from the WLAN driver, and fixed some code errors
    - Added RMNET driver to the kernel (version parity with the WLAN driver)
    - Removed external module support from the kernel, since all modules now reside in the kernel

    January 14 - download from HERE
    - Adjusted kernel configuration to reflect the addition of a new Oneplus kernel module in OOS 11.0.3.3
    - Added back a debugger that is needed by Oneplus's userspace
    - Removed some harmless kernel loggers
    - Further code fixes in the kernel
    - Updated to Google's new Clang 12.0.1 compiler to compile the kernel


    December 22
    - Back to using binutils (from LLVM tools) - I experienced nav bar graphical glitches with LLVM tools
    - Pulled in a few tweaks from Sultan's new redbull kernel - optimized graphics driver, optimized power usage, optimized smoothness
    - Updated Wireguard to latest version
    - Updated Anykernel3 to latest version

    December 13
    - Reverted all CAF patches... let's assume Oneplus actually knows what they are doing
    - Compiled with advanced LLVM tools
    - Reverted a commit that is not needed for LLVM, but was needed for latest binutils (which we are now not using)

    December 4
    - Added a few fixes from CAF upstream
    - Cleaned up unneeded commits
    - Removed bad commits
    - Removed more logging (that are safe to remove)

    November 24
    - Refactored some commits for easier later patching
    - Finally using UFS 3.0 driver that's meant for the OnePlus 8 Pro

    November 20
    - Fixed battery drain issue that was on previous release (apologies for that)

    November 16
    - General stability improvements
    - Slightly improved active as well as idle battery drain
    - Updated WireGuard to latest version

    November 6
    - Removed a major debug from the kernel that is also missing on stock kernel (sources were not updated by Oneplus...)
    - Reverted to using O2 optimization level from O3, for stability reasons
    - Reverted modified CPUsets, the overall experience is much smoother this way, with no discernible effect on battery life

    October 23
    - Reverted the two Google commits since those seemed to increase active drain just a bit
    - Pulled in latest Oneplus kernel source for OOS 11.0.1.1

    October 19
    - Reverted the CAF upstream - Oneplus does extensive testing on the CAF base they are using and it also resulted in significantly higher active as well as idle drain upon further testing
    - Using stock (userspace) WLAN and RMNET drivers
    - Pulled in two commits from Google's 4.19.y kernel tree for increased smoothness (scheduling, write delay)
    - Fixed a additional code error found through Clang

    October 10
    First release for Android 11-based OOS11.
    Changelog vs stock kernel:
    - Compiled with latest Google Clang 11.0.5
    - All the tweaks pulled in from Omega OOS10 kernel
    - Added in KCAL color control
    - Upstreamed the entire kernel to CAF release LA.UM.9.12.r1-08300-SMxx50.0
    - Included both WLAN and RMNET drivers with CAF release LA.UM.9.12.r1-08300-SMxx50.0
    27
    New kernel in Post 2!

    Changelog:
    - Clang compiler optimization from CAF, as well as subsequent code fixes to go with it
    - Updated Wireguard to latest 0520 version
    - Updated Anykernel3 to latest
    - Remove some annoying UFS dmesg spam
    - Remove one more resource hog debugger from the graphics render hot path

    This should give a nice speed boost as well for screen on :)

    I won't post new kernels for a few days, my new components are arriving today, so will take time to redo my build system.
    In case anyone is wondering:
    - ASUS TUF B450 Pro Gaming (I had a previous ASUS TUF Z170 Pro Gaming, which I loved!)
    - AMD Ryzen 3600 (6 cores, 12 threads -> should be a nice upgrade from my current i5-6500, which only has 4 cores, 4 threads)
    - I already had 32Gb DDR4 RAM in the system, that is not changing
    25
    OK guys, I'm back. New Ryzen system is up and running, and building a kernel now only takes 3.5 minutes!!! Previsouly it was 11-12... DAMN impressed.
    23
    New kernel here, since there were no source updates in latest kernel push from OnePlus: https://github.com/kristofpetho/kernel_oneplus_sm8250/releases

    Changelog:
    - Updated Clang to 11.0.4 (Google)
    - Reverted to using userspace WLAN and rmnet drivers to fix remaining VoWiFi issues

    Enjoy!
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