[KERNEL][OOS3] Unofficial Boeffla-Enhanced Kernel (r4, 2017-05-15) - OnePlus 2 Original Android Development

Probably none of you knows me, but I have been developing Xposed modules which have 50 thousand+ downloads for quite long time. At the same time, I have been using OOS3 for its stability since last year. Although Boeffla kernel is a very good kernel, because of Oneplus's lack of careness, it has been missing a lot of security patches and improvements. At the same time, I want to improve and tweak Boeffla kernel a bit to fit my needs. So two weeks ago I started making this kernel based on Lord Boeffla's work and I think it is the time to share with you now.
It mainly majors in improving security and fixing issues, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.
I am sick of those kernels which say it is the smoother than butter or is more powersaving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.
The feature changes from original Boeffla kernel (Most changes are security patches):
Features:
- No feature is removed, 100% suitable for Boeffla config app;
- Add blu-active governor (thanks to engstk)
- Many charging tweaks
- Enable Arch power and gentle fair sleepers toggle (though I do not recommend toggling them)
- Add wakelocks toggle (thanks to Franco)
- Set I/O scheduler to noop after turning off screen in 60s to save idle power (thanks to Sultanxda)
- Various fingerprint speedups and haptic cleanups (thanks to Sultanxda and cyanogen)
- Lots of security improvements (thanks to CAF and Linux Upstream)
- Many many more...
Usages:
Flash the zip provided, then you can configure the parameters with Boeffla config app (may lack bunch of features) or my self-built kernel adiutor (the play store one will be lack of features). For keeping consistent with Boeffla config app, I implement some features to kernel adiutor, only screen gestures and sound configurations are left now) You can use them both too, but you need to enable "override" settings in Boeffla config app.
Source:
https://github.com/aviraxp/Oneplus2_OOS3_Boeffla_Kernel_Unofficial_Enhanced
Credits:
Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
Of course, thanks to Lord Boeffla for providing a good kernel!
Then I want to thank to Sultanxda for the 30+ commits I picked and the guidance he provided. You are the real MVP!
I also want to say thanks to dorimanx, Joe Maple, myfluxi, Franco and engstk for the good features they provided.
Downloads:
See attachments.

Update log:
r4:
- Merge many security patches
- General small "optimizations"
r3:
- Speed up fingerprint by boosting cores (save about 100ms, thanks to Sultanxda and Joe Maple)
- Relax charging temperature threshold and hack OEM logic to improve charging speed (thanks to myself)
- Remove temperature polling and tweak DSI check interrupts to reduce CPU overload (thanks to Sultanxda)
- 10+ security patches
r2:
- Boost DDR bus after turning on screen (thanks to Sultanxda)
- 20+ security patches
- Add relaxed governor and maple I/O scheduler (thanks to Joe Maple)

reserved 2

wow boeffla with wakelockes, arch and gentle fair sleepers. this is perfection ^_^ but wait, is this for oos?

chxei said:
wow boeffla with wakelockes, arch and gentle fair sleepers. this is perfection ^_^ but wait, is this for oos?
Click to expand...
Click to collapse
I think the attached filename shows it is for OOS

Is wakelock toggles available in Boeffla Config?

yousuf.shareef said:
Is wakelock toggles available in Boeffla Config?
Click to expand...
Click to collapse
Of course not. BOEFFLA config app is not open source, I cannot modify it.

which wakelock i have to disable to save power?

dom_tucc said:
which wakelock i have to disable to save power?
Click to expand...
Click to collapse
I do not recommend block them. I think blocking them is a no-op.

Seriously please be original.
How many boeffla kernel clones do we need :silly:

anupritaisno1 said:
Seriously please be original.
How many boeffla kernel clones do we need :silly:
Click to expand...
Click to collapse
I did this just for myself, it is based on Boeffla because I used to use it. I just put it here in case others need it. Also, my kernel has some original thing that none of other OP2 kernels have.

Can I use this with resurrection remix?

Rebel7022 said:
Can I use this with resurrection remix?
Click to expand...
Click to collapse
The file name tells it is a OOS kernel.

aviraxp said:
The file name tells it is a OOS kernel.
Click to expand...
Click to collapse
do you plan to make kernel for los/aosp

In case somebody wants to see the wake lock and idle time.

aviraxp said:
In case somebody wants to see the wake lock and idle time.
Click to expand...
Click to collapse
Please share your profile settings in the kernel.

Update is there. I picked many things from Sultan, who is one of a few kernel developers I really admire. I believe my kernel is the best now.

kostin said:
Please share your profile settings in the kernel.
Click to expand...
Click to collapse
Stock.

New Build is up.

Hi,
When I first flashed the kernel, it was fantastic like the fingerprint speed is crazy fast, but then randomly my phone will reboot and then keep rebooting straight after it reboots. It's not a boot loop because it does boot up, it's just that around 20 seconds of being on the os, it reboots again. What can I do to avoid this?

Related

[EOL][KERNEL] [OnePlus2] [Lineage14/CM13] Boeffla-Kernel (27-03-2018)

