[Kernel] Blue Bolt [Oreo][Linux 3.10.108][02-06-2018][LinaroTC]

Do you want few more builds of Nougat based kernel till O isn't fully mainstream.


  • Total voters
    25
  • Poll closed .

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
[size=+3]Blue Bolt Kernel[/size]

Code:
#include<disclaimer.h>
void main()
{
/*
* I am not responsible if I brick your device.
* Flash at your own risk.
*/
exit(0);
}



[size=+2]Introduction[/size]
This kernel is based on Lineage OS's kernel source code for OnePlus 2, the main aim of this kernel is to provide Good battery life,
and to do so I have added bunch of stuff and tweaked code to improve battery and also to make sure that you don't get lag and delay I have improved the performance enough, and you can be the boss of your own device(Check Features you'll understand).

[size=+2]Features[/size]
  • Based on Linux version 3.10.108
  • CAF tag 'LA.BF64.1.2.3-03310-8x94.0'
  • Added Governors (Electron, Chill, Relaxed)
  • Blocked wakelock (by Boeffla)
  • Added Hotplug (Core_ctl)
  • GPU Underclocked to 27 MHz
  • Totally Re-worked GPU frequencies
  • Added Adreno IDLER and Adreno Boost
  • CPU's underclocked to minimum frequency 302MHz for both big and LITTLE
  • Enabled Fast Charging
  • Gentle fair sleepers toggle added (to save some more juice)
  • Faux Audio 3.6 & pDesireAudio
  • KCAL Support
  • Enabled fingerprint boost
  • Added Maple IO schedulers
  • Voltage Control
  • Dynamic Fsync
  • Improved interactive governor
  • Compiled with a Linaro Toolchain to get more juice out of your device
  • A lot of miscellaneous changes have been made to improve battery.
  • Slimbus Overclocked.
  • Added new GPU frequencies.

[size=+1]Compactibility[/size]

RC / Beta 2.x Works with all Nougat ROMs
RC / Beta 3.x Works with all Oreo ROMs


Note
  • Initial boot might heat up device a bit, which is normal - Let it settle
  • I'll recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.

[size=+2]
Latest Download Link

[/size]

Beta : They are compiled with new commits and some bugs might be there. If the things work the way they are supposed to be, those commits will make to the RC
RC : Release Candidate, it is supposed to be stable

Flashing and tweaking
  • Installation / Flashing - Download the zip, beta or RC which ever you want to, now boot into recovery and flash from there and then boot into system Voila the kernel is flashed
  • (Optional) - Clear cache and Dalvik
  • To tweak use Kernel Adiutor Mod or EXKM.
  • Spectrum - I've made 4 predefined settings in kernel (Battery, Balanced, Performance, Gaming) which can be switched through this app as per your need, default is balanced. Download Link is in the change-log post.


Credits
Pranay Narang, MZO, ZaneZam, Suraj Das, Francisco Franco, Lord Boeffla, Wang Han, Simao (xdevs23), Ashok Soni, Subham, Sultanxda
Sorry if I have missed anyone

Thanks
To all the members of Tester's crib, Blue testers.

You can contact me on telegram if you have any issues : Shreyansh Lodha

Happy Flashing

Source Code
My Source Code for Lineage based ROM's Kernel : GitHub
My Source Code for AOSP based ROM's Kernel : GitHub

XDA:DevDB Information
Blue Bolt Kernel, Kernel for the OnePlus 2

Contributors
ShreyanshLodha
Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: RC 3.3.1
Stable Release Date: 2018-02-06
Current Beta Version: Beta 3.0
Beta Release Date: 2017-10-10

Created 2017-06-05
Last Updated 2018-04-19
 
Last edited:

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
Change Log

19th April 2018 -- RC 3.5 (Oreo Only)
- Dynamic Fsync
- Voltage Control
- Fixed lag in various ROMs
- Default mode in spectrum - Changed default governor to interactive
- Improved Interactive governor
- A lot of security patches
- A lot of important sched patches.
- Attempt to improve fp recognition. (Don't complain if it slows down instead, its just an attempt, will revert back if it doesn't help)
- more under the hood changes

06 February 2018 -- RC 3.4 (Oreo Only)
- Sched improvements
- Fixed Device Name when connected to a PC / Laptop.
- Improvements to GPU Driver
- Little Core Overclocked to 1651 MHz
- Added Wireguard
- Imported some changes from google's Angler
- Set CFQ as default IO Schedular.
- Enabled MSM Thermal by default.
- A ton lot of under the hood changes.

11 January 2018 -- RC 3.3.1 (Oreo Only) - Not for Delight ROM
- Slimbus Overclocked
- Improvements and fixes to pDesireAudio
- Fingerprint improvements
- Fixed CVE-2017-8824
- Improvements to LMK

