[Kernel] SMF-KERNEL - RR/AICP/LOS/AOSP - 8.1 - Essential Phone ROMs, Kernels, Recoveries, & Other

Hello!
I want to introduce my first custom kernel for the Essential PH-1. This is based of several sources, I cherry-picked commits to make improvements to the stock LOS kernel. I'm not a developer, but i really like to port stuff over .
Kernel is suitable for AOSP based ROMS such as RR/AICP/CARBON/LOS etc... If you want to request for specific features, let me know and i'll do my best to bring them over.
Special Features:
Updated to lastest LOS Stock Kernel
Added a few governors like: cultivation / impulse
added a few IO Schedulers: Maple
Kcal Color Control driver
USB Fast Charge - pending will be added in R2
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock - will be added in R2
Motorola Quickwake - Will be added in R2
and manny other small fixes (you can check the commits in the sources)
Download
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it or it kills your neighbor's dog. Flash at your own risk. I am not responsible.... It was the other guy... I swear....
Latest Release: SMF-Kernel R2
Known issues:
05.17.2018 - CPU Freq don't always stick, known issue caused by other drivers. Phone will eventually set your frequencies, dont' panic.
Installation:
Obviouly you have a Unlocked Bootloader since you're running a custom rom (make sure to never lock your bootloader in this state)
Boot into Bootloader (adb reboot Bootloader)
If you want to root flash the "Magisk" version of the kernel, it's been prerooted with the latest Magisk Beta available.
Code:
fastboot flash boot SMF-Kernel-R1-Magisk.img
reboot
If you want to manually root, first flash twrp, then from twrp flash the 'non magisk' version and after that flash the magisk zip.
Special Thanks to:
jcadduono
franciscofranco
bedalus
lord_boeffla
flar2
sultanxda
...and many others from whom i cherry pick commits... Sorry if I forgot to mention anyone!
XDA:DevDB Information
SMF-KERNEL, Kernel for the Essential Phone
Contributors
jimbo77
Source Code: https://github.com/Jimbo77/android_kernel_essential_msm8998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R1
Stable Release Date: 2018-05-17
Created 2018-05-17
Last Updated 2018-05-17

Changelog 05.23.2018
Enabled Motorola QuickWake Driver - This will enable system to do checks or syncs without fully resuming the device, main objective is battery life.
Enabled Dynamic Sync Control by default
OverClock
USB Fast Charge to up 900ma (Original is 500ma)
Disabled Gentle Fair Sleepers
Enabled Boefla Wakelocks - Check the ammount of wakelocks you can block now!
Enabled Wireguard
Enabled several TCP Options - "Westwood" is enabled by default
Min/Max Brightness options is now configurable as well, to avoid the screen go too dim or to bright.
Somehow camera has been fixed! haha
Changelogs 05.17.218
Updated to lastest LOS Stock Kernel
Added a few governors like: cultivation / impulse
added a few IO Schedulers: Maple
Kcal Color Control driver
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
and manny other small fixes (you can check the commits in the sources)

Reserved

Looks awesome! I'll give it a try soon!
(For anyone wondering about overclocking the CPU, he committed some changes to the github that would apply this and it should appear in the next revision of the kernel.)

Just installed and so far it's buttery smooth.

WARpig5 said:
Just installed and so far it's buttery smooth.
Click to expand...
Click to collapse
I'm glad is running fine for you!

Good stuff, thanks for this! Could you tell me a little more about cultivation? I can't seem to find much information online about it
Also a request, if possible vibration level control would be super appreciated

pantherking said:
Good stuff, thanks for this! Could you tell me a little more about cultivation? I can't seem to find much information online about it
Also a request, if possible vibration level control would be super appreciated
Click to expand...
Click to collapse
I found Cultivation to be really great in terms of perfornance. It's a little bit agressive with the CPU so you get buttery smooth experience with Screen On but it may cost a few % on battery at the end of the day. The good thing is that it has specific tunables and you can set a low cpu freq for when the screen is off.
Specific details from its developer:
-based off of caf 4.4 commits
-uses per-pcu timers
-use state_notifier for screen off timer
option to set different timer rate when screen off
-improrted fastlane with threshold from blu_active
In regards of vibration control. It should be there. I'm using EX Kernel Manager and i can see the vibration option under "Miscellaneous"

jimbo77 said:
I'm glad is running fine for you!
Click to expand...
Click to collapse
Thanks for this. It's running amazing so far. Performance has been great and I'll see how battery life is, but so far it's great.
I can't wait for further updates. I really wanna see what Moto quickwake is haha

jimbo77 said:
In regards of vibration control. It should be there. I'm using EX Kernel Manager and i can see the vibration option under "Miscellaneous"
Click to expand...
Click to collapse
Thanks for the info on cultivation, I don't mind trading some battery life for butter so I'm using it now
For the vibration control, it doesn't actually work/stick. I've tried kernel auditor and EX Kernel Manager. To be fair, so far it has only worked on LOS and I think invisiblek may have rewritten the stock controller or something so no worries if it isn't a high priority haha

pantherking said:
Thanks for the info on cultivation, I don't mind trading some battery life for butter so I'm using it now
For the vibration control, it doesn't actually work/stick. I've tried kernel auditor and EX Kernel Manager. To be fair, so far it has only worked on LOS and I think invisiblek may have rewritten the stock controller or something so no worries if it isn't a high priority haha
Click to expand...
Click to collapse
I'll take a look at the latest commits but I've used the latest los kernel base so I'm not sure why is not sticking maybe it needs rom support too (not sure honestly) hahaha
I've been testing R2 since yesterday. Will update after y he weekend!

