[KERNEL][OP2][LineageOS] FrancoKernel - r12 - 12th Dec - OnePlus 2 Original Android Development

Hi all.
Compatibility:
Builds starting with r1 are only for Android Nougat 7.1.1 LineageOS based roms.
Download:
From my webserver choose the Kernel with the most recent version number. Older releases for older Android versions are in the parent directory:
https://kernels.franco-lnx.net/OnePlus2/7.1.1/anyKernel/
or from my Updater app. It's just easier and more convenient:
https://play.google.com/store/apps/details?id=com.franco.kernel
Installation:
Flash the zip in your recovery
or
Auto-flash from Franco Kernel Updater app
Features:
1 - Legendary battery life
2 - Flash & forget
3 - Typical interfaces like display adjustments, sound control, vibration control, and all that boring stuff
4 - Bypasses the verified boot flag for Android Pay compatibility (root still breaks Android Pay but that's your own problem)
5 - Idle power consumption reduced to the absolute minimum (if you have wakelocks from 3rd party apps you're obviously on your own)
6 - Support for FKUpdater's Performance Profiles
7 - Magical support, I'm here every day, checking posts almost hourly, ready to help anytime (well, unless you fail to read the OP, which contains most info you need)
8 - Seemless integration with my app FKUpdater
9 - All cores are unlocked and unshackled from One Plus core control module. Mimicking the Nexus 6P all cores are online and hit idle states when they don't have tasks running, instead of going offline. Performance is greatly improved because all cores are readily available when needed
10 - Some famous wakelocks are blocked and disabled by default for maximum battery life through out the day
11 - No crap placebo patches, or "magical" optimizations
12 - Probably more, check my github for all the details - the code speaks for itself
Changelog:
https://kernels.franco-lnx.net/OnePlus2/7.1.1/appfiles/changelog.xml
Source:
https://github.com/franciscofranco/one_plus_2
Follow me on the interwebs
Google+
Twitter
Google+ FK community
https://plus.google.com/u/0/communities/117966512071636110546
Franco Kernel: Manager & Updater demo
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!

Will update Franco Kernel Manager & Updater later today with better One Plus 2 support. It's already supported and labeled as official device, but needs a couple tune-ins, so hang there, will be available later on today.

First..!! Finally.

was waiting for it :3 thanks for support. so no hotplugging at all? all cores online all the time? won't this waste too much battery?

Thanks for the amazing work, we appreciate it.

chxei said:
was waiting for it :3 thanks for support. so no hotplugging at all? all cores online all the time? won't this waste too much battery?
Click to expand...
Click to collapse
Hotplug is the action of onlining a core (after it has been unplugged) in a live system, which is present in any Kernel of any device with more than 1 core. You can offline it through sysfs. What you are asking is: if there's any automatic mechanism that onlines & offlines cpu cores based on some special heuristic. The answer is no.
They are online at all times unless there's the need for some thermal throttle. They'll follow the standard Linux resume->suspend mechanism just like any other "normal" phone when the OEM doesn't **** with the natural cycle. This is exactly how the Nexus 6P (same chip) works. I explain it in the changelog & in the feature list. Cores will go to idle in a "jiffy" if they don't have any runnable threads running.

It's good to have such experienced dev working on development for oneplus2

I installed your kernel but I need a tweak supported. Thank you for your great work for oneplus2
Envoyé de mon ONE+A2005 en utilisant Tapatalk

mimbel said:
I installed your kernel but I need a tweak supported. Thank you for your great work for oneplus2
Envoyé de mon ONE+A2005 en utilisant Tapatalk
Click to expand...
Click to collapse
?

Francokernel updater and manager not supported
Envoyé de mon ONE+A2005 en utilisant Tapatalk

mimbel said:
Francokernel updater and manager not supported
Envoyé de mon ONE+A2005 en utilisant Tapatalk
Click to expand...
Click to collapse
Did you even read the OP?

How to tweak it ?
Envoyé de mon ONE+A2005 en utilisant Tapatalk

mimbel said:
How to tweak it ?
Envoyé de mon ONE+A2005 en utilisant Tapatalk
Click to expand...
Click to collapse
Read the second post...

franciscofranco said:
Hi all.
Compatibility:
Builds starting with r1 are only for Android Nougat 7.1.1 LineageOS based roms.
Download:
From my webserver:
https://kernels.franco-lnx.net/OnePlus2/7.1.1/anyKernel/
or from my free Updater app:
https://play.google.com/store/apps/details?id=com.franco.kernel.free
Installation:
Flash the zip in your recovery
or
Auto-flash from Franco Kernel Manager & Updater or Franco Kernel Updater Free apps
Features:
1 - Legendary battery life
2 - Flash & forget
3 - Typical interfaces like display adjustments, sound control, vibration control, and all that boring stuff
4 - Bypasses the verified boot flag for Android Pay compatibility (root still breaks Android Pay but that's your own problem)
5 - Idle power consumption reduced to the absolute minimum (if you have wakelocks from 3rd party apps you're obviously on your own)
6 - Support for FKUpdater's Performance Profiles
7 - Magical support, I'm here every day, checking posts almost hourly, ready to help anytime (well, unless you fail to read the OP, which contains most info you need)
8 - Seemless integration with my app FKUpdater
9 - All cores are unlocked and unshackled from One Plus core control module. Mimicking the Nexus 6P all cores are online and hit idle states when they don't have tasks running, instead of going offline. Performance is greatly improved because all cores are readily available when needed
10 - Some famous wakelocks are blocked and disabled by default for maximum battery life through out the day
11 - No bull**** placebo patches, or "magical" optimizations
12 - Probably more, check my github for all the details - the code speaks for itself
Changelog:
https://kernels.franco-lnx.net/OnePlus2/7.1.1/appfiles/changelog.xml
Source:
https://github.com/franciscofranco/one_plus_2
Google+ FK community
https://plus.google.com/u/0/communities/117966512071636110546
Franco Kernel: Manager & Updater demo
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!
Click to expand...
Click to collapse
Hi Francisco. You will not do a kernel based on Oos 3.5? Why you choose lineage and not oos like Oneplus 3

Sorry !!! I don't read the second post
Envoyé de mon ONE+A2005 en utilisant Tapatalk

mimbel said:
Francokernel updater and manager not supported
Envoyé de mon ONE+A2005 en utilisant Tapatalk
Click to expand...
Click to collapse
Dev will update support for them later today

Finally some "real" development for this device
Thanks @franciscofranco ! We all appreciate your work.
OT: Any chance of building a LineageOS 14.1 kernel for the OnePlus One too? The community loves you!

dom_tucc said:
Hi Francisco. You will not do a kernel based on Oos 3.5? Why you choose lineage and not oos like Oneplus 3
Click to expand...
Click to collapse
First of all stock OOS for this device is horses ****, lag fest etc. Second, I could not boot the device building from their sources. I wasted a couple days for nothing. So LineageOS it is.
Gawd said:
Finally some "real" development for this device
Thanks @franciscofranco ! We all appreciate your work.
OT: Any chance of building a LineageOS 14.1 kernel for the OnePlus One too? The community loves you!
Click to expand...
Click to collapse
Yes, coming this week! :highfive:

franciscofranco said:
First of all stock OOS for this device is horses ****, lag fest etc. Second, I could not boot the device building from their sources. I wasted a couple days for nothing. So LineageOS it is.
Yes, coming this week! :highfive:
Click to expand...
Click to collapse
I have oos on my op2 and i never noticed a lag. i tried also lineage, and i didnt found a noticeable difference, only in ram management. But camera in lineage is ****

Will this Kernel support AOSP-CAF based ROMs? If not then are you planning to add any support for it?

Related

[KERNEL][CM9][I9000] Mackay kernel ICS Final (4 flavours, 12-Aug-2012)

After building a CM9 kernel with some added features as part of my CM9-UNOFFICIAL-building, I decided to make a separate kernel topic: Mackay Kernel.
This kernel is based on stock CM9-kernel by pawitp.
Today's release will be the final ICS release! From today on I will start working on a JB kernel. First release may take a few weeks.
Because it is a final release, there will be 4 flavours:
-regular
-XLmem (396MB RAM, no 720p recording, 720p playback works)
-VC (Voodoo color)
-VC+XLmem
If you like a CM9 with the Mackay Kernel included, there is also MackayROM, which is an adapted CM9:
http://forum.xda-developers.com/showthread.php?p=28149230
Changelog:
12 August 2012 - ICS_Final
Changelog
Additions since previous stable version:
s5pc110_battery: fix charging display for car dock
fix freeze when max frequncy is set to 800 MHz
fixed charging-autostart bug, now the device stays off, and powers on properly (thanks DerTeufel)
Updated to linux version 3.0.39
General features:
Build using the July Linaro toolchain
O3 optimization
Updated to linux kernel version 3.0.39
Mackay kernel bootsplash
Based on a single initramfs & using bootloop detection to prevent bootloops
Mackay recovery (based on CWM recovery v6.0.1.1)
Governors added:
SmartassV2 (default)
Wheatley
Optimized ondemand/conservative parameters
Schedulers:
SIO (default)
Added functionality:
Bigmem (384MB; XLmem of 396 available as well)
Adaptable vibration intensity (by setting /sys/class/timed_output/duty)
Improved SD-card read/write speed under windows
Call volume hack (using Settings>Advanced to set volumes)
Reduced battery polling interval
Credits:
-teamhacksung/pawitp for making CyanogenMod work on our ancient phone
-stratosk/DerTeufel/Mialwe for the inspiration I got from their kernels
-rootax for providing a high-speed server for high quality downloads
Download: https://s.basketbuild.com/devs/kasperhettinga/sgs/kernel/pre-KK/
Source code:
Kernel: https://github.com/kasperhettinga/samsung-kernel-aries
Ramdisk: https://github.com/kasperhettinga/ics-ramdisk/commits/mackay_ramdisk
This kernel has some additions to prevent bootloops. However, if you get into a bootloop you can flash the kernel to be downloaded below with Odin (tar can be used directly) or Heimdall (the zImage should first be extracted from the tar file).
Download: https://dl.dropbox.com/u/69000552/Mackay-Final/Mackay_Kernel_ICS_Final.tar or http://www.mediafire.com/?pbbhj88n3k0dn33
first
What´s the goal of your kernel?
Nice to see you building one .
dark_knight35 said:
first
Click to expand...
Click to collapse
congratz u have won a pair of used socks
Sent from my GT-I9000 using xda premium
urim225 said:
congratz u have won a pair of used socks
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
As long as it aren´t yours .
BTW I´ve edited my post.
dark_knight35 said:
first
What´s the goal of your kernel?
Nice to see you building one .
Click to expand...
Click to collapse
Goal is to have a basic kernel with some add-ons. There are some full-blown kernels for CM9 like semaphore/devil which give a lot of extras. But I like to keep it closer to stock (with no need for additional kernel apps), but still add a few extras.
Just flashed, working great. I guess we had a hole with a simple kernel after mialwe jumped to gs3, now it's full.
Can you compile with o3?
dark_knight35 said:
Can you compile with o3?
Click to expand...
Click to collapse
+1
Sent from my GT-I9000 using xda app-developers app
THX!
@kasper:
very cool to finally see an own thread for your kernel!
thx for all your effort providing a lightweight and simple yet powerful and optimized kernel for our devices...
greetz,
sUsH
Hi Kasper,
Have been using your CM7 kang builds and they always worked smooth. I am really happy to see you making a "close to stock kernel" which i guess lot of people here would appreciate.
Best of luck n 3Cheers
Welcome Dev For SGS... reserved for future..
@kasper_h Thx for the kernel, its super slick! I just miss one thing: BLN, can you add them in next version?
kokubunji said:
@kasper_h Thx for the kernel, its super slick! I just miss one thing: BLN, can you add them in next version?
Click to expand...
Click to collapse
No plans for BLN. BLN is one of those features which requires a special app. I use the regular led notification myself which is controlled through CM9-settings. Less powerful, but also no additional memory footprint from an additional app.
With regard to -O3 flags, I will definitely look into that.
I just recoded my OC patch, used midnight kernel as a template. I hope to finish that part of the project later today. After that, I will look into compiler flags.
yaatzek said:
Just flashed, working great. I guess we had a hole with a simple kernel after mialwe jumped to gs3, now it's full.
Click to expand...
Click to collapse
SGS2 Nice to see you remember me - actually I must admit I miss the SGS1 oO.
kasper_h said:
Things I'm working on:
-OC (basic OC, not live OC)
Click to expand...
Click to collapse
Nice to see another kernel beeing worked on
I don't know if it helps somehow but my first commit for standard-UV/OC can bee found here @ Github (CM9/samsung-kernel-aries). Worked great for several months, maybe it can save you some time. Btw. I'm a long time, passive follower of your cherry-pick enhanced ROMs thread, thanks for that
Edit: Uups, missed you last sentence @ last post, sorry.
mialwe said:
SGS2 Nice to see you remember me - actually I must admit I miss the SGS1 oO.
Click to expand...
Click to collapse
You sold it :what:?
No - reactivated it this morning </OT, sorry>
kasper_h said:
No plans for BLN. BLN is one of those features which requires a special app. I use the regular led notification myself which is controlled through CM9-settings. Less powerful, but also no additional memory footprint from an additional app.
Click to expand...
Click to collapse
Ok, but I dont use cm9, is there a way I can use led notif on other rom(F1 ics)?
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
kokubunji said:
Ok, but I dont use cm9, is there a way I can use led notif on other rom(F1 ics)?
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
Click to expand...
Click to collapse
You should ask the rom dev.
Gesendet von meinem GT-I9000 mit Tapatalk 2
mialwe said:
Nice to see another kernel beeing worked on
I don't know if it helps somehow but my first commit for standard-UV/OC can bee found here @ Github (CM9/samsung-kernel-aries). Worked great for several months, maybe it can save you some time. Btw. I'm a long time, passive follower of your cherry-pick enhanced ROMs thread, thanks for that
Edit: Uups, missed you last sentence @ last post, sorry.
Click to expand...
Click to collapse
This is indeed the patch I looked at to implement OC Adapting it to include an additional 1400MHz OC step.
I just added a testversion of the Mackay kernel. It includes OC (only 1200MHz for the time being). This is quite stable for me, but not perfect yet (my phone is very bad at OC, so I can not really test this very well).
Removed the OCtest kernel as it is buggy for me: it just stops working when screen is turned of for some time. Need some more time for trying/testing etc.

[EOL] [KERNEL] [Bacon] [COS13,12,11/Lineage14/CM13,12,11] Boeffla-Kernel (28-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 Samsung devices area, where I provide my kernels already for more than two years to Galaxy S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official Cyanogenmod / CyanogenOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Important notes
1) When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
2) Do NOT use TWRP's function to root your device after a clean rom flash!!! The installed supersu version is not up to date and may cause a bootloop with latest COS/CMs kernels !!!
3) Make sure you flash the correct kernel version, depending on whether you use cm11s stock or genuine cm11, COS13.0, COS12.1, COS12.1.1 or genuine CM13 !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Saying that, the Boeffla-Sound app in Play Store is not designed to work on the OPO, neither was it developed by me, hence it will never work on the OPO ever. Boeffla-Config is the way to go here !!!
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app.
Click here to learn about using the config app.
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
Change logs can be found at the first page of the kernel homepage:
www.boeffla.de
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Additional governors: zzmoove, intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, pegasusq, nightmare, lionheart
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Notification LED control (fading, speed, brightness)
Boeffla-Sound engine (Headphones and speaker volume configurable)
zRam (1-4 logical devices)
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
Swipe2Wake gesture implemented
Swipe2Sleep - 3 gestures implemented
Boeffla generic wakelock blocker V1.1.0 (documentation)
CPU Overclocking up to 2.88 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support with fixed simple_ondemand
Show GPU frequency usage per frequency in Boeffla-Config
Panel partial updates reverted to avoid graphical glitches
Last CM12 touchscreen firmware reverted as it does not work properly for some users
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off, new Mattiadj tweak set included)
Android logger (logcat) configurable (depending on rom)
Kernel logger (dmesg) configurable
Charge rates for AC charger and USB charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, do not mount inside /data)
NFS support (module)
exFat opensource support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
Module support in general activated in Kernel
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Insecure kernel (adb has root privileges)
Automatic EFS backup
Kernel survival mode by Boeffla-Config app to survive CM rom flashes (not CMs however)
Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request (latest su included)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Kexec hardboot supported
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Google gcc 4.8 toolchain used for best stability
Always using latest Initramfs
Always based on latest OnePlus One kernel sources
Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
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 on stock cm11s or genuine cm11 !!!
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.1.48 or higher for the OnePlus One 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
* 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
Latest change logs:
CM14.1
http://kernel.boeffla.de/bacon/boeffla-kernel-cm/cm14.0/changelog.htm
CM13
http://kernel.boeffla.de/bacon/boeffla-kernel-cm/cm13.0/changelog.htm
COS13.1
http://kernel.boeffla.de/bacon/boeffla-kernel-cms/cm13.1s1/changelog.htm
Configuration and profile thread
http://forum.xda-developers.com/oneplus-one/general/unofficial-boeffla-kernel-profile-t2998145
--- reserved 2 ---
Yes a new Kernel. Can never have too much Kernel love for the OPO. WIll check it out ASAP. Thank you sir!
Omgggg i loved your kernel from s3, can you port zzzmove?
Sent from a OnePlus One with Vanir ROM and AK
_Beni_ said:
Omgggg i loved your kernel from s3, can you port zzzmove?
Sent from a OnePlus One with Vanir ROM and AK
Click to expand...
Click to collapse
Hi,
oh yes, zzmoove is already in
Thanks to master @ZaneZam, who was working together with me in the past 2 weeks on that topic.
If you loved my kernel already on the S3, you will even love you have the same kind of "structure" around the kernel. Same config app, same comfort functions there etc etc.
So, ... enjoy
Andi
waaaaaa... my lord.... welcome .... missed u from S3....... so happy...
are we expecting eargasm again ???
Lol, how nice... many "old S3 chaps" here. Good to see you again guys
Andi
Lord Boeffla said:
Hi,
oh yes, zzmoove is already in
Thanks to master @ZaneZam, who was working together with me in the past 2 weeks on that topic.
If you loved my kernel already on the S3, you will even love you have the same kind of "structure" around the kernel. Same config app, same comfort functions there etc etc.
So, ... enjoy
Andi
Click to expand...
Click to collapse
Nice , are you going to port it to cm11?
Sent from a OnePlus One with Vanir ROM and AK
_Beni_ said:
Nice , are you going to port it to cm11?
Sent from a OnePlus One with Vanir ROM and AK
Click to expand...
Click to collapse
Not in my plans as I have only one device. So the same goes as long time ago for the S3 and n8000.
One device = only the "official" firmware. This is still my golden rule of thumb
If enough people help me to get a second device, it would change of course.
Andi
Lord Boeffla said:
Not in my plans as I have only one device. So the same goes as long time ago for the S3 and n8000.
One device = only the "official" firmware. This is still my golden rule of thumb
If enough people help me to get a second device, it would change of course.
Andi
Click to expand...
Click to collapse
I have invites, i can give you one if you want to buy a second device. Why you dont switch to other roms? You dont lose warranty
Sent from a OnePlus One with Vanir ROM and AK
welcome, it's nice to find you. now we will see some good!
_Beni_ said:
I have invites, i can give you one if you want to buy a second device. Why you dont switch to other roms? You dont lose warranty
Sent from a OnePlus One with Vanir ROM and AK
Click to expand...
Click to collapse
I know.
But I loose features, and like for a daily driver phone to stay on the official firmware the vendor provides. That is my concept for more than 3 years now and I was always good with it.
So, no intention to change.
The question from other side is (although it is OT): What does CM provide me which CM11s does not have?
I am not missing anything, thats my point
It is not about invites, but paying another 300 bucks is not possible for me this year anymore (spent around 15 k€ for relocations, my car got stolen in February and so on... was an expensive year for me).
Andi
Lord Boeffla said:
I know.
But I loose features, and like for a daily driver phone to stay on the official firmware the vendor provides. That is my concept for more than 3 years now and I was always good with it.
So, no intention to change.
The question from other side is (although it is OT): What does CM provide me which CM11s does not have?
I am not missing anything, thats my point
It is not about invites, but paying another 300 bucks is not possible for me this year anymore (spent around 15 k€ for relocations, my car got stolen in February and so on... was an expensive year for me).
Andi
Click to expand...
Click to collapse
damn... sorry to hear that..
reyscott1968 said:
damn... sorry to hear that..
Click to expand...
Click to collapse
Well, no worries.
Sometimes life is a b**tch
But all good now. Just not the money left for another OPO at the moment.
Especially as I still am not sure whether I should also get a Galaxy S5 on day.
Andi
Lord Boeffla said:
Well, no worries.
Sometimes life is a b**tch
But all good now. Just not the money left for another OPO at the moment.
Especially as I still am not sure whether I should also get a Galaxy S5 on day.
Andi
Click to expand...
Click to collapse
Lets leave samsung , they dont want good thirdparty developers.
Now downloading stock opo image, never used the orgininal cm11s . Everyfeature from s3 is also in Opo kernel?
Sent from a OnePlus One with Vanir ROM and AK
_Beni_ said:
Everyfeature from s3 is also in Opo kernel?
Sent from a OnePlus One with Vanir ROM and AK
Click to expand...
Click to collapse
No, of course not.
This is technically impossible. There are things in Samsung that do not exist on this hardware (e.g. big parts of boeffla-sound).
And vice versa.
And some are not needed as they are included here by default (e.g. touch wake etc).
If you look carefully at the feature list, you can spot the differences
Andi
Pretty sure you can get the kernel to work with AnyKernel, but of course, when you do this, YMMV. Since it's designed to work best with CM11s, it might perform worse on other ROMs (and then there comes the complaints, bugs, issues, etc.). Besides, I don't see any need for any other ROMs than CM11s. It gives you everything you need.
ive used that kernel until last week on my s3, it was by far the best.
(boeffla sound was great)
hoping for a cm11 version sooner or later for the 1+1 :victory:
I have used your kernel on my s3 for along time, it's awesome! Very happy to see your work on OPO.
Just ask one question, I'm using f2fs with ak kernel on my OPO now, so does this kernel support f2fs filesystem? Cuz i didn't find it on your feature list..
sorry for my english

