[KERNEL] [blu_spark r98 OP8/Pro/T] [A11 OOS]

Search This thread

eng.stk

Senior Member
Mar 29, 2011
6,806
58,663
OnePlus 5T
OnePlus 6
DWHxIK

Kernel features:
  • Build with Google Clang version 12.0.5 + LLD linker
  • Full -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
  • Less is more: stockish OP8 builds based on OnePlusOSS/android_kernel_oneplus_sm8250 for max stability
  • Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
  • Removed some debug and logging options
  • ARM enhanced performance and battery patches
  • CVE security patches, general upstream and CAF fixes for important subsystems
  • Modded schedutil governor merged from latest CAF sm8250 patchset
  • No OC, use 300HZ base timer frequency
  • msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
  • Enhanced TCP methods (westwood is default), Network tweaks and updated drivers
  • Several I/O control tweaks, added schedulers ZEN v2 is default, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
  • ZRAM Swap (LZO-RLE default) and with file disabled, LZ4 and ZSTD are available
  • Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
  • KGSL fixes and general improvements for GPU driver
  • adrenoboost ready (disabled by default)
  • Backlight min brightness option
  • Gamepad support enabled (xbox, ps4, switch)
  • USB Fast Charge (USB mode up to 900mA with MTP on)
  • FS fsync toggle on/off
  • Wakelock blockers available
  • wireguard support
  • CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
  • Compatible with Kernel Adiutor, EXKM, FKM and others


DOWNLOAD KERNEL ZIP
FKM download configs: oos | custom
(No mirrors please)​


Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.

About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.

Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.


Source Code: https://github.com/engstk/op8
Don't forget to hit thanks, it's free ;)


OnePlus 8 Pro development unit donated by OnePlus. Big shouts to them :)
Very proud of being on the OnePlus Developer Program, special thanks to dev relations team.
 
Last edited:

eng.stk

Senior Member
Mar 29, 2011
6,806
58,663
OnePlus 5T
OnePlus 6
blu_spark r12 release

All right crew!

It's that time again, 1st build is up :highfive:

This kernel source is unified for OP8/Pro, don't know how it will run in the regular model (can only test in the Pro). Let me know.
At the moment we're maybe at 80% of the usual goodies, get a nice and stable base and go from there.
I'm building with clang currently got some hiccups with gcc. I'll probably revisit this in the future but it will need more TLC.
You can now use FKM download kernel feature, just import the links bellow in the app :highfive:


blu_spark_r12release
FKM download configs: oos | custom
  • Build with latest Google Clang version 11.0.2 (Android 11) - blu_gcc may come in the future, needs som TLC
  • Synchronize codes for OnePlus 8 Oxygen OS 10.5.9.IN21AA and OnePlus 8 Pro Oxygen OS 10.5.10.IN11AA
  • Build errors and warnings fixes
  • Compiling improving and target optimizations
  • Goodies: IO and filesystem stuff, priorities and UX, touchboost, zram, wakelock blocker, haptic and gestures level, adrenoboost, etc
  • wireguard updates (v1.0.20200611)
  • init adjust for sdm8250
  • AnyKernel3 latest updates
  • For root, stable Magisk 20.4 or newer is mandatory


Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.


No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free :)
 
Last edited:

Surfeur-des-Reves

