[EOL] [KERNEL] [OnePlusX] [Lineage14/CM13] Boeffla-Kernel (28-03-2018)

Status
Not open for further replies.
Search This thread

andip71

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

probably one of the last maintenance updates of that kernel:

Version 6.1-beta6
19.03.2018
  • Important: I meanwhile advice to switch ext4 tweaks and dynamic fsync to off for optimal data integrity. Use these two options on own risk.
  • Change: Internal kernel busybox updated to latest version 1.28.1 (self-compiled from sources, www.busybox.net)
  • Fix: Fixed a typo in bccontroller script
Enjoy
Andi
 

psychem

Senior Member
Oct 18, 2011
1,282
334
Hi all,

probably one of the last maintenance updates of that kernel:

Version 6.1-beta6
19.03.2018
  • Important: I meanwhile advice to switch ext4 tweaks and dynamic fsync to off for optimal data integrity. Use these two options on own risk.
  • Change: Internal kernel busybox updated to latest version 1.28.1 (self-compiled from sources, www.busybox.net)
  • Fix: Fixed a typo in bccontroller script
Enjoy
Andi

hi Andi can you say something about battery consumption. do we need to set the battery profile in lineage OS or in boeffla config. how do they work together? if i set battery saving in boeffla config but performance in lineage OS what will happen? which profile will be effectively in use?
 

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
Potsdam
www.boeffla.de
hi Andi can you say something about battery consumption. do we need to set the battery profile in lineage OS or in boeffla config. how do they work together? if i set battery saving in boeffla config but performance in lineage OS what will happen? which profile will be effectively in use?

It is a mix.

When you set performance in LineageOS (which I do not recommend btw, I always recommend to use boeffla-config for it), it can set a couple of settings but not all. For instance, governor, cpu frequencies and schedulers are locked by my kernel to what is configured in Boeffla-Config.

I would personally more tend to create multiple profiles in Boeffla-Config, one for normal usage and one with reduced CPU frequencies for battery saving.

However, the profiles in Lineage affect more, afaik it also changes picture frequencies etc. But I am not sure as I am not a rom guy.

In fact, you just have to understand it will be a mix of settings of Rom and Boeffla-Config, see above.

P.S. I do not use my X at all, so I do not have any personal recommendations for it. Sorry.

Andi
 
  • Like
Reactions: psychem

Reksho

Senior Member
Oct 3, 2012
120
15
Hi all,

probably one of the last maintenance updates of that kernel:

Version 6.1-beta6
19.03.2018
Important: I meanwhile advice to switch ext4 tweaks and dynamic fsync to off for optimal data integrity. Use these two options on own risk.
Change: Internal kernel busybox updated to latest version 1.28.1 (self-compiled from sources, www.busybox.net)
Fix: Fixed a typo in bccontroller script

Enjoy
Andi

Thanks for supporting this device for so long. It's still my daily driver and runs like a dream with your kernel. :good:
 
  • Like
Reactions: andip71

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
Potsdam
www.boeffla.de
The gamma slider is not working in previous version. The gamma slider does nothing in boeffla config.

Has it fixed? If the gamma works, I would like try to update.

Can confirm it is not working.

But unfortunately there will be no fix for it.
This is part of the display driver code, which I will not touch. There may even have been a reason why this got functionally removed.

I will remove the slider in a subsequent update, as it is on almost all other devices already.

Sorry, you have to live without gamma control mate.

Andi
 
Last edited:

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
Potsdam
www.boeffla.de
Last kernel, the party is over

Hi all,

the day has come. Today is the day where I will drop support for the OnePlus X by providing a last, final LineageOS 14.1 kernel. The kernel is therefore officially end-of-life now.
LineageOS 14.1 has meanwhile be replaced by LineageOS 15, which I am not gonna support anymore for known reasons.
I provided my first kernel in February 2016, so I provided a solid support for the device for more than 2 years.
I will leave the thread open for a few more weeks before I finally lock it.

And... in the unlikely case, some official LineageOS 14.1 kernel changes break my last kernel version, I will provide a new stable, final version again. However, I will not merge any more commits unless something is broken, the kernel should be really the last version now and I do not expect significant kernel updates on LineageOS 14.1 anymore.

Here we go for the last OnePlus X Boeffla kernel (drum roll):

This kernel will NOT work on OOS or any other builds than LineageOS !!!
It will work only on LineageOS 14.x based roms.

This kernel is end-of-life and marks the end of my support for LineageOS on the OnePlus X.
There will be no LineageOS 15 kernel anymore. The journey is over.


Version 6.1 stable final
28.03.2018
  • Note: This is the last LineageOS 14.1 Boeffla kernel provided, there will only be another update when some LineageOS kernel code changes break major functionalities
  • Change: Ext4 tweaks and dynamic fsync are disabled be default

