[KERNEL] [blu_spark r156 OP7/T/Pro] [A11 OOS]

Search This thread

eng.stk

Senior Member
Mar 29, 2011
6,783
58,553
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 OP7 builds based on OnePlusOSS/android_kernel_oneplus_sm8150 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 sm8150 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)
  • Patched SafetyNet flags to pass CTS
  • Stock thermal driver by default
  • 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


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/op7
Don't forget to hit thanks, it's free ;)


OnePlus 7T Pro development unit donated by OnePlus. Big shouts to them :)
Very proud of being on the OnePlus Developer Program, special thanks to Manu J. for being such a supportive person.
 
Last edited:

eng.stk

Senior Member
Mar 29, 2011
6,783
58,553
OnePlus 5T
OnePlus 6
blu_spark r60 release (Android 10 unified)

All right crew!

First build for the 7T/Pro is up :highfive:
This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro).


blu_spark_r60 release

  • All the goodies available from OP7/Pro
  • Synchronize codes for OnePlus 7T Pro Oxygen OS 10.0.1
  • CAF updates f2fs, dm-verity/init, mm, crypto drv, devfreq, etc
  • fs: exfat: version 2.2.0-3arter97
  • AnyKernel3 updates
  • If you use root, Magisk 20.1 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 :)
 

eng.stk

Senior Member
Mar 29, 2011
6,783
58,553
OnePlus 5T
OnePlus 6
I'm already rooted. Flashing this over the patched boot.img will cause any trouble?
nope, i was also rooted and flashed this using EXKM and had no issues
Indeed flash via autoflash kernel apps work fine in a rooted environment and is thw way to go atm.
Or sideload the zip via twrp, use usb flash drive, etc.

Sent from my blu_spark'd OnePlus
 

eng.stk

Senior Member
Mar 29, 2011
6,783
58,553
OnePlus 5T
OnePlus 6
Getting forbidden error on downloads.
Working fine.


I'm guessing we flash oos zip if we're on stock ROM and custom if we're on custom?
OOS for OOS baswd ROMS.
Custom for AOSP/CAF source build ROMs.

My finger print unlock stopped working after flashing custom ver. 60

Sent from my HD1905 using Tapatalk


anybody else also getting this? I'm on Global 10.0.5:confused:



I think its buggy on the lock screen. Found it does work sometimes if you press very lightly.
I believe ElementalX had the same problem which was rectified with removal of verifiedbootstate hide for OP7t and OP7tPro

Weird, never seen anything like that in any device for that matter.
7T Pro is working normal and all peachy.
Was it always like that or became so because of a ROM update?
Did you guys try to troubleshoot it, like removong the pronts and enroll again, clear Store data, etc?
Sent from my blu_spark'd OnePlus
 
Last edited:
  • Like
Reactions: spoonymoon

MrGimpGrumble

Senior Member
Jun 14, 2012
278
57
Philadelphia
Working fine.



OOS for OOS baswd ROMS.
Custom for AOSP/CAF source build ROMs.










Weird, never seen anything like that in any device for that matter.
7T Pro is working normal and all peachy.
Was it always like that or became so because of a ROM update?
Did you guys try to troubleshoot it, like removong the pronts and enroll again, clear Store data, etc?
Sent from my blu_spark'd OnePlus

working fine here on my 7T! Running like a champ... Thanks!!
 
  • Like