Just out of curiosity, was anything involving the camera done to this kernel? I am now able to record videos without the bug, on any of the affected ROMs, with this kernel.

stompysan said:
Just out of curiosity, was anything involving the camera done to this kernel? I am now able to record videos without the bug, on any of the affected ROMs, with this kernel.
Click to expand...
Click to collapse
Nothing related to camera. Are you sure it works with no issues?
What roms have you tested?

jimbo77 said:
Nothing related to camera. Are you sure it works with no issues?
What roms have you tested?
Click to expand...
Click to collapse
So far, AICP and LOS, both with Essential camera app and GCAM port, HD and 4K, 30 and 60 fps where applicable. Issues presented before flashing very consistently, and so far I have been unable to replicate after flashing this kernel.

stompysan said:
So far, AICP and LOS, both with Essential camera app and GCAM port, HD and 4K, 30 and 60 fps where applicable. Issues presented before flashing very consistently, and so far I have been unable to replicate after flashing this kernel.
Click to expand...
Click to collapse
Sp you were right. Honestly don't know what happened but I installed the latest RR (clean install) put R2 on top of it and bam recording works as you mentioned lol..
I guess it was a lucky strike!

after flashing the kernel with magisk, stuck on "AICP is starting"
is this normal?
update: the phone works but no magisk (pre root) after flashing the kernel.....

sinkoo1979 said:
after flashing the kernel with magisk, stuck on "AICP is starting"
is this normal?
update: the phone works but no magisk (pre root) after flashing the kernel.....
Click to expand...
Click to collapse
Hey!
Have you booted once and setup everything before flashing the prerooted image?
I've had that error but having all set and then flashing the image will get me rooted. Try to see if you can find magisk manager in the apps list from the settings if you do, reboot and there will be magisk

Double post... Sorry

jimbo77 said:
Hey!
Have you booted once and setup everything before flashing the prerooted image?
I've had that error but having all set and then flashing the image will get me rooted. Try to see if you can find magisk manager in the apps list from the settings if you do, reboot and there will be magisk
Click to expand...
Click to collapse
Thank you for the reply.
the phone was running AICP and I wanted root so I flash the kernel. I can't find the magisk manager or in the settings about magisk. I guess you have to clean install from the beginning to get the root. Thank you for the Kernel

sinkoo1979 said:
Thank you for the reply.
the phone was running AICP and I wanted root so I flash the kernel. I can't find the magisk manager or in the settings about magisk. I guess you have to clean install from the beginning to get the root. Thank you for the Kernel
Click to expand...
Click to collapse
Shouldn't. If you flashed the prerooted magisk image try downloading the magisk manager app manually from xda and see if magisk works

Related

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