CU again somewhere else in future, I still have newer phones in active maintenance, maybe you can get one of that models.

Enjoy
Andi
 
Last edited:

psychem

Senior Member
Oct 18, 2011
1,282
334
Hi @Lord Boeffla the guys developing Oreo ROM are having issues with fixing MP Decision / Hotplug in their Kernel. Can you do something to push them along? if it isn't too much trouble.

Aosip dosnt have a hotplug
AOSP is limited to 1958mhz otherwise it starts giving MPDecision errors

Maybe just use their oreo kernel and post a flashable version with hotplug fix in place?
 
Last edited:

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
Potsdam
www.boeffla.de
Hi @Lord Boeffla the guys developing Oreo ROM are having issues with fixing MP Decision / Hotplug in their Kernel. Can you do something to push them along? if it isn't too much trouble.

Aosip dosnt have a hotplug
AOSP is limited to 1958mhz otherwise it starts giving MPDecision errors

Maybe just use their oreo kernel and post a flashable version with hotplug fix in place?

I do not know how to help.
Mpdecision comes from the rom, not the kernel. So when hotplugging does not work, they need to check mpdecision first thing.

And nope, I will not even fork a 15.1 kernel on the OPX anymore. I really have closed everything on the devices where I dropped support. Sorry.

Andi
 

psychem

Senior Member
Oct 18, 2011
1,282
334
I do not know how to help.
Mpdecision comes from the rom, not the kernel. So when hotplugging does not work, they need to check mpdecision first thing.

And nope, I will not even fork a 15.1 kernel on the OPX anymore. I really have closed everything on the devices where I dropped support. Sorry.

Andi

thanks for the quick reply.

im facing an issue. i was using AOSiP 8.1 and did a wipe sys data cache before shifting to LOS 14.1 and flashing your kernel, but the problem from AOSiP is persisting in LOS 14.1 which is stuck on 300mhz and won't go into deep sleep.

What could be the issue? do i need to format data or is there a simpler solution to this?
 

andip71

Recognized Developer
Apr 22, 2008
17,094
67,644
Potsdam
www.boeffla.de
thanks for the quick reply.

im facing an issue. i was using AOSiP 8.1 and did a wipe sys data cache before shifting to LOS 14.1 and flashing your kernel, but the problem from AOSiP is persisting in LOS 14.1 which is stuck on 300mhz and won't go into deep sleep.

What could be the issue? do i need to format data or is there a simpler solution to this?

Probably a firmware related issue, no idea what AOSiP changes in the system.

I would go the hard way:
- flash latest official OOS (this ensures you are using correct firmwares)
- then flash LineageOS again
- and yeah, sorry, you need to do a fresh install and not restoring a previous LineageOS backup if you really want to go sure

If that does not help, something is extremely weird, would not have seen that ever before, neither reported.