Reactions: eng.stk

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    blu_spark_r151 release

    New build is up!
    Finally the 11 is here :)
    Keep in mind, since the current situation regarding sources (that you can read about in the latest dozen posts), the vendor part of the tree is somewhat hacked.
    Stuff seems to be stable, but take things with a grain of salt. But yeah, it's damn smooth :)

    This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro's).
    You can now use FKM download kernel feature, just import the links bellow in the app :highfive:
    FKM download configs: oos


    Changelog:
    • Build with Google Clang 12.0.4 + LLD linker
    • Full rebase with all the usual goodies merged in
    • Synchronize codes for OnePlus 7 Oxygen OS 11.GM21AA and OnePlus 7Pro Oxygen OS 11.GM21AA and OnePlus 7T Oxygen OS 11.HD01AA and OnePlus 7TPro Oxygen OS 11.HD01AA
    • Merge backports and fixes from LuK1337 & Freak07 (Big Shouts to their efforts)
    • Build fixes and improvements from OP8 series and Pixel 4a patchset
    • Some build errors corrections
    • BACKPORT: GKI: hwtracing: Add a driver for disabling coresight clocks (backport from Pixel 5, less idle draw)
    • f2fs: shrink node_write lock coverage
    • Remove some logspam
    • defconfig: enable ZSTD
    • net/wireguard: merge v1.0.20210219
    • AnyKernel3 sync
    • For root, stable Magisk 22.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

    Looks like the patches are out. With a nice detailed post in the thread talking about the situation. Hope it helps.

    Post in thread '[Kernel][06.04.2021][4.14.228][Android 11] Kirisakura 1.1.0_R for OP7/Pro aka Guacamole' https://forum.xda-developers.com/t/...r-op7-pro-aka-guacamole.3933916/post-84786595
    Yeah thanks for the heads up!
    It looks good, hope we can go forward until/if sources are sorted.

    @Freak07 puts a very nice resume of the ongoing situation regarding sources and one's struggle with current state of things.
    It's very frustrating to say the least.

    Big shouts to him and @LuK1337 to come forward. People should appreciate the ammount of work they put on this one.
    12
    blu_spark_r156 release

    New build is up!

    This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro's).
    You can now use FKM download kernel feature, just import the links bellow in the app :highfive:
    FKM download configs: oos


    Changelog:
    • Latest OnePlus OOS 11 source drop fix
    • lib/lzo: implement run-length encoding (zram default now, better compress/speed ratio)
    • BACKPORT: lz4: fix kernel decompression speed
    • Enable link-time dead code/data elimination
    • Further disable audit
    • arm64: relocatable: Tweak linker flags to yield a smaller Image with LLD
    • For root, stable Magisk 22.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 :)
    11
    Finally! OnePlus released the Android 11 kernel source: https://github.com/OnePlusOSS/android_kernel_oneplus_sm8150/tree/oneplus/SM8150_R_10.0

    ✌️

    EDIT: Though no idea why it is called "R_10.0" while other branches (OnePlus 8 series, OnePlus Nord) call it "R_11.0". Maybe a typo. Who knows :LOL:
    10
    Maybe there to ashamed to call it 11 🤔
    How long did they delay source by the way 😡
    Sorry for ot😱
    No, it's just the lack of interest in put out proper sources.
    Latest A11 drop is half done with stuff missing, crap scattered all over the place.
    They returned to closed binary modules, seems like the kernel it's not bootable even disabling stuff to wourk around build problems.
    Probably there's some kind of dependency in OOS looking for those vendor modules.
    And since they made it builtin in the kernel instead of modular, unless they push a fixed source don't know how this going to go :(
  • 85
    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 OP7 builds based on OnePlusOSS/android_kernel_oneplus_sm8150 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 sm8150 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)
    • Patched SafetyNet flags to pass CTS
    • Stock thermal driver by default
    • 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


    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/op7
    Don't forget to hit thanks, it's free ;)


    OnePlus 7T Pro development unit donated by OnePlus. Big shouts to them :)
    Very proud of being on the OnePlus Developer Program, special thanks to Manu J. for being such a supportive person.
    33
    blu_spark r107 release (A10 unified)

    New build is up :highfive:

    This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro's).
    You can now use FKM download kernel feature, just import the links bellow in the app :highfive:


    blu_spark_r107 release
    FKM download configs: oos | custom
    • CAF updates devfreq, qseecom
    • wireguard updates (v1.0.20200712)
    • 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 :)
    31
    blu_spark r60 release (Android 10 unified)

    All right crew!

    First build for the 7T/Pro is up :highfive:
    This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro).


    blu_spark_r60 release

    • All the goodies available from OP7/Pro
    • Synchronize codes for OnePlus 7T Pro Oxygen OS 10.0.1
    • CAF updates f2fs, dm-verity/init, mm, crypto drv, devfreq, etc
    • fs: exfat: version 2.2.0-3arter97
    • AnyKernel3 updates
    • If you use root, Magisk 20.1 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 :)
    28
    blu_spark r109 release (A10 unified)

    New build is up :highfive:

    This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro's).
    You can now use FKM download kernel feature, just import the links bellow in the app :highfive:
    Some goodies from op8 dev inside, enjoy!


    blu_spark_r109 release
    FKM download configs: oos | custom
    • build with blu_gcc-10.2 (from gcc-10.2 snapshot and latest toolchain components)
    • defconfig: remove some cruft
    • selinux: don't require auditing
    • arm64: move GCC version check for ARCH_SUPPORTS_INT128 to Kconfig
    • arm64: support __int128 with clang, support __int128 on gcc 5+
    • wireguard updates (v1.20200729)


    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 :)
    27
    blu_spark r111 release (A10 unified)

    New build is up :highfive:

    This kernel is unified, good to go on OP7/T/Pro (I only can test on Pro's).
    You can now use FKM download kernel feature, just import the links bellow in the app :highfive:


    blu_spark_r111 release
    FKM download configs: oos | custom
    • Synchronize codes for HD1907 Oxygen OS 10.0.10.HD63CB
    • Input: add safety guards to input_set_keycode()
    • Revert "kbuild: Increase automatic inline instruction limit to 1000
    • update wifi module (custom)


    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