Hi all,
some of you know me from the other OnePlus (One and Two) or Samsung devices areas, where I provide my kernels already for more than two years to OnePlus One, OnePlus Two, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Important notes
]When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Make sure you flash the correct kernel version, depending on whether you really use Oxygen OS or a different OS !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Saying that, the Boeffla-Sound app in Play Store is not designed to work on the OPX, neither was it developed by me, hence it will never work on the OPX ever. Boeffla-Config is the way to go here !!!
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (quite outdated, as it is focused on S3 still).
Click here to learn about using the config app (quite outdated, as it is focused on S3 still).
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for Oxygen OS 3.x.x kernel - Click here
Change log for Oxygen OS 2.x.x kernel - Click here
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.2.29 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Additional governors: zzmoove, intelliactive, intellidemand, intellimm, wheatley, smartmax, smartmax_eps, slim, intellimm, pegasusq, nightmare, lionheart, impulse, ondemandplus, yankactive
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Notification LED control (fading, speed, brightness)
Boeffla-Sound engine (Headphones volume configurable currently)
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency and duration configurable, touch boost switch
CPU Overclocking up to 2.54 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support with fixed simple_ondemand0
Show GPU frequency usage per frequency in Boeffla-Config
KCAL color control driver
Swipe2wake gestures
Swipe2sleep gestures
Haptic feedback control
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported
Kernel logger (dmesg) configurable
Charge rates for AC charger and USB charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
exFat opensource support
NTFS support (module) - read-only
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Multiple additional TCP congestion algorithms available
Swap supported
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Automatic EFS backup
Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
Integrated full busybox 1.24.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Kexec hardboot patch for multirom usage (not supported, not fully working)
Google gcc 4.8 toolchain used for best stability
Always using latest Oxygen OS Initramfs
Always based on latest Oxygen OS kernel sources (https://github.com/OnePlusOSS/android_kernel_oneplus_msm8974)
Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
f2fs - it is known to cause various issues and compatibility problems
custom hotplugging algorithms
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are using Oxygen OS or another rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.2.29 or higher for the OnePlus X Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change logs:
http://kernel.boeffla.de/oneplusx/boeffla-kernel-oos/oos3xx/changelog.htm
*** 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
Great to have you here
Welcome Andi !!! Gonna flash your kernel as soon as I get my OPX .... Will make profiles for it too
Welcome again !!!
Naman Bhalla said:
Welcome Andi !!! Gonna flash your kernel as soon as I get my OPX .... Will make profiles for it too
Welcome again !!!
Click to expand...
Click to collapse
Hehe, nice. I see you everywhere, isn't it?
Andi
sorry if i sound like a noob but if i have bluspark kernel already flashed, can i just flash this ontop of it? or do i have to restore a backup (of the opx before i flashed bluspark) and then flash this kernel? thanks in advance
Thanks a ton. Is CM support planned?
ihs0201 said:
sorry if i sound like a noob but if i have bluspark kernel already flashed, can i just flash this ontop of it? or do i have to restore a backup (of the opx before i flashed bluspark) and then flash this kernel? thanks in advance
Click to expand...
Click to collapse
You can flash on top of it as Boeffla kernel works on a different principle (Sorry.. I forgot what it is called... LOL... Maybe Andi can tell) .... But yeah, if issues come, flash stock and then the Boeffla (shouldn't happen though )
#HappyFlashing
Lord Boeffla said:
Hehe, nice. I see you everywhere, isn't it?
Andi
Click to expand...
Click to collapse
hehe !! I try to help the community as much as possible...
---------- Post added at 12:04 AM ---------- Previous post was at 12:01 AM ----------
RJDTWO said:
Thanks a ton. Is CM support planned?
Click to expand...
Click to collapse
I don't wanna post on behalf of Andi... But if you have been following Andi , he usually builds for CM once official builds roll out with everything working... For now, there is no official build, though almost everything is working now...
But Boeffla is in initial phase of development for OPX so I feel lord will focus more on Oos...
In short, don't expect a CM version till official nightlies start.
Naman Bhalla said:
You can flash on top of it as Boeffla kernel works on a different principle (Sorry.. I forgot what it is called... LOL... Maybe Andi can tell) .... But yeah, if issues come, flash stock and then the Boeffla (shouldn't happen though )
#HappyFlashing
Click to expand...
Click to collapse
Thanks for the quick reply
Nice to see boeffla kernel here. Was waiting for this after seeing a thread on oneplus forum. Is there a version for cm12/13 as well?
Edit: Never mind
Finally, I can't wait to flash it. You're the best, Andi, I'm proud I can say I designed your avatar, hahaha.
well i tried to install, and it gave me the error : your device is onyx. this zip is for ONE
i did install this zip: boeffla-kernel-4.0-beta1-OOS2xx-OnePlusX.recovery.zip
can anyone help/has the same problem
ihs0201 said:
well i tried to install, and it gave me the error : your device is onyx. this zip is for ONE
i did install this zip: boeffla-kernel-4.0-beta1-OOS2xx-OnePlusX.recovery.zip
can anyone help/has the same problem
Click to expand...
Click to collapse
Which recovery did you use ? As can clearly be seen, this issue is from Updater-script .... So either you can delete that line from the script or best is to use another twrp
Naman Bhalla said:
Which recovery did you use ? As can clearly be seen, this issue is from Updater-script .... So either you can delete that line from the script or best is to use another twrp
Click to expand...
Click to collapse
it is version twrp v.2.8.7.0, but i will try and update and then get back to you
ihs0201 said:
well i tried to install, and it gave me the error : your device is onyx. this zip is for ONE
i did install this zip: boeffla-kernel-4.0-beta1-OOS2xx-OnePlusX.recovery.zip
can anyone help/has the same problem
Click to expand...
Click to collapse
You downloaded the wrong kernel ( you downloaded the OnePlus one variant) so don't flash it as it might brick your device.
Scroll a bit more down in the Web page till you find OnePlus X.
P.S. The website can be a bit confusing for newer members, so here you go.
http://boeffla.df-kunde.de/oneplusx/boeffla-kernel-oos/oos2xx_download/Test/
Cheers.
dagger said:
You downloaded the wrong kernel ( you downloaded the OnePlus one variant) so don't flash it as it might brick your device.
Scroll a bit more down in the Web page till you find OnePlus X.
P.S. The website can be a bit confusing for newer members, so here you go.
http://boeffla.df-kunde.de/oneplusx/boeffla-kernel-oos/oos2xx_download/Test/
Cheers.
Click to expand...
Click to collapse
no it was the opx variant, as the filename showed opx when i flashed it. thanks anyway, and yeah the website is a bit jumbled
but the problem was an old twrp version. updated it and the kernel flashed no problem . BTW i like ur icon pack, might try it
Can someone explain the difference between this kernel and blu-spark to us common people?
What do you take into consideration when deciding which one to use?
Hi Andi,
Good to have Boeffla kernel again!
The real deal just came to opx. Thanks, bro! Hope opx gets official cm so you can provide support for cm too, as I cannot live without cm.

[EOL] [KERNEL] [OnePlusX] [Lineage14/CM13] 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 other OnePlus (One and Two) or Samsung devices areas, where I provide my kernels already for more than two years to OnePlus One, OnePlus Two, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Now I own a OnePlus X device and decided to port my kernels also to this device.
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official Cyanogenmod and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Make sure you flash the correct kernel version, depending on whether you really use CM or a different OS !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (quite outdated, as it is focused on S3 still).
Click here to learn about using the config app (quite outdated, as it is focused on S3 still).
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for CM13 kernel - Click here
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.2.42 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Additional governors: zzmoove, intelliactive, intellidemand, intellimm, wheatley, smartmax, smartmax_eps, slim, intellimm, pegasusq, nightmare, lionheart, impulse, ondemandplus, yankactive
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Notification LED control (fading, speed, brightness)
Boeffla-Sound engine (Headphones volume configurable)
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency and duration configurable, touch boost switch
Additional swipe2wake gestures
Additional swipe2sleep gestures
CPU Overclocking up to 2,57 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support with fixed simple_ondemand
Show GPU frequency usage per frequency in Boeffla-Config
KCAL color control driver
Swipe2wake gestures
Swipe2sleep gestures
Boeffla generic wakelock blocker V1.1.0 (documentation)
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported
Kernel logger (dmesg) configurable
Charge rates for AC charger and USB charging separately configurable (set charge rate to 0 to have stock charge logic back)
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
exFat opensource support
NTFS support (module) - read-only
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Multiple additional TCP congestion algorithms available
Swap supported
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Automatic EFS backup
Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
Integrated full busybox 1.24.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Updated wifi drivers
Kexec hardboot patch for multirom usage (not supported, not fully working)
Google gcc 4.9 toolchain used for best stability
Always using latest CM Initramfs
Always based on latest CM kernel sources (https://github.com/CyanogenMod/android_kernel_oneplus_onyx)
Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
f2fs - it is known to cause various issues and compatibility problems
custom hotplugging algorithms
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are using CM or another rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.2.42 or higher for the OnePlus X Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Grarak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Latest change logs:
CM14
http://kernel.boeffla.de/oneplusx/boeffla-kernel-cm/cm14.0/changelog.htm
CM13
http://kernel.boeffla.de/oneplusx/boeffla-kernel-cm/cm13.0/changelog.htm
Configuration and profile thread
http://forum.xda-developers.com/oneplus-x/general/profiles-boeffla-kernel-profiles-t3330187
*** 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
Am I going to have the first post here ?
Naman Bhalla said:
Am I going to have the first post here ?
Click to expand...
Click to collapse
Oh yes, looks very much like that
You're already making my day a good one, bro. Thanks! Time to play.
jonrodz said:
You're already making my day a good one, bro. Thanks! Time to play.
Click to expand...
Click to collapse
Testing new kernel on RR Rom, till now all seems to work fine :good:
already tested on exodus rom,stucking at booting.So anyone who use exodus rom need not to try.
nihilista said:
Testing new kernel on RR Rom, till now all seems to work fine :good:
Click to expand...
Click to collapse
... on your own risk. Don't report any issues if you have them.
Andi
Lord Boeffla said:
... on your own risk. Don't report any issues if you have them.
Andi
Click to expand...
Click to collapse
No, i won't Just wanted to give a little feedback for those who are interested. Btw, its own risk all the time if developer said its alpha version without support, i know that and hope it won't burn my device
nihilista said:
... i know that and hope it won't burn my device
Click to expand...
Click to collapse
You would be for sure the first one
Andi
@Lord Boeffla
You should update your signature if you have time, I mean if you are still using CM12.1 official nightlies on the one device then idk
hellcat50 said:
@Lord Boeffla
You should update your signature if you have time, I mean if you are still using CM12.1 official nightlies on the one device then idk
Click to expand...
Click to collapse
Yeah, that was VERY outdated meanwhile.
I gave it some rework.
Andi
nihilista said:
Testing new kernel on RR Rom, till now all seems to work fine :good:
Click to expand...
Click to collapse
I'll try it later... Right now l'm on cm13. Tried it on aicp but it bootloops.
jonrodz said:
I'll try it later... Right now l'm on cm13. Tried it on aicp but it bootloops.
Click to expand...
Click to collapse
Yeah... Use Ashwins build. Tameseks and AOKP also work well
Just to report:
I am currently on AOKP with Xposed installed, flashed Boeffla kernel over blu_spark kernel. Didn't encounter any issue so far with zzmove and Battery Yank governor settings.
Will make a full charge and see how battery life is tomorrow.
Thanks, Lord Boeffla, for your work. Greetings from Cologne :good:
orville87 said:
Just to report:
I am currently on AOKP with Xposed installed, flashed Boeffla kernel over blu_spark kernel. Didn't encounter any issue so far with zzmove and Battery Yank governor settings.
Will make a full charge and see how battery life is tomorrow.
Thanks, Lord Boeffla, for your work. Greetings from Cologne :good:
Click to expand...
Click to collapse
Did you start Boeffla-Config once after you flashed the kernel?
Just curious whether it complained about missing mpdecision (bluspark in the past on oos removed mpdecision...).
Only being curious...
Andi
kaixuan_1995 said:
already tested on exodus rom,stucking at booting.So anyone who use exodus rom need not to try.
Click to expand...
Click to collapse
Exodus i guess is AOSP based... N this kernel CM13 based... So!!!!
You can get what i am saying... It will definitely stuck at boot. :fingers-crossed:
Finaly.. I think its now the time to move to CM13
Thanks Lord
Lord Boeffla said:
Did you start Boeffla-Config once after you flashed the kernel?
Just curious whether it complained about missing mpdecision (bluspark in the past on oos removed mpdecision...).
Only being curious...
Andi
Click to expand...
Click to collapse
Yeah, I did, but no complaints about the missing mpdecision. At least there was no popup window or a red text indicating something important.

[KERNEL][MM][DRM FIX] EliteKernel v3.4.113 [UB][POLL]

Elite Kernel
Unleash the beast
for Xperia Z2/Z2a
First of all, I have spent a lot of hours on this project, trying to obtain the true power of this great device.
This Kernel is designed for optimize battery life and give more performance than stock kernel.
Features
Based on lastest sources, 23.5.A.1.291
DRM injection inside the Zip, you don't need flash DRM Fix, just kernel
OC up to 2,7Ghz
UC for better battery life
Optimized voltage tables and voltage control
Thunderplug v5.4, a load based hotplug and optimized for multi-core devices and it is very battery friendly with a great performance
IntelliThermal v2, a custom thermal control better than stock one
GPU overclock up to 657Mhz
Kcal control
More I/O schedulers like FIOPS, Zen, VR, BFQ...
init.d support
Power suspend driver v1.5
Build with UBERTC 4.9 and some optimizations
More stuff that I don't remember
ToDo
Add more governors
Share interactive governor tuned settings for battery and performance
More GPU optimizations
F2FS support
More battery life optimizations
Maybe Quick Chargue 2.0 support.
Maybe sound optimizations
Installation
Install my lastest TWRP (go here)
Make a backup of the partition System (MUST DO, because the kernel change some modules on system)
Select a version according to your needs. (See below)
If you have a TA partition backup:
Download EliteKernelZ2-(current version).zip and extract the boot.img on your pc.
Use the ta_poc tool by munjeni with your TA partition backup.
Rename the new_boot.img to boot.img and replace it on the EliteKernelZ2-(current version).zip
Boot on FOTAKernel recovery, with the phone power off, press at the same time power key and vol- until the phone vibrates.
Flash your EliteKernelZ2-(current version).zip with the boot.img patched.
Enjoy!
Click to expand...
Click to collapse
If you don't have a TA partition backup (so you need DRM FIX):
Boot on FOTAKernel recovery, with the phone power off, press at the same time power key and vol- until the phone vibrates.
Flash EliteKernelZ2_D-(current version).zip
Enjoy!
Click to expand...
Click to collapse
Usage with eXistenZ 5.6.5 and Magisk
eXistenZ 5.6.5 includes a TWRP recovery inside the rom, and we don't need it since we have some options for recovery here, so for remove it download this file and flash it on recovery.
eXistenZ 5.6.5 also includes SuperSU on the rom and for correclty install magisk we need to remove it, so first of all update the SuperSU app on the Play Store, after go to the app and on settings there is an option for uninstall SuperSU and unroot the System, so tap it (Sometimes if it takes more of 3 mins, close the app and do it again), after that reboot the phone and done, SuperSU uninstalled.
Now the installation/upgrade of magisk using my kernel.
Download the lastest magisk zip and magisk uninstaller zip here, put they on SD card.
Reboot on recovery, uninstall magisk with the uninstaller zip if you have it, flash the kernel zip, flash magisk and reboot to system, and done, enjoy magisk.
Download
Z2
Z2a (Comming... NO ETA)
Credits
@AndroPlus
@Myself5
@DooMLoRD
@pec0ra
@dorimanx
@faux123
@Doom Slayer a lot of thanks to this great dev
@dontbelive great dev and my Z3 tester
@BlackSoulxxx
@savoca
Source
https://github.com/ShadowElite117/Xperia-Z2-Z3
Changelog
v1
First release
Click to expand...
Click to collapse
v2
Based on new 23.5.A.1.291 sources
Click to expand...
Click to collapse
v3
Added missing conservative GPU Governor
Added Simple GPU algorithm
Added Adreno idler for battery saving
Added Fauxsound v3.6
More optimizations
Maybe Z3 boot screen, I can't confirm
Click to expand...
Click to collapse
v3.4.13
Kernel made from scratch, so no special features for now (Sorry guys I do this for a better kernel).
Implemented last_kmsg for a correct bug report.
Updated linux kernel version from 3.4.0 to 3.4.13 (Correclty done and free of strange bugs).
QC 2.0 enabled (don't expect miracles, it is limited on Z2 so it works with some QC 2.0 chargers)
Full compatibility with Magisk, eXistenZ and ta_poc tool.
Click to expand...
Click to collapse
v3.4.33
Updated linux kernel version from 3.4.13 to 3.4.33.
Enabled a kernel flag for try to enable Assertive Display on Z2 (It just give me logs that help me to know what is happening).
Dropped TWRP inside the kernel, since I have build newest TWRP for Sirus, for FOTAKernel partition. It has more features and it is more bug free than recovery inside the kernel.
Click to expand...
Click to collapse
v3.4.113
Updated linux kernel version from 3.4.33 to 3.4.113 (Finally, this took a lot of time and effort).
Improved init.d support implementation. (maybe impoved boot time)
No exfat support (not tested)
Click to expand...
Click to collapse
FAQs
How to report a bug?
Give me a last_kmsg, current version of the kernel and your rom.
Can I flash over Abricot v8.1?
It seems that flash over Abricot creates bugs and bootloops so make a clean install and enjoy my work
Note:I'm not going to support any user that don't make a clean installation
Now you can contact me at Telegram: #ShadowElite117, easy way to find me fast.
I will try this kernel with the quick charging patch. I hope it works
Post: http://forum.xda-developers.com/xperia-z2/development/sony-secret-revealed-qc-2-0-t3163490
This kernel has potential! will wait for further updates.
All working good,I have a really nice uv for 268mhz - 635 mv stable after 30min of stability test
Btw fiops is set as scheduler after reboot,is it because of your preference or bug in kernel adiutor?
Flashed
d22ad2 said:
All working good,I have a really nice uv for 268mhz - 635 mv stable after 30min of stability test
Btw fiops is set as scheduler after reboot,is it because of your preference or bug in kernel adiutor?
Click to expand...
Click to collapse
It is my personal preference, sony set ROW as default but sometimes has performance drops, fiops is more optimized and better for performance.
Nice! Testing right now, i'll report later
Just look at it
d22ad2 said:
Just look at it
Click to expand...
Click to collapse
My existenz 4.7 and abricot kernel v8.1 has 59k-60k score points. I have not tried this kernel yet. Really good for you
btw do i have to reset my kernel adiutor before flash new kernel?
Great work, I'll try it asap with @Debuffer's Gov-Tuner Project, which I'm using actually with the stock kernel and works flawlessly.
I'll report the results
Thanks!!
yenero said:
My existenz 4.7 and abricot kernel v8.1 has 59k-60k score points. I have not tried this kernel yet. Really good for you
Click to expand...
Click to collapse
I wonder why mine was so laggy at gpu test,your had the same problem? I think its not kernel related anyway,probably adreno 330 just gets old. ^^
My worked without any reset in kernel adiutor,I only wiped cache and dalvik but I think its not necessary. All previous settings worked without problems.
d22ad2 said:
I wonder why mine was so laggy at gpu test,your had the same problem? I think its not kernel related anyway,probably adreno 330 just gets old. ^^
My worked without any reset in kernel adiutor,I only wiped cache and dalvik but I think its not necessary. All previous settings worked without problems.
Click to expand...
Click to collapse
Yes i had same problem. GPU test was very laggy. Thank you for info, i'll try this kernel.
I would really try your kernel, but I dont have unlocked bootloader yet. Is there any disadvantages by unlocking bootloader? I hear that camera didn't have enhacements like noise cancelling, but I made copy of TA partition. Did your kernel will fix that if I unlock it?
Fuilares said:
I would really try your kernel, but I dont have unlocked bootloader yet. Is there any disadvantages by unlocking bootloader? I hear that camera didn't have enhacements like noise cancelling, but I made copy of TA partition. Did your kernel will fix that if I unlock it?
Click to expand...
Click to collapse
It is stated in title that DRM fix is included so no need to worry about disadvantages. But remember to keep your TA partition copy somewhere safe in case you will want to lock the bootloader someday.
Fuilares said:
I would really try your kernel, but I dont have unlocked bootloader yet. Is there any disadvantages by unlocking bootloader? I hear that camera didn't have enhacements like noise cancelling, but I made copy of TA partition. Did your kernel will fix that if I unlock it?
Click to expand...
Click to collapse
Yes you need to unlock your bootloader, and you should make a TA partition backup, also my Kernel restore the lost functions with DRM injection and if you want your original DRM keys working, also I will put the method, for now I'm on University and I make the post tonight so give me some time for all stuff that I have.
ShadowElite said:
Yes you need to unlock your bootloader, and you should make a TA partition backup, also my Kernel restore the lost functions with DRM injection and if you want your original DRM keys working, also I will put the method, for now I'm on University and I make the post tonight so give me some time for all stuff that I have.
Click to expand...
Click to collapse
Thanks, I will try your kernel and I will give you feedback
yenero said:
Yes i had same problem. GPU test was very laggy. Thank you for info, i'll try this kernel.
Click to expand...
Click to collapse
Don't worry about lag on test it is because it is a really heavy test so GPU is fine
Thank you for good job
Is this a big kernel bugs?
It is suitable for everyday use?
Do you have specific parameters that you use to enable all of the features within the kernel, for example, the hotplugs and the flops scheduler...
Do you have a kernel management app that you could recommend to me, for example Kernel Auditor?
Thanks for your contribution toward the Z2 line, I really appreciate it and look forward to more from you !
Regards,
Mohamed

[KERNEL][T/W8][V3.1] Noble Kernel for Grace ports

This particular kernel arose out of frustration at the lack of choices that T-Mobile and Canadian S6 users have when flashing ported roms with the GraceUX UI and it would not have been possible without the original source posted by @Greck99 .
Feature-wise, this is the same exact kernel included in Noble Experience; however, it has been built against a W8 configuration and uses a stock ramdisk that has been modified solely for the purpose of booting hybrid ports.
Yes, blue light filter works. So does AOD (no touch for now)
Pair this kernel with the call audio fix for grace ux for the complete Noble Experience (or whatever GraceUX port you desire) on T/W8
Suggestions and feedback are welcome. Feature requests may be considered if I determine them to be useful enough to include
Thanks to:
@Greck99 & @Noxxxious for this awesome source
@AlexisXDA for making killer roms and something to be envious of
@The Sickness for his continued work on our devices and for all his contributions
@arter97 for hybrid ramdisk commits
And the Nexus7420 team in general.
I am not responsible for your device, you are.
This kernel should work for both T-Mobile and Canadian devices,
though has only been tested on a G920W8.
Download Flat
Download Edge
Fix for flashlight/video playback
After flashing the kernel, flash SU of choice: Magisk or SuperSU
Changelog:
V3.1 -
- Fix video playback issue
V3 - Upstream merge
- Merge lastest N920 sources
- Update to Linux 3.10.105
- AOD drivers added
- Zen-tune added. Increased performance at the cost of some battery
- Add lz4 for zswap
- Add Smartmax, Smartmax_EPS and Yankactive governors
- Update bfq scheduler
V2.1
- Removed SU injection as it is not necessary and was not the source of boot failures.
Can be run unrooted, and with system or systemless root modules (SuperSU and MagiskSU)
V2
- SuperSU is now injected into ramdisk.
- Knox, tima, selinux stuff disabled (This fixes bootloops on Noble Experience)
- Battery enhancements
- Google play services wakelock fix
- noatime on system parition
V1
- Initial release
XDA:DevDB Information
Noble Kernel, Kernel for the T-Mobile Samsung Galaxy S6
Contributors
lizaSB, Greck99, Noxxxious
Source Code: https://github.com/lizaSB/android_kernel_samsung_universal7420
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.1
Stable Release Date: 2017-02-06
Created 2017-02-06
Last Updated 2017-02-14
congrats!!
just tried it with fastrom v3.1 D: got a bootloop unfortunately.. will try it again when i switch roms again!!
stephhh said:
congrats!!
just tried it with fastrom v3.1 D: got a bootloop unfortunately.. will try it again when i switch roms again!!
Click to expand...
Click to collapse
Interesting.. Did you flash SU after?
Edit: It also may be necessary to wipe dalvik if you are flashing this coming from Arter. I have flashed this on two different W8s without issue, so I'm fairly certain it works
No! So sorry! Did not think about flashing su because my rom already has it installed. I'll try again next time when I flash
lizaSB said:
Interesting.. Did you flash SU after?
Edit: It also may be necessary to wipe dalvik if you are flashing this coming from Arter. I have flashed this on two different W8s without issue, so I'm fairly certain it works
Click to expand...
Click to collapse
Great kernel! Thanks to the developers for their hard work.
One question, even though you said no AOD, would you consider it as a feature request?
rtx7 said:
Great kernel! Thanks to the developers for their hard work.
One question, even though you said no AOD, would you consider it as a feature request?
Click to expand...
Click to collapse
The main issue I have with AOD is the massive battery drain. Even with it not enabled in the kernel, the AOD app still drains battery. I actually trimmed it from my rom.
The other issue is that the only kernel I'm aware with the AOD feature is TN kernel, which the developer has chosen not to share his source.
lizaSB said:
The main issue I have with AOD is the massive battery drain. Even with it not enabled in the kernel, the AOD app still drains battery. I actually trimmed it from my rom.
The other issue is that the only kernel I'm aware with the AOD feature is TN kernel, which the developer has chosen not to share his source.
Click to expand...
Click to collapse
Yeah, you're right. My only issue is I'd love to try out AOD even it drains my battery, since tn kernel brakes call function.. So if you have a test build, I'd gladly try it out
Its nice to have more choices anyway! Thanks a lot. :victory:
Can you make an edge version
sebo.ks15 said:
Can you make an edge version
Click to expand...
Click to collapse
Did you read the OP carefully
Edge didn't work on my 925w8
sebo.ks15 said:
Edge didn't work on my 925w8
Click to expand...
Click to collapse
This was confirmed working last night. This kernel won't boot on Noble Experience without flashing SU after and is mentioned in the OP that root should be flashed after the kernel
lizaSB said:
This was confirmed working last night. This kernel won't boot on Noble Experience without flashing SU after and is mentioned in the OP that root should be flashed after the kernel
Click to expand...
Click to collapse
OK I'll try that that thanks..
What groundwork did arter97 do? We should credit Samsung for giving us the proper bootclasspath instead.
And btw AOD is working
Thanks for making this kernel available on other models. When you need help or have feedback about the kernel PM me.
Quintz said:
What groundwork did arter97 do? We should credit Samsung for giving us the proper bootclasspath instead.
And btw AOD is working
Thanks for making this kernel available on other models. When you need help or have feedback about the kernel PM me.
Click to expand...
Click to collapse
I used his commits for building the ramdisk, would've probably taken a lot more trial and error without them -- they aren't documented clearly anywhere else to my knowledge (and to be fair, not all of what he ships in the n7 kernel is required in the ramdisk for booting). Most kernel authors don't include their ramdisks in the source they post. Sure I could've decompiled the ramdisk shipped with Noble Experience and reverse engineered it, but that's not what I did. I just wanted to give credit for the path I took regardless of my opinions regarding those whose steps I followed.
I just noticed a slurry of new commits in the upstream branch which I pulled into my fork earlier today and built a test build for myself. I will be releasing it once I've had a bit of chance to test things out and make sure all is working :good: So far things are running great for me.
Thank you very much for the work you've done and for sharing your source. The blue light filter is the real cream for me here as the overlay in cf.lumen causes lag for me. It is greatly appreciated by myself and all the others with our device. I could've just taken a stock kernel and started from scratch, but this is oh-so-much better than that!
Kernel Updated to Version 3
This update is largely a merge with up upstream source. Kernel is feeling very smooth, and in addition AOD drivers have been added and most of the kinks have been worked out.
Kernel is now using a custom built dt.img for AOD support which has not been tested for edge devices (though the reboots never affected them). I see no reason why it shouldn't work, please let me know if it causes any catastrophic failures!
Edit: V3 Image for G925T/W8 has been re-uploaded as of 1:05pm PST. Fixes for call audio regarding the custom dt.img -- removed it as it's not needed.
Download Flat
Download Edge
Changelog:
V3 - Upstream merge
- Merge lastest N920 sources
- Update to Linux 3.10.105
- AOD drivers added
- Zen-tune added. Increased performance at the cost of some battery
- Add lz4 for zswap
- Add Smartmax, Smartmax_EPS and Yankactive governors
- Update bfq scheduler
@lizaSB nice work. I see now that I have some compitition lol. JK.
Glad to see some fresh blood here on the kernel side.
Works beautifully on my G920T (XAR). Thanks OP! One thing though: I would suggest highlighting the note that installing SuperSU immediately afterwards is mandatory to make it more easily seen as the device wouldn't boot without it...
The Sickness said:
@lizaSB nice work. I see now that I have some compitition lol. JK.
Glad to see some fresh blood here on the kernel side.
Click to expand...
Click to collapse
Maybe when you start developing for Grace ports there will be some competition
stevenchen1995 said:
Works beautifully on my G920T (XAR). Thanks OP! One thing though: I would suggest highlighting the note that installing SuperSU immediately afterwards is mandatory to make it more easily seen as the device wouldn't boot without it...
Click to expand...
Click to collapse
This is no longer the case as of v2.1. I flash many of my test builds without rooting them, so I am positive it still works without
3.1 online! Bug fix for video playback.
Download Flat
Download Edge
Changelog:
V3.1 -
- Fix video playback issue
lizaSB said:
Maybe when you start developing for Grace ports there will be some competition
Click to expand...
Click to collapse
No need to worry about that. I dont do ports of any kind.

[ROM][Unofficial][11.0] EAS powered LineageOS 18.1 ROM for sagit [04/07/2021]

Hi, all
Recently I was attracted by the idea behind the Energy Awareness Scheduler (EAS) model and shared some thoughts on this topic here. But nowadays Android system must be deeply modified to work with the kernel. So EAS powered ROM was born.
I selected LineageOS as a base because of its stability and long term support. All but changes in Changelog are from LineageOS. If there are bugs about tasks/CPU scheduler in some circumstances, please let me know. Thank you.
More info about EAS.
Features
EAS model from Pixel 2
HMP and MSM_PERFORMANCE disabled in the Kernel
"schedutil" as default CPU governor
No QTI boost services in userspace
No power HAL built-in
Issues
Probably none, but "adb root" is enabled by default for testing reason.
Download
SourceForge.net
Changelog
20210704
Optimize ext4 fsync for SSD to improve random write speed
Enable Simple LMK
Use 100 Hz timer in the Kernel
Reduce latency while processing GPU's ioctls
Minor fixes on CFS scheduler
20210527
Nuke power-libperfmgr
Restore stock CPU frequencies table
Enable CPU_BOOST and set boost on touch
Support CPU low latency on touch
Rebased on official LineageOS 18.1
20210520
Switched to Pixel AIDL power-libperfmgr
Optimize powerhint for power HAL (~1.1 GHz for each CPU cluster)
Fix UI jitter issue while moving floating window
Enable ZRAM with 50% of total RAM
Enable background Blur effect on Launcher
Various fixes in CPU fair scheduler
Disable debug configs in the Kernel
Fixes from LineageOS upstream
20210422
Rebased on LineageOS 18.1
Restore libperfmgr and remove CPU frequencies boost on INTERACTION
Installation
backup your personal data
flash the ROM via TWRP, remember to factory reset if from other ROMs
Source
Device tree
Kernel
Credits
LineageOS team and sagit device maintainer @NeoArian
Sultan for kernel optimizations
I'll try
Couldn't get it to boot with gapps
Managed to do it with newly downloaded binary and new copy, i guess old one was corrupted somehow
Magisk requires manual boot.img patch, not a big problem but would be nice if we can use the zip or the app, also for some reason google play doesnt display many apps because "its incompatible", I edited build.prop to Pixel 2 solve it
And this rom really feels really smooth, good job!
Google contact can't sync. I replaced aosp contact to Google contact.
Vinesandroid said:
Google contact can't sync. I replaced aosp contact to Google contact.
Click to expand...
Click to collapse
I don't use Google apps for now. New build is now rebased on LineageOS 18.1. Let's see if it works well with Gapps.
Using your rom atm, so far so good, hoping havoc have EAS too, Anyways thank you for your work and ofc @NeoArian
Good job on the rom so far! Just wanted to check how do I acquire root on this via Magisk? Thanks!
skeeeee said:
Good job on the rom so far! Just wanted to check how do I acquire root on this via Magisk? Thanks!
Click to expand...
Click to collapse
Please follow the official instructions to install Magisk for root access.
The basic steps for root should be:
Extract the original boot.img from the ROM
Install Magisk app and use it to patch this boot.img
Flash the patched boot.img in TWRP
Reboot and enjoy
Thanks for your work!
And can you explain in simple terms, what will the firmware with the EAS give me vs official LineageOS 18.1?
Alexander078 said:
Thanks for your work!
And can you explain in simple terms, what will the firmware with the EAS give me vs official LineageOS 18.1?
Click to expand...
Click to collapse
I don't understand your words exactly. But for the firmware, there are no differences between EAS ROM and the official ROM. EAS is just a bunch of schedulers and methods to balance the performance and battery usage.
cn.fyodor said:
Please follow the official instructions to install Magisk for root access.
The basic steps for root should be:
Extract the original boot.img from the ROM
Install Magisk app and use it to patch this boot.img
Flash the patched boot.img in TWRP
Reboot and enjoy
Click to expand...
Click to collapse
The thing is when I installed this ROM the recovery became Lineage Recovery so idk what to do right now.
Update planned?

Categories

Resources