Andi
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    ** 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 Two) 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, Cyanogenmod, Omnirom etc.)

    Now I own a OnePlus X 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).

    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 !!



    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.


    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 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.2.42 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
    • Additional governors: zzmoove, intelliactive, intellidemand, intellimm, wheatley, smartmax, smartmax_eps, slim, intellimm, pegasusq, nightmare, lionheart, impulse, ondemandplus, yankactive
    • Zzmoove supporting native hotplugging profiles
    • Additional schedulers: fiops, bfq, sio, tripndroid, zen
    • Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
    • Notification LED control (fading, speed, brightness)
    • Boeffla-Sound engine (Headphones volume configurable)
    • True dynamic FSync (activated if screen on, deactived if screen off), configurable
    • Touch boost frequency and duration configurable, touch boost switch
    • Additional swipe2wake gestures
    • Additional swipe2sleep gestures
    • CPU Overclocking up to 2,57 GHz
    • CPU Voltages interface for undervolting/overvolting
    • GPU idle frequency 27 Mhz added
    • GPU governor selection support with fixed simple_ondemand
    • Show GPU frequency usage per frequency in Boeffla-Config
    • KCAL color control driver
    • 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)
    • System Tweaks predefined supported
    • Kernel logger (dmesg) configurable
    • Charge rates for AC charger and USB charging separately configurable (set charge rate to 0 to have stock charge logic back)
    • 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)
    • exFat opensource support
    • NTFS support (module) - read-only
    • XBox support (module)
    • OTG-Ethernet support (module)
    • TCP Congestion changed to Westwood
    • Multiple additional TCP congestion algorithms available
    • Swap supported
    • init.d support (in /system/etc/init.d - set correct permissions!)
    • Default entropies increased
    • Automatic EFS backup
    • Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
    • 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
    • Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
    • Updated wifi drivers
    • Kexec hardboot patch for multirom usage (not supported, not fully working)
    • Google gcc 4.9 toolchain used for best stability
    • Always using latest CM Initramfs
    • Always based on latest CM kernel sources (https://github.com/CyanogenMod/android_kernel_oneplus_onyx)
    • Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end

    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 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.2.42 or higher for the OnePlus X 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

    ... 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
    20
    Hi all,

    new update for LineageOS 14.1 Boeffla-Kernel is out:

    Version 6.1-beta3
    07.09.2017

    • [FONT=&quot]New: Boeffla generic wakelock blocker added in version 1.1.0 - this is an expert function only, so please click for the [/FONT]
      usage guide on Boeffla homepage
      [FONT=&quot](Note - the following wakelocks are blocked by default already: qcom_rx_wakelock, wlan, wlan_wow_wl, wlan_extscan_wl, netmgr_wl and NETLINK)[/FONT]
    • Change: Internal kernel busybox updated to latest version 1.27.2 (self-compiled from sources, www.busybox.net)
    • Change: Improve safetynet handling (credits to SultanXDA)
    • Change: Internal improvements in kernel start script

    Enjoy
    Andi
    20
    Finally - beta1

    Hi all,

    after lots of trouble to get beta1 running based on the latest official CM sources, I can now proudly present beta1 to you:

    Version 5.0-beta1
    25.04.2016

    • First official beta of Boeffla Kernel for CM13
      All functionalities of last alpha8 kernel
    • Update: Updated with latest official CM kernel commits as of 25.04.16, 8am
    • Update: Ramdisk of official CM13.0 build of 25.04.16
    • Change: Kernel compression changed from gzip to xz - resulting in smaller kernel image
    Enjoy
    Andi
    19
    First beta for CM14.1

    Hi all,

    finally there is a very first beta of Boeffla-Kernel for CM14.1 now.

    Again: This is a very first beta, so expect bugs!!!

    Here the change log + feature list:

    Version 6.0-beta1
    22.12.2016

    • First official build for cm14
    • This kernel has exactly the same functionalities than latest CM13 Boeffla kernel, details please see below
    • Note: This kernel only runs on CM14.x for the OnePlus X - nothing else !!!
    • Note: You need at least version 2.4.21 of Boeffla-Config V2 to allow all functionalities to be available
    • Features:
      • Full integration with Boeffla-Config V2 (you need at least version 2.4.21 or higher !!!) configuration app (get it from http://www.boeffla-kernel.de) to configure all kernel settings
      • Additional governors: zzmoove, intelliactive, intellidemand, wheatley, smartmax, smartmax_eps, intellimm, pegasusq, nightmare, lionheart, impulse, ondemandplus, yankactive
      • Zzmoove supporting native hotplugging profiles
      • Additional schedulers: fiops, bfq, sio, tripndroid, zen
      • Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
      • Boeffla-Sound engine (Headphones volume configurable)
      • True dynamic FSync (activated if screen on, deactived if screen off), configurable
      • Touch boost frequency and duration configurable, touch boost switch
      • Remove userspace boost for better frequency control
      • Additional swipe2wake gestures
      • Additional swipe2sleep gestures
      • CPU Overclocking up to 2,57 GHz
      • CPU Voltages interface for undervolting/overvolting
      • GPU idle frequency 27 Mhz added
      • GPU governor selection support with fixed simple_ondemand
      • Show GPU frequency usage per frequency in Boeffla-Config
      • KCAL color control driver
      • Swipe2wake gestures
      • Swipe2sleep gestures
      • SD card read ahead buffer configurable (default increased to 1024 kB)
      • Ext4 File system tweaks (default to on, can be disabled)
      • System Tweaks predefined supported
      • Kernel logger (dmesg) configurable
      • Charge rates for AC charger and USB charging separately configurable (set charge rate to 0 to have stock charge logic back)
      • 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)
      • exFat opensource support
      • NTFS support (module) - read-only
      • XBox support (module)
      • OTG-Ethernet support (module)
      • TCP Congestion changed to Westwood
      • Multiple additional TCP congestion algorithms available
      • Swap supported
      • UMS mode for external SD card
      • Doze mode switchable
      • Verifiedbootstage flag remove to avoid triggering safetynet
      • init.d support (in /system/etc/init.d - set correct permissions!)
      • Entropies configurable
      • Automatic EFS backup
      • Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
      • Integrated full busybox 1.25.1 (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
      • Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
      • Security patches included, which are not in the official repo
      • Google gcc 4.9 toolchain used for best stability
      • Always based on latest CM kernel sources (https://github.com/CyanogenMod/android_kernel_oneplus_onyx)
      • Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
    Enjoy
    Andi
    18
    Hi guys.

    Time to say goodbye now for 3 weeks.

    I am shortly departing to sunny Florida for my annual holidays.

    This means:
    I will read the forum but most likely not answer or only answer delayed.
    There will be absolutely no kernel updates until I return
    If things break in the meantime, they break - no way out :)

    Have a goooood time!

    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