[KERNEL] [blu_spark r32 unified] [OOS 4.0.* / Open Betas / custom ROMs]

Status
Not open for further replies.
Search This thread

kenzolo

Senior Member
Jun 14, 2012
1,471
3,052
Rome
Guys I'm pulling r27 and twrp v12.
I encountered a couple data corruption situations, specially a rather troublesome one (for some people that want to use a lower revision of f2fs, let's say in stock kernel).
I will be keeping the f2fs present on OOS until further notice.

I recommend you backup your working system and put it on PC, USB or similar.
this recovery fix the issue at least for me (app automatically disappear after a reboot)
https://mobile.twitter.com/arter97/status/818768657144680448
seems it include some f2fs commits
take a look ;)
 

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
this recovery fix the issue at least for me (app automatically disappear after a reboot)
https://mobile.twitter.com/arter97/status/818768657144680448
seems it include some f2fs commits
take a look ;)

Those upstream is the root of some of the trouble.
So no.

Also, running a recovery with upstream f2fs will create trouble for people using stock ROM and kernel.
I noticed this because I was going back and forth OOS 3.5 and 4.0.
 

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
Just a OP3 thread repost:

So much confusion goes here, just read people.

r27 had the f2fs 4.10 backports, which I didn't found completly stable. So I reverted them.
Even worse, it will render broken any lower f2fs revision (like in previous -and next - blu_spark, other custom kernels and stock), resulting in all kind of data corruption and so on.
I got it because I use stock kernel to compare and trouble shoot stuff sometimes.
And makes no sense to me having something not retro compatible with stock kernel to gain pretty much nothing.
So be aware, if you use recoverys/ROMs with kernels with this on, you will encounter this situation in the future probably.

You guys with TWRP v12 don't have any issue with data on stock ROM OOS 4/4.0.1?
That would be a first to me, since I could replicate it in OOS 4, OOS 3.5 and OOS 3.2.8.

The twrp v12 was taken down also because it also has the said f2fs changes. For going to other twrp you can use fastboot as any other recovery ( you may need to format data in fastboot also to get it to boot).
Don't clutter the thread with unnecessary stuff.
 

eng.stk

Senior Member
Mar 29, 2011
6,788
58,581
OnePlus 5T
OnePlus 6
blu_sp★rk r28 unified

All right crew!

New build is up. Wicked!

Hopefully this will be the really really the last MM build before N.
Keep in mind if you're on F2fS and flashed blu_spark r27 and/or TWRP v12, you probably will encounter data corruption and trouble booting up when upgrading.
If this the case, backup your stuff to PC and format your data partition.

  • build: use newest and improved blu_naro-6.3, build from developer snapshot Linaro GCC 6.3-2017.01, with updated components and improvements/fixes
  • Revert f2fs: catch up with 4.10-rc1-3.18
  • cfq-iosched: fix the setting of IOPS mode on SSDs
  • mdss: Fix solid fill unpack pattern, Do not wait for kickoff in display commit
  • ion: Fix typo in ion system secure heap
  • Android: binder: check set_context_mgr permission on time.
  • UPSTREAM: ring-buffer: Prevent overflow of size in ring_buffer_resize()
  • perf: don't leave group_entry on sibling list (use-after-free)
  • qcacld-2.0: Add check to Validate SSID length, Use heap memory for station_info instead of stack
  • BACKPORT: mm: avoid setting up anonymous pages into file mapping
  • ALSA: info: Check for integer overflow in snd_info_entry_write()
  • ion: Fix use after free during ION_IOC_ALLOC, blacklist %p kptr_restrict
  • drivers: video: Add bounds checking in fb_cmap_to_user
  • msm: camera: Avoid exposing kernel addresses
  • net: ipc_router: Register services only on client port
  • UPSTREAM: l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
  • UPSTREAM: netlink: Fix dump skb leak/double free
  • UPSTREAM: net: avoid signed overflows for SO_{SND|RCV}BUFFORCE


Keep in mind: I will give no active support for custom ROMs or OB. Meaning, if using anything besides stable OOS don't bother posting about it.
I am only interested on debugging stuff in 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.
Also don't go spam and bug reporting on ROM threads if using this.


Here's an updated TWRP blu_spark v14 with all the blu_spark goodies inside:
  • build: TWRP 3.0.3-x | blu_spark v14
    • Fix f2fs building
    • Device changelog here
  • build: TWRP 3.0.3-x | blu_spark v12
    • fix: recently a change in AOSP causes a bootloop to TWRP
    • ADBbackups: Fix wrong owner on binary backups.
    • gui: remove old unmaintained 2.x theme
    • updater: Add LZMA support to blockimg
    • flashutils: additional emmc check
    • Support theme width and height offsets

No support will be given, if your cat get's on fire you're on your own.
Also don't clutter the kernel thread, just sharing, not really after any feedback.

Go get it: https://forum.xda-developers.com/devdb/project/dl/?id=22668

pp-acceptance-small.png

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

JohnYang1997

Senior Member
Dec 17, 2012
389
58
on build 28
I can't set to the frequency i want to. I use ex kernel manager.
i think it wasn't a issue when i was on 25.
the frequency stuck at 1.5 for small core 2.3 for big core.
 

JohnYang1997

Senior Member
Dec 17, 2012
389
58
I just uninstall the kernel totally. I flashed the stock boot.img and cleaned cache dalvik cache and flashed 28 and supersu again. Boom Working good.
 

