[KERNEL] [blu_spark r226 unified OP5/5T] [A10 unified]

Search This thread

Syrus47

Member
Jul 24, 2021
44
2
blu_spark extras v9.110

All right crew!

Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-9.0 branch (including more recent upstream than official TWRP) and some specific device fixes.

Fully synced with TWRP 3.3.1+, name changing to reflect base 9.version, full compatible with Pie stuff (you need Pie fw also) and A10 custom ROMs will work also (OMNI tested)
TWRP blu_spark edition is unified, works for both OP5/5T.
Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.
This build is treble ready, allowing /vendor partition operations. If you don't use treble enabled ROMs, ignore any vendor errors that may appear, TWRP will work just fine.


twrp-3.3.1-x_blu_spark_v9.110_treble-op5_op5t






Wakelock blocker info and example script


I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).
If your cat get's on fire you're on your own ;p


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 ;)
Which kernel zip file should i download?
 

Syrus47

Member
Jul 24, 2021
44
2
blu_spark_r225 release

New build is up!

A10 builds are unified, good to go on 5/5T.
You can use FKM download kernel feature, just import the links bellow in the app :highfive:
FKM download configs: oos


Changelog:



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 :)
xXx no limits?
 
  • Like
Reactions: saza7 and iares

lulli1

Senior Member
Dec 12, 2011
1,460
834
Google Nexus 5
OnePlus 5T
@eng.stk I know you are not very interested in building for an old device that don't get OEM updates anymore. But lots of us do want or need to update to A12 and we don't have a working recovery that is able to decrypt A12 Data. And you have the skills to make this happen. I'm on your TWRP builds for years now with my dumpling. Is it time consuming for you to do your magic again? If so, please forget my post here. But I thought, asking doesn't harm.... Thanks for all you have done for our devices, so far !!! Very appreciated. :D
 

eng.stk

Senior Member
Mar 29, 2011
7,254
61,355
OnePlus 5T
OnePlus 6
@eng.stk I know you are not very interested in building for an old device that don't get OEM updates anymore. But lots of us do want or need to update to A12 and we don't have a working recovery that is able to decrypt A12 Data. And you have the skills to make this happen. I'm on your TWRP builds for years now with my dumpling. Is it time consuming for you to do your magic again? If so, please forget my post here. But I thought, asking doesn't harm.... Thanks for all you have done for our devices, so far !!! Very appreciated. :D
I don't do TWRP anymore, sorry.
 
  • Like
Reactions: lulli1

eng.stk

Senior Member
Mar 29, 2011
7,254
61,355
OnePlus 5T
OnePlus 6
blu_spark_r226 release

New build is up!

A10 builds are unified, good to go on 5/5T.
You can use FKM download kernel feature, just import the links bellow in the app :highfive:
FKM download configs: oos


Changelog:
  • Build with blu_gcc-11.2 synced with latest toolchain components
  • wakelock_blocker updates
  • set hz=250
  • defconfig: regenerate and sync
  • Couple of reverts of exp patches
  • Couple upstream init backend changes
  • wireguard updates (v1.0.20211208)
  • AnyKernel3 updates (v20220304)
  • For root, Magisk 24.3 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 :)
 

Hallux_

Senior Member
Jul 14, 2011
60
34
Buenos Aires
OnePlus 5T
Lenovo P11
blu_spark_r226 release

New build is up!

A10 builds are unified, good to go on 5/5T.
You can use FKM download kernel feature, just import the links bellow in the app :highfive:
FKM download configs: oos


Changelog:



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 :)
Thanks @eng.stk !!! Nice to see you still care for us! Flashed without issues from FKM as usual.
 
  • Like
Reactions: eng.stk

gherv1

