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

Status
Not open for further replies.
Search This thread

Allosaur

Senior Member
Nov 8, 2006
152
61
0
Aberdeen
Well, config app works fine for me on Android N. What is your specific problem?

BTW - I am curious how you tested, as I do not even provide an Android N kernel.

Andi

I just flashed your CM13 kernel over CM14 - at present android n for OP3.
 

Attachments

  • Screenshot_20161024-090801.png
    Screenshot_20161024-090801.png
    135.1 KB · Views: 608

v7

Retired Forum Moderator / Recognized Contributor
May 17, 2014
7,959
8,408
263
Arkham
Well, config app works fine for me on Android N. What is your specific problem?

BTW - I am curious how you tested, as I do not even provide an Android N kernel.

Andi

Almost all CM13 kernels for OP3 works on CM14 :confused:

__
v7
Forum Moderator
 

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
263
Potsdam
www.boeffla.de
I just flashed your CM13 kernel over CM14 - at present android n for OP3.

... and this is why it does not fully work.

CM13 kerner on (current) CM14 will cause issues.
Reason is: CM14 stock kernels currently run permissive only, Boeffla CM13 however runs on strict.

So, it is the kernel responsible for the app to not work.
With my CM14 alpha kernel, just for test purposes, the app works as it should.
Ok, I am speaking of OP2, OPX and OPO. On OP3 I have not done any tests so far.

And before you ask: No, it does not help to set the kernel to permissive as it is too late.

Almost all CM13 kernels for OP3 works on CM14 :confused:

__
v7
Forum Moderator

Well.... not 100% as I think, see above.

Andi
 

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
263
Potsdam
www.boeffla.de
Hi all

Kernel update is out:

Version 1.0-beta12
25.10.2016

  • - Change: Removed pocket mode driver I took from another dev and replaced it with my own, much more lean and straight-forward version - functionality stays the same
  • - New: Remove verifiedbootstage flag to avoid triggering safetynet (this means improved compatibility to certain apps like Android Pay etc.)

Enjoy
Andi
 

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
263
Potsdam
www.boeffla.de
Continued to play with CM14 on my devices.

After OnePlus 2, OnePlus One and OnePlus X I targetted OP3 today.

https://twitter.com/andip71/status/790950264698245120

Don't expect a soon release (I usually wait for official CM releases), but for me internally I am quite there already, which is good.

But now internally I have alpha kernels ready on all 4 OnePlus devices, so I am prepared once this gets a hot potato :)

Andi
 

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
263
Potsdam
www.boeffla.de
@Lord Boeffla

Hi LB. I was wondering if I could get your help with some kernel code. I thought that changing this value: https://github.com/bedalus/oneplus3...ede7241bdb6a368/drivers/power/qpnp-fg.c#L2141

...would allow me to set a lower charging limit. I'm reaching out to you for help with this as I've reached the limit of my own understanding. Do you have some time to point me in the right direction?
What do you mean by lower charging limit?

To stop charging below 100% or something else?

I might not find much time to help in next days when it is something more complex in the end.

Andi
 
  • Like
Reactions: zzzhead and bedalus

bedalus

Senior Member
Jan 2, 2015
330
1,071
0
Chester
What do you mean by lower charging limit?

To stop charging below 100% or something else?

I might not find much time to help in next days when it is something more complex in the end.

Andi

Yes, to stop charging at 90% for example, to reduce stress on the battery and increase its longevity.
 

xanthrax

Sr. Mod / Mod Committee Lead / RC-RT Com - Vampire
Staff member
Apr 12, 2011
24,090
24,468
268
Darkside
Samsung Galaxy Note 20 Ultra
Last edited:
  • Like
Reactions: bedalus

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
263
Potsdam
www.boeffla.de
I'm pretty sure that this is only a myth nowadays ...
http://batteryuniversity.com/learn/
Sent from my Darkside of Oneplus 3

I agree.

If it were really the case, a battery would be longer living when charging stops at 90%, then it would be only a question how to define 100%.

Or in other words, if that is the case, I am sure all engineers will build that already and and define the 90% already as 100% for the user.
So when the phone loads to 100% on the display, battery is still charged only up to 90% in reality.

So I also believe, stopping charging at 90% would not make a huge difference.

But I might be wrong, for this to check we would need exact specifications for the battery to understand which voltage indicates a real full charge. We do not have that.

I might still look into that for half an hour, just as I am interested where this gets defined in code. If it takes me longer to find it, I will stop however.

Andi
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 87
    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 One, OnePlus Two, OnePlus X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)

    Now I own a OnePlus 3 device and decided to port my kernels also to 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 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 Cyanogenmod 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
    Change log for CM13 kernel - Click here


    Features

    • Note: This kernel only runs on LineageOS for the OnePlus 3 - 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.02 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: Impulse, zzmoove, elementalx, conservative, ondemand, blu_active
    • Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid, zen, maple
    • CPU overclocking - one additional overclocking step for both clusters (1,72 GHz for little CPU / 2,26 GHz for big CPU)
    • No GPU overclocking, no CPU and GPU voltage interface
    • 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)
    • CPU core profiles to restrict number of CPU cores being used (the OP3 does not hotplug based on load)
    • Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker)
    • 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
    • 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)
    • 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 are locked as long as screen is in use (touched) for better usability
    • Swap supported
    • 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.24.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 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 Lineage/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.02 or higher for the OnePlus 3 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
    * 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
    24
    *** 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
    23
    Hi,

    new CM14.1 version is out.

    Version 2.0-beta4
    28.11.2016

    • Note: You need at least version 2.4.19 of Boeffla-Config V2 to allow all functionalities to be available
    • Change: Behaviour of hardware buttons while touchscreen is touched now configurable (in LED+Display tab of Boeffla-Config)
    • New: GPU boost (credits to flar2) implemented with 4 configuration options: Off (default), low, medium and high boost
      (Note: I am not a gamer, so this is completely not tested by me to check if it has any effect)
    • Change: Some configuration cleanup and smaller tweaks incorporated
    Enjoy
    Andi
    23
    Hi all,

    quick update for CM14.1 kernel.

    Version 2.0-beta3
    21.11.2016

    • Update: Updated with latest official CM kernel commits as of 21.11.16, 9am CET
    • Change: Internal cleanup and improvements
    Enjoy
    Andi
    22
    Hi all,

    maintenance update for CM14.1 kernel:

    Version 2.0-beta5
    05.12.2016

    • Note: You need at least version 2.4.19 of Boeffla-Config V2 to allow all functionalities to be available
    • Update: Updated with latest official CM kernel commits as of 05.12.16, 9am CET
      (completely rebased again on latest sources (as I did a merge error a while ago, which was easier corrected by a rebase)
    • Change: Update with latest anykernel commits (credits to Osm0sis)
    • Change: Anykernel hardening
    Enjoy
    Andi
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