bipinbedi

Senior Member
Apr 20, 2011
791
253
New Delhi
All right crew!

New build is up. Wicked!

Hopefully this will be the really really the last MM build before N.
Keep in mind if you're on F2fS and flashed blu_spark r27 and/or TWRP v12, you probably will encounter data corruption and trouble booting up when upgrading.
If this the case, backup your stuff to PC and format your data partition.




Keep in mind: I will give no active support for custom ROMs or OB. Meaning, if using anything besides stable OOS don't bother posting about it.
I am only interested on debugging stuff in 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.
Also don't go spam and bug reporting on ROM threads if using this.


Here's an updated TWRP blu_spark v14 with all the blu_spark goodies inside:


No support will be given, if your cat get's on fire you're on your own.
Also don't clutter the kernel thread, just sharing, not really after any feedback.

Go get it: https://forum.xda-developers.com/devdb/project/dl/?id=22668


If you like my work, donations are always welcome (but not mandatory).
Don't forget to hit thanks, it's free ;)
I have never touched the file system, it is default and I am using boeffla kernel. Should I flash it right away or do I need to change something.
 
Status
Not open for further replies.

Top Liked Posts

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

    Kernel features:
    • Powered by Ubuntu 16.04.1 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
    • Build with custom toolchain blu_naro-6.3 (cortex-a53 targeted, build with latest Crosstool-NG from developer snapshot Linaro GCC 6.3-2017.01)
    • Full -O3 support with device and target flags enhanced, linaro build improvements, etc
    • Less is more: stockish OP3/OP3T unified builds based on OnePlusOSS/android_kernel_oneplus_msm8996
    • Systemless installer (OTA friendly)
    • Removed some debug and logging options
    • ARM enhanced performance and battery patches
    • General upstream and CAF fixes
    • Several CPU Governors (blu_active own upstreamed and tweaked governor by default)
    • Overclock available (boots with default freqs), set 300HZ base timer frequency [soon]
    • msm_performace input boost toggle on/off (disabled 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 filesystems (F2FS upstream, ExFAT, NTFS & CIFS)
    • Removed verify and forced encryption
    • Stock thermal driver by default (custom tunables available)
    • Optimized RWSEM, AES and SHA1 routines (with NEON support)
    • Swap and adaptive LMK off by default
    • Vibrator Strength tunable and Gesture Haptic Feedback control
    • KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
    • sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
    • DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
    • Battery/Notification LED control
    • Multimount fstab (you can use data f2fs or ext4)
    • FS fsync toggle on/off
    • CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
    • init.d support (put your scripts in /system/su.d or /su.su.d [systemless SuperSU])
    • Compatible with Kernel Adiutor Beta and others

    DOWNLOAD KERNEL ZIP


    Warning: If you come from other kernel, you should dirty flash your ROM before flashing blu_sp★rk zip to avoid problems.
    Reflash ROM -> flash SuperSU -> flash blu_sp★rk.
    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). If you're using custom ROMs you're on your own, I'm only interested on debugging stuff in 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 CM or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs and other userspace stuff. There's threads for it, use them.

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


    Advanced filesystem: If you want to use EXT4 instead of F2FS, do the following (backup your data to external source before attempt this, it will erase all your sdcard data)
    • Flash TWRP and latest blu_sp★rk zip
    • Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to EXT4
    • Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to EXT4
    • Reboot and profit
    To be back on F2FS, just do the same but choose F2FS instead


    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 OP3T, Kernel for the OnePlus 3T

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

    Kernel Special Features: Powered by sparky

    Version Information
    Status: Stable
    Current Stable Version: r28 unified
    Stable Release Date: 2017-01-17
    Current Beta Version: r32 unified
    Beta Release Date: 2017-01-21

    Created 2016-12-09
    Last Updated 2017-01-23
    54
    blu_spark r32 unified

    All right crew!

    New build is up. Wicked!

    • build: use newest and improved blu_naro-6.3, build from developer snapshot Linaro GCC 6.3-2017.01, with updated components and improvements/fixes
    • Rebase and merge OnePlus N changes
    • Up to 95% features in
    • Custom build for N ROMs and TWRP will be updated later


    Keep in mind: I will give no active support for custom ROMs or OB. Meaning, if using anything besides stable OOS don't bother posting about it.
    I am only interested on debugging stuff in 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.
    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 (but not mandatory).
    Don't forget to hit thanks, it's free ;)
    33
    blu_spark r8

    All right crew!

    New build is up. Wicked!

    I decided to bring this kernel form the OnePlus 3 to the 3T :victory:
    From those of you that already know me from Nexus, Motorola and other Oneplus devices you know what to expect: stability, useful addins, original work and features, no cruft, lean optimizations, security updates, better battery / (real life) performance, better overall UX.
    Enjoy!

    • First build for 3T, fully synced with 3 branch
    • Add Disable Gesture Haptic Feedback control json (unzip the attachment and import in Kernel Adiutor Custom Control tab, hit "+" and import)


    Keep in mind: I will give no active support for custom ROMs or OB. Meaning, if using anything besides stable OOS don't bother posting about it.
    I am only interested on debugging stuff in 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.
    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 (but not mandatory).
    Don't forget to hit thanks, it's free ;)
    31
    Hey guys.

    Since our recovery and kernel is fully unified now, I will be only posting in my 1st thread at OP3 forum.
    https://forum.xda-developers.com/oneplus-3/development/kernel-t3404970
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