Senior Member
  • Jun 21, 2008
    220
    108
    Great job! Any list of the best settings to activate for your kernel in FKM? Can't manage to activate westwood TCP method, it gets stuck to reno, for example. Or any config file to have the best settings selected, maybe? Sorry, I'm not too familiar with FKM yet.
     

    tbalden

    Recognized Developer
    Oct 22, 2010
    9,879
    16,931
    Budapest
    www.virtuousrom.com
    Hey there, welcome. Nice to see you here.

    Just one question, why are so many features listed in the OP and many or most not in the sources on GitHub? Isn't this a copy paste error?

    Sent from my Pixel 4 XL using Tapatalk
     

    eng.stk

    Senior Member
    Mar 29, 2011
    6,806
    58,663
    OnePlus 5T
    OnePlus 6
    ur kernel is great for daily use when I have 6t, it's fast, smoot, and stable. do u plan to build one for oneplus 8?
    Has it is doesn't work? idk.
    At the moment I'm focused on the bringup.

    Great job! Any list of the best settings to activate for your kernel in FKM? Can't manage to activate westwood TCP method, it gets stuck to reno, for example. Or any config file to have the best settings selected, maybe? Sorry, I'm not too familiar with FKM yet.
    I already inject settings I see importanton the background. TCP method is westwood by default, that reno situation is a bug from the app, franco is on it :good:

    Hey there, welcome. Nice to see you here.

    Just one question, why are so many features listed in the OP and many or most not in the sources on GitHub? Isn't this a copy paste error?

    Sent from my Pixel 4 XL using Tapatalk
    Hey. WIP and will come soon after.
     

    akshat207

    Member
    Sep 22, 2017
    20
    3
    After installing this kernel I'm getting an option to boost GPU clock to 900 MHz. This also resulted in a much higher compute score. Is this normal? @eng.stk
     

    Attachments

    • Screenshot_20200619-223937.jpg
      Screenshot_20200619-223937.jpg
      257.5 KB · Views: 723
    • Screenshot_20200619-224648.jpg
      Screenshot_20200619-224648.jpg
      202.5 KB · Views: 714
    Last edited:

    eng.stk

    Senior Member
    Mar 29, 2011
    6,806
    58,663
    OnePlus 5T
    OnePlus 6
    it's not working on regular 8

    On8 not working

    Hum too bad. Seems like there's driver differences between the models, we'll see what can be done ib the future.
    For now I'll concentrate on the pro.



    After installing this kernel I'm getting an option to boost GPU clock to 900 MHz. This also resulted in a much higher compute score. Is this normal? @eng.stk
    Wait, what? Seem like that app is on acid lol

    Sent from my blu_spark'd OnePlus
     
    • Like
    Reactions: osm0sis

    akshat207

    Member
    Sep 22, 2017
    20
    3
    You probably still have custom dtb from the kernel that have gpu oc since this kernel doesn't replace the dtb and you switched kernels without keeping that in mind you ended up with mixed kernel images and dtbs.

    So, how is that much GPU OC possible? that's almost double the stock max frequency!

    EDIT: You were right, it was from "Evira Kernel". Now my question is, is that much OC safe? That's insane.

    Do note that my device didn't get hot when I was running the benchmark even at 900 MHz.
     
    Last edited:

    TheKnux

    Senior Member
  • Sep 28, 2011
    2,563
    787
    Akron
    OnePlus 9
    OnePlus 9 Pro
    what was the problem for the regular OnePlus 8? bootloop and what region was ur phone
    At the bootloader unlock screen, after a few seconds, the text turns green and has black lines through it, when it finishes booting, by the screen goes completely black. Vibration and sound still work though. Have to force power off and back to TWRP to restore stock boot.
     
    • Like
    Reactions: hjjiang

    eng.stk

    Senior Member
    Mar 29, 2011
    6,806
    58,663
    OnePlus 5T
    OnePlus 6
    blu_spark r18 release

    All right crew!

    New build is up :highfive:

    This kernel is only tested for the Pro variant which I have, regular OP8 support may come in the future.
    You can now use FKM download kernel feature, just import the links bellow in the app :highfive:


    blu_spark_r18 release
    FKM download configs: oos | custom wip
    • Full LLVM tools build (Clang + LLD), add a couple build fixes/improvements
    • drivers: misc: power: implement usb2 fast charge mode
    • power: smb5-lib: reset level on removal
    • drm-msm-dsi: add backlight min option
    • fs: exfat: version 2.2.0-3arter97
    • cpufreq: schedutil: make iowait boost optional
    • remove and disable some debug and logging
    • defconfig: enable overlay and disable dtb append
    • init adjustments
    • For root, stable Magisk 20.4 or newer is mandatory


    Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
    I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
    Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
    Also don't go spam and bug reporting on ROM threads if using this.


    No mirrors please
    If you like my work, donations are always welcome.
    Don't forget to hit thanks and rate the thread nicely, it's free :)
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 24
      blu_spark_r94 release

      New build is up (y)

      This kernel is tested for the 8 Pro and 8T variants which I have, regular OP8 in OOS 11 is said to be working fine by some users.
      You can use FKM download kernel feature, just import the links bellow in the app.
      FKM download configs: oos


      Changelog:
      • Build with Google Clang 12.0.4 + LLD linker
      • BACKPORT: lib/lzo: implement run-length encoding (zram default now, better compress/speed ratio)
      • BACKPORT: GKI: hwtracing: Add a driver for disabling coresight clocks (backport from Pixel 5, less idle draw)
      • BACKPORT: lz4: fix kernel decompression speed
      • A couple of build improvements
      • Further disable audit
      • defconfig: enable ZSTD
      • Remove some logspam
      • AnyKernel3 sync
      • For root, Magisk v22.1 or newer is mandatory


      Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
      I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).


      No mirrors please
      Don't forget to hit thanks, it's free :)
      18
      blu_spark_r98 release

      New build is up (y)

      This kernel is tested for the 8 Pro and 8T variants which I have, regular OP8 in OOS 11 is said to be working fine by some users.
      You can use FKM download kernel feature, just import the links bellow in the app.
      FKM download configs: oos


      Changelog:
      • Build with Google Clang 12.0.5 + LLD linker
      • Rebase kernel/techpack:audio to OnePlus 8/Pro/T Oxygen OS 11.0.5.5/11.0.8.11
      • kernel: sched: walt: fix window ravg HZ dependency
      • fs: exfat: sync with v5.8-1arter97
      • Added a couple build improvements
      • Remove some logspam and debug
      • net/wireguard: merge v1.0.20210424
      • For root, Magisk v22.1 or newer is mandatory


      Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
      I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).


      No mirrors please
      Don't forget to hit thanks, it's free :)
      5
      Typo?? ROFLMAO I'm dying.
      Google translator 😂
      4
      Finally OnePlus decided to update their github
      Love your kernel, idk if it's placebo but every time I flash it on top of stock I feel it is so much smoother <3
      Yeah, it's pretty smooth and it shows.
      Took some effort, but I'm happy how things turned out.
      Thanks for the kernel! I have never flashed custom kernels before, decided to try it on my device OP 8 Pro. Flashed with FKmanager. Everything is fine.
      Welcome, enjoy the sparks :)
      3
      I have been testing for three days and it looks great. I used a year of your kernels on an OP 7T. Great job.
    • 53
      DWHxIK

      Kernel features:
      • Build with Google Clang version 12.0.5 + LLD linker
      • Full -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
      • Less is more: stockish OP8 builds based on OnePlusOSS/android_kernel_oneplus_sm8250 for max stability
      • Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
      • Removed some debug and logging options
      • ARM enhanced performance and battery patches
      • CVE security patches, general upstream and CAF fixes for important subsystems
      • Modded schedutil governor merged from latest CAF sm8250 patchset
      • No OC, use 300HZ base timer frequency
      • msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
      • Enhanced TCP methods (westwood is default), Network tweaks and updated drivers
      • Several I/O control tweaks, added schedulers ZEN v2 is default, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
      • ZRAM Swap (LZO-RLE default) and with file disabled, LZ4 and ZSTD are available
      • Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
      • KGSL fixes and general improvements for GPU driver
      • adrenoboost ready (disabled by default)
      • Backlight min brightness option
      • Gamepad support enabled (xbox, ps4, switch)
      • USB Fast Charge (USB mode up to 900mA with MTP on)
      • FS fsync toggle on/off
      • Wakelock blockers available
      • wireguard support
      • CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
      • Compatible with Kernel Adiutor, EXKM, FKM and others


      DOWNLOAD KERNEL ZIP
      FKM download configs: oos | custom
      (No mirrors please)​


      Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
      If you come from other kernel or have any issues, you should restore your stock boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
      If you are upgrading between blu_spark versions, just flash the kernel zip.

      About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
      If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
      Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.

      Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.


      Source Code: https://github.com/engstk/op8
      Don't forget to hit thanks, it's free ;)


      OnePlus 8 Pro development unit donated by OnePlus. Big shouts to them :)
      Very proud of being on the OnePlus Developer Program, special thanks to dev relations team.
      24
      blu_spark_r94 release

      New build is up (y)

      This kernel is tested for the 8 Pro and 8T variants which I have, regular OP8 in OOS 11 is said to be working fine by some users.
      You can use FKM download kernel feature, just import the links bellow in the app.
      FKM download configs: oos


      Changelog:
      • Build with Google Clang 12.0.4 + LLD linker
      • BACKPORT: lib/lzo: implement run-length encoding (zram default now, better compress/speed ratio)
      • BACKPORT: GKI: hwtracing: Add a driver for disabling coresight clocks (backport from Pixel 5, less idle draw)
      • BACKPORT: lz4: fix kernel decompression speed
      • A couple of build improvements
      • Further disable audit
      • defconfig: enable ZSTD
      • Remove some logspam
      • AnyKernel3 sync
      • For root, Magisk v22.1 or newer is mandatory


      Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
      I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).


      No mirrors please
      Don't forget to hit thanks, it's free :)
      20
      blu_spark r44 release

      New build is up :highfive:

      This kernel is only tested for the Pro variant which I have, regular OP8 support may come in the future.
      You can now use FKM download kernel feature, just import the links bellow in the app :highfive:


      blu_spark_r44 release
      FKM download configs: oos | custom
      • Build with Google Clang 11.0.4 + LLD linker
      • Synchronize codes for OnePlus 8 Oxygen OS 10.5.12.IN21AA and OnePlus 8 Pro Oxygen OS 10.5.13.IN11AA (no changes)
      • CAF update and fixes: arm64 kernel, mm, scheduler, ufs
      • Add some build more build fixes and improvements, remove some cruft and debugging
      • Revert "msm: kgsl: use kmem_cache pool for draw objects"
      • wireguard updates (v1.0.20200729)
      • wifi driver update (custom)
      • For root, stable Magisk 20.4 or newer is mandatory


      Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
      I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
      Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
      Also don't go spam and bug reporting on ROM threads if using this.


      No mirrors please
      If you like my work, donations are always welcome.
      Don't forget to hit thanks and rate the thread nicely, it's free :)
      18
      blu_spark_r74 release

      New build is up :highfive:

      This kernel is tested for the 8 Pro and 8T variants which I have, regular OP8 in OOS 11 is said to be working fine by some users.
      You can use FKM download kernel feature, just import the links bellow in the app :highfive:
      FKM download configs: oos | custom


      Changelog:
      • Build with Google Clang 11.0.5 + LLD linker
      • Couple build improvements
      • CAF updates: scsi/ufs
      • f2fs: set ioprio of GC kthread to idle, Demote GC thread to idle scheduler class
      • printk: fix invalid-free on devkmsg_write(), use buffer from the stack space
      • defconfig: remove some cruft
      • Add A11 custom ROM variant
      • Latest Magisk v21.1 mandatory for root in A11 (beta atm)


      Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
      I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).


      No mirrors please
      If you like my work, donations are always welcome.
      Don't forget to hit thanks and rate the thread nicely, it's free :)
      18
      blu_spark_r98 release

      New build is up (y)

      This kernel is tested for the 8 Pro and 8T variants which I have, regular OP8 in OOS 11 is said to be working fine by some users.
      You can use FKM download kernel feature, just import the links bellow in the app.
      FKM download configs: oos


      Changelog:
      • Build with Google Clang 12.0.5 + LLD linker
      • Rebase kernel/techpack:audio to OnePlus 8/Pro/T Oxygen OS 11.0.5.5/11.0.8.11
      • kernel: sched: walt: fix window ravg HZ dependency
      • fs: exfat: sync with v5.8-1arter97
      • Added a couple build improvements
      • Remove some logspam and debug
      • net/wireguard: merge v1.0.20210424
      • For root, Magisk v22.1 or newer is mandatory


      Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
      I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).


      No mirrors please
      Don't forget to hit thanks, it's free :)
    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