[mod]cpu_tuning

tribute to xda.
tuning parameters for cpufreq_interactive & core_ctl & hmp_sched & some more
for MIUI and LOS, RR, AOKP, MoKee, Bliss (all zwliew's forks).
v.4
- conception is changed (again)
sometimes 1 big + 2 little is not enough. so now i offer you 1 big + 3 little or 2 big + 2 little at your choice.
all these combination is very individual and i want you will make your own good config.
now it's much simpler to customize - all configs are in separate patches.
just download zip, unpack it, correct config, pack it back. that's all.
if you will find better configuration, please, give your advices here in this thread.
i recommend you to use good monitoring and profiling tool from Qualcomm https://play.google.com/store/apps/details?id=com.quicinc.trepn
for custom rom (!!!zwliew's sources based) users:
you can apply cpu_tuning* patches direct on your native kernel, you dont need to change kernel, it will work (may be even better, who knows).
or you can apply patch with new LOS kernel from fedosis with very light undervolting, new low frequences and some more improvements.
(all kernels are zwliew's sources based, compatible)
so,
1. install "lineage-13.0-20170202-UNOFFICIAL-land-kernel.zip" (kernel only)
2. install "cpu_tuning-4-1x3-cm13.zip" (config only)
if you skip 1st step, it will repack your present boot (only "init.qcom.power.rc" will be replaced) and will work with your old kernel, but without low freqs, etc. you can test this case also.
!!!backup your "boot" partition.
for MIUI users:
there are patches with similar settings for you.
just install "cpu_tuning-4-1x3-miui.zip". only "/system/etc/init.qcom.post_boot.sh" will be replaced.
!!!backup "/system/etc/init.qcom.post_boot.sh"
(there are also patch with original MIUI "/system/etc/init.qcom.post_boot.sh", if something will go wrong)
https://drive.google.com/drive/folders/0B1G5yP4fi63mbEpzNHREVVB6a00
and later i will add something about thermal config, there are also some points to change
v.3
- conception is changed:
now 1 big + 2 little cpus are permanent online (offline-to-online is not cheap).
permanent also means, they are always the same: cpu0 (big master), cpu4 (little master), cpu5 (little master's friend). all others are lazy, they stay offline most times and go online and work only if these three are very busy. "core_ctl" was patched to implement this logic.
- (not for MIUI) low frequences was added. 768 and especially 960 are too high for low load.
- (not for MIUI) light cpus boost on screen touch was implemented.
v.2
now 8 cpus sleep more (in active mode) and wake faster.
LITTLE cluster for little tasks (at least 1 active), big cluster for big tasks (mostly sleeps).
awaiting of your impressions and results about working time and performance before and after.
we will tune it
one more thing:
i think xda is for advanced users. it's all experimental.
and better do nothing if you dont understand what are you doing.
will this work in mokee rom??
Subhampaul12 said:
will this work in mokee rom??
Click to expand...
Click to collapse
may be late. these are most popular.
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
RinzImpulse said:
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
Click to expand...
Click to collapse
may be. i dont know. thats why i want you to test it. but you need more time to make right compare results.
RinzImpulse said:
thanks for the mod. But, why i feel CPU load is a bit bigger then before i applying the mod?
i'm using latest MIUI global developer
Click to expand...
Click to collapse
CPU load is bigger because the task focused only on one core and sleep another core so that they may use upto 100% of one core rather than dividing it to another core (MAYBE, IT'S JUST HYPOTHESE)
I don't even know how it works ?
Will try, thanks for your work.
Thanks for this mod. I'll try, I hope this mod will update reguraly.
Sent from my Redmi 3X using Tapatalk
Could you please make a version for Bliss rom too ? Thnaks!
My redmi lags with the mod my friend.. Im using de latest weekly
Enviado desde mi Redmi 3S mediante Tapatalk
Crissdua said:
My redmi lags with the mod my friend.. Im using de latest weekly
Enviado desde mi Redmi 3S mediante Tapatalk
Click to expand...
Click to collapse
Same
Wysłane z mojego Redmi 3S przy użyciu Tapatalka
miui people report about lags. thanks.
im working on it. if you want to solve this problem fast, just try to make 1 change in "/system/etc/init.qcom.post_boot.sh"
add one little cpu always online at line 1502:
Code:
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
or more radical
add one big cpu always online at line 1494:
Code:
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
or even try both changes together, why not
ps.: not bad if you will report about power consumption changes (if any) also. means power consumption in acive mode (display on).
it often stucks only on one core enabled which cause lags. RR ROM
difr said:
miui people report about lags. thanks.
im working on it. if you want to solve this problem fast, just try to make 1 change in "/system/etc/init.qcom.post_boot.sh"
add one little cpu always online at line 1502:
Code:
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
or more radical
add one big cpu always online at line 1494:
Code:
echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
or even try both changes together, why not
ps.: not bad if you will report about power consumption changes (if any) also. means power consumption in acive mode (display on).
Click to expand...
Click to collapse
yes, mine feels lag too, but only at the start after long sleep. it's fine after some minutes/hours regular use
Got a great battery life improvement after using this mod. Arround 8,5 hours SOT (remaining at 8%) full 4G data with heavy browsing & some gaming use
Waiting for more feedback, thanks for making this mod!
first post updated. please, take a look.
Bliss added.
difr said:
Bliss added.
Click to expand...
Click to collapse
Thanks! I'll update this post after trying it out.
with rr antutu score is 40k, when use your latest mod, my antutu score decrease to 36k.
Can you mod it for only 1 small core online? i want only battery life. Or just guide me how to do it

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

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

[MOD] BlackenedMod v2.0 (Pixel 3a / Pixel 3a XL)

Introduction:
Hello everyone!
The idea to this 'project' did blossom after having an conversation with @pkgnex in the past about the general idea of creating something else that follows what he started with his PK's Tuning Script for Pixel 2 (XL) but with a twist, mainly as a complement to his own thread that you can find here, but also with a completely different vision and focus on what the script itself should achieve (and deliver) for kind of results for myself and for all of you personally, of course, that wants to try it out and use it as a "daily driver".
Shortly explained.
This script is created with the goal of improving both battery life and performance on our Pixel 3a (XL) devices, and after a whole range of configurations and various set-ups, I've come up with something that, in my eyes, is worth sharing with all of you so that you can try it out yourself and judge on your own, with constructive feedback on what can be improved or added in future releases - if desired. My philosophy is, and will always be, this:
If something can be improved or altered in a positive way so the average user can feel and see a difference, then go for it. Non stop.
The latest release can be found here.
Disclaimer:
This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes/modifications/addons/tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.
Note: This script is not recommended to be modified or customized by the user.
Features:
Reduced battery consumption
Device specific enhancements for best possible balance between battery life & performance
Enabled, and fully configured, Boeffla generic kernel wakelock blocker
Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)
CPUSet improvements & optimizations
Power efficiency enhancements
Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
Possibly other miscellaneous things I've forgotten to write down here, both big and small.
Requirements/what you need for getting this script fully working:
An unlocked bootloader
Your own specific choice of kernel
Latest possible version of Magisk
Busybox for Android NDK Magisk Module by @osm0sis
Patience
Installation/How-To use & abuse:
1) Download the attached ZIP
2) Extract the script
3) Move the script to the following location;
/data/adb/service.d and give it the following & needed file permissions (0775)
4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes a few seconds before the scripts is fully up and running around behind the scenes)
5) Enjoy!
Note: If you still are unsure how to do for making my kernel configuration / modification work & be up and running behind the scenes, then please read @Phalanx7621 phenomenal guide here or check out @Phalanx7621 in-depth video here. The installation method is the same for all generations of released Pixels!
Credits:
@franciscofranco for all the information on which kernel wakelocks that is safe to block
@Phalanx7621 for his phenomenal how-to guide
@Lord Boeffla for his awesome generic kernel wakelock blocker
@pkgnex for inspiring me walking into this partially unknown territory.
@flar2 for his excellent EXKM application and ElementalX Kernel
@osm0sis for his Magisk Busybox module
Everyone that I've forgotten to mention here
Telegram:
If you want to try out betas / previews of my script before they are officially released, or just hangout and chat a little, then join the official Telegram group here
To-Do list:
Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance
Contributors:
@xFirefly93
Created: 2019-07-06
Last updated: 2019-11-15
Update!
Note: It is recommended that you reboot your phone after you have applied v1.0 so the customized changes / improvements takes full effect and is fully up & running as intended.
Version v1.0 (Initial release):
- Initial test release for Google Pixel 3a (XL)
- Enabled, and tuned, Boefflas wakelock blocker
- Enabled the backlight dimmer per default
- Disabled some useless kernel stuff for less overhead
- Some additional high quality customizations & improvements
If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go!
Enjoy!
very nice, thank you so much!!!
Sent from my Pixel 3a using Tapatalk
Tiebe said:
very nice, thank you so much!!!
Click to expand...
Click to collapse
You're so damn welcome, and cheers!
Update!
Note: It is recommended that you reboot your phone after you have applied v1.1 so the customized changes / improvements takes full effect and is fully up & running as intended.
Version v1.1 (Semi-major release):
- Adjusted the task scheduler for better system responsivness
- Added my own Schedutil governor profile for a better balance between performance and battery life through the whole day
If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go!
Enjoy!
So glad to see you working on sargo releases as well! Really excited to try it out, and what a great time to release this as you are working on BM for Q on wahoo/taimen.
catharsis724 said:
So glad to see you working on sargo releases as well! Really excited to try it out, and what a great time to release this as you are working on BM for Q on wahoo/taimen.
Click to expand...
Click to collapse
The Q exclusive release of BM for Wahoo will be domination deluxe, just wait!
:highfive:
Thank you! Instructions are great but they are confusing because theyre different. I ended up using the ones written here instead of the video or tutorial post.
xFirefly93 said:
- Enabled the backlight dimmer per default
Click to expand...
Click to collapse
These devices are OLED and have no backlight, what does that do in this case? Thx...
duh1 said:
These devices are OLED and have no backlight, what does that do in this case? Thx...
Click to expand...
Click to collapse
Reduces screen brightness a little bit (which is a good thing during the nights and what not).
I was looking through the script and it appears to mainly be kernel customizations. Instead of being an init script, isn't it possible for this to be set up as a custom settings file to be imported to one of the kernel managers, or perhaps you already have a settings file we could test?
duh1 said:
I was looking through the script and it appears to mainly be kernel customizations. Instead of being an init script, isn't it possible for this to be set up as a custom settings file to be imported to one of the kernel managers, or perhaps you already have a settings file we could test?
Click to expand...
Click to collapse
I prefer to let it being applied straight through the service.d folder as a part of the Magisk boot service myself.
It's pretty much a lot easier for everyone that way.
Just for fun, I loaded this script on my Pixel C tablet. Remember that? Lol
It's an old janky Pixel abandoned by Google when Oreo ended. It's now on a custom Pie rom with a custom kernel so why not? The script installed and ran successfully. Proof was in the Magisk log. But not just that, this tablet now flys! No stutter scrolling, slightly slower battery drain and smoother transitions. Most importantly to me were the improvements in Chrome. Chrome would bog way down with just a few tabs open. Scrolling through articles and web pages was painful. The stutter was trerible especially compared to my Pixel 3a.
All I have say is thank you!
12
12paq said:
Just for fun, I loaded this script on my Pixel C tablet. Remember that? Lol
It's an old janky Pixel abandoned by Google when Oreo ended. It's now on a custom Pie rom with a custom kernel so why not? The script installed and ran successfully. Proof was in the Magisk log. But not just that, this tablet now flys! No stutter scrolling, slightly slower battery drain and smoother transitions. Most importantly to me were the improvements in Chrome. Chrome would bog way down with just a few tabs open. Scrolling through articles and web pages was painful. The stutter was trerible especially compared to my Pixel 3a.
All I have say is thank you!
12
Click to expand...
Click to collapse
Haha, holy crap. That was kind of unexpected, and surprising that I actually have created such a monster to be honest.
Or wait..
Wait until v1.2 is complete - it will make both your P3a and Pixel C fly higher than a (Snap)dragon ever is able to do!
:highfive:
xFirefly93 said:
Haha, holy crap. That was kind of unexpected, and surprising that I actually have created such a monster to be honest.
Or wait..
Wait until v1.2 is complete - it will make both your P3a and Pixel C fly higher than a (Snap)dragon ever is able to do!
:highfive:
Click to expand...
Click to collapse
Awesome! And thanks!
Update!
Note: It is recommended that you reboot your phone after you have applied v1.2 so the customized changes / improvements takes full effect and is fully up & running as intended.
Be aware that you have to flash the Busybox Magisk module by @osm0sis for getting the newest enhancements, that is featured / included on v1.2, up and running as intended!
Version v1.2 (Major release):
- Added a few crucial filesystem tweaks for improved performance (Credits goes to @pkgnex for this contribution. Be aware that you have to flash the Busybox Magisk module for getting those modifications up and running as fully intended)
- Fully removed all of the alternative task scheduler values / settings (they was only causing random freezes and lagspikes)
- Slightly adjusted the default stock CPUSet values for hopefully improved power efficiency as well as system responsivness
- Cleaned up the script on a few minor typos and what not
- Disabled a few minor CPU related loggers (experimental)
- Reduced suspend latency by enabling console_suspend
- Added a few tweaks for overall better network performance
- Shifted to Westwood TCP congestion algorithm per default
- Disabled the useless Adreno GPU frequency throttling tunable
- Disabled RCU expedited and 'replaced' it with RCU normal for improved real-time latency, CPU utilization and energy efficiency
If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go!
Enjoy!
12paq said:
Awesome! And thanks!
Click to expand...
Click to collapse
You should actually try out the latest Blackened release in the post here above on both your P3a as well as on your Pixel C.
You won't regret it, I promise.
:highfive:
xFirefly93 said:
You should actually try out the latest Blackened release in the post here above on both your P3a as well as on your Pixel C.
You won't regret it, I promise.
:highfive:
Click to expand...
Click to collapse
Sorry, I see very little difference on the P3a, it could just be me. Ex Kernel runs great for me. I'll give your mod some more time to test.
However, on my the 3 yr old Pixel C, it is very much improved. Impressive!
12paq said:
Sorry, I see very little difference on the P3a, it could just be me. Ex Kernel runs great for me. I'll give your mod some more time to test.
However, on my the 3 yr old Pixel C, it is very much improved. Impressive!
Click to expand...
Click to collapse
Have you flashed the Buxybox Magisk module on your P3a?
xFirefly93 said:
Have you flashed the Buxybox Magisk module on your P3a?
Click to expand...
Click to collapse
Yes.

Categories

Resources