29 December 2017 -- RC 3.3 (Oreo Only)
- Improvements to onDemand governor
- A ton of commits for USB related stuff
- Improvements to Fingerprint (Don't expect quicker wakups.)
- Sched related changes
- New TCP algorithm (CDG)
- Multiple changes to GPU stuff.
- Ton of RCU changes
- A lot of changes to make kernel more battery friendly.

27 November 2017 -- RC 3.2 (Oreo Only)
- Fixed issue with delayed registering of FP.
- Pocket Mode added (Doesn't register FP when phone is in pocket)(Enable it using BlueBolt Tweaking App)
- More under the hood changes
NOTE : Pocket mode is not enabled by default.
Read Second Post to know more about the App.

16 November 2017 -- RC 3.1 (Oreo Only)
- Linux kernel update 3.10.107 -> 3.10.108
- Unlocked new GPU frequencies (110,250,320,390) and removed 305MHz
- Now using Linaro 7.x toolchain for compilation
- Previous heating issue is resolved
- Added Fsync toggle

26 October 2017 -- RC 2.5 & RC 3.0
NOTE : Both Nougat and Oreo Kernel's are now having same features. Also features in Beta 3.0 are there in both the releases and new changes are listed below
- Soft Vibrate on double tap to wake
- Added GPU boost
- Using relaxed atomic_read now
- Optimized Building for both cores now A53/A57
- Improved audio Playback
- Added support for USB keyboard (https://play.google.com/store/apps/details?id=remote.hid.keyboard.client).
- Various DTS and Sched related changes.

10 October 2017 -- Beta 3.0 (Oreo)
- Rebased Kernel Again
- Governors (Chill, Relaxed, Electron, Interactive, Ondemand, Performance)
- PDesireAudio with High Performance Audio Toggle
- Faux Audio Control 3.6
- Adreno Idler
- Adreno Boost
- Display Dimmer
- Core_ctl only hotplug
- I/O sched (no-op, Deadline, row, cfq, bfq, maple)
- ZRAM enabled
- CPU (302MHz freq enabled, No over clocking as performance is enough with 1555MHz on LITTLE and 1766MHz on big)
- GPU wih 27MHz enabled
- Gestures work on Unofficial Lineage 15.0 (All gestures are enabled by default)
- Fastcharge support added
- Popular battery consuming Kernel wakelocks have been blocked by default.
- Spectrum Support is added by default (Download from Here for better experience.)
- Note This boots up on Nougat ROMs as well, gesture work on most AOSP-CAF based N ROM. But separate release of Nougat Kernel will be done later this week.

04 August 2017 -- RC 2.4
- Removed Userspace, Tripandroid, Darkness governors and added Blu Active governor
- AutoSMP hotplug
- Updated to latest CAF tag
- Addressed the issue which caused current freq jumping to max freq all the time.
- fixed a few memory leaks
- A lot of CVE in the kernel are fixed now
- Tried Improving haptic experience
- Using power efficient Workqueues
- Synced with latest Lineage kernel
- Tons of minor changes are done to improve experience.
- Bug Fixes
Some of the users are having issue with KA app (It shows the current freq to max all the time even when cores are not active)
Use KA mod app as it is working correctly.

11-07-2017 -- RC 2.3-Final
-Updated to latest Linux kernel source
-Updated to latest CAF tag
-Added maple IO Scheduler
-Rabased kernel to Franco kernel
-added back pDesireAudio and removed faux audio
If some users face lag while streaming music consider turning off hotplugs off. That will resolve the lag
-A lot of battery improvements.
-Removed HCube hotplug.
-Undervolted by default now.

17-06-2017 -- RC 2.1
-Updated to Linux 3.10.106
-Updated Impulse governor
-Updated ZEN to v2
-updated cfq
-Updated HCube with OOS 3.5.8 version
-WiFi drop fixed for some routers
-Fixed a lot of memoty leaks
- Improved Interactive governor
-Lot of Inside changes

11-06-2017 -- RC 2.0
-Released 2 Builds for AOSP and Lineage based ROMs separately to make gestures work.
-Reworked from scratch to remove unstable codes.
-Removed few Hotplugs as they were causing conflicts and drains.
-Added SmartassH3 governor
-Added fingerprint boost driver (attempt to make fingerprint recognition better)
-Added IO Switcher(It switches the IO scheduler to no-op once the screen stays off for more than 60 seconds, and with screen wake the IO scheduler will change back to what it was. This is added to improve Idle drain as no-op is the most battery friendly IO scheduler)

06-06-2017 -- Beta 1.3
-pDesireAudio removed
-Some users reported me crash in media operation which is now resolved in this update.
 
Last edited:

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
BlueBolt Kernel Tweaking App (Requires Root)
This app is made to give users feature which they want to control but are not supported by other Kernel tweaking app, this app might not work as intended on other kernels.
The app is in its initial stage, So, if there's a issue report it so that I can work on it, also in case any crashes or issue provide logs also if possible steps to reproduce it.
V OneDotOneHotFix (Oreo):
- Fixed App FC when pocket mode was activated.


V OneDotOne (Oreo):
- Pocket mode Notification won't stay on top and neither will it show up in status bar.
- Pocket Mode quick tile has been added for more convince.

V OneDotZero (Oreo) :
- Added Apply on Boot option. (Only I have tested it so far, and it worked fine. If you find any issues provide me steps to reproduce it.)
- UI / UX improvements.
- Performance improvements.

v 1.3.Beta : (Oreo)
- UI Fixes and Improvements for screen with lower DPI.
- Backlight control are reworked.
- Give user an appropriate message in case device is not rooted.


v 1.2.Beta : (Oreo)
- Added true Splash screen till the time app doesn't loads fully.
- Changed App Theme (Colours).
- Added BCL toggle.

v 1.1.Beta : (Oreo) (Uninstall the previous versions 1.1 or 1.0 and then install this version, otherwise you'll face FC)
- Fixed issue with app not applying settings after coming from another app and using it.
- Fixed issue with PocketMode not applying right away.
- Fixed issue with app using unnecessary SU permissions all the time.
 
Last edited:

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
is it undervolted? little bit undervolting on lowest frequency can improve battery life ?
It is in a way.
As its min frequency is 302MHz and it is volted at 780mAh
Before it was 384MHz at 855mAh

you can undervolt yourself by changing it in KA app
KA -> CPU Voltage
change it for the frequency you want
Beware that. After changing the default rates in CPU voltage I wont be responsible.
 

chxei

Senior Member
Jun 26, 2015
483
117
63
tbilisi
I'll check and revert back to you!
meanwhile just add the music player in whitelist of battery optimisation.
now it plays but it slutters and is very laggy

---------- Post added at 13:50 ---------- Previous post was at 13:47 ----------

tryed different hotpluges, governors and schedulers but with no luck
 

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
now it plays but it slutters and is very laggy

---------- Post added at 13:50 ---------- Previous post was at 13:47 ----------

tryed different hotpluges, governors and schedulers but with no luck
Its probably a bug of pdesireAudio I'll check if I can fix it
Or I'll revert back to just Faux audio...

If you want You can flash RC 1.1 It doesnt have pdesireaudio.
 
  • Like
Reactions: chxei

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
music player: blackplayer
music mods: none
music stored localy
I'd suggest you use phonograph or play music, and test it with them, none of my testers have reported this issue!!
I am personally using phonograph and the playback it smooth and clear!


And if you get equalizer or some music mod app that comes with your ROM like in DU, RR and AEX then also put them in whitelist for battery optimisation.
 
  • Like
Reactions: Harish Diesel

Harish Diesel

Senior Member
Jan 2, 2014
116
20
0
Bangalore
I'd suggest you use phonograph or play music, and test it with them, none of my testers have reported this issue!!

Had the similar issue n now it solved!! i'm on Unofficial RR+Viper4Arise+Play Music. Songs play just fine:good:
Also charging speed increased far better than stock kernel.:highfive:

Minor thing is, i feel bit laggy while using Google now, FB & Insta. Is there anyway to speed it up a little?? what governor do you suggest?? let me know buddy?!!

Thanks @ShreyanshLodha for such an effort maann! appreciate it very much.:cowboy::cool:
 
  • Like
Reactions: ShreyanshLodha

ShreyanshLodha

Senior Member
Jun 15, 2015
302
493
0
Bangalore
I'd suggest you use phonograph or play music, and test it with them, none of my testers have reported this issue!!

Had the similar issue n now it solved!! i'm on Unofficial RR+Viper4Arise+Play Music. Songs play just fine:good:
Also charging speed increased far better than stock kernel.:highfive:

Minor thing is, i feel bit laggy while using Google now, FB & Insta. Is there anyway to speed it up a little?? what governor do you suggest?? let me know buddy?!!

Thanks @ShreyanshLodha for such an effort maann! appreciate it very much.:cowboy::cool:
If you feel that there's lag then,
make sure you are using any one hotplug (dont disable it and you cant use multiple)
And also you can increase min freq of the big core to 38X MHz
There are many ways, I'd suggest that you google it or read this thread.
And adjust make adjustments accordingly.
 
  • Like
Reactions: Harish Diesel

anupritaisno1

Senior Member
Apr 29, 2014
1,811
1,898
153
Reported. This is not original development. This thread belongs to the android development section
It looks like a bunch of stuff pulled in from my repos and also from darkbeast kernel