[KERNEL] [blu_spark r184 unified OP5/5T] [OOS 9.* / pie custom ROMs]

What vibration control you prefer in Oreo OOS?


  • Total voters
    43
  • Poll closed .
Status
Not open for further replies.
Search This thread

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
DWHxIK

Kernel features:
  • Powered by Ubuntu 18.04.3 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
  • Build with custom toolchain blu_gcc-9.2.0 (cortex-a73.cortex-a53 targeted, build with latest Crosstool-NG from GCC-9.2.0 snapshot)
  • 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 - Nougat only), 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 300HZ 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
  • Swap and adaptive LMK off by default, 60 apps on background 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 medium level
  • KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
  • KLAPSE support (v5.0)
  • DASH charge and 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


(No mirrors please)​


Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing blu_spark zip to avoid problems.
Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash blu_spark.
If you are already rooted or upgrading between blu_spark versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.

About bugs and troubleshoots: 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 with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with modules, etc.
If you're using custom ROMs (including OOS based ones) or Open Betas you're on your own. I'm only interested on debugging stuff in stock and stable OOS.
Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
Also don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs, Recovery/TWRP troubleshoots and other userspace stuff. There's threads for it, use them.

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


pp-acceptance-medium.png

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

OnePlus 5T 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.

XDA:DevDB Information
blu_spark kernel for OP5/5T unified, Kernel for the OnePlus 5T

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

Kernel Special Features: Powered by sparky

Version Information
Status: Stable
Current Stable Version: r184 unified pie
Stable Release Date: 2019-10-19
Current Beta Version: r180 unified pie
Beta Release Date: 2019-08-24

Created 2017-11-17
Last Updated 2019-10-18
 

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
blu_spark r51 unified

All right crew!

First kernel for the 5T is up, fastlane style :highfive:

This is an initial build, tested only on OP5. It is a baseline for 5/5t unified installer (similar of 3/3T).
For now, seems like fw updates from OOS 4.7 are needed for some stuff, so it is only working 95% on the OP5 OOS 4.5.* (FPR doesn't work).
Don't flash this on OP5 for now. On 5T all should be working just fine.

So, keep in mind that it's tested on the OP5, on the 5T it's not because I don't have the device just yet.
Backup and take all the precautions you can think of, if you're cat get's on fire you're on your own :eek:


blu_spark_r51-oos_op5-op5t_79c5b56.zip

  • build: use newest and improved blu_naro-7.2, build from developer snapshot Linaro GCC 7.2-2017.10, with updated components and improvements/fixes
  • Synchronize codes for OxygenOS 4.7.1
  • full rebase and features bringup from OP5
  • drivers: misc: fix a couple build errors

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 ;)
 
Last edited:

Rosa Elefant

Senior Member
Sep 20, 2010
412
63
The issue is that the GPL enforces you to allow anyone to distribute any derivative works - including "the compiled stuff" - in any way they want. That also means mirrors. So no, "no mirrors allowed" violates the GPL. You might want to replace that by "please don't mirror" or something.
(I know this is nitpicking in a way. I was just wondering.)
 
  • Like
Reactions: Morphine1

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
The issue is that the GPL enforces you to allow anyone to distribute any derivative works - including "the compiled stuff" - in any way they want. That also means mirrors. So no, "no mirrors allowed" violates the GPL. You might want to replace that by "please don't mirror" or something.
(I know this is nitpicking in a way. I was just wondering.)
I'm not enforcing anything, this is valid for xda links posted, as a cortesy and for security. Word play it's what it is, I can change if it suits you better.
Other than that you can burn CDs with it and send to your friends if you like :)
 
Last edited:

OcazPrime

Senior Member
Mar 30, 2016
449
108
Are you aware that you violate the terms of the GPL with this?

Rules are made to be broken. Not every rule needs to be enforced when it wont matter and harms nobody. Like he said its a courtesy thing stop doing the moderation for XDA they do a good job themselves. Keep OT out as much as possible. Some people would rather see this thread get support instead of strikes from "rules"
 

exodius48

Senior Member
Apr 7, 2013
3,555
674
Yori's Heart
Advanced filesystem: If you want to use f2fs, do the following (backup your data to external source before attempt this, it will erase all your sdcard data)
  1. Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to f2fs
  2. Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to f2fs
  3. Reboot and profit
To be back on ext4, just do the same but choose ext4 instead

Does recommended or not if i also partition /system as f2fs?
 

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
Why's that..? You are the reason I was using F2FS due to your regular updates on kernel / recovery. Faced bad exp on it?
Some instability on latest times and on fast UFS devices there's no much performance difference.
Also I don't upstream f2fs on 4.4 because of FBE and crypto stuff, prefer to leave as it is and just add security patches when applicable.
 

Martin_Ro

Senior Member
Jan 9, 2012
1,815
4,726
Essen, Germany
OnePlus 9 Pro
Most likely because nowadays Memory is so fast (especially with UFS2.1) that it doesn't really matters and isn't worth the trouble.

