[EOL][KERNEL] [OnePlusX] [OOS 3.x.x/2.x.x] Boeffla-Kernel (12-06-2017)

Status
Not open for further replies.
Search This thread
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 76
    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.)

    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 OnePlus OOS 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 Oxygen OS 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.

    Saying that, the Boeffla-Sound app in Play Store is not designed to work on the OPX, neither was it developed by me, hence it will never work on the OPX ever. Boeffla-Config is the way to go here !!!



    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 Oxygen OS 3.x.x kernel - Click here
    Change log for Oxygen OS 2.x.x 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.29 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 currently)
    • True dynamic FSync (activated if screen on, deactived if screen off), configurable
    • Touch boost frequency and duration configurable, touch boost switch
    • CPU Overclocking up to 2.54 GHz
    • CPU Voltages interface for undervolting/overvolting
    • GPU idle frequency 27 Mhz added
    • GPU governor selection support with fixed simple_ondemand0
    • Show GPU frequency usage per frequency in Boeffla-Config
    • KCAL color control driver
    • Swipe2wake gestures
    • Swipe2sleep gestures
    • Haptic feedback control
    • 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)
    • Charge information display support via Boeffla-Config V2 app
    • 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)
    • Kexec hardboot patch for multirom usage (not supported, not fully working)
    • Google gcc 4.8 toolchain used for best stability
    • Always using latest Oxygen OS Initramfs
    • Always based on latest Oxygen OS kernel sources (https://github.com/OnePlusOSS/android_kernel_oneplus_msm8974)
    • 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 Oxygen OS 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.29 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
    22
    Update

    Hi all,

    new kernel update for you:

    Version 4.0-beta7
    07.03.2016

    • Note: This kernel only runs on Oxygen OS 2.2.0-x for the OnePlus X - nothing else !!!
    • Note: You need at least version 2.2.34 of Boeffla-Config V2 to allow all functionalities to be available
    • Change: double tap 2 wake without haptic feedback does properly use proximity sensor now (avoid unwanted wake ups)
    • Change: swipe 2 wake gestures are now following the haptic feedback setting in Boeffla-Config as well
    • Change: Actual charge current is displayed again in Boeffla-Config, however prefixed with a tilde (~) sign to indicate it is very inaccurate
    • Fix: xbox module not loading correctly is fixed
    • New: Kexec hard boot implemented (untested as I have no use for it, maybe it works, maybe not)
    • Update: Internal kernel superuser updated to su 2.65
    Enjoy
    Andi
    21
    Update

    Good evening,

    here the promised kernel update:

    Version 4.0-beta4
    24.02.2016

    • Note: This kernel only runs on Oxygen OS 2.2.0 for the OnePlus X - nothing else !!!
    • Note: You need at least version 2.2.31 of Boeffla-Config V2 to allow all functionalities to be available
    • New: Add swipe wake gestures (enabling it will wake up device when swiping from left to right, right to left, up to down or down to up) - configure in Display+LED tab
    • New: Add swipe sleep gestures (Boeffla gesture driver) - configure in Display+LED tab
      • double tap on notification bar to sleep (note: there is a known glitch when doing that on lock screen as OOS also tries to do switch off the screen, this leads to screen coming back on again - tap a bit slower on the notification bar on the lock screen, this triggers only the kernel implementation and then it works)
      • swipe screen gesture to sleep (touchscreen swipe from right lower area of touchscreen diagonal down to left)
    P.S. Don't forget to update Boeffla-Config to latest version 2.2.31 !!

    Enjoy
    Andi
    20
    Update

    Hi all,

    with the next kernel version, maybe still released today, wake and sleep gestures finally come to the OP-X as well (same + more as for OnePlus One a while ago):

    • swipe screen to wake (left->right, right->left, up->down, down->up)

    • double tap notification bar to sleep
    • swipe screen gesture to sleep (touchscreen swipe from right lower area of touchscreen diagonal down to left and down)

    See screenshot.

    Andi
    20
    Hehehe

    And to show what I was working on since yesterday, and to make some people already getting "nervous"...

    Look at the screenshots :D

    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