[KERNEL] [DEBLOAT] Muffin™️ EAS [R1 -> 26/05/19] - Asus ZenFone Max Pro M1 ROMs, Kernels, Recoveries

Code:
Code:
* Your warranty is now void.
* I am new to the scene and not responsible for bricked devices, dead
* SD cards, or any other mishaps. Please do some research or go through
* the source repo if you have any concerns about kernel
* before flashing it.
Description:
Muffin is a custom kernel from ex-ZUK Developers Ajai Vasudeve & Rasenkai. It relies on in-kernel CPU and Schedtune boosting.
Basic Info:
CPU Input Boost from SultanXDA
Dynamic Schedtune Boosting [EAS]
F2FS Support
Boefella Wakelock blocker
Sound Control
Downloads:
Releases
Credits:
tytydraco
Kenny3fcb
YaroST12
SultanXDA
celtare21
joshuous
Renderbroken
MihranT
frap129
Flar2
Kdrag0n
uvera
KrasCGQ
Contributors:
AjaiVasudeve | Rasenkai
Telegram Support Group:
Muffin Support
Source :
Github

R1 Changelog:
× Initial release
× Set up EAS
× Stock frequency table
× Additional EAS commits making it roughly on par with EAS r1.5
× Readjusted cpufreq-devfreq table
× Biased tasks to power cluster to save some battery
× CPU and Devfreq boosts from Kerneltoast
× Multi-tier Dynamic stune boost with slot based boost tracking
× Wireguard Support
× Sound gain
× Boefella Wakelock blocker
× CFQ I/O scheduler
× Westwood TCP Algo
× Merged latest CAF tag, qcacld-3.0, fw-api, qca-wifi-host-cmn
× Merged lnx.4.4.180
× F2FS enabled with latest merges from kernel_common f2fs branch
× Removed/Disabled some qcacld wakelocks
× Offline gestures support, with DT2W
× Built with Clang 9.0.2
× Disabled BCL hotplugging
× sdFAT support
× Enabled Power-efficient workqueues
× Disabled Audit
× Various other minor improvements

FAQ :
Code:
[B]1. What is EAS?[/B]
-> EAS expands to "Energy Aware Scheduling".
It is somewhat new to android systems, and bases on the concept of completely fair scheduling.
Before getting too excited, one should understand what exactly it is.
Even if the name gives out vibes of some energy saving system which can drastically improve power consumption, that is not exactly the case.
EAS is basically a system of task scheduling, just like HMP which ships by default in our devices. EAS can be considered superior to HMP for a set of reasons even if HMP does have its own merits.
Unlike HMP, EAS is "energy-aware". The "energy saving" comes into play when the tasks are scheduled to the core and ramped to the frequency that is suited to proceed with the task.
So rather than an "energy-saving system", it is more apt to be recognized as something that reduces excess or needless power consumption for a given task.
For such proper scheduling, a proper "capacity-cost model" is necessery.
[B]2. What is a "capacity-cost model"?[/B]
-> The is the scheduler is made aware of the power consumed by each cluster and core at each frequency available for operation through something we call the "capacity-cost model". It doesn't have to be 100% accurate but must be at least be accurate enough to properly let the scheduler clearly know what a particular cpu at a partical frequency can do at the expence of roughly what amount power. SDM636/660 does not have a "authentic" energy-cost model from CAF or any other reliable source. Hence we are using a model we calculated thanks to people like kDrag0n, Zachariah, Joshuous etc.
[B]3. Why EAS?[/B]
-> EAS is gernerally considered superior to HMP for it's responsiveness to loads and smarter placement of tasks in a system. EAS is better at deciding what tasks reside on the Big and Little clusters. EAS ensures optimal power consumption for optimal performance without overshooting either of those. EAS governors, mainly Schedutil does not require setting up a long list of tunables for optimal performance. A well set up EAS system should diminish performance drops in handling tasks at the same time consuming the right amout of energy.
[B]4. The Boost set up in Muffin is weird![/B]
-> Boosting is an integral part of EAS because of the way it is set up. Boosting helps increase the time allocated for the concerned task. We mainly boost the "top-app" schedtune group which essentially is the set of tasks that is resposible for the things user interacts with.
Usually boosting is handled by userspace entities like the power-hal. But since we do not have the luxury of ROM side changes for EAS, we use in-kernel modules for boosting. That is why muffin has a long list of boosting options. By default the boosting is set for a satisfactory level of smoothness.
The set up has been tested for its performance and battery life by members of our testing group returning a satisfactory feedback. Users can bump it up or down as per their requirement if they feel the default set up is not their piece of cake.
[B]5. Is Muffin proper EAS?[/B]
-> Muffin is "proper" EAS if what that refers to is:
1. An energy-model set-up
2. Active EAS scheduler
3. Schedtune interface
4. Working boost mechanism.
Muffin is not "proper" EAS if that refers to:
1. Employing an 'authentic' capacity-cost model.
2. Power-hal based boosting
3. Big names behind the kernel.
Since the kernel is open for all to use, why not give it a try and check if it meets the standard you expect from the kernel. If it does, we are extremely happy.
If it does not, you are obviously free to ditch the kernel and opt one that suits your requirements.
X00T/D/DA has a wide range of kernels with most excelling at its business.
You probably will never run out of options to try.
[B]6. Charging rate seems low.[/B]
-> Muffin supports charging standard 5V/2A which is what our device has support for.
The device should intake upto 2A[in theory. More like max: 1.9A in practice] as long as the temperatures do not exceed the threshold values of charging throttle mechanism.
We are not confident enough to bump up the intake for obvious concerns over safety, sustainability and reliability.
We do not ship any charging hacks or pseudo quick charge implementations, for the better or worse depending on what side you are on. Essentially, we are playing it safe.
[B]7. Battery life/Performance needs improvement.[/B]
-> Muffin is not specifically oriented either for extreme battery life or extreme performance.
So expecting either of those may leave you disappointed. We aim for a fair amount of smoothness for fair level of power consumption.
We are not ready to sacrifice either of those in favor of the other.
But we are obliged to make sure that the kernel does not induce excess, unacceptable battery drain or degraded performance. We'll be working on improving both performance and battery as long as they do not feed on each other.
[B]8. Muffin has _________ bug || ______ doesn't work properly on Muffin.[/B]
-> Bugs and issues are common in custom kernels.
We are by no means pro's at the job and may mess things up at times. But we do let the kernel go through a bunch of testing by the members of our Testers' group, so the chances of major bugs existing in the release builds is comparitively low.
However if you do end up facing bugs, please do report it to us through our support group or tagging us on TG[ @ajaivasudeve || @rasenkai] in device groups where we are active members of as long as other members of the group are okay with it.
Even if you are not in a state to give any logs or detailed description, at least mentioning it to us briefly would help us a lot.
[B]9. Supported ROMs[/B]
-> We do not limit support to a set of specific ROMs. We aim for maximum compatibility from our end.
But due to ROM side changes, flashing the kernel on some ROMs may trigger some kinda misbehaviour.
The chances of that happening is not that high but may be the case if you are experiencing uncalled lags, battery drain or other annoying occurances.
In that case we recommend to either opt for a different kernel or return to the stock kernel of the ROM

