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

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

Search This thread

eng.stk

Senior Member
Mar 29, 2011
6,920
59,466
OnePlus 5T
OnePlus 6
DWHxIK

Kernel features:
  • Build with Google Clang version 13.0.2 + 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, BBR available), 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,920
59,466
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
342
329
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,997
17,184
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,920
59,466
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: 956
  • Screenshot_20200619-224648.jpg
    Screenshot_20200619-224648.jpg
    202.5 KB · Views: 946
Last edited:

eng.stk

Senior Member
Mar 29, 2011
6,920
59,466
OnePlus 5T
OnePlus 6
it's not working on regular 8


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,597
810
Akron
Google Pixel 4a 5G
OnePlus 9
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,920
59,466
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.
  • 18
    blu_spark_r112 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 13.0.2 + LLD linker
    • makefile: remove some clang13 spam
    • lz4 and lzo fixes
    • zram and zsmalloc updates
    • AnyKernel3 updates (v20210910) and new device asserts by @osm0sis
    • For root, Magisk v23.0 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 :)
    12
    I had a derp in AK3 stuff, I reuploaded r112, redownload please ;)
    6
    @eng.stk following you since the good old days of nexus 5 . gonna get my 8t tommorow
    and i just found out that youre active here. couldnt be happier
    blu_crew baby 🤗
    8T is a great device, one of my favourites, enjoy!
    3
    Great work @eng.stk !!⚡ I have the phone since Friday and already rocking this kernel :cool:
    You sir, are a man of culture 😁
    2
    @eng.stk following you since the good old days of nexus 5 . gonna get my 8t tommorow
    and i just found out that youre active here. couldnt be happier
  • 69
    DWHxIK

    Kernel features:
    • Build with Google Clang version 13.0.2 + 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, BBR available), 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.
    29
    blu_spark_r109 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.7 + LLD linker
    • Add some build improvements
    • Silence a couple logging and debug
    • wireguard updates (v1.0.20210606)
    • AnyKernel3 updates sync
    • For root, Magisk v23.0 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 :)
    28
    blu_spark_r110 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.7 + LLD linker (updated)
    • hwtracing: Add entries from kona-coresight (tentative less idle draw)
    • defconfig: enable ld deadcode elimination
    • arm64: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected
    • arm64: Keep alternative-instruction sections
    • AnyKernel3 updates (v20210721)
    • For root, Magisk v23.0 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 :)
    26
    blu_spark_r101 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:
    • Revert "fs: exfat: sync with v5.8-1arter97"
    • defconfig: disable IKHEADERS
    • Remove some logspam and debug
    • net/wireguard: merge v1.0.20210424
    • AnyKernel3 updates 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 :)
    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 :)