Member
Aug 16, 2015
31
3
Hi there, maybe is a stupid question but, is possible to use in any way this kernel in A12? I`m using DerpFest A12 Rom and is wonderful, but i`m lacking a good strong kernel. I readed the description and this is the kernel that suits me the best, unfortunate, i don`t have any luck trying to flash it, tried to dirty flash and bypass the if abort in the binary but the trick didn`t worked :)).
I Don`t have force encrypt enabled. Is possible to help in a way or another?
 
  • Like
Reactions: bakaekze

AlexOB1

Senior Member
Jun 4, 2013
237
61
Does passthrough charging work with OTG with this kernel? I'm trying to get a Kishi gamepad working with the 5T.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 248
    DWHxIK

    Kernel features:
    • Build with custom toolchain blu_gcc-11.2 (cortex-a73.cortex-a53 targeted, build from gcc-11.1.0 snapshot with latest bleeding edge components)
    • Full -O2 build with device and target flags enhanced, linaro build improvements, etc
    • Less is more: stockish OP5 builds based on OnePlusOSS/android_kernel_oneplus_msm8998
    • 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
    • Several CPU Governors (blu_active modded own governor by default - fastlane mode available!)
    • No OC, use 250HZ kernel timer frequency
    • msm_performance input boost toggle on/off (enabled by default), tweaked cpu_boost driver
    • Enhanced TCP methods (westwood is default), Network and Wifi tweaks and updated drivers
    • Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, tweaked and upstreamed filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)
    • Removed verify and doesn't force encryption, patched SafetyNet flags to pass CTS
    • Stock thermal driver by default (custom tunables available for ROMs with no thermal daemon)
    • Disabled hotplug, also on low battery levels (CTL and BCL)
    • Optimized crypto routines
    • ZRAM Swap (LZ4) and adaptive LMK on by default
    • Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
    • KGSL fixes and reworked GPU driver (goes to idle @ 180MHz)
    • adrenoboost enabled by default at low level
    • KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
    • KLAPSE support (v5.0)
    • Backlight min brightness option
    • USB Fast Charge (USB mode up to 900mA with MTP on)
    • Battery/Notification LED control
    • FS fsync toggle on/off
    • Wakelock blockers available
    • zx2c4's 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
    Extras download location
    (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.


    OnePlus 5 development unit donated by OnePlus. Big shouts to them :)
    Very proud of being on the OnePlus Developer Program, special thanks to Adam K. for being such a supportive person.


    Contributors
    eng.stk
    Source Code: https://github.com/engstk/op5
    100
    blu_spark r8

    All right crew!

    First build of your favorite kernel is up. Wicked!

    Just got an OP5 developer unit yesterday from Oneplus, so today you already have a fully featured blu_spark build.
    Most of the features you are used to from blu_spark on OP3/3T and others are in, this first build was compiled with Linaro GCC 5.4 (blu_naro 7.1 build still need some work).
    Pretty happy with the stable and smooth base, next weeks will bring more of the usual goodies, there's still lot's of room for improvements :fingers-crossed:

    blu_spark_r8-oos_op5_49e4692.zip

    • First public build (check OP and github for details)

    Keep it real, keep it true, keep it blu :highfive:

    Keep in mind: I will give no active support for custom ROMs (including OOS based ones) or OB.
    Meaning, if using anything besides stock and stable OOS don't bother posting about it.
    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 CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
    Custom build isn't compatible with EAS stuff.
    Also don't go spam and bug reporting on ROM threads if using this.


    pp-acceptance-small.png

    If you like my work, donations are always welcome.
    Don't forget to hit thanks and rate the thread nicely, it's free ;)
    57
    blu_spark extras v9.110

    All right crew!

    Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-9.0 branch (including more recent upstream than official TWRP) and some specific device fixes.

    Fully synced with TWRP 3.3.1+, name changing to reflect base 9.version, full compatible with Pie stuff (you need Pie fw also) and A10 custom ROMs will work also (OMNI tested)
    TWRP blu_spark edition is unified, works for both OP5/5T.
    Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.
    This build is treble ready, allowing /vendor partition operations. If you don't use treble enabled ROMs, ignore any vendor errors that may appear, TWRP will work just fine.


    twrp-3.3.1-x_blu_spark_v9.110_treble-op5_op5t

    • build: TWRP 3.31-x | blu_spark v9.110
    • Supports Android 10
    • /sbin should come first in the linker search path
    • Move decryption error from logerror to loginfo
    • Encryption: don't try wrapped key if not needed
    • Removing fake error: E: recv error on uevent
    • bootable: read all asserts in case there are more than one.
    • Prevent errors caused by /data/per_boot/
    • crypto: add some missing newlines
    • Complete overhaul of Dutch translation:
    • recovery: wipe bootloader message from index 0 when using custom offsets
    • android-5.1: use char constructor for default on c++ streams
    • recovery: Move bldrmsg offset symbols to bootloader_message.cpp
    • Encryption: try wrapped key also for device without metadata support
    • ldconfig: add /sbin to search.paths
    • Device specific changes here




    Wakelock blocker info and example script


    I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).
    If your cat get's on fire you're on your own ;p


    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 ;)
    56
    blu_spark r30

    All right crew!

    New build is up :highfive:
    Also take a look to the rest of blu_spark v43 extras to get some nice and useful additions to the kernel.

    This build features latest blu goodies and new wakelock blocker interface by boeffla, build with latest blu_naro-7.2 :good:
    With the new wakelock block system you can add any wakelock source you want, works like this: you can edit /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker and add the wakelock name in there to block it (list separated by ';')
    If you want to survive reboots, you can use a script (check the attached example inside the zip). Just copy your script to /magisk/.core/post-fs-data.d or /su/su.d, depending on root option you use ( don't forget to set the file permission 777)
    You can get more info about it here. Because this is powerful and can bring potentially derps if you choose to block unknown stuff, I will give no support if you choose to use any wl blocking (which I didn't before anyway).


    blu_spark_r30-oos_op5_28565f7.zip
    blu_spark_r30-custom_op5_28aae04.zip

    • build: use newest and improved blu_naro-7.2, build from developer snapshot Linaro GCC 7.2-2017.09, with updated components and improvements/fixes
    • blu_active: handle error for module load fail
    • defconfig: enable boeffla wakelock blocker
    • boeffla_wl_blocker: add generic wakelock blocker driver v1.0.0, update to wakelock blocker driver v1.0.1, update to wakelock blocker driver v1.1.0
    • boeffla_wl_blocker: don't block wakelocks by default
    • Revert singular wakelock block
    • Revert su expose workarounds
    • DASH: spoof normal usb fastcharge into android-7.1 (custom only)

    Keep it real, keep it true, keep it blu :highfive:

    Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
    Meaning, if using anything besides stock and stable OOS don't bother posting about it.
    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.


    pp-acceptance-small.png

    If you like my work, donations are always welcome.
    Don't forget to hit thanks and rate the thread nicely, it's free ;)
    48
    Merry Christmas for all the blu_crew :highfive: