[KERNEL] [blu_spark r152] [Marshmallow 6.0.1 / Nougat 7.1.*]

Search This thread

kogone

Senior Member
Nov 9, 2014
121
28
Islamorada
Google Pixel 3 XL
Accidentally left my screen on last night and it was chilling in the morning!

blu_spark for life!!! [emoji109]

1513967380509.jpg1513967391983.jpg
 

bagajohny

Senior Member
Jun 2, 2017
364
64
That word is forbidden in Code_Blue, you should know ;p

If you're in latest PA, you need to turn off "Prevent accidental wake up".
This uses proximity sensor to check phone in pocket and introduces an additional +/- 1 second delay in wake screen.

This is valid to all the ROMs with this feature ( I first discovered it on CM)
Can I use this kernel with latest AOSPA 7.3.1? Its a CAF ROM.
 

eng.stk

Senior Member
Mar 29, 2011
7,354
61,776
Google Pixel 4a
OnePlus 9 Pro
Great interviews, it has been really interesting to read them! And good work
Happy holidays to you too ;)
Congrats for being interviewed. Interesting to read on! Anyways, your kernel really rocks!
Thanks for being supportive guys, this keeps the spirit alive :)
@eng.stk what ROM are you using on your Nexus 5?
Stock ROM and LOS 14.1 for testing.

Sent from my blu_spark'd OP5
 

Chaplan

Senior Member
Jan 8, 2008
1,334
2,243
No Place
Xiaomi Mi Pad 4
Google Pixel 4a
Settings still not applying after reboot. I always manually adjust kernel everytime I reboot.
And you should be doing some digging on your own since it applies just fine for everybody else.
Anyways:
1- What settings specifically are you talking about?
2- How are you setting them? App/script? If app, Apply on boot checked?
3- What ROM?

Apply on boot works as expected no matter how I set it up. KA, ExKM, scrypt.
Double check you process.
 
Last edited:
  • Like
Reactions: eng.stk

-Loom-

Senior Member
Nov 5, 2010
377
78
Düsseldorf
OnePlus 12
I'm running the latest LOS 14, and with stock kernel it is very smooth and works perfectly.

But as soon as I install BluSpark, the phone gets slower and slower of the next couple of hours, until even opening the app-drawer takes 5 seconds.

After a reboot, everything is back to normal. Until is gets slower again.

It doesn't matter what settings I choose - happens even with stock settings.
 
  • Like
Reactions: eclaxton

eng.stk

Senior Member
Mar 29, 2011
7,354
61,776
Google Pixel 4a
OnePlus 9 Pro
I'm running the latest LOS 14, and with stock kernel it is very smooth and works perfectly.

But as soon as I install BluSpark, the phone gets slower and slower of the next couple of hours, until even opening the app-drawer takes 5 seconds.

After a reboot, everything is back to normal. Until is gets slower again.

It doesn't matter what settings I choose - happens even with stock settings.
You're using a phone with 2GB of RAM, deal with it.
You can tune LMK to your own needs, it had been discussed several times.

Sent from my blu_spark'd OP5
 

Jacq1212

Member
Dec 2, 2017
23
6
Same problem for me, I have just do a clean flash to see if there was related to a specific app. I my case sometimes after getting slower and slower the phone reboots itself.
This did not happen with stock kernel or EucOs kernel.
 

-Loom-

Senior Member
Nov 5, 2010
377
78
Düsseldorf
OnePlus 12
Same problem for me, I have just do a clean flash to see if there was related to a specific app. I my case sometimes after getting slower and slower the phone reboots itself.
This did not happen with stock kernel or EucOs kernel.

I tried the low memory killer with kernel adiutor. Checked out all the different profiles there, but it didn't help at all. After 10 hours, the phone was unusable until a reboot.

I wonder if the problem is hardware-related. Otherwise there should be much more people experiencing this slowing behaviour.
 

