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

Search This thread

eng.stk

Senior Member
Mar 29, 2011
6,783
58,554
OnePlus 5T
OnePlus 6
DWHxIK

Kernel features:
  • Build with Google Clang version 12.0.4 + 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,783
58,554
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
207
82
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,854
16,879
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,783
58,554
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: 684
  • Screenshot_20200619-224648.jpg
    Screenshot_20200619-224648.jpg
    202.5 KB · Views: 675
Last edited:

eng.stk

Senior Member
Mar 29, 2011
6,783
58,554
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,523
777
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,783
58,554
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.
  • 21
    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 :)
    4
    Someone can probably answer this but I can't find it anywhere, what's the differences using the config file and going without it?

    Edit:
    Nvm, I did a big nono and just went with it without knowing what I was doing, found out it turns FKM into an OTA updater for the kernel. Lesson learned, didn't backfire.

    Edit 2:

    @eng.stk another great product. I noticed the performance isn't great on 3DMark..
    Unsure if I dod something wrong. I noticed You're nor using the blu_active governor (or it's not named that in FKM dor some reason). There a story behind that, or am I missing something
    Yeah, I don't really do anything to get numbers in benchmarks.
    I prefer work around UX, stuff that people notice in their daily usage like smoothness, building improvements to bring more efficiency, etc.
    This is not a HMP device to use interactive and/or other tweaked variants. Schedutil, EAS and the likes are totally different beasts and I work around those ofc :)
    3
    So, can we use that?
    sm8250 source is a mess. And that one is broken on top of that.
    What I would like is the stuff that actually shipped on the 8 seriesd devices last few months.
    3
    The new build is so smooth and fast, that's amazing! Thanks @eng.stk
    *I'm still checking the battery but it looks good though, hats off.
    EDIT: Battery life isn't as good as older builds, it's kinda poor but the overall kernel experience is smooth and fluid.
    2
    FYI r90 works fine with OB2 Oneplus 8t 🤟🏻
  • 50
    DWHxIK

    Kernel features:
    • Build with Google Clang version 12.0.4 + 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.
    21
    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 :)
    16
    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 :)
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