I tested it back on my days with the OPO and Nexus 6 and never saw any real benefit for most parts and they haven't have had UFS2.1.

So don't expect too much of a performance gain with F2FS.

EXT is a mature system, more mature than F2FS. And sometime safety counts more than fractions of seconds of starting speed for a bigger application.
 
Status
Not open for further replies.

Top Liked Posts

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

    Kernel features:
    • Powered by Ubuntu 18.04.3 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
    • Build with custom toolchain blu_gcc-9.2.0 (cortex-a73.cortex-a53 targeted, build with latest Crosstool-NG from GCC-9.2.0 snapshot)
    • 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 - Nougat only), 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 300HZ 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
    • Swap and adaptive LMK off by default, 60 apps on background 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 medium level
    • KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
    • KLAPSE support (v5.0)
    • DASH charge and 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


    (No mirrors please)​


    Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing blu_spark zip to avoid problems.
    Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash blu_spark.
    If you are already rooted or upgrading between blu_spark versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.

    About bugs and troubleshoots: 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 with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with modules, etc.
    If you're using custom ROMs (including OOS based ones) or Open Betas you're on your own. I'm only interested on debugging stuff in stock and stable OOS.
    Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
    Also don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs, Recovery/TWRP troubleshoots and other userspace stuff. There's threads for it, use them.

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


    pp-acceptance-medium.png

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

    OnePlus 5T 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.

    XDA:DevDB Information
    blu_spark kernel for OP5/5T unified, Kernel for the OnePlus 5T

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

    Kernel Special Features: Powered by sparky

    Version Information
    Status: Stable
    Current Stable Version: r184 unified pie
    Stable Release Date: 2019-10-19
    Current Beta Version: r180 unified pie
    Beta Release Date: 2019-08-24

    Created 2017-11-17
    Last Updated 2019-10-18
    52
    blu_spark r51 unified

    All right crew!

    First kernel for the 5T is up, fastlane style :highfive:

    This is an initial build, tested only on OP5. It is a baseline for 5/5t unified installer (similar of 3/3T).
    For now, seems like fw updates from OOS 4.7 are needed for some stuff, so it is only working 95% on the OP5 OOS 4.5.* (FPR doesn't work).
    Don't flash this on OP5 for now. On 5T all should be working just fine.

    So, keep in mind that it's tested on the OP5, on the 5T it's not because I don't have the device just yet.
    Backup and take all the precautions you can think of, if you're cat get's on fire you're on your own :eek:


    blu_spark_r51-oos_op5-op5t_79c5b56.zip

    • build: use newest and improved blu_naro-7.2, build from developer snapshot Linaro GCC 7.2-2017.10, with updated components and improvements/fixes
    • Synchronize codes for OxygenOS 4.7.1
    • full rebase and features bringup from OP5
    • drivers: misc: fix a couple build errors

    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 ;)
    51
    blu_spark extras v8.83

    All right crew!

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

    Fully synced with TWRP 3.2.3+, name changing to reflect base 8.version, full compatible with OOS Oreo 8.1/8.0 stuff and Nougat.
    TWRP blu_spark edition is not only universal but also 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.
    OK, just one more blu_twrp build then :angel:

    twrp-3.2.3-x_blu_spark_v8.83_treble-op5_op5t.img

    • build: TWRP 3.2.3-x | blu_spark v8.83
    • enable md5sum digest verification
    • Fix installing OTAs without decrypting
    • Fix ld.config.txt errors on Android 8.1 system root devices
    • language: italian: Fix SELinux support label
    • android: release 8.1.0_r40
    • Device specific changes here

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


    Wakelock blocker info and example script
    Android wireguard-tools Magisk Module


    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
    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 ;)
    50
    blu_spark extras v9.91

    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.2.3+, name changing to reflect base 9.version, full compatible with Pie stuff (you need Pie fw also).
    TWRP blu_spark edition is not only universal but also 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.2.3-x_blu_spark_v9.91_treble-op5_op5t.img

    • build: TWRP 3.2.3-x | blu_spark v9.91
    • build with latest android-8.1 (android-9.0 still needs some work)
    • Ignore compatibility.zip while flashing (no need for workarounds while flashing pie zips)
    • twrp: use ANDROID_ROOT environment variable
    • prebuilt: resolve libext2_misc.so dependency for mke2fs
    • Add option to use ro.serialno for generating device id
    • minui: Don't include errno.h twice
    • Fix sha2 generation persistence
    • Label FBE encryption keys with additional prefixes
    • 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 ;)
    47
    blu_spark extras v9.100 (Pie only)

    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.0+, name changing to reflect base 9.version, full compatible with Pie stuff (you need Pie fw also).
    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.0-x_blu_spark_v9.100_treble-op5_op5t

    • build: TWRP 3.3.0-x | blu_spark v9.100
    • rebase for twrp 3.3.0 (search official changelog)
    • manifest: android-8.1.0_r51
    • Several usual blu_spark goodies from before, enchilada and whatnot
    • languages: encode for utf-8 in the appropriate places.
    • Updated Russian localization, bugs fixed
    • 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 ;)
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