Great kernel thanks a lot for the great work.

Best choice at the moment.

You used this kernel along with which ROM?

works with the rom stock?

zezinhocrack said:
works with the rom stock?
Click to expand...
Click to collapse
No. Sorry

just flashed the kernel, everything seems great. thanks dev.

charging speed

BTiwari said:
charging speed
Click to expand...
Click to collapse
Read third post (FAQ)

Superb kernel, gaming performance also very good nice job sir.

while charging the phone is very hot up to 45 degrees.

ngocphuoc said:
while charging the phone is very hot up to 45 degrees.
Click to expand...
Click to collapse
Shutdown let it cool down and charge

I used it with havoc unofficial.. my battery drain super fast with this karnel.. 10% in just 30mins??

Nolia007 said:
I used it with havoc unofficial.. my battery drain super fast with this karnel.. 10% in just 30mins
Click to expand...
Click to collapse
you either have flashed this over another kernel, or did not dirty flash rom before flashing muffin.

Rasenkai99 said:
you either have flashed this over another kernel, or did not dirty flash rom before flashing muffin.
Click to expand...
Click to collapse
havoc os have darkonah already installed
I think thats causing the issue

iamfarhanansari said:
havoc os have darkonah already installed
I think thats causing the issue
Click to expand...
Click to collapse
I'm sorry I can't help then.
Pls use another rom.

Rasenkai99 said:
you either have flashed this over another kernel, or did not dirty flash rom before flashing muffin.
Click to expand...
Click to collapse
I just flash the kernal with twrp and than wipe dalvik & cache than reboot..

Great kernel with very good battery backup. Was using Havoc official with Rawkernel but this one has increased battery life without loss of performance significantly. Good work!! Request you to give us updates regularly. Thanks.

Related