** Note: This kernel is end-of-life and will no more be maintained. There will be no LineageOS 15.1 or newer kernel be available anymore **
Hi all,
some of you know me from the other OnePlus (One and X) or Samsung devices areas, where I provide my kernels already for more than two years to OnePlus One, OnePlus Two, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, LineageOS, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Make sure you flash the correct kernel version, depending on whether you really use LineageOS/CM or a different OS !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Compatibility
Important: This kernel is only meant to be compatible with official LineageOS and nothing else.
It is reported to NOT work fine specifically on Resurrection Remix roms, also some Seraph based roms are not compatible.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (quite outdated, as it is focused on S3 still).
Click here to learn about using the config app (quite outdated, as it is focused on S3 still).
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for LineageOS 14 kernel - Click here
Change log for CM13 kernel - Click here
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.4.50 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
The two CPUs (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and hotplug profiles
Additional governors: Impulse, zzmoove, elementalx, conservative, ondemand
Additional schedulers: fiops, bfq, sio und zen
Hotplugging done by using stock core_ctl method
Many Hotplug tweak profiles (default are: little CPU always runs on 4 cores, big CPU runs on between 2 and 4 cores based on load)
Notification LED control (fading, speed, brightness)
Boeffla-Sound engine (Headphones volume configurable only)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable, input boost switch
No CPU and GPU overclocking (also not planned)
No CPU and GPU voltage interface (also not planned)
GPU underclocking to 27 MHz possible
GPU boost implemented (4 levels)
msm_adreno_tz and simple_ondemand tweaked to better utilize low frequencies
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2wake gestures
Swipe2sleep gestures
Boeffla generic wakelock blocker V1.1.0 (documentation)
BCL (battery current limit) driver switchable (default is on)
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
Thermal engine profiles (in system Tweaks section)
Kernel logger (dmesg) configurable
Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
USB charge rate bumped up to 900 mA
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms activated to be used
Entropy values configurable
Hardware touch keys locked as long as screen is in use (touched) for better usability (default, but configurable)
init.d support (in /system/etc/init.d - set correct permissions!)
Automatic EFS backup
Integrated full busybox 1.27.2 (own compilation)
Safetynet: verifiedbootstate + additional flags removed
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Rom flash survival mode configurable in Boeffla-Config
Google gcc 4.9 toolchain (64 bit) used for best stability
Always using latest CM13 Initramfs
Always based on latest CM13 kernel sources (http://github.com/CyanogenMod/android_kernel_oneplus_msm8994)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
f2fs - it is known to cause various issues and compatibility problems
custom hotplugging algorithms
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are using LineageOS/CM or another rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.4.50 or higher for the OnePlus 2 Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* flar2
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Last change logs:
LineageOS 14.1
http://kernel.boeffla.de/oneplus2/boeffla-kernel-cm/cm14.0/changelog.htm
CM13
http://kernel.boeffla.de/oneplus2/boeffla-kernel-cm/cm13.0/changelog.htm
Configuration and profile thread
http://forum.xda-developers.com/oneplus-2/general/unofficial-boeffla-kernel-profiles-t3289395
*** You want my support? Then stick to my rules ***
Guys, I am receiving more and more completely useless support requests in different threads. Useless because people provide nothing to be able to help, not even the minimal possible information they could give.
Hence, I will now remind anyone again on the support guide lines stated here:
http://boeffla.de/index.php/support/support
Also you need to ensure you follow the installation guide lines incl. trouble-shooting stated here:
http://boeffla.de/index.php/support/installation-how-to
And to cut a long story short: If you do not at least provide what I request in the support guide lines, I will IGNORE YOUR REQUESTS IN FUTURE.
Straight and simple. I have enough of people wasting my time just because they are too lazy to write details.
Period.
Also as a reminder:
you use xposed? -> no support, everything is your own issue
you use a custom rom and not the official stock or CM one? -> good luck, you are on your own
you undervolt or overclock? -> have fun, but without my support
Sorry, this might sound harsh (and it is meant to sound harsh), but you cannot imagine about how crappy support requests can be. Stating something does not work is just not enough.
Please consider that!!!
Andi
.... And its here! Finally landed for cm13 for our beloved op2. Thanks a ton @Lord Boeffla
Sent from my ONE A2003 using Tapatalk
Wohooo...
It's party time for op2 users
Awesome! Will shift to CM13 soon to just try this kernel.
Wooohoo. Awesome.
If only my BSNL allowed me to download that right now ???*
Beer time! :highfive:
3FN59977869854618
Fantastic! Waiting for this day!
I have not found any issue in Kernel but a typo in OP. You've mentioned OPX instead of OP2 in temporary alpha notice
Sent from my Amazing OnePlus 2
mido25 said:
I have not found any issue in Kernel but a typo in OP. You've mentioned OPX instead of OP2 in temporary alpha notice
Sent from my Amazing OnePlus 2
Click to expand...
Click to collapse
Good catch, and easy to correct. Thanks for spotting.
Andi
Since this is alpha will your config app not offer updates for the kernel? (The "Pro" version that is )
djsubterrain said:
Since this is alpha will your config app not offer updates for the kernel?
Click to expand...
Click to collapse
It will in future. Once I want to push a new release, the app does it of course.
Why do you ask? Any evidence or only curious?
Andi
Lord Boeffla said:
It will in future. Once I want to push a new release, the app does it of course.
Why do you ask? Any evidence or only curious?
Andi
Click to expand...
Click to collapse
Just curious and because everyone seems to want "deltas" now, lazy folk
fantastic news this release. finally we can openly talk about it and share it.
ps. @Lord Boeffla does it still need the pro version off your app?
Dinjesk said:
fantastic news this release. finally we can openly talk about it and share it.
ps. @Lord Boeffla does it still need the pro version off your app?
Click to expand...
Click to collapse
No, it is a public alpha, so all limitations of closed alpha are obsolete for it.
Andi
Dinjesk said:
fantastic news this release. finally we can openly talk about it and share it.
ps. @Lord Boeffla does it still need the pro version off your app?
Click to expand...
Click to collapse
You need pro version to use tunables in governors. I bet profiles will be up soon in next few days.
Sent from my Amazing OnePlus 2
mido25 said:
You need pro version to use tunables in governors. I bet profiles will be up soon in next few days.
Sent from my Amazing OnePlus 2
Click to expand...
Click to collapse
you can still use old profiles, i am using this one since the alpha1 test
http://forum.xda-developers.com/showpost.php?p=65968195&postcount=422
Does this mean OOS 3.0 version is coming soon?
alexferdean said:
Does this mean OOS 3.0 version is coming soon?
Click to expand...
Click to collapse
not before oneplus will release kernel sources.
question has been asked to much!!

[EOL] [KERNEL] [OnePlus3T] [Lineage15/Lineage14] Boeffla-Kernel (01-03-2019)

Hi all,
some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than three years to OnePlus 3, OnePlus 2, OnePlus One, OnePlus X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, LineageOS, Cyanogenmod, Omnirom etc.)
Thanks to generous supporters, I now own a second OnePlus 3T device which allows me to also provide a LineageOS kernel for this device.
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Make sure you flash the correct kernel version, depending on whether you really use LineageOS or a different OS !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Compatibility
Important: This kernel is only meant to be compatible with official LineageOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Installation
Read the install instructions in the support section on the Boeffla Site.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (quite outdated, as it is focused on S3 still).
Click here to learn about using the config app (quite outdated, as it is focused on S3 still).
I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for LineageOS 14.1 kernel - Click here
Known issues
None
Features
Note: This kernel only runs on LineageOS 14.x for the OnePlus 3T - nothing else !!!
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.4.33 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
Additional governors: Impulse, zzmoove, elementalx, conservative, ondemand, blu_active
Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, zen, maple
Configurable GPU boost (low, medium, high)
No CPU overclocking - not planned as well for next future, the OP3T is fast enough with standard frequencies
No GPU overclocking, no CPU and GPU voltage interface - this will not come in future as well as I do not like it
CPU core profiles to restrict number of CPU cores being used (the OP3T does not hotplug based on load)
Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker), microphone gains (only experimental)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show GPU frequency usage per frequency in Boeffla-Config
USB fast charging enabled (up to 900 mA instead 500 mA)
Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
Support for "pocket mode" - check out Boeffla Pocketmode app on Google Play Store if your rom has no pocket mode support
Boeffla touchkey LED control
Boeffla generic wakelock blocker V1.1.0 (documentation)
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2sleep gestures
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Hardware touch keys and home button are locked as long as screen is in use (touched) for better usability - configurable
Swap supported
Support for extended slider functions on certain custom roms
Remove verifiedbootstage flag to avoid triggering safetynet
Various minor kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Automatic EFS backup
Integrated full busybox 1.26.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Google gcc 4.9 toolchain (64 bit) used for best stability
Always based on latest official LineageOS kernel sources (http://github.com/LineageOS/android_kernel_oneplus_msm8996)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
custom hotplugging algorithms
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are using LineageOS or another rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.4.33 or higher for the OnePlus 3T Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to supporters
Many thanks to the following supporters, that helped in funding an additional device to allow development of this kernel for the OP3T (chronological order:
ReAnimat, midoclaze, owen g., DJSubterrain, ArminT, w0lf, f616, TGX03, ScratMan, matze779, nihilista, Kirahvi, Ingo, Raimu, albireox, #lopamo72, timobayl, Alienrobot, Selim B., Ukcain, Christian B., Carina S., schvagier, Michael L., Jason K.
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
* Osm0sis
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change log:
LineageOS 14.1:
Change log
*** You want my support? Then stick to my rules ***
Guys, I am receiving more and more completely useless support requests in different threads. Useless because people provide nothing to be able to help, not even the minimal possible information they could give.
Hence, I will now remind anyone again on the support guide lines stated here:
http://boeffla.de/index.php/support/support
Also you need to ensure you follow the installation guide lines incl. trouble-shooting stated here:
http://boeffla.de/index.php/support/installation-how-to
And to cut a long story short: If you do not at least provide what I request in the support guide lines, I will IGNORE YOUR REQUESTS IN FUTURE.
Straight and simple. I have enough of people wasting my time just because they are too lazy to write details.
Period.
Also as a reminder:
you use xposed? -> no support, everything is your own issue
you use a custom rom and not the official stock or CM one? -> good luck, you are on your own
you undervolt or overclock? -> have fun, but without my support
Sorry, this might sound harsh (and it is meant to sound harsh), but you cannot imagine about how crappy support requests can be. Stating something does not work is just not enough.
Please consider that!!!
Andi
Good morning,
very first version 2.0-beta1 is out.
Expect bugs (but not too many as the kernel is very much similar to the OP3 LineageOS kernel).
Anyways enjoy
Andi
I just got the device and thought I would not unlock bootloader for some time. Damn it...
saurabh40629 said:
I just got the device and thought I would not unlock bootloader for some time. Damn it...
Click to expand...
Click to collapse
Come on. Without unlocked bootloader you have no fun
But I understand your point, it would be nice to have a device really being vanilla and unrooted.
Andi
Working nicely so far
so far so good just experiencing slow charging and heating while charge is it only me ? it takes around 1hr 49min to charge from (0 to 100)
finally ! for 3T lineage based. Welcome.
i was waiting for this, i wanted to see your kernel in action
Thank you very much, for this Kernel. This delivers the ultimate experience to the OP3T in my opinion!
Dhairya said:
so far so good just experiencing slow charging and heating while charge is it only me ? it takes around 1hr 49min to charge from (0 to 100)
Click to expand...
Click to collapse
Charging drivers are 100% original, no changes. Also nothing else changed that would cause that.
And yes, I do not face that myself at all.
Andi
Lord Boeffla said:
Charging drivers are 100% original, no changes. Also nothing else changed that would cause that.
And yes, I do not face that myself at all.
Andi
Click to expand...
Click to collapse
will try with a clean flash
Would this kernel work with Nvertigo's 3T optimized build. Has anyone tried it?
bu44er said:
Would this kernel work with Nvertigo's 3T optimized build. Has anyone tried it?
Click to expand...
Click to collapse
Haven't heard of it. Do you have a link to it ?
EDIT:
Found it
bu44er said:
Would this kernel work with Nvertigo's 3T optimized build. Has anyone tried it?
Click to expand...
Click to collapse
Not by default: my rom does not change filenames, since it comes only with 3t blobs. You can either copy the files to their new names and go ahead (not tested), or you can build boeffla kernel yourself (very easy with @Lord Boeffla's provided scripts!) reverting the filename commit (tested with beta1 git status, I see no reason at all why current git shouldn't work).
BTW: @Lord Boeffla: thanx foe your efforts. Following your git with curiosity!
I get soft reboots on my OP3T on the official 20170223 build, when I try to use the gestures ("V" for Flashlight). Some else having this issue?
akoyaxd said:
I get soft reboots on my OP3T on the official 20170223 build, when I try to use the gestures ("V" for Flashlight). Some else having this issue?
Click to expand...
Click to collapse
I´m on latest RR and have no issues with gestures.
redukt said:
I´m on latest RR and have no issues with gestures.
Click to expand...
Click to collapse
Interesting.
But I definitive have this issue only if I have the boeffla kernel installed.
Edit: After wiping my system partition and reflashing LineageOS, SU, Snapdragon Camera and the kernel, it works fine.
bu44er said:
Would this kernel work with Nvertigo's 3T optimized build. Has anyone tried it?
Click to expand...
Click to collapse
nvertigo67 said:
Not by default: my rom does not change filenames, since it comes only with 3t blobs. You can either copy the files to their new names and go ahead (not tested), or you can build boeffla kernel yourself (very easy with @Lord Boeffla's provided scripts!) reverting the filename commit (tested with beta1 git status, I see no reason at all why current git shouldn't work).
BTW: @Lord Boeffla: thanx foe your efforts. Following your git with curiosity!
Click to expand...
Click to collapse
If you want to use boeffla kernel on my rom read this.
nvertigo67 said:
If you want to use boeffla kernel on my rom read this.
Click to expand...
Click to collapse
I'll stick with the kernel that ships with your ROM. I don't really know why I wanted to use a custom kernel, it's not like the ROM isn't quick as is to be honest.
Thank you for the advice tho.

[KERNEL] [Nougat] [Voltage Control] Kawori Kernel for Oneplus 2 (r7, 2017/08/16)

Some of you know me from the OOS3 kernel I built, and now I am moving to Nougat and starting working on it.
It mainly majors in keeping a balance between features and stabilities, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.
I am sick of those kernels which say it is the smoother than butter or is more powersaving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.
The features list:
Features:
- Catch up with latest Linux upstream 3.10.107
- Catch up with latest CAF source
- Catch up with latest sdcardfs, f2fs, exfat, xpad source
- Add flash and electron governor (both based on interactive, credits to The Flash and frap129)
- Tweaked interactive governor based on CAF MSM8996 branch
- CPU voltage control (The first for MSM8994?)
- Replace H-cube with core_ctl from CAF MSM8996 branch
- Remove powersave, conservative governor
- Add maple, sio, fiops, zen I/O scheduler
- Partly Faux sound control
- Partly thermal control
- KCAL
- Dynamic Sync control
- Wakeblock toggle
- Fingerprint boost tweaks
- Sultanxda's I/O switcher
- TheCrazyLex's memory automatic compaction mechanism
- Various improvements from AOSPA (thanks to TheCrazyLex)
- Various improvements from Sultanxda and myfluxi (The people I really admire)
- Various improvements from CAF
- Fix some ROM's ramdisk bug (why should I fix these?)
- ...
Usages:
Note that LineageOS based roms and other roms use different sysfs nodes for gestures. So I provide 3 versions, just use the one that your rom is based on, otherwise gestures may be broken. For non los based Roms, use other version, if it does not work (such as Pure Nexus), use pn version.
Use kernel adiutor to tweak it.
Source:
https://github.com/aviraxp/ONEPLUS_MSM8994_KAWORI
Credits:
Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
Of course, thanks to Lord Boeffla for a good picking source.
Then I want to thank to Sultanxda and myfluxi for the 30+ commits I picked and the guidance he provided. You are the real MVP!
I also want to say thanks to dorimanx, Joe Maples and Franco for the good features they provided.
Support:
Just like many other so-called "developers" for OP2, I do not major in computer science and know little about C. All my codes are written by guessing. Feel free to provide feedbacks, though I may not know how to fix it.
reserved
Nice to see new kernels popping up for the device. Good work @aviraxp
MZO said:
Nice to see new kernels popping up for the device. Good work @aviraxp
Click to expand...
Click to collapse
I am using your Purenexus
aviraxp said:
I am using your Purenexus
Click to expand...
Click to collapse
That's awesome ?
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
chxei said:
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
Click to expand...
Click to collapse
Phone should technically reboot and discard changes before any damage occurs
Sorry if I missed it.. Is this kernel compatible with official lineage weekly?
Sent from my ONEPLUS A3003 using Tapatalk
chxei said:
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
Click to expand...
Click to collapse
I have tested, and think undercoating about 80mV is fine. Lower voltage will make it reboot.
infatality said:
Sorry if I missed it.. Is this kernel compatible with official lineage weekly?
Click to expand...
Click to collapse
Of course
r2 will be soon uploaded , thanks to @MZO for pointing out a different implementation of gestures that I missed.
First of all: nice to see a new kernel of OP2, and I love new features! Good work!
Second: Unfortunatly, flashing this kernel for me kills WiFi on latest Unofficial RR. Had to flash stock boot.img to make it work again. Other than that it seems to work fine.
Defineatly gonna give it a try as my daily driver after WiFi issue is gone.
chxei said:
thanks for kernel. have you tested undervolting? is it safe? whats basic rules to use voltage control without killing phone? never used this feature
Click to expand...
Click to collapse
No problems for the hardware with undervolting but the system may become a bit unstable
almlex said:
First of all: nice to see a new kernel of OP2, and I love new features! Good work!
Second: Unfortunatly, flashing this kernel for me kills WiFi on latest Unofficial RR. Had to flash stock boot.img to make it work again. Other than that it seems to work fine.
Defineatly gonna give it a try as my daily driver after WiFi issue is gone.
Click to expand...
Click to collapse
I have tested my kernel on omni, du, aex and pn, no issues so far. Some lineage guys also flashed and encounter no issues. But I will try to look at it.
Using this kernel for Almost 12hrs, so far everthing working here with decent battery life.
Cpu cores implementation is the same as in Franco kernel (all cores always online) or different from it?
almlex said:
First of all: nice to see a new kernel of OP2, and I love new features! Good work!
Second: Unfortunatly, flashing this kernel for me kills WiFi on latest Unofficial RR. Had to flash stock boot.img to make it work again. Other than that it seems to work fine.
Defineatly gonna give it a try as my daily driver after WiFi issue is gone.
Click to expand...
Click to collapse
Could you please flash boeffla kernel and report if it works? I suspect it is a toolchain issue.
parasthakur37 said:
Cpu cores implementation is the same as in Franco kernel (all cores always online) or different from it?
Click to expand...
Click to collapse
Different. It is actually same as stock, just built in kernel to keep stability.
aviraxp said:
Different. It is actually same as stock, just built in kernel to keep stability.
Click to expand...
Click to collapse
And I suppose there's no way we can use franco's implementation if we wanted to?
parasthakur37 said:
And I suppose there's no way we can use franco's implementation if we wanted to?
Click to expand...
Click to collapse
I don't know what Franco's implementation is. I don't care either. If you want to keep all cores on, use kernel adiutor and change the min cpus to 4.

[EOL] [KERNEL] [OnePlus5] [Lineage15/Lineage14] Boeffla-Kernel (01-03-2019)

Hi all,
some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than three years to OnePlus 3T, 3, 2, One and X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official LineageOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Important notes
Read first, especially when you are new to my kernels:
http://boeffla.de/index.php/support/installation-how-to
http://boeffla.de/index.php/support/troubleshooting
http://boeffla.de/index.php/support/support
Boeffla-Kernel uses the anykernel concept = Flash stock kernel of rom first (by just flashing LineageOS rom dirty over first)!
This kernel is ONLY compatible to LineageOS stock, nothing else !!!
If you are using a custom rom that bases on LineageOS, it might work. However, if it does not work, do not expect me to do tweak to make the kernel running with your favorite rom. I would not do it - my one and only reference is LineageOS stock.
It is not supposed to be compatible to OxygenOS, HydrogenOS etc.
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Important: Manually disable battery optimisation for Boeffla-Config app in the rom settings (battery -> battery-optimisation).
Installation
Read the install instructions in the support section on the Boeffla Site.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (outdated at the moment).
Click here to learn about using the config app (outdated at the moment).
I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting change log...)
Change log for LineageOS 14 kernel - Click here
Known issues
none known
Features
Note: This kernel only runs on LineageOS for the OnePlus 5 - nothing else !!!
Important: Manually disable battery optimisation for Boeffla-Config app in the rom settings (battery -> battery-optimisation)
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.4.54 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Dash charging fully supported
The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
Additional governors: zzmoove, blu_active, impulse, cultivation
Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, maple, zen
Underclocking CPU and GPU supported
No CPU and GPU overclocking (turned out to be slightly instable)
No CPU and GPU voltage interfaces (not planned too)
GPU boost implemented (4 levels)
CPU core profiles to restrict number of CPU cores being used (the OP5 does not hotplug based on load)
USB charge rate bumped up to 900 mA
Boeffla charge analysis (display of charger type and charge current in Boeffla-Config app in real time)
Boeffla touchkey LED control (LEDs fully off, LED on screen touch, configurable duration)
Boeffla-Sound engine V1 (headphone volume control, earpiece control in calls, microphone gain control in calls)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show current CPU core frequencies in realtime (note: other apps than Boeffla-Config will likely display wrong information on offline cores as they are not up-to-date yet)
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2sleep gestures
Boeffla generic wakelock blocker V1.1.0 (documentation)
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS read-only support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Hardware touch keys locked as long as screen is in use (touched) for better usability (default, but configurable)
Swap supported
Various kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Automatic EFS backup
Integrated full busybox 1.27.1 (own compilation)
Safetynet: verifiedbootstate + additional flags removed
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Google gcc 4.9 toolchain (64 bit) used for best stability
Always based on latest LineageOS kernel sources (https://github.com/LineageOS/android_kernel_oneplus_msm8998)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the kernel only if you are running a compatible rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app Boeffla-Config V2 from the downloads section on www.boeffla.de.
You need at least version 2.4.54 or higher for the OnePlus 5 Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* flar2
* arter97
* Grarak
* Entropy512
* Faux
* FranciscoFranco
* Ak
* Osm0sis
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change log:
LineageOS 14.1
http://kernel.boeffla.de/oneplus5/boeffla-kernel-cm/cm14.0/changelog.htm
--- Reserved 2 ---
Here we go - Kernel is released now. Thread open.
Let the fun begin
Andi
One more reason to flash lineageos
Sent from my ONEPLUS A5000 using XDA-Developers Legacy app
Does this one include the minimum brightness setting? It's the one thing I demand from kernels now
Sent from my OnePlus 5
fjsferreira said:
Does this one include the minimum brightness setting? It's the one thing I demand from kernels now
Sent from my OnePlus 5
Click to expand...
Click to collapse
Mmmm.
Quoting the change log:
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Click to expand...
Click to collapse
So... yes.
Andi
Sorry, didn't catch that. You know you're the only one having this feature that fixes the stupid default autobrightness levels, don't you? You should make it donation only as no one else is doing it
Sent from my OnePlus 5
just landed in boeffla los kernel! Thanks!
finally finally ....on my way Andy <3
fjsferreira said:
Sorry, didn't catch that. You know you're the only one having this feature that fixes the stupid default autobrightness levels, don't you? You should make it donation only as no one else is doing it
Sent from my OnePlus 5
Click to expand...
Click to collapse
Hehehe. Nice idea, but I am not here to make real money. It is ok, all the important functionality is and will always be free in my app.
Thanks
Andi
Hi all,
new Boeffla-Kernel version for LineageOS is out.
Version 1.0-beta2
04.09.2017
Update: Updated with latest official LineageOS kernel commits as of 04.09.17, 08.00 CET
[FONT=&quot]Update: Boeffla generic wakelock blocker updated to version 1.1.0 - read the [/FONT]​documentation on Boeffla homepage
(Note - the following wakelocks are blocked by default already: qcom_rx_wakelock, wlan, wlan_wow_wl, wlan_extscan_wl, netmgr_wl and NETLINK)
Enjoy
Andi
Lord Boeffla said:
Hi all,
new Boeffla-Kernel version for LineageOS is out.
Version 1.0-beta2
04.09.2017
Update: Updated with latest official LineageOS kernel commits as of 04.09.17, 08.00 CET
Update: Boeffla generic wakelock blocker updated to version 1.1.0 - read the​documentation on Boeffla homepage
(Note - the following wakelocks are blocked by default already: qcom_rx_wakelock, wlan, wlan_wow_wl, wlan_extscan_wl, netmgr_wl and NETLINK)
Enjoy
Andi
Click to expand...
Click to collapse
Wow thanks for this I was waiting for that !! So far so good great with many many options !!
Regards thanks for your hard work Lord boeffla ?
Hi Lord, ur kernel is amazing. Nice work
Bug on RR Remix Unofficial Version ( with OOS cam )
Wanted to Point out that the kernel is working there fine but it has a big bug, because the oos cam is working there and is preinstalled, ist buging the camera app so the app always Closes itself after 5 seconds, noticed this only with this kernel ( tried also the original kernel that installs with the Rom and franco kernel, on both ist working normaly )
Hope you can fix this please so i can use your kernel again.
BFMSAND said:
Wanted to Point out that the kernel is working there fine but it has a big bug, because the oos cam is working there and is preinstalled, ist buging the camera app so the app always Closes itself after 5 seconds, noticed this only with this kernel ( tried also the original kernel that installs with the Rom and franco kernel, on both ist working normaly )
Hope you can fix this please so i can use your kernel again.
Click to expand...
Click to collapse
Nope, this is not a bug. Not a big or a small one.
This is you having not read the OP.
My kernel is for LineageOS, not for any other roms... especially not RR. So if you face issues on RR, no surprise.
If you want to use RR, you have to use a different kernel.
Funny it is not even an official rom but something unofficial... so you really claim my kernel would have a bug. Funny.
Andi
Lord Boeffla said:
Nope, this is not a bug. Not a big or a small one.
This is you having not read the OP.
My kernel is for LineageOS, not for any other roms... especially not RR. So if you face issues on RR, no surprise.
If you want to use RR, you have to use a different kernel.
Funny it is not even an official rom but something unofficial... so you really claim my kernel would have a bug. Funny.
Andi
Click to expand...
Click to collapse
Ah Ok, i know that RR in this case is Special but i just thought to myself cause the current Versions of RR (both Official and Unofficial) are using LineageOS as base, so ist working there, that was the only Thing that not worked and that i noticed, so for me it was a bug, didnt want to offend you with that.
Just asked if you maybe can look in to this if this is possible as the rest is working fine and pretty good with your kernel.
Also a big thanks for your whole Support, i just recently changed to this phone from the oneplus one, and i used your kernel up from my first Samsung s3 up to the current op5.
BFMSAND said:
Ah Ok, i know that RR in this case is Special but i just thought to myself cause the current Versions of RR (both Official and Unofficial) are using LineageOS as base, so ist working there, that was the only Thing that not worked and that i noticed, so for me it was a bug, didnt want to offend you with that.
Just asked if you maybe can look in to this if this is possible as the rest is working fine and pretty good with your kernel.
Also a big thanks for your whole Support, i just recently changed to this phone from the oneplus one, and i used your kernel up from my first Samsung s3 up to the current op5.
Click to expand...
Click to collapse
This would most probably require a special change in the kernel, which is RR specific.
I am sorry, but I will not do that as it violates my objectives.
Also I would never install RR myself, so I could not even do it for analysis.
Sorry, no fun.
Andi
@Lord Boeffla Thanks for this great kernel, Lineage updated the kernel source again.
https://github.com/LineageOS/android_kernel_oneplus_msm8998/commits/cm-14.1
katinatez said:
@Lord Boeffla Thanks for this great kernel, Lineage updated the kernel source again.
https://github.com/LineageOS/android_kernel_oneplus_msm8998/commits/cm-14.1
Click to expand...
Click to collapse
Thanks my friend. Already merged.
I expect to ship an updated kernel out soon... just waiting for the latest nightly which is due today.
Andi

[KERNEL] [Oreo] Kawori Kernel for Oneplus 2 (2018-04-04)

Some of you know me from the OOS3/Nougat kernel I built, and now I am moving to Oreo and starting working on it.
It mainly majors in keeping a balance between features and stabilities, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.
I am sick of those kernels which say it is the smoother than butter or is more power-saving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.
The features list:
Features:
- Backport patches from Linux stable 3.18/3.16/3.2 branches
- Catch up with latest Linux upstream 3.10.108
- Catch up with latest CAF LA.BF64 branch source
- Catch up with latest sdcardfs, f2fs, exfat, xpad source
- Tweaked interactive governor based on CAF MSM8996/8998 branch, together with fastlane tunsables from Bluspark
- CPU voltage control
- Remove powersave, conservative, userspace governor
- Add maple, sio, fiops, zen I/O scheduler
- Franco sound control
- Thermal parameters control
- KCAL control
- Dynamic Sync control
- Boeffla wakeblock blocker
- Fingerprint boost tweaks
- Sultanxda's I/O sched switcher
- TheCrazyLex's memory automatic compaction mechanism
- Various improvements from AOSPA (thanks to TheCrazyLex)
- Various improvements from Sultanxda and myfluxi (The people I really admire)
- Various improvements from CAF
- ...
Usages:
Note that LineageOS based roms and other roms use different sysfs nodes for gestures. So I provide 2 versions, just use the one that your rom is based on, otherwise gestures may be broken. For non los based Roms, use nonlos version. If gesture does not work, switch to another version and it will work.
Use EX kernel manager to tweak it. You can use kernel adiutor, but you will miss some tunables as it is not updated for a long time.
Download:
I use Github to host the zips. You can view all the zips at https://github.com/aviraxp/kawori_build.
[Release 20180404]
LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180404-los.recovery.zip
Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180404-nonlos.recovery.zip
[Release 20180330]
LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180330-los.recovery.zip
Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180330-nonlos.recovery.zip
[Release 20180327]
LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180327-los.recovery.zip
Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180327-nonlos.recovery.zip
Source:
https://github.com/aviraxp/ONEPLUS_MSM8994_KAWORI
Credits:
Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
Of course, thanks to Lord Boeffla for a good picking source.
Then I want to thank to Sultanxda and myfluxi for the 30+ commits I picked and the guidance he provided. You are the real MVP!
I also want to say thanks to dorimanx, Joe Maples and Franco for the good features they provided.
Support:
Feel free to provide feedbacks, though I may not know how to fix it as I actually don't have enough knowledge for C.
2018-04-18: You can use nonlos build as usual, and the los version is compilatable with both stock or Shreesha's build.
Change log:
20180404:
Add adreno boost
Update fsync control to 2.1
Add security fixes from Lineage and angler
Remove iosched switcher (fixes kernel panic)
The los kernel is only for the newest official build, if you are on older build, don't use this one!
20180330:
Fix issues that big cores refuses to turn on
Attempt to fix charging for all (really weird because someone reports charging is fast but others report the opposite)
Improvements to BCL driver
Align with latest los code drop
Awesome!
So it doesn't support fast charge?
akashvshetty said:
So it doesn't support fast charge?
Click to expand...
Click to collapse
I don't know what you mean actually. Can you give me a reference? The AC charging current limit is 2000mA, and the USB charging current limit is 900mA. I don't think it can be quicker.
aviraxp said:
I don't know what you mean actually. Can you give me a reference? The AC charging current limit is 2000mA, and the USB charging current limit is 900mA. I don't think it can be quicker.
Click to expand...
Click to collapse
Sorry my fault . downloading it right away
aviraxp said:
I don't know what you mean actually. Can you give me a reference? The AC charging current limit is 2000mA, and the USB charging current limit is 900mA. I don't think it can be quicker.
Click to expand...
Click to collapse
But there must a different.
With stock AOSiP Kernel i got 1600mA
and with this Kernel only max 900mA AC charging rate
Edit:
I have been able to observe up to 1400 mA (for short time) also in kawori kernel.
(Most time its lower rate)
But it was generaly higher all time in the stock kernel, according to my observation.
fonfox said:
But there must a different.
With stock AOSiP Kernel i got 1600mA
and with this Kernel only max 900mA AC charging rate
Edit:
I have been able to observe up to 1400 mA (for short time) also in kawori kernel.
(Most time its lower rate)
But it was generaly higher all time in the stock kernel, according to my observation.
Click to expand...
Click to collapse
I can only say there is no difference in charging driver between aosip and this kernel. So sorry.
aviraxp said:
I can only say there is no difference in charging driver between aosip and this kernel. So sorry.
Click to expand...
Click to collapse
CPU frequency seems to stuck at 857mhz on small core and big core don't seems to be online. Clean Flash twice but still have the same issue.
Sent from my OnePlus 2 using XDA Labs
aviraxp said:
I can only say there is no difference in charging driver between aosip and this kernel. So sorry.
Click to expand...
Click to collapse
Yeah even I face those issues.
aviraxp said:
Use EX kernel manager to tweak it..
Click to expand...
Click to collapse
voltage control dont work
PAIIITET said:
voltage control dont work
Click to expand...
Click to collapse
This is really helpful and OP will be delighted by this statement without any kind of log.
jukyO said:
This is really helpful and OP will be delighted by this statement without any kind of log.
Click to expand...
Click to collapse
I know right! ?
jukyO said:
This is really helpful and OP will be delighted by this statement without any kind of log.
Click to expand...
Click to collapse
check yourself. load the log file. profit
kernel auditor too. last pixel
---------- Post added at 21:13 ---------- Previous post was at 21:12 ----------
super lag when closing the avatar in the WhatsApp
PAIIITET said:
check yourself. load the log file. profit
kernel auditor too. last pixel
---------- Post added at 21:13 ---------- Previous post was at 21:12 ----------
super lag when closing the avatar in the WhatsApp
Click to expand...
Click to collapse
I'm quite happy with stock setup of the kernel. Battery drains much slower then on original LOS by Shreesha.
Also, I'm pretty much confident that OP will resolve it at one point.
But, if I would report such problem, what is minimum effort to do, is to provide logs. Which is lacking in your case.
New build is out.
@aviraxp can we get srgb by any means? Or DCPI2 .
cpt.macp said:
@aviraxp can we get srgb by any means? Or DCPI2 .
Click to expand...
Click to collapse
Our JDI panel does not support it.
Very stable Kernel. Did you tweak the core voltages or Just Made them customizable?
Unfortunately the kernel keeps causing reboots on my OP2 running the LOS15.1 nightly.. I've set the max. freq of little at 1248MHz and big at 1440MHz.
Since logcat gets erased every reboot, which log should I dump to send to you?

Categories

Resources