Top Liked Posts

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

    Kernel features:
    • Build with custom toolchain blu_naro-7.2 (cortex-a15 neon-vfpv4 hard-float targeted, build with latest Crosstool-NG from developer snapshot Linaro GCC 7.2-2017.10)
    • Full -O3 support with device and target flags enhanced, linaro build improvements, etc
    • Less is more: stockish builds based on android-msm-hammerhead-3.4-marshmallow-mr3
    • Kernel compressed with XZ, custom tweaked RAMdisk with GZIP (faster boot times)
    • Removed some debug and logging options
    • Enhanced performance and battery patches
    • Several CPU Governors (blu_active own governor is default- fastlane mode available!)
    • Voltage Control UV_mV_table (UV down to 700mV possible)
    • Enhanced TCP methods (westwood is default), Network and Wifi tweaks
    • Several I/O control (added FIOPS and ZEN is default), tweaked filesystems (F2FS, ExFAT, NTFS & CIFS available)
    • Disabled stock mpdecision and thermald
    • blu_plug: Dynamic hotplug for hammerhead
    • msm_thermal simple driver (default 65º C threshold)
    • Optimized RWSEM, AES and SHA1 routines (with neon support)
    • Vibrator Strength tunable (60% default)
    • KGSL fixes and reworked GPU driver (removed doubled freqs, goes to idle @ 27MHz), Simple GPU Governor by default
    • Gamma Control and KCAL - Advanced color control for Qualcomm MDSS (RGB calibration and post-processing features)
    • Backlight dimmer ready (disabled by default, tuned min manual brightness - level 3)
    • Wakelock blockers available
    • USB automount (ROM must support it, otherwise use stickmount)
    • CDROM emulation added to mass_storage (Drive Droid compatible)
    • Kexec (multirom) full support
    • doubletap2wake available (0:disabled, 1:enabled, 2:enabled fullscreen), option to disable with power button or after wake_timeout
    • USB Fast Charge (USB mode up to 900mA with MTP, Increase battery charging current to use higher input current on AC mode, proprietary charger detection
    • init.d support (put your scripts in /system/su.d or /su.su.d [systemless SuperSU], /magisk/.core/post-fs-data.d [Magisk])
    • Compatible with Kernel Adiutor, Universal Kernel Manager and others

    DOWNLOAD KERNEL ZIP (no mirrors please)


    Warning: If you come from other kernel, you should dirty flash your ROM before flashing blu_sp★rk zip to avoid problems.
    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. Also, I only actively support stock ROM with NO mods whatsoever (apart from root).
    No support will be given to custom ROM including N stuff, so don't clutter the thread with it (specially):
    • No talking about WiFi and N issues.
    • No talking about ROM related and misc N issues.
    Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
    Also no OT about OTAs, apps, ROM bugs and other userspace stuff. There's threads for it, use them.


    This kernel installer modifies your filesystem, backup your boot.img with TWRP if you want to go back to full stock (or you can fastboot boot.img or dirty flash your ROM also)


    If you want to use F2FS, do the following (backup your data before attempt this, it will erase all your Data)
    • Flash TWRP with f2fs support and flash latest blu_sp★rk zip
    • Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to F2FS
    • Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to F2FS
    • Reboot and profit


    pp-acceptance-medium.png

    If you like my work, donations are always welcome (but not mandatory).
    Don't forget to hit thanks, it's free ;)


    XDA:DevDB Information
    blu_spark hammerhead, Kernel for the Google Nexus 5

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

    Kernel Special Features: powered by sparky

    Version Information
    Status: Stable
    Current Stable Version: r152
    Stable Release Date: 2017-11-23
    Current Beta Version: r141
    Beta Release Date: 2017-09-13

    Created 2015-08-10
    Last Updated 2019-11-29
    137
    blu_spark r40

    All right crew!
    New build is up, enjoy :)

    • audit: Mute userspace and kernel audit logs (goodbye nasty task exit spam)
    • net: fix iterating over hashtable in tcp_nuke_addr()
    • Input: optimize events_per_packet count calculation
    • tcp_cubic: fix the range of delayed_ack
    • tcp: fix timing issue in CUBIC slope calculation
    • Reverted moto LMK merges

    Don't forget to hit thanks ;)
    133
    blu_spark r35

    All right crew!

    New build is up, enjoy :)

    • lowmemorykiller: squash task adj rbtree optimization from Motorola
    • input: Don't reset keys pressed at suspend time from Atlantis
    • tcp_cubic: do not set epoch_start in the future, better follow cubic curve after idle period
    • Improvements on RAMdisk and install routines

    Don't forget to hit thanks ;)
    131
    blu_sp★rk r51

    All right crew!

    New update is up, some nice goodies inside, go get it.

    • makefile: use blu_naro cortex-a15 neon-vfpv4 hard-float toolchain (build with latest Crosstool-NG from developer snapshot Linaro GCC 5.3-2015.12)
    • sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
    • sched/core: Fix an SMP ordering race in try_to_wake_up() vs. schedule()
    • sched: Fix RLIMIT_RTTIME when PI-boosting to RT, Queue RT tasks to head when prio drops, Fix race in idle_balance()
    • sched/fair: Stop searching for tasks in newidle balance if there are runnable tasks
    • msm: camera: sensor: Change wait func to wait_for_completion_timeout
    • proc: actually make proc_fd_permission() thread-friendly, make proc_fd_permission() thread-friendly
    • futexes: Increase hash table size for better performance
    • mm/slub: don't wait for high-order page allocation
    • fs/buffer.c: increase the buffer-head per-CPU LRU size
    • ASoC: pcm: If pmdown_time is zero then shut down DAPM immediately
    • net: wireless: bcmhd: Serialize wl_notify_escan_complete
    • ARM: msm: hammerhead: Check completion status on vote for resume, Ignore watchdog init if device is interactive
    • net: wireless: bcmdhd: Do not process partial resume on bus reset, Fix suspend failure due to wakelock/wakeunlock mismatch, Ensure watchdog thread isnt called on bus reset, fix for watch dog issue in wifi connect test
    • cpufreq: ondemand: even if it's not being used it spawns uninterruptible threads equal to the num
    • wakeup: Add the guard condition for len in pm_get_active_wakeup_sources
    • timer: Prevent overflow in apply_slack
    • bluetooth: Validate socket address length in sco_sock_bind().
    • net: add validation for the socket syscall protocol argument
    • md: use kzalloc() when bitmap is disabled
    • ipv6: addrconf: validate new MTU before applying it
    • pagemap: do not leak physical addresses to non-privileged userspace

    If you like my work, don't forget to hit thanks :good:
    123
    Code_Blue r923

    All right crew!

    Back to the heavyweight jam :angel:
    I decided to reopen the thread after some thinking and some nice talks I had with several people.
    I do this for fun, so behave and don't make me regret it.

    This is for Lollipop 5.1 ROMs only.

    The zip uses anykernel installer, this means it uses previously installed ROM kernel Ramdisk.
    If already have Code_Blue or ROM default kernel installed just flash over.
    If you come from other kernel dirty flash you ROM and flash Code_Blue after.

    Changelog: http://goo.gl/tyW8lf

    Keep it real, keep it true, keep it #Code_Blue