[Kernel 3.4.113][CAF][Monthly] Lambda Kernel ~ Infinito [All variants][N/M/L][01/29]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war.
Please do some research if you have any concerns about using custom ROMs/Kernels.
You are choosing to make these modifications, and if you point the finger at me for
messing up your device, I will laugh at you.​
​​
Lambda Kernel is a CAF recreation of the LG G2's Kernel written for CAF based custom ROMs. It fits the needs of anyone looking for a decent performance/battery rate, being totally compatible with up to the newest Android 7.1 ROMs and all the way down to Android 5.1 ROMs using the wildcard concept.
It follows the flash n' go principle, everything packed in the Kernel is already tweaked and ready to be used as a daily driver for most users.
The downloads, contributors and source code are at the bottom of this post, it is recommended to read everything before flashing.
"The Lambda Kernel project was born as a reasonable alternative for non-lge firmware users that would enjoy having a decent operational system on their devices but, unfortunately, weren't possible because of the lack of a great Kernel for this panorama. That was a paradoxical paradigm, such a powerful device tied by controversial chains.
As a hobbyist and enthusiast, stepping forward on this was a must. Having the tools and one of the greatest kernels in the Android world at my side (dorimanx), sharing the same platform and device, I couldn't hesitate so long. Although we may never hit his level, it's worth mentioning this project has its own philosophy and purpose. Constructing a different way of thinking is always a pleasure."
"Everything that is yours needs to be controlled by anybody else than you. When flashing this kernel on a custom firmware, you'll be signing an authority term over your device possession. You'll be breaking chains imposed by a society niche that is closed source, proprietary and arrogant. They are the world that superimposes your look to keep you from seeing the Truth. The Truth that you are a slave. Like all the others you were born in chains. The world is a prison where there is neither hope nor taste nor smell, a prison for your mind. But still there's only one hope, there's only one way out: K.I.S.S. to maintain your own rules, to avoid unnecessary complexity in your escape."
The releases follow an organized naming scheme, alphabetically ordinary using portuguese words.
The current release name is Infinito.
Also, they follow a two-week basis schedule in the BETA stages in order to pack the latest security updates and code improvements. The STABLE ones don't have a schedule in mind, they are meant to be released after the BETA ones get 100% debugged and tested.
EXPERIMENTAL: My own testing builds for certain features and tests. They have numbers and comments in their versioning according to the consecutive builds I build and the latest changes in which I should look into testing. They aren't normally shared, although sometimes I publish them. If you see one of them, don't forget they are recommended for advanced users/developers only because of their potential changes that must be debugged before publishing a beta/stable version.
BETA: They are closer to the proper release version but still can have some errors or bugs to be reported and tested, they also have a number to avoid confusion. It's most likely what you'll be flashing in order to catch up with the latest code base and security updates.
STABLE: That's the version for the ones that don't want their devices to be lab rats for new features and staging changes. It might have some little issues but it's generally able to fill all user needs in terms of stability for such a bleeding-edge project.
Pretty straightforward once you get used to it, isn't it?
A general panorama for Lambda Kernel, always matching the latest release, in this case Infinito BETA 13.
NEW ↠ Everyting new that has been added compared to the previous release.
HOT ↠ The amazing uniqueness of Lambda Kernel on every byte.
TESTING ↠ The name says for itself, usually works properly but should be better evaluated.
DISABLED ↠ What has been added in source code but disabled due to issues.
EXTRA ↠ Related to UKM/Synapse/Anykernel and other miscellaneous.
3.18.y F2FS filesystem support NEW
NTFS filesystem support HOT
CPU overcloking up to 2.8GHz HOT
Latest Linux Kernel 3.4.y base version HOT
Built with Dorimanx's PWR GCC (Linaro 6.1) HOT
Motorola's quick wakeup driver with LPM support HOT
Nougat's sdcardfs filesystem support HOT
The battery friendly AutoSMP plugging driver HOT
Experimental Blu Plug hotplugging driver HOT
My version of the MSM Hotplug with fast lane mode HOT
My own balanced version of the Bricked Hotplug HOT
Impulse governor with fast lane mode support HOT
ULL audio path support HOT
Enhanced ARM scheduler clock HOT
Improved the Completely Fair Scheduler (CFS) routines HOT
Up-to-date binder framework HOT
Updates on slim_ngd from 3.10.y HOT
Mainline security and overflow patches HOT
Upstream DirtyCow exploit fixes HOT
Block updates from 3.10.y HOT
GPU updates from Dorimanx Kernel converted to my code HOT
Disabled the stupid gentle fair sleepers and arch power HOT
Automated two-week changelog shipped to the device HOT
My own optimization set called Fast Lane V2 HOT
Tweaked Motorola's low memory killer HOT
Backported 3.10.y sound drivers + offload for more formats HOT
Faux Sound Control v3.8 for LGE my tweaks HOT
500MB swap space available on two compression streams HOT
ZRAM compressed memory with LZ4 support HOT
ZSMALLOC allocation framework for ZRAM HOT
Memory management updates from 3.18.y HOT
Ability to use your device as a USB keyboard and mouse HOT
My implementation of the state notifier for LGE touch panel HOT
MSM Limiter v5.4 driver with per core support HOT
Internal Kernel clock frequency at 300Hz HOT
CPU frequency driver up-to-date with 3.10.y HOT
NET/Bluetooth updates from 3.14.y from dorimanx HOT
New android alarms API to "replace" RTC HOT
Dynamic dual core CPU boosting coded by sultanxda HOT
GPU overcloking up to 533MHz HOT
Force fast charge v3.2 driver HOT
Process reclaim support HOT
Advanced memory stats monitoring HOT
Anykernel2 installer fully up-to-date HOT
Exclusive UCI/UKM support for Synapse HOT
Newest GPU drivers (kgsl/devfreq) from Linux 3.18.y kernel branch HOT
Adreno Idler for msm-adreno-tz GPU governor HOT
Krait voltage control compatible with 3.18.y GPU drivers HOT
Dynamic QoS voting based on USB activity HOT
Set USB to always use the maximum speed available HOT
Reduced CPU retention voltages as per Qualcomm HOT
Added 499MHz CPU clock frequency HOT
Fixed encoding activity burning all RAM and forcing CPU usage HOT
Fixed Wi-Fi roaming standby drain and frame buffer overflow HOT
Fixed all irq requests for oneshot HOT
Power management QoS framework updates from 3.10.y HOT
Latest sweep2sleep driver inlined with dorimanx HOT
New I/O schedulers: fiops, zen, tripndroid and sioplus HOT
Cleaned some LG changes in cpufreq that aren't relevant for CAF/CM HOT
Updated queue_stats code HOT
Added Motorola's optimized memutils HOT
Increased TCP output for faster connectivity HOT
All advanced TCP congestioners available HOT
Stereo call recording support HOT
Fixed the slow charging bug in userspace HOT
Added back LGE's HIFI sound buffers for enhanced playback HOT
FSync switcher HOT
Enabled more TCP congestion options HOT
Adaptive LMK enabled by default and tweaked HOT
Kerne same-page merging (KSM) support DISABLED
SELinux permissive out-of-the-box EXTRA
GPU time in states for monitoring EXTRA
Dynamic wallpaper changer when flashing EXTRA
All values set to performance/balanced out-of-the-box EXTRA
GPU gaming boost for intense mobile gamers EXTRA
General updates in Synapse UI to match the new features EXTRA​​
AnyKernel2 ↠ It's the main feature of this kernel, it doesn't only make our lives easier by avoiding the usage of ramdisk but also let us change and ship many new features without touching the ROM side. Another great point on AnyKernel usage is the ability to setup your device on boot up, setting the governors and values that we love right out of the box without any kind of pain.
UCI/UKM ↠ UCI is a binary that allows Synapse access to control and manage the kernel's core. UKM is the component that allows prebuilt .json modules to build the Synapse UI without compiling the app on Android Studio or other Android IDE. You won't need to install a new version of the app from somewhere to get up-to-date, the kernel will automagically ship the changes I made in Synapse UI and apply them on the fly.
Linux 3.4.113 ↠ As you may know, your phone a ton of electronic hardware such as SmartTVs, printers, laptops, watches and even glasses run the Linux kernel. If you wanna know more about the Linux kernel, please watch this video on YouTube. The 3.4.113 version of the Linux kernel has been finished in Oct 26, 2016 and it's currently marked as EOL (End of Life) version.
MSM Hotplug ↠ This driver was coded by neobuddy. It is the chosen one to be the default hotplugging mechanism, supplying a nice range of options and a feature that dialogs directly with impulse governor called 'fast lane'. This feature will jump all cores into a speed trail when the CPU governor detects a high load average, thus reducing pressure on the main cores and improving performance.
Bricked Hotplug ↠ One of the recommended hotplug drivers. It was first coded by showp1984, now it is marginally cleaner and faster with neobuddy updates on top of it. It's a very complex hotplug but supplies one of the most stable hotplugging mechanism for any mobile Linux Kernel. Should be used in case the user wants total control on every bit of the plugging mechanism.
AutoSMP ↠ Yet another hotplugging, this one is focused on stability and fair resource usage, it's very minimal and offers bare minimal sets of controls. Should be used on user cases where battery life is the main target or just as a simple alternative to bricked hotplug.
Dual Core CPU Boosting ↠ This driver was coded by sultanxda for the Oneplus One recently. It allows a dynamic CPU boosting based on user input and hotplug activity. I have tweaked it to boost the first CPU to 1.2GHz for 1.5s on user input if the second CPU is already awake, if not it will then boost the second one to 1.4GHz for 1.5s as well. If the second CPU needs to stay online due to hotplug load, it will stay boosting the first CPU if the input is detected and if the frequency doesn't pass the threshold it will let the hotplug and governor decide what to do.
Dorimanx Fast Charger ↠ The fast charger driver that dorimanx uses on his kernel. Allows the configuration of the charging scheme, you can set from 500mV to 2000mV charging levels. The cable and charger will affect the charging level as well, don't use any charger/cable you found in the garbage can. I'm not responsible for the bad usage of this feature. Neither dorimanx, it's absolutely your fault if you damage your device.
Swap ↠ The Linux swap is very old and consolidate way of getting more RAM by caching older process and instances to a cached space out of the RAM space. This feature was common on servers but sooner came to the Android mobile devices as well. The swap space is usually not present in most devices as it costs more CPU power to "swap" the "files" from real RAM memory to another place, this place can be a hard drive partition, a portion the real RAM itself (Z-RAM) or even a file in some cases.
Z-RAM ↠ Another form of swap, commonly used on some Android phones due to higher CPU levels of instrumentation provided by ARM, in which we can same memory not by placing the caches to another place like a usual swap but compressing it in runtime as more instances and processes request real memory. As a note, Z-RAM has something called max compression streams, which are the maximum amount of parallel writes to the "new area", we set one per every 256MB of Z-RAM space, the default is 512MB of space compressed with two compression streams to keep power/battery compensation.
Faux Sound Control ↠ This driver, written by Faux, exposes the Kernel sound driver (WCD9320) to allow fine tuning from userspace, instead of the default static values they were set by the manufacturer. The fine tuning happens using two different APIs on my Kernel, one written for the proprietary app by Faux and another one by dorimanx, for STweaks. I've modified the STweaks scripts to add them on Synapse, calling it Synapse API for users that don't want to buy/use the proprietary app. The open Synapse API is capable of tuning the headphone, speaker and microphone gains without distortion since the magic happens in Kernel level and not in software level.
Read this twice before flashing/posting!​
Cod. 001:
State: Solved!
Priority: Normal.
Overview: Min. CPU boost frequency overlays min. CPU frequency.
Cod. 002:
State: Solved!
Priority: Low.
Overview: Bricked hotplug is a little messed up in Synapse organization.
Cod. 003:
State: Solved!
Priority: High.
Overview: MSM limiter frequency on suspend is actually the opposite causing frequency locks after awaking from sleep.
Cod. 004:
State: Unsolved.
Priority: High.
Overview: Possible race conditions causing BSOD for some use usecases, the frequency is low and causes unknown.
Cod. 005:
State: Solved.
Priority: High.
Overview: Sound control affects call audio volume and distortion is noticeable when the value is high.
Read this twice before flashing/posting!​
Q. Can I flash this Kernel on Android Lollipop?
A. Yes and no, only Android 5.1, 6.0, 7.0 and 7.1 are supported natively.
Q. Is this kernel compatible with LG stock firmware/ROM?
A. No, LG stock is Android 5.0 and already has dorimanx Kernel support, Lambda is only for targets in the answer above, custom ROMs commonly.
Q. What are variants on the LG G2 development scheme?
A. As many crap carriers on the market, LG is known to implement region based hardware, this causes the existence of series of devices that are identical but have some differences in terms of hardware. This forces developers to adapt and recreate the device trees for every single model.
Q. How to install this kernel?
A. Download the version you'd like to use and flash using a custom recovery like TWRP.
Q. I have an error in red when flashing the zip file, what is that?
A. Maybe your download was corrupted somehow, try to download once again.
Q. I have a "device not supported, aborting..". error in TWRP, what is wrong?
A. Your firmware/ROM's build.prop property 'ro.product.device' may have been modified and doesn't match the device filter protection implemented in TWRP. Ask your firmware/ROM's developer why he did this or post the value for 'ro.product.device' entry. Last but not impossible, the variant you have isn't supported like the ISAI variant family.
Q. I noticed the Synapse UI is so old-school, why can't I use Kernel Adiutor?
A. You can, but that would waste all the time I spent making UKM (read in details) unique for this kernel. You won't be able to use all the guts properly either. So, please don't use Adiutor as main Kernel Tweaking app, you can use it as a fallback option to see the frequencies and etc.
Q. I have problems to restore my settings with Synapse. What to do?
A. Well, this can be many things. The usual gripe happens when the bare ROM has an updated version of toybox and thus some busybox commands end up not working well. What I'd try at first glance is open it, to to TOOLS and tap Reset Synapse to clear the databases. Then, I'd open it again, dismiss any message on the screen and start tuning it to create the proper new database. After this, I'd export my config in SETUP just to save it for later and Reload Synapse. This usually works for most users...
Q. Why SELinux is set to permissive?
A. Some mods request the usage of permissive policies to work properly, it was needed to please everyone who had the mods before flashing the Kernel. You can always turn SELinux to enforcing in Synapse.
​​
Click the Downloads button above to go straight to Github releases page, find the appropriate file for your variant and flash it in recovery.​
Many developers and people helped to bring the pieces of code needed to build the Lambda Kernel Project, some of them are listed below.​
Dorimanx
Savoca
RenderBroken
Snuzzo
Neobuddy
Myfluxi
FranciscoFranco
AlexDNS
Faux123
AK
SultanXDA
Tsunamical
Showp1984
Apbaxel​
Source for Kernel at Github.
Source for AnyKernel2 at Github.
Guide and introduction to Lambda Kernel development at Github.​
~ All project resources were built with free and open source software. ~​~ Lambda Kernel trademark and logos are copyleft. ~​~ This is a development thread, be polite. ~​
XDA:DevDB Information
Lambda Kernel, Kernel for the LG G2
Contributors
GalaticStryder
Source Code: https://github.com/GalaticStryder/kernel_lge_msm8974
Kernel Special Features: Per core control, impulse governor, custom plugging, dual core boosting, fast charge, overclock...
Version Information
Status: Stable
Current Stable Version: Infinito Beta 13
Stable Release Date: 2017-01-29
Created 2015-12-13
Last Updated 2017-01-29
Tweaks
Hello world.
Reserved #2
Reserved for me, as well.
Can it survive nightlies?
If not, can it be done?
I Know someone made xposed cm 13 survival script so If its not,
It might be a good idea..
reemar said:
Can it survive nightlies?
If not, can it be done?
I Know someone made xposed cm 13 survival script so If its not,
It might be a good idea..
Click to expand...
Click to collapse
CM installs their Kernel over it by default, I think we can do something to back it up and reinstall but still CM side.
Sent from my LG-D802 using Tapatalk
Awesome! I've been using CM13 (nightly) for over a week now and its been really good. Looking forward to your optimizations/tweaks/fixes/gadgets !
Maybe put "CM13" in your title.
eric93se said:
Awesome! I've been using CM13 for over a week now and its been really good. Looking forward to your optimizations/tweaks/fixes/gadgets !
Maybe put "CM13" in your title.
Click to expand...
Click to collapse
It uses anykernel, so that means it will boot on more than just "cm13"
eric93se said:
Awesome! I've been using CM13 (nightly) for over a week now and its been really good. Looking forward to your optimizations/tweaks/fixes/gadgets !
Maybe put "CM13" in your title.
Click to expand...
Click to collapse
Might fit any LP-CAF ROM running their trees up-to-date, as far as I can see CM13 branch does nothing but update CM12.1 branch, so should run on 5.1, 6.0 and above. Needs testing though.
Sent from my LG-D802 using Tapatalk
@GalaticStryder so far, so good. It's running great here on the LS980. It gets a little hotter than I'm use to, but it's so far, really fast and stable.
@GalaticStryder
I am glad you are back mate.
The kernel works perfectly with AICP 11 Rom on my D802, it is smooth and fast (read better than stock ketnel).
I am excited about the future of this project, great start!
P.S. I hope that you are going to be back soon to the rom development also!
I can find download section
Στάλθηκε από το LG-D802 μου χρησιμοποιώντας Tapatalk
ytgbg said:
GalaticStryder
I am glad you are back mate.
The kernel works perfectly with AICP 11 Rom on my D802, it is smooth and fast (read better than stock ketnel).
I am excited about the future of this project, great start!
P.S. I hope that you are going to be back soon to the rom development also!
Click to expand...
Click to collapse
Thanks, unfortunately, I'm not on the mood for ROM development, it's a lot more time demand and complaints... so far dealing with the heart of the monster is away healthier cause I do these stuff as a hobby. Maybe vacation will let me cook some fully AOSP builds as unique.
fendaris said:
GalaticStryder so far, so good. It's running great here on the LS980. It gets a little hotter than I'm use to, but it's so far, really fast and stable.
Click to expand...
Click to collapse
I'll upload the kernel setup I'm using as well as some defaults I tested on the second post.
I'm getting an average of:
45°C on CPU when installing apps, updating, downloading... and 38~40°C when the screen is on.
Battery Temperature is 32°C sticky.
Right now is 23°C by the morning (GMT -3) summer temps.
matrixios said:
I can find download section
Στάλθηκε από το LG-D802 μου χρησιμοποιώντας Tapatalk
Click to expand...
Click to collapse
You can't find or can find? Nevermind we're using XDA to host the build, there's a big tab in the project menu, if it doesn't show up, the "downloads section" will be edited to link to there.
For the well-being: http://forum.xda-developers.com/devdb/project/?id=12950#downloads
Will F320 be supported?
GalaticStryder said:
You can't find or can find? Nevermind we're using XDA to host the build, there's a big tab in the project menu, if it doesn't show up, the "downloads section" will be edited to link to there.
For the well-being: http://forum.xda-developers.com/devdb/project/?id=12950#downloads
Click to expand...
Click to collapse
so glad to see you again :good:
can't find the download link too (see attached)
thanks for this mate.
fLipz said:
so glad to see you again :good:
can't find the download link too (see attached)
thanks for this mate.
Click to expand...
Click to collapse
Dope, just uploaded and shared the folder on my Google Drive: https://drive.google.com/open?id=0B0kZ4DVPwVcMS3hpeDdocmxSMDQ
Now i see the problem, fauxsound gets louder after every reboot. Anyone to fix this? Can't really lower it anymore. Lol
fendaris said:
Now i see the problem, fauxsound gets louder after every reboot. Anyone to fix this? Can't really lower it anymore. Lol
Click to expand...
Click to collapse
It's not loud that's the way it should be but a little over, you need to adjust the ux volume to 7 or 8 of 10, 9 and 10 distort, but it is, in my case, better than not hearing the calls. I'll readjust in the next release. Thanks for confirming that issue. I'll clean up the Sound Driver code a bit as well.
Sent from my LG-D802 using Tapatalk
Can I run this if I am on LG g2 Verizon with cloudy g2 lollipop 5.0.1 edition? If so, do I simply zip file in twrp or do I need to do some prior reconfiguration??
Sent from my VS980 4G using Tapatalk
y300owner said:
Can I run this if I am on LG g2 Verizon with cloudy g2 lollipop 5.0.1 edition? If so, do I simply zip file in twrp or do I need to do some prior reconfiguration??
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
Nope. Just AOSP.
Sent from my LG-D802 using Tapatalk
GalaticStryder said:
Nope. Just AOSP.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Asop? Verizon is unsupported,? OK. :/
Sent from my VS980 4G using Tapatalk

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

[KERNEL][E6553/E6503/E6533] Zach's Kernel Playground for Z4/Z3+, WIP

Final notice: Since my Z5 died (it's broken into pieces, glass shattered) - development is effectively halted - NO more updates - sorry
This is a Stock (Sony) ROM Kernel and WILL NOT work on AOSP, CM, etc.
aka SunKernel for Z4/Z3+ & Z4/Z3+ Dual - Stock ROM (for now only stock)
This is an extension of the Xperia Z5/Z5 Dual "sumire" main thread over at: https://forum.xda-developers.com/xp...und-z5-wip-t3340725/post65936553#post65936553
Finally !
So the kernel is now also available for the (somewhat forgotten) Z4/Z3+ series
Please understand that I can't test whether it works due to lack of that very device - Enjoy !
Keep in mind that building for the Z5 "Stock" ROMs and "Stock" Kernels, you're constantly facing the following tradeoff:
compatibility with pre-built "core" kernel modules (e.g. texfat [proprietary exfat microSD fs driver])
compatibility with pre-built "goodies" kernel modules (e.g. video and other acceleration, hwcodecs, ...)
losing features that can NOT be replaced by similar ones (e.g. ecryptfs, wlan, exfat, etc.)
when going too far the device doesn't boot or simply hangs on bootanimation
this resulted in a couple branches (at least several dozen) that are partially or totally broken :silly:
[snip]
...
[snip]
More info on the Latest Kernel can be usually found at:
AT the end of the thread
( I KNOW - I should have reserved a few posts for better overview )
---------------------------------------------------------------------------------
[Download] How to get the current ("corona", 5.11) Kernel(s) - Step by Step:
1)
Choose your device from one of the 4 folders
Z5 + Z5 Dual: https://drive.google.com/open?id=0BykGGWB96CBQQy05VURLbzJTZlU
Z5 Compact: https://drive.google.com/open?id=0BykGGWB96CBQVE0tb2dieTZMXzg
Z5 Prem + Z5 Prem Dual: https://drive.google.com/open?id=0BykGGWB96CBQaVZTdnF5QnVTMU0
Z4/Z3+ + Z4/Z3+ Dual: https://drive.google.com/open?id=0BykGGWB96CBQa2xBdHR5TzlrNUE
2)
At the upper right, click on "List View"
3)
At the top of the table, there are 3 labels (name, owner, [last] modified, File size)
click on "Last modified", the newest Kernels should be shown either at the top, or at the bottom
4)
Download the latest Kernel
5)
???
6)
Profit !
Click to expand...
Click to collapse
Before starting to test/use keep in mind that this is WIP (work in progress),
that means - NO guarantees,
backups before flashing are a MUST (especially your microSD card content !)
stability, speed, improved battery and satisfaction are a great side-effect to have.
You have been WARNED !
Enjoy !
Obligatory Source:
(according to the rules in single commits no giant blobs, authorship kept)
https://github.com/zachariasmaladroit/android_kernel_sony_msm8994_kitakami_r2/branches
Features:
(will add more later if I forgot anything)
Features said:
@AndroPlus for build-scripts, kernel patches
@Tommy-Geenexus for kernel patches, fixes
pstore
LPM (low power mode, battery efficiency)
fix high load average (lower battery consumption)
microSD, internal SD reliability improvements
cpuidle improvements (battery efficiency)
fix page thrashing in case of low memory situation (when you disable zram)
vmalloc improvements (less memory fragmentation, better reliability of camera, wifi, etc. drivers with long runtime)
FauxSound
KCAL
WLAN: disable memdesc and ramdumps (thanks to @Tommy-Geenexus )
notification LED changes to green+blue (cyan), when battery is really full (thanks to @Tommy-Geenexus )
Powersuspend, QuickWakeup, Power Efficient Workqueues,
improved vibrator, faster/more reliable interactivity
bluetooth hidp, fix disconnect on idle timeout
a few general stability fixes & reliability improvements
added wakelock switches (only use, if you observe high drain with specific functions; might cause instabilities or higher battery drain !)
big.LITTLE optimization flags; aggressive compiler optimization flags
disabled KSM, it's a battery drainer and magically gets enabled by Sony's ROM so remove it
added BFQ i/o scheduler (now YOU show me where it's smoother ! )
improved noop i/o scheduler - now it's more bare, previously it was similar to simple i/o scheduler - now it should be optimum for bare metal SSD/microSD access
GPU default set to 180 MHz
cpu governors: added ZZMoove, elementalX
added vibrator intensity switch support
added a bunch touchpad (screen) and fingerprint scanner fixes & improvements
support for Sumire DSDS (dual sim) (testing, used single SIM ramdisk)
kudos to all devs working on android, whether at Linux Foundation (Linux Kernel), Android (Google), Codeaurora, XDA or elsewhere - YOU ROCK !
this one looks to be more battery friendly
WIP branch
NEW features
sys-fs interface to control vibrator intensity (some kernel tools might support it)
lowered init value of screen during bootup: now you shouldn't get 100% BLINDED when rebooting :cyclops:
core 0 and 4 are now always on (per default, unless you play around with core_ctl) - allows changing governor settings for the big cores
mmc crc checksum is disabled by default (?) - 30% or more higher performance, re-enable if you favor integrity
KEXEC support - give @Myself5 's MultiROM a test-drive if you're curious (http://forum.xda-developers.com/xperia-z5/orig-development/mod-multirom-v33x-t3374763)
added Alucard cpufreq governor, if it's too laggy, unstable, etc. - I'm throwing it out the airlock
added a few additional changes thanks to @AndroPlus
.
224 version bump (224 ROMs ONLY)
RAM (working memory) energy efficiency improvements, thanks to @AndroPlus to spot it
overclocking support "big" core ~ 2.1 GHz, "little" core ~ 1.7 GHz (the "little" core is less tolerant for OC, less stable)
changed optimization flags (evaluation), should now be more stable but also faster, efficient
.
Z4/Z3+ support
Click to expand...
Click to collapse
Notes:
Trilliard said:
If you have systemless root and systemless xposed on your system, you have to flash latest betaSU and latest systemless xposed framework immediatly after flashing a new Kernel. If you dont do this you will get a bootloop.
Click to expand...
Click to collapse
Overclocking:
The following threads are for the Z5 - so naturally the thermal engine needs to be adapted to work on the Z4/Z3+
http://forum.xda-developers.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879
http://forum.xda-developers.com/showpost.php?p=67444047&postcount=150 ( @_LLJY 's thermal-engine modifications are attached )
Source:
https://github.com/zachariasmaladro...i_r2/commits/Sun-Kernel_32.2.A.0.224_vI.1_2_8
Download: AndroidFileHost :
SunKernel_for_Z4_Z3Plus 224_I.1_2_8
224_I.1_2_8 Changelog said:
Changelog:
- 224 version bump (224 ROMs ONLY)
- RAM (working memory) energy efficiency improvements, thanks to @AndroPlus to spot it
- overclocking support "big" core ~ 2.1 GHz, "little" core ~ 1.7 GHz (the "little" core is less tolerant for OC, less stable)
- changed optimization flags (evaluation), should now be more stable but also faster, efficient
- "ivy" support (Z4/Z3+)
Click to expand...
Click to collapse
Thanks
it is coming thx very much
twrp can not mount mtp
works great
Flashed your Kernel Today, no problems with Systemless Root, flashed Systemless Xposed - no problems here. Everything works fine... Now lets have a look at what we can do
If you don't mind a small request to @zacharias.maladroit, I want to use your kernel and features are good, but can you make a kernel build with default clock of CPU and GPU reduced to 50% before boot (it should be same in recovery also) and i want to manually change its default clock through kernel auditor if i want later. Reason is my phone gets heated during boot due to its running at max frequencies.
Thanks for your work and I hope you wont mind giving me this option.
EDIT: Faux sound is not working and it does nothing when i change it from kernel auditor.
GryTEcHoG said:
If you don't mind a small request to @zacharias.maladroit, I want to use your kernel and features are good, but can you make a kernel build with default clock of CPU and GPU reduced to 50% before boot (it should be same in recovery also) and i want to manually change its default clock through kernel auditor if i want later. Reason is my phone gets heated during boot due to its running at max frequencies.
Thanks for your work and I hope you wont mind giving me this option.
EDIT: Faux sound is not working and it does nothing when i change it from kernel auditor.
Click to expand...
Click to collapse
use ex kernel
death_note7 said:
use ex kernel
Click to expand...
Click to collapse
What you mean ? Which kernel you are referring to ? Does that kernel have all the features of Zach's ? If so give me link as I can't find it. I liked Zach's kernel but during boot my phone gets hot due to default max freq and also faux sound is not working (which does nothing when i change sliders from kernel auditor app).
Flashed this kernel working well, systemless root, xposed and ex kernel manager. Letting it sit in till I start messing with settings.
GryTEcHoG said:
What you mean ? Which kernel you are referring to ? Does that kernel have all the features of Zach's ? If so give me link as I can't find it. I liked Zach's kernel but during boot my phone gets hot due to default max freq and also faux sound is not working (which does nothing when i change sliders from kernel auditor app).
Click to expand...
Click to collapse
Kernel Adiutor Sound controls are broken,
please use Faux Sound Control instead, that works;
I'll see what I can find on that CPU + GPU reduction during bootup,
but this will take some time, focusing on several projects (Android + non-Android) at the same time, so need to triage
zacharias.maladroit said:
Kernel Adiutor Sound controls are broken,
please use Faux Sound Control instead, that works;
I'll see what I can find on that CPU + GPU reduction during bootup,
but this will take some time, focusing on several projects (Android + non-Android) at the same time, so need to triage
Click to expand...
Click to collapse
cool enjoy your works
zacharias.maladroit said:
Kernel Adiutor Sound controls are broken,
please use Faux Sound Control instead, that works;
I'll see what I can find on that CPU + GPU reduction during bootup,
but this will take some time, focusing on several projects (Android + non-Android) at the same time, so need to triage
Click to expand...
Click to collapse
I've tried that also but seems to me only Headphones are working and speakers does nothing. Can you please try again and let me know ?
For the GPU/CPU, It would be better if you down clock them by 50% default and clock it higher after OS is loaded using init.d or something else.
Thanks
same problem here
please do a fix with the broken sound using audio output.. Only headset working flawlessly. thank
please add a touch boost swich in the next update,and fix twrp mtp mode,can not link with computer.thx
I used kernel Andro v31 and now i flash and use Zachs kernel, but SuperSu automatic updated and now i can't install binary for it. Anyone can help me?
i use this kernel i want to know how to flash supersu2.76 and how to shut cpu 4..please
renkahinkaru said:
i used kernel andro v31 and now i flash and use zachs kernel, but supersu automatic updated and now i can't install binary for it. Anyone can help me?
Click to expand...
Click to collapse
??????
RenkaHinkaru said:
I used kernel Andro v31 and now i flash and use Zachs kernel, but SuperSu automatic updated and now i can't install binary for it. Anyone can help me?
Click to expand...
Click to collapse
Dont let it update then...
---------- Post added at 03:27 AM ---------- Previous post was at 03:26 AM ----------
death_note7 said:
same too,abandoned this kernel itâ??is overheat than stock kernel
Click to expand...
Click to collapse
Its hot, its not overheating. Temps should only be considered as overheating when >80
Features:
(will add more later if I forgot anything)
Features said:
@AndroPlus for build-scripts, kernel patches
@Tommy-Geenexus for kernel patches, fixes
pstore
LPM (low power mode, battery efficiency)
fix high load average (lower battery consumption)
microSD, internal SD reliability improvements
cpuidle improvements (battery efficiency)
fix page thrashing in case of low memory situation (when you disable zram)
vmalloc improvements (less memory fragmentation, better reliability of camera, wifi, etc. drivers with long runtime)
FauxSound
KCAL
WLAN: disable memdesc and ramdumps (thanks to @Tommy-Geenexus )
notification LED changes to green+blue (cyan), when battery is really full (thanks to @Tommy-Geenexus )
Powersuspend, QuickWakeup, Power Efficient Workqueues,
improved vibrator, faster/more reliable interactivity
bluetooth hidp, fix disconnect on idle timeout
a few general stability fixes & reliability improvements
added wakelock switches (only use, if you observe high drain with specific functions; might cause instabilities or higher battery drain !)
big.LITTLE optimization flags; aggressive compiler optimization flags
disabled KSM, it's a battery drainer and magically gets enabled by Sony's ROM so remove it
added BFQ i/o scheduler (now YOU show me where it's smoother ! )
improved noop i/o scheduler - now it's more bare, previously it was similar to simple i/o scheduler - now it should be optimum for bare metal SSD/microSD access
GPU default set to 180 MHz
cpu governors: added ZZMoove, elementalX
added vibrator intensity switch support
added a bunch touchpad (screen) and fingerprint scanner fixes & improvements
support for Sumire DSDS (dual sim) (testing, used single SIM ramdisk)
kudos to all devs working on android, whether at Linux Foundation (Linux Kernel), Android (Google), Codeaurora, XDA or elsewhere - YOU ROCK !
this one looks to be more battery friendly
WIP branch
NEW features
sys-fs interface to control vibrator intensity (some kernel tools might support it)
lowered init value of screen during bootup: now you shouldn't get 100% BLINDED when rebooting :cyclops:
core 0 and 4 are now always on (per default, unless you play around with core_ctl) - allows changing governor settings for the big cores
mmc crc checksum is disabled by default (?) - 30% or more higher performance, re-enable if you favor integrity
KEXEC support - give @Myself5 's MultiROM a test-drive if you're curious (http://forum.xda-developers.com/xperia-z5/orig-development/mod-multirom-v33x-t3374763)
added Alucard cpufreq governor, if it's too laggy, unstable, etc. - I'm throwing it out the airlock
added a few additional changes thanks to @AndroPlus
.
224 version bump (224 ROMs ONLY)
RAM (working memory) energy efficiency improvements, thanks to @AndroPlus to spot it
overclocking support "big" core ~ 2.1 GHz, "little" core ~ 1.7 GHz (the "little" core is less tolerant for OC, less stable)
changed optimization flags (evaluation), should now be more stable but also faster, efficient
.
Z4/Z3+ support
224_I.1_2_9:
during bootup ony the small core cluster is active == cooler bootup, but potentially also slower (it should however be fast enough)
Overclocking: active after Boot, BIG core @2.2 GHz, adjust with Kernel Adiutor, etc.
Click to expand...
Click to collapse
Overclocking:
The following threads are for the Z5 - so naturally the thermal engine needs to be adapted to work on the Z4/Z3+
http://forum.xda-developers.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879
http://forum.xda-developers.com/showpost.php?p=67444047&postcount=150 ( @_LLJY 's thermal-engine modifications (for Z5) are attached )
Source:
https://github.com/zachariasmaladro...i_r2/commits/Sun-Kernel_32.2.A.0.224_vI.1_2_9
Download: AndroidFileHost :
SunKernel_for_Z4_Z3Plus 224_I.1_2_9
224_I.1_2_9 Changelog said:
Changelog:
during bootup ony the small core cluster is active == cooler bootup, but potentially also slower (it should however be fast enough)
Overclocking: active after Boot, BIG core @2.2 GHz, adjust with Kernel Adiutor, etc.
Click to expand...
Click to collapse
Thanks

[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] [EOL] [OnePlus5] [OOS 5, OOS 4] Boeffla-Kernel (15-01-2019)

*** This kernel is now end-of-life and not supported nor actively developed anymore !!! ***
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.)
Now I own a OnePlus 5 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, 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 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 !!
To add: A community build is NOT an official build supported here. If you use a community build and have issues, don't complain or even report.
Important notes
Read first, especially when you are new to my kernels:
http://wiki.boeffla.de
Boeffla-Kernel uses the anykernel concept = Flash stock kernel of rom first !
This kernel is ONLY compatible to OxygenOs stock, nothing else !!!
If you are using a custom rom that bases on OxygenOs, 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 OxygenOs stock.
It is not supposed to be compatible to CM, 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.
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 OxygenOS 5.x.x kernel - Click here
Change log for OxygenOS 4.x.x kernel - Click here
Known issues
none known
Features
Note: This kernel only runs on OOS 4.x.x 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.38 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)
Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
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
Swipe2wake gestures
Boeffla generic wakelock blocker
Control haptic feedback of gestures (except fingerprint)
Haptic feedback intensity control (from 0 to 25, with 25 being 100%)
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 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
Wireguard 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
Fully supports OOS device encryption, but does not force it
Integrated full busybox 1.27.2 (own compilation)
Compatible with systemless root
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 OOS kernel sources (https://github.com/OnePlusOSS/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.38 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:
OOS5
http://kernel.boeffla.de/oneplus5/boeffla-kernel-oos/oos5xx/changelog.htm
OOS4
http://kernel.boeffla.de/oneplus5/boeffla-kernel-oos/oos4xx/changelog.htm
--- Reserved 2 ---
Boeffla-Universe !!!
Very first public beta version is now released for the OnePlus 5, OOS version.
Please note: Expect bugs, the kernel is brand new and only 48 hours "old".
Also please carefully read the opening post as you need to be aware of some things, especially the thing about disabling battery optimisation for Boeffla-Config app !!!
Also 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
Finally here we go:
Version 1.0-beta1
30.06.2017
First official build
Note: This kernel only runs on OOS 4.x.x for the OnePlus 5 - nothing else !!!
Note: You need at least version 2.4.38 of Boeffla-Config V2 to allow all functionalities to be available.
Important: Manually disable battery optimisation for Boeffla-Config app in the rom settings (battery -> battery-optimisation)
as on OOS 4.5.x a suspected bug does not let the app do that for you although the app tries !!!
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.38 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: none yet, but planned
Additional schedulers: fiops, bfq, sio, sioplus, fifo, vr, tripndroid and zen
Underclocking CPU and GPU supported
No CPU overclocking and voltage interface, no GPU overclocking and voltage interface (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)
Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
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
Swipe2wake gestures
Control haptic feedback of gestures (except fingerprint)
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 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
Fully supports OOS device encryption, but does not force it
Integrated full busybox 1.26.2 (own compilation)
Compatible with systemless root
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 OOS kernel sources (https://github.com/OnePlusOSS/android_kernel_oneplus_msm8998)
Enjoy
Andi
Welcome @Lord Boeffla...
Thanks for your great work...[emoji4]
And one more thing...
News for those planning to go for a OnePlus 5 in future with LineageOS
Go to: www.boeffla.de
Cheers
Andi
nice to see you here
Glad to see your support for Oneplus devices
Sent from my OnePlus5 using XDA Labs
Greetings from Potsdam
unrated87 said:
Greetings from Potsdam
Click to expand...
Click to collapse
Oh, someone from Potsdam here? That is funny. Greets back. First time someone from Potsdam is showing up on XDA to me.
R u planning to go to the Stadtwerke Fest this weekend? I might go tomorrow evening, depending on weather conditions
Cheers
Andi
Yeah I will go Saturday evening as well I would like to me the almighty Lord Boeffla
unrated87 said:
Yeah I will go Saturday evening as well I would like to me the almighty Lord Boeffla
Click to expand...
Click to collapse
Goodie. Let's see what we can do. As said, I make it very dependent on weather, so probably would not work out.
But hey, we can meet any time when there is nice weather somewhere, so many nice locations here
And sorry for the rest of the folks, back on topic now.
Andi
I'm up and running with new Kernel. Phone works much smoother now.
Thank you Andi.
Also I made small donation for your other project, to keep you up and running.
I encourage others to donate as well, every penny counts to keep our Lord busy with new OP5.
Cheers!!!
dcrnic said:
I'm up and running with new Kernel. Phone works much smoother now.
Thank you Andi.
Also I made small donation for your other project, to keep you up and running.
I encourage others to donate as well, every penny counts to keep our Lord busy with new OP5.
Cheers!!!
Click to expand...
Click to collapse
Cheers my friend, much appreciated.
Both the report everything is fine, as well as your kind donation for the new project
Have a great Friday, followed by a even better weekend.
Andi
Great to see you working here too. Loved your kernel on OnePlus x.
Sent from my ONEPLUS A5000 using Tapatalk
gouthamgoumi said:
Great to see you working here too. Loved your kernel on OnePlus x.
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
Then you will feel being "at home" straight away again
Andi
Addicted to ur kernel on op3. Now the thing gonna be same on op5 too.. ?
HatRiGt said:
Addicted to ur kernel on op3. Now the thing gonna be same on op5 too.. ?
Click to expand...
Click to collapse
Great.
Then let's do that new journey together again
@all: Have a great weekend, I am off for now, just checking from time to time during the weekend.
So please help each other in case known issues appear, especially the ones using my kernels already on older devices should be able to help out a lot
Enjoy the weekend
Andi
Glad to see you here Since Galaxy S3
great to see boeffla on OP5!
is it possible to deactivate the annoying charging light?

Categories

Resources