[EOL][KERNEL] [SM-G900F] [Samsung Stock M/LP] Boeffla-Kernel (05-09-2017) - Galaxy S 5 Original Android Development

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.).
Maybe you also know me from my OnePlus One kernels I added in winter last year to my portfolio.
Finally I got a Samsung Galaxy S5 afew weeks ago and decided to port my kernel also to this device. This is a sponsored device, so I want to say a big thank you to the people that made it possible, namely the ones in the German Smartphone Forum www.hubo.in !!!
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).
For the CM Boeffla-Kernel, please go HERE.
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Compatibility
Important: This kernel is only meant to be compatible with official Samsung stock firmware 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 !!
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.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for Android 5.0 kernels: KLICK HERE
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 (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq
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)
Wake up gestures implemented (double-tap-to-wake, swipe to wake)
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
zSwap configured fix to Samsung stock value of 1280 MB
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
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)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless 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, Important: make sure you unchecked option "Mount namespace separation" in SuperSU settings; do not mount inside /data or /storage)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Swap supported (but not recommended, zSwap used already)
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
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request
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)
Google gcc 4.8 toolchain used for best stability
Initramfs of latest Samsung firmware
Based on latest Samsung sources
Kernel runs with SELinux enforcing by default, just as Samsung stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
Knox and Samsung rom security warnings removed
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 Galaxy S5 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
a CAF based kernel
anykernel method to use the ramdisk of the installed rom
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 Samsung Stock, CM12 or 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.72 or higher for the Galaxy S5 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
* ktoonsez
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Entropy512
* Faux
* 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:
Android MM 6.0.1
http://kernel.boeffla.de/sgs5/boeffla-kernel/mm60/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

yeahh, dr andi so glad to see you here ..
You can also submit g900h variant? I can a beta tester

MOKIAAA said:
yeahh, dr andi so glad to see you here ..
You can also submit g900h variant? I can a beta tester
Click to expand...
Click to collapse
I am sorry, nothing changed in my attitude and golden rules over the past years.
No device, no kernel.
Apart from that, I need to stop adding new kernels now, it just gets too many already. And once I realize quality does drop, I have to stop.
Andi

Thank you,Andi

Thanks to @Lord Boeffla, finally today you've released your awesome kernel. Of course I saw @ZaneZam thanks to you too and I know we might have another version will be compiled and supported. Nice

Hi all,
Great kernel
Works very fine
Check this out...
Thanxxxx to the Lord for the hard work in the last week's

It's hard to access root rights on my device with Stock Deodexed Prerooted Rom. I've flashed Update-SuperSu 2.46 in TWRP, but RootChecker checked with no Root installed on device

ghoster76 said:
It's hard to access root rights on my device with Stock Deodexed Prerooted Rom. I've flashed Update-SuperSu 2.46 in TWRP, but RootChecker checked with no Root installed on device
Click to expand...
Click to collapse
Not a problem with Samsung Stock BOB7 firmware.
Andi

Hey Lord,
thanks for your awesome work! I really liked your kernel for the S3, even better you're now developing for the S5.
Immer weiter so men Jung!
Grüße aus Köln

Lord Boeffla said:
Not a problem with Samsung Stock BOB7 firmware.
Andi
Click to expand...
Click to collapse
I'm using BOC7 , and reflashing again

Thanks a lot Lord! Used to love it on my S3
Best configuration for battery-performance?

works great on BOC7.
Thank

borjaag said:
Thanks a lot Lord! Used to love it on my S3
Best configuration for battery-performance?
Click to expand...
Click to collapse
We need you guys to find that out, the S5 is not my daily-usage phone. So all I get is quite hypotethical at the moment.
Andi

Andi, forgive me, does it work on ANG7?
Never mind, Lollipop upwards

Looks good so far on XtreStoLite!
I'm just wondering if you are planing to add full sound configuration options?
Your sound implementation options allowed superb sound on S3 and I guess I'm not the only one missing it on S5
Looking forward to next versions!

f0xy said:
Andi, forgive me, does it work on ANG7?
Never mind, Lollipop upwards
Click to expand...
Click to collapse
See OP, first line. Clear "maybe"... I tested against BOB7 only as I cannot install 10 different roms. But you will tell us?
MewCore said:
Looks good so far on XtreStoLite!
I'm just wondering if you are planing to add full sound configuration options?
Your sound implementation options allowed superb sound on S3 and I guess I'm not the only one missing it on S5
Looking forward to next versions!
Click to expand...
Click to collapse
Would love to. But it is a completely different sound chip used in the S5, compared to the S3.
And it seems there is no way to get hold of any documentation for it (wdc9230), which would allow us dev to explore more of the chips capabilities.
If you saw a kernel providing more sound options, I am happy to get the information about it and checking if it can be ported. Then we would even know what the audio hub can do and what not...
Or someone can get Qualcomm to hand me over the documentation of their audio hub, then also more is possible. But many devs for sure have tried that in the past years already, so I am not very optimistic.
Andi

Battery friendly seems so good for daily usage at the moment, but Battery Saving with zzmoove / battery yank seems pretty lags. Hope it be implemented some next versions.
I'm Running BOC7

ghoster76 said:
Battery friendly seems so good for daily usage at the moment, but Battery Saving with zzmoove / battery yank seems pretty lags. Hope it be implemented some next versions.
I'm Running BOC7
Click to expand...
Click to collapse
Yes, it lags. And it is a hardly battery focussed preset, so it must lag.
That is why you have the choice.
Andi

Related

[KERNEL][UNOFFICIAL BUILDS][JB/KK][Vx.43v76]DorimanX Test builds

Hey guys!
So from observations by @rkoby13 and myself, there seems to be a demand for regular builds of DorimanX's kernel!
This thread will serve as a place for logs, reports, and discussion relating to these unofficial builds by me.
Currently the plan is to compile v9 builds, whenever @dorimanx adds major updates or significant modifications to his source, however this may, and probably will, result in UNSTABLE AND EXPERIMENTAL RELEASES
Disclaimer:
Dori tests highly experimental commits prerelease, and if your device is damaged, wiped, or in any way negatively affected by these releases it's not the fault of Dorimanx, or me. In flashing these releases you accept full responsibility for any consequences of its use.
In this op, I'll have a log of which builds are most stable and which ones have bugs reported or major issues in code, and builds with extreme issues will be removed.
As x.39 was just released, the first build will be uploaded after the next major addition to the kernel sources, and every major change after that.
If there is a commit that I have not considered major but is important to you, either reply to the thread or pm me with a link to the commit, and I'll probably update the build to include it. In future, I may also build v8 kernels until their end of life, if many people show a desire for this
Finally, just a reminder not to post logs or reports/discuss these builds in any other thread, thanks
I'll also soon be adding my new and improved stweaks settings guide, nearly everything is covered now.
Source: http://github.com/dorimanx/dorimanx-SG2-I9100-Kernel
http://github.com/dorimanx/initramfs3
if anyone has a domain they'd like to offer to mirror I'd be glad (hint hint)
dorimanx has decided to help out with building sometimes, and he'll post here! and apparently no one reads whole op, is this big enough?
latest build by cybernetus http://www.dorimanx.ataliba.net
aaaaaand computoncio has a fileserver too now!
http://dorimanx.casoncia.org
Changelogs:
9.39
v1 - 23/8 up!
- ram value display fixed
- toggle to completely stop logcat from writing
(accidentally messed up defconfig and reset it so the kernel id is the same as usual but I renamed the zip)
v2 - 26/8 up!
-compiled with linaro 13.08 gcc 4.8.2 (tuned and optimised by dori for i9100 and his kernel)
- zzmoove updated to 0.7b
- cortex brain tuned and some bugs fixed
v3 - 27/8 up
-various driver updates, cleans and optimisations
v4 - 27/8 up
-as previous
-fix for reset profiles on boot
v5 - 29/8
-ton of pulled 3.11.y driver update
-cleaning
-more optimisations from stantrc (new dev )
-there was something else I saw but I forgot
9.40
v10 cybernetus - 9/9
- changelog
Eskriminal's New and Improved DorimanX Stweaks Guide!
Starting off, I will not be covering stock standard info such as cpu clock, voltage, or the most basic governor variables. @droidphile has a brilliant comprehensive guide to these things and more, search!
Now let's get started! This guide will be in the same order as stweaks itself, and if i miss anything that you wanted, pm me
Topic 1. Advanced/Custom Cpu Governor variables
Here will be discussed governors such as nightmare, darkness, and perhaps zzmoove (if i have time), and their variables.
Freq_step
this controls how large the step up should be when the cpu load hits either the up_threshold, or the inc_cpu_load, depending on your governor.
It is a percentage, where the percentage involved is that of the cpu clock prior to the switch.
Down_threshold/dec_cpu_load
same as up_threshold or inc_cpu_load, but in the reverse, these dictate at what load to decrease frequency
Cpu_up_rate/cpu_down_rate
these values determine how many readings of cpu load will be collected (i.e. 60% or 80%) before being compared to the inc_cpu_load or dec_cpu_load respectively
Freq_step_dec
the same as freq_step, but for decreasing frequency
Freq_step_dec_at_max_freq
identical to freq_step_dec, but while cpu is at values above freq_for_responsiveness_max
Up_sf_step/Down_sf_step
both have detailed descriptions in app from alucard
<more to come>
Topic 2. Memory Management
This tab in stweaks dictates whether Dorimanx kernel should control the Android memory management system (Auto Oom Control switch)
The settings here control how it should control it, with the more aggressive the setting, the quicker apps will be killed at low memory.
<more to come>
Topic 3. GPU Tab
The GPU settings are all identical in function to the way CPU control works, with the frequency steps available and voltage/threshold changes.
The GPU utilisation timeout controls how fast the gpu should respond to a heavy load.
With the thresholds, as with cpu the higher they are the slower it will scale frequencies up, and the faster it'll scale down.
<more details to come>
Topic 4. Screen Tab
Here all screen settings and brightness controls are changeable.
min_bl controls how fast auto-brightness should increase screen brightness level, when this value is higher the screen will stay on minimum brightness for longer.
min_gamma and max_gamma control the minimum and maximum brightness available to auto-brightness
LCD Power Reduce lowers screen brightness to save battery
Screen colour modes control colour levels
Gamma Shift changes all brightness system-wide up or down based on the value put in
FB early suspend delay controls delay after sleep should activate before running the screen off animation
Vibration force controls the power of vibrations system-wide
Slide2Wake toggles waking the device by swiping across the screen from left to right
mDNIe Negative Toggle enables or disables inverting colours by pressing the home button the number of times set below
Touch screen tweaks control sensitivity options - They're advanced, and usually don't need to be touched
Topic 5. Sound Tab
Most settings are self-explanatory, if anyone wants this actually explained, shoot me a pm.
Topic 6. Big Collection, all Misc. Kernel settings! (BLN, CRON, Logger, Auto wifi etc.)
BLN controls whether to switch on backlights when notifications are received during phone sleep.
The bln effect controls the light mode of these keys (doesn't work with BLN without wakelock)
Notification timeout controls the maximum length of time the keys should be on before turning off (doesn't work with BLN without wakelock)
LED timeout controls the timeout on backlight keys during phone use
BLNWW sets BLN to run without forcing the cpu to stay out of deep sleep, saving battery
LED fadeout controls the effect when the keys switch off
LED on touch determines whether the keys will turn on when pressed during use
LED voltage level controls the key brightness
CRON is a timed automatic service which can be used to run various optimisations and updates as detailed in the 'Other' tab in Stweaks
Fix Permissions may solve fcs in apps
Zipaligning apps may optimise them to run faster
Database optimising will clear and compact the system data, potentially increasing system performance
GPS zone changes to your local ntp server may decrease gps lock times and increase accuracy
USB settings control the device storage mount mode.
Charge current levels control speed of charging from various sources, with the higher the current, the faster the flow and therefore charge
Resetting the fuel guage chip may solve issues when battery appears to drop after reboots, as the chip will recalibrate
The Ad-blocker will block advertisements by ip in most apps
Filesystem tools attempt to recover corrupt partitions on the disk
Root settings control device root security
Cortexbrain controls the switching between various things based on screen state including cpu governor and clock, io scheduler, auto wifi, auto data, and logger control
The android logger writes logs of system errors, disable unless you plan on using this
auto data disables mobile data when the screen is off, with the delay before doing so below it (auto wifi is the same for wireless internet)
Various tweaks change system values relevant to each one
Eco tweaks modifies hotplugging logic when battery drops below the eco-level threshold to save battery by preferring use of only a single cpu core
This is just a preliminary guide, my corrupted hdd destroyed the other one I'd been writing for @rkoby13
Reserve one more! Just in case!
Sent from my GT-I9100 using XDA Premium 4 mobile app
and another at the recommendation above
Sent from my GT-I9100 using Tapatalk 2
Hehe, can't wait. This is an good idea.
Galaxy S2 powered by Dorimanx!
so what do you guys think of v8? want me to build it also?
Sent from my GT-I9100 using Tapatalk 2
Great idea
Posté via Vanilla Rootbox
Can you please build a dori Kernel for 4.3 where internal sd card is switched? Internal -> external.
Gesendet von meinem Galaxy S2 mit CM10.1
SWTR said:
Can you please build a dori Kernel for 4.3 where internal sd card is switched? Internal -> external.
Gesendet von meinem Galaxy S2 mit CM10.1
Click to expand...
Click to collapse
we'll see, unless many people want it it's probably not worth patching the changes in if I can
Sent from my GT-I9100 using Tapatalk 2
@eskriminal
can you just link to git where you build from?....or maybe build one kernel....if there are any new commits ....because place holders are not allowed at xda.....you need at least source link ma8 .....and keep up great job.....because last one you shared with me was awesome build.....although latest 9.39 is a beast.........waiting for new commits and build.....
rkoby13 said:
@eskriminal
can you just link to git where you build from?....or maybe build one kernel....if there are any new commits ....because place holders are not allowed at xda.....you need at least source link ma8 .....and keep up great job.....because last one you shared with me was awesome build.....although latest 9.39 is a beast.........waiting for new commits and build.....
Click to expand...
Click to collapse
edited op to include source and info for when downloads are up
Sent from my GT-I9100 using Tapatalk 2
hi guys..im using philz touch kernel..i want little more brightness ..so which kernel has got the maximum brightness ?? i dont have issues with battery drain
hunkyycbz said:
hi guys..im using philz touch kernel..i want little more brightness ..so which kernel has got the maximum brightness ?? i dont have issues with battery drain
Click to expand...
Click to collapse
any dorimanx build has gamma control in the screen tab on stweaks, raise it to increase brightness
Sent from my GT-I9100 using Tapatalk 2
I bought an optimus g for wife, but started to play with it, lock bootloader, hard to root, no custom kernel for oc. It's nice to see that s2 community it's still active.
Regarding domain, maybe ApriliaM3 from neatrom thread, he has an huge one with mods, kernels, rom.
http://d-h.st/users/ApriliaM3/?fld_id=8738#files
Galaxy S2 powered by Dorimanx!
Agreed. Nice to see the i9100 community still active
I have a question. What is a "V8" kernel and if its good stuff, why isn't included in Dorimanx official build? I'm assuming because of possible bugs?
StatusQuo209 said:
Agreed. Nice to see the i9100 community still active
I have a question. What is a "V8" kernel and if its good stuff, why isn't included in Dorimanx official build? I'm assuming because of possible bugs?
Click to expand...
Click to collapse
maybe you lost track....but dorimanx kernel has 2 branches....8.xx & 9.xx....
8.xx has support for Samsung stock JB roms...aswel as aosp/aokp/cm....<---4.2.2 and bellow...to 4.1.2...
9.xx branch supports 4.2.2 and 4.3 only...aokp/cm/aosp roms and dualboot between them....and with 9.xx you have more ram avaliable ....other things you can find in original dorimanx kernel thread....
v8, for official roms. v9, custom roms.
Dorimanx put sources in git daily and build his kernel. Anyone who could and want, take his sources and make an kernel, based on his sources. So, that's what we are here on this thread, we wait to grab and test an custom kernel
Galaxy S2 powered by Dorimanx!
rkoby13 said:
maybe you lost track....but dorimanx kernel has 2 branches....8.xx & 9.xx...8.xx has support for Samsung stock JB roms...aswel as aosp/aokp/cm....<---4.2.2 and bellow...to 4.1.2...
9.xx branch supports 4.2.2 and 4.3 only...aokp/cm/aosp roms and dualboot between them....and with 9.xx you have more ram avaliable ....other things you can find in original dorimanx kernel thread....
Click to expand...
Click to collapse
dude! I totally lost my mind. Lol. I totally got confused, I know there is a version 8 of the kernel. I was thinking that this was like the "V6 Supercharger" mod that some people use. I thought there was a new version or something that was kernel based. Hahaha. Thanks for clearing that up for me bud.
Excuse my ignorance...
StatusQuo209 said:
Agreed. Nice to see the i9100 community still active
I have a question. What is a "V8" kernel and if its good stuff, why isn't included in Dorimanx official build? I'm assuming because of possible bugs?
Click to expand...
Click to collapse
aaaaand V8.xx is official..,just like 9.xx
bugs(if any) are the same.....but 9.39 is.....<3

Half-Popped kernel for Lollipop HTC EVO 4G LTE - Jewel

This kernel is just as stable as CM's which is very important to me, but it's also got a lot of improvements on top of that.
Installation instructions: flash zip from recovery. That's all.
Only flash on jewel running AOSP Lollipop ROMs with the new partition layout, though I've heard that the kernel still works (for now) with KitKat AOSP ROMs as well.
Do not download the source and try to flash it. See post 2 for download link.
Source: https://github.com/Colonel-Corn/android_kernel_htc_msm8960.git
Yeah I'm really that cheesy.
Instructions for flashing: It's pretty simple, really. No tricks. Flash it just like you would the ROM. Do it after flashing the ROM though.
Below are the basics. I'll add detail later and give credit where it's due (though that information can be found in the commits too).
Features added already
Sweep2Wake
SweepUp2Wake
Double tap to wake
Force fast charge
Voltage control (with overclock support)
MP Decision
CPU Governors
wheatley
pegasusq
intellidemand
intelliactive
lagfree
badass
smartmax
interactive
conservative
ondemand
userspace
powersave
ondemand
performance
GPU Governors
performance
ondemand
simple
interactive
conservative
IO Schedulers
noop
deadline
row
cfq
bfq
sio
fiops
zen
TCP Congestion Control
cubic
reno
Optimizations
LZ4 Compression-Decompression
-Wstrict-aliasing=3
Features on deck
Sweep2Sleep
Optimizations
Considering adding -f-strict-aliasing if the situation is all gain. Not willing to sacrifice stability or features for it.
IO Schedulers
none on deck
CPU Governors - None - Lots added already. Let me know what others you'd like to see though!
GPU Governors - None - I haven't experimented with them much myself, so give me your list.
TCP Congestion Control- None - Give me your list.
Current issues
Though the kernel is at least as stable as CM's (as as of this writing), there are some bugs in a few features.
HTC Logo feature references need to be removed as it isn't part of the touchscreen on the Jewel. Those features will never work on this device.
Not loving this S2W implementation. It's got features in the code that won't work on jewel, but it's written in such a way that I can't easily remove the extra items without breaking either the feature or the build. Would prefer to use the version implemented in Bubba kernel, but its dependent on powersuspend, which doesn't want to boot after the WiFi driver updates were made by CM.
Credits: @javelinanddart - His Frosted Kernel is great, and I'd love to get it working on Jewel. Unfortunately I can't seem to compile it from his source, so I've cherry-picked a ton of commits from him. I'm going to keep picking one commit at a time and making fixes as I go. My hope is that I'll be able to find the offending lines of code in Frosted, that Jewel doesn't like, and hopefully get those changes incorporated into Frosted. @faux123 for putting together some of the most amazing features together. Guys like him who create features and write original code are really the ones who deserve the credit. All I'm really doing is an advanced cut & paste job, then crossing my fingers and hoping like hell I can get their work to function on our device. @intervigilium - Has spent a ton of time on msm8960 kernel in particular. He seems to author more of the commits I cherry-pick than anyone else.
@captain throwback - Not sure where to begin. If it weren't for him, this device may have died a long time ago. It hasn't been his daily-driver in close to a year, but he continues to maintain the device anyway. He's also been tremendous with coming back to help users with problems. @showp1984 - Has authored tons of lines of original code and new features. @rmbq - Whose Bubba Kernel made me appreciate just how much can be done with a kernel and is 90% of the reason I started Half-Popped. He didn't just cherry-pick his way there either. His commits include some really impressive original feature code.
@everyone else in the development community - A few of my commits in the beginning did not properly maintain authorship. For that, I am very sorry. I'm still really new to this and didn't know how to, or understand the importance of, maintaining proper authorship of the work of others. While I was totally ignorant about how rude this is, and it was only a handful of commits out of hundreds, proper credit should have been given. I'd love to know how to correct this, but I honestly don't know how.
https://www.androidfilehost.com/?w=files&flid=26515
3/1 - Added MP-Decision
2/28 - Added voltage control & overclocking
This folder on AFH has been set to restricted.
goliath714 said:
This folder on AFH has been set to restricted.
Click to expand...
Click to collapse
Thanks for letting me know. It's fixed now.
New build posted.
https://www.androidfilehost.com/?fid=95916177934535260
The big change is in getting voltage control fixed. I've also added OC support.
This was compiled with SaberMod 4.8 though, which is not as good as what I've used in the past. I'll be changing it soon enough though.
Let me know if you have any trouble. All you have to do is flash the zip.
Last night I decided to adjust my kernel governor settings.
Deep sleep - 73%
384 - 19%
The remaining 8% is all over frequency-wise and is about the amount of time I spent using the phone.
Quadrant score of 6126 running BeanStalk. OC frequency 1728000 with top end voltage at 1275000. Low end voltage is set at 850000 for 384000 frequency. No reboots yet. Am considering coding the low end frequency limit to 194000 since I'm having no stability issues so far.
I'm providing this as a baseline for comparison for you and for future reference for myself. If you're having bad battery drain issues, I can post my governor configuration if you'd like.
I'm pretty proud of what I've done with this, but I'm thrilled to discover that a much more skilled developer is working on a kernel for Jewel. I can't wait until it's ready.
SELinux PERMISSIVE mode kernel
This is otherwise identical to the 3-1-2015-3 kernel.
This disables Enforcing mode (kind of obvious). With enforcing mode enabled, every app is restricted to playing in its own sandbox. In permissive mode, an app can play in its own sandbox, but also play in all of the other sandboxes too. This was only created to get around issues with installing Xposed. I wouldn't recommend running SELinux in permissive mode. You've been warned.
I'm having trouble installing this. Installing the zip, TWRP says: "Updating partition details ... ... done. Failed". I've downloaded the file a few times. There's no md5 to verify. I've also tried flashing with different ROMS, but no luck. What am I doing wrong?
7357 said:
I'm having trouble installing this. Installing the zip, TWRP says: "Updating partition details ... ... done. Failed". I've downloaded the file a few times. There's no md5 to verify. I've also tried flashing with different ROMS, but no luck. What am I doing wrong?
Click to expand...
Click to collapse
What twrp are you on? Hboot?
There won't ever be an md5 with the kernel, but I've made over 100 kernel zip files using this method and never once had a failure. I'm eager to get more info so that I can help you.
fizbanrapper said:
What twrp are you on? Hboot?
There won't ever be an md5 with the kernel, but I've made over 100 kernel zip files using this method and never once had a failure. I'm eager to get more info so that I can help you.
Click to expand...
Click to collapse
(Details in my sig) Hboot 2.10. TWRP 2.8.5.0 CPTB. S-Off. File: android_kernel_htc_msm8960-cm-11.0.zip
The reason I mention the md5 is to verify that the file didn't corrupt during download. I've never had a corrupted download, but you never know.
7357 said:
(Details in my sig) Hboot 2.10. TWRP 2.8.5.0 CPTB. S-Off. File: android_kernel_htc_msm8960-cm-11.0.zip
The reason I mention the md5 is to verify that the file didn't corrupt during download. I've never had a corrupted download, but you never know.
Click to expand...
Click to collapse
I'm perplexed. Did I post a link to a zip file with that title? How many megs is your file?
It kind of looks to me like you downloaded the whole source from post #1 as a zip somehow and are now trying flash the whole repository to your phone.
fizbanrapper said:
I'm perplexed. Did I post a link to a zip file with that title? How many megs is your file?
It kind of looks to me like you downloaded the whole source from post #1 as a zip somehow and are now trying flash the whole repository to your phone.
Click to expand...
Click to collapse
I downloaded the zip from the link in post 1. I see that the file from post 6 is different, so I'll give that one a go.
https://www.androidfilehost.com/?fid=95916177934539829
3/10/15 - PERMISSIVE
UC to 192000, OC to 1836000 - be careful with the kernel settings when OC this high. I've had no issues yet, but 1.83 vs 1.5 is not an insignificant difference.
A word of advice on the permissive kernel. Use a program that manages your SELinux policy. Set it to Enforcing, and applied upon boot. The device will start the boot process in permissive mode, which is when xposed is loading, then it will change back to Enforcing at the end of boot. There are still security concerns, but we've limited the risk to just part of the boot sequence.
No reboots with the UC last night. 68% deep sleep, and 19% at 194000. Woke right away this morning with dt2w.
Dt2w and sw2w can be disabled if you're using trickster mod. You will see a boost in battery life. Not an option for me though, since my power button is dying.
Might not have this device much longer because of it. The day will soon come when I won't be able be able to break out of a bootloop and with the simulated battery pull (hold down power button for 10 seconds).
No idea what to replace it with though. I really like the idea of having a ton of custom ROM and kernel options like with the Nexus line, but I really enjoy the challenge and learning experience that comes with compiling. It's been worth developing for Jewel because there are so few of us who are doing anything for the device, so I feel like I've actually contributed something. I see the download numbers though and realize that I'm now contributing to a very small group of people. The nexus line has no need for me as a wannabe developer though, since there are many highly skilled devs already.
I'll fix the defaults later, but the voltages for the OC frequencies are set too high. Change them to max of 1250000 and you shouldn't have any problems OC to 1836000 frequency. I OC for smoother performance with normal use. If you're overclocking and playing games, that much sustained heat could be a problem.
If there is any interest, I can easily build a kernel without the sweep and tap to wake features. This would be useful for anyone who wants to trade in those features in exchange for better battery life, but doesn't have an app on their device that can disable them.
Lol. I just found tap to wake last night. I'm such a mo mo.
Thanks for the kernel, man. Digging it so far.
fizbanrapper said:
If there is any interest, I can easily build a kernel without the sweep and tap to wake features. This would be useful for anyone who wants to trade in those features in exchange for better battery life, but doesn't have an app on their device that can disable them.
Click to expand...
Click to collapse
That would be awesome if you could make a kernel like that. I don't really use sw2w or tap to wake.
jcruz942 said:
That would be awesome if you could make a kernel like that. I don't really use sw2w or tap to wake.
Click to expand...
Click to collapse
You're in luck. I saw your post right as I was finalizing some other improvements.
https://www.androidfilehost.com/?fid=95916177934540722
I built this kernel with d2w & s2w, but they're disabled by default. Those features wont drain your battery now, unless you specifically enable them. In retrospect, that's probably what I should have done in the first place.
I've cherry-picked memory improvements, thermal improvements, and set SELinux back to enforcing. If someone wants me to make an updated permissive kernel, just ask. It takes all of a minute for me to change that setting.
I also rolled back the voltages to 1250000 on the higher OC frequencies. You can push it higher if you'd like, but not by default. Still keeping OC at 1836000 max.

[KERNEL] [EOL] [OnePlus5T] [OOS 5 / OOS 4] Boeffla-Kernel (15-01-2019)

*** This kernel is now end-of-life and not supported nor actively developed anymore !!! ***
Hi all,
some of you know me from the other OnePlus or Samsung devices areas, where I provide my kernels already for more than five years to OnePlus 5, 3T, 3, 2, one and X, Galaxy S5, S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Now I own a OnePlus 5T device and decided to port my kernels also to this device.
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
To add: A community build is NOT an official build supported here. If you use a community build and have issues, don't complain or even report.
Important notes
Read first, especially when you are new to my kernels:
http://wiki.boeffla.de
Boeffla-Kernel uses the anykernel concept = Flash stock kernel of rom first !
This kernel is ONLY compatible to OxygenOs stock, nothing else !!!
If you are using a custom rom that bases on OxygenOs, it might work. However, if it does not work, do not expect me to do tweak to make the kernel running with your favorite rom. I would not do it - my one and only reference is OxygenOs stock.
It is not supposed to be compatible to CM, HydrogenOS etc.
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Important: Manually disable battery optimisation for Boeffla-Config app in the rom settings (battery -> battery-optimisation)
Installation
Read the install instructions in the support section on the Boeffla Site.
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app (outdated at the moment).
Click here to learn about using the config app.
I will refuse to give support if you do any undervolting/overclocking and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting change log...)
Change log for OxygenOS 5.x.x kernel - Click here
Change log for OxygenOS 4.x.x kernel - Click here
Known issues
none known
Features
Note: This kernel only runs on OOS 4.x.x for the OnePlus 5T - 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.5.10 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 (not planned too)
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 OP5T 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)
Notification LED control (effect + speed for blinking/fading, brightness for continuous notification like battery charging etc.)
Boeffla-Sound engine V1 (headphone volume control, earpiece control in calls, microphone gain control in calls)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show current CPU core frequencies in realtime (note: other apps than Boeffla-Config will likely display wrong information on offline cores as they are not up-to-date yet)
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control
Display backlight limits configurable (to avoid display brightness gets too low in some situations)
Display backlight dimmer
Swipe2wake gestures
Boeffla generic wakelock blocker
Control haptic feedback of gestures (except fingerprint)
Haptic feedback intensity control (from 0 to 25, with 25 being 100%)
Swipe2sleep gestures
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS read-only support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Swap supported
Wireguard supported
Various kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Automatic EFS backup
Fully supports OOS device encryption, but does not force it
Integrated full busybox 1.27.2 (own compilation)
Compatible with systemless root
Safetynet: verifiedbootstate + additional flags removed
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Google gcc 4.9 toolchain (64 bit) used for best stability
Always based on latest OOS kernel sources (https://github.com/OnePlusOSS/android_kernel_oneplus_msm8998)
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
a CAF based kernel
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the kernel only if you are running a compatible rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app Boeffla-Config V2 from the downloads section on www.boeffla.de.
You need at least version 2.5.10 or higher for the OnePlus 5T 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
* eng.st
* 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:
OOS4
http://kernel.boeffla.de/oneplus5t/boeffla-kernel-oos/oos4xx/changelog.htm
--- Reserved ---
WHAT MAKES YOU THINK I WILL MAKE A KERNEL FOR ONE PLUS 5 T ?????
Sendt fra min SM-N950F med Tapatalk
Thread opened.
First beta version has just been released - 1.0-beta1.
Feature list, see OP.
Have fun
Andi
Is it compatible with open beta 2 ?
Awesome.. Was waiting for your Kernel
zebasketteur said:
Is it compatible with open beta 2 ?
Click to expand...
Click to collapse
I would assume not, as in title is says OOS 4
---------- Post added at 02:42 PM ---------- Previous post was at 02:05 PM ----------
Just flashed, seems that the max brightness is lower, with the display backlight settings unchanged. Apart from that all seems to be good.
Nice to see you here! I have use your kernels starting with Samsung S3 and after that many many devices and always being good!
zebasketteur said:
Is it compatible with open beta 2 ?
Click to expand...
Click to collapse
This is very clearly stated in the opening post.
No.
Hetex said:
[/COLOR]Just flashed, seems that the max brightness is lower, with the display backlight settings unchanged. Apart from that all seems to be good.
Click to expand...
Click to collapse
This is not changed by me. As long as you do not play in the app with the settings, this is 1:1 as in stock kernel.
Anyone else? I mean, nothing is impossible of course.
Andi
Lord Boeffla said:
This is not changed by me. As long as you do not play in the app with the settings, this is 1:1 as in stock kernel.
Anyone else? I mean, nothing is impossible of course.
Andi
Click to expand...
Click to collapse
Not sure if it is the same problem but in the first release of elementalX kernal, whether the brightness dimmer was enabled or not the brightness at maximum was half of what it should have been.
Thanks.
Lord Boeffla said:
This is not changed by me. As long as you do not play in the app with the settings, this is 1:1 as in stock kernel.
Anyone else? I mean, nothing is impossible of course.
Andi
Click to expand...
Click to collapse
You have to revert THIS exact commit in order to fix that (not working anymore on OP5T)
Welcome to OP5T mate btw :highfive:
Cheers'
Hello Boeffla
Hetex said:
Not sure if it is the same problem but in the first release of elementalX kernal, whether the brightness dimmer was enabled or not the brightness at maximum was half of what it should have been.
Thanks.
Click to expand...
Click to collapse
Good hint. Will check in that direction when more people are sure this brightness thingy is real.
Update: Analysis started...
Andi
Lord Boeffla said:
Good hint. Will check in that direction when more people are sure this brightness thingy is real.
Update: Analysis started...
Andi
Click to expand...
Click to collapse
Ok, issue analyzed, confirmed to be a bug.
Bug is fixed and beta2 already compiling. Stay tuned. And thanks for the report.
(BTW it was not the brightness dimmer but a changed brightness range sent by the rom to the kernel, so the min/max limiter was cutting too early)
Thanks
Andi
AndroidGX said:
You have to revert THIS exact commit in order to fix that (not working anymore on OP5T)
Welcome to OP5T mate btw :highfive:
Cheers'
Click to expand...
Click to collapse
Thanks. Sorry, did not see your post as I was busy analyzing.
Well... reverting a commit and losing the functionality is not the option when I can fix it, eh? :fingers-crossed:
And so I did.
MrTalon4 said:
Hello Boeffla
Click to expand...
Click to collapse
Hello MrTalon4
Andi
Hi all,
small bugfix update is out:
Version 1.0-beta2
18.01.2018
Fix: Backlight limit implementation adjusted to OP5T (display could never reach maximum brightness before)
Enjoy
Andi
Welcome,it is nice to see you here ..waiting one for oreo
marko94 said:
Welcome,it is nice to see you here ..waiting one for oreo
Click to expand...
Click to collapse
Yeah. But not before it gets out of open beta, not before it is released officially.
... my golden rule for a long time.
Andi
Welcome to the 5T-Zone
Is it possible to have WireGuard implementation for your new 5T kernel (at some point in the near future) ?
Edit:
I just rechecked the OP, already there. Too cool

[KERNEL]Savagezen's Angler Kernel[Dec 2018][Pie][Oreo][Linaro][Clang][3.10.108]

This is the first project I've shared on XDA, though I've maintained it for personal use for a while and posted some prior incarnations on Google+. Hope you enjoy it!
Features:
December 2018 security patch
open source: kernel, anykernel
forked from Franco Kernel
merged Linux Stable 3.10.108
Compiled with Linaro 4.9 and CopperheadOS's Hardened Clang
I/O Schedulers: noop (default), cfq, deadline, fiops, row, zen, maple, sioplus
TCP algorithms: Bic, Cubic, Htcp, Hybla, Vegas, veno, Westwood (default), Reno
FK Features: disabled verified boot flag for Android Pay (root still breaks), support for FKUpdater performance profiles, support for FKUpdater App (not verified as I don't use the app myself), KCAL tweaks in init script.
Reduced wifi wakelocks and wakelock period
Removed possible bluetooth memory leak
KCAL color control support
KCAL brought to Linux guidelines
Spectrum Profile Support: dozens of profiles from around the web included in source code
Touchboost disabled in spectrum profile
Filesystem Support: F2FS, vFAT, EXT4, NTFS
MSM hotplug driver (disabled by default, but toggle included in source code)
Fingerprint boost from Electron Kernel
Wireguard support
Power Efficient Workqueues
State Notifier
Tickless System / Idle
Gentle Fair Sleepers
Hima hotplug driver (see 2018-09 release notes)
Wake Gestures (partial, see 2018-09 release notes)
Many security / hardening features from CopperheadOS (see 2018-12 release notes)
Downloads:
Oreo, 8.1 (Stable / Final): angler-kernel-20181221.zip
Pie, 9.0 (Testing Builds): pie-testing-aosip-20190130.zip, pie-testing-statixos-20190130.zip
Installation:
Boot to TWRP, backup (boot, system, data)
Wipe Dalvik / ART Cache and Cache
Flash the kernel.zip
Wipe Dalvik / ART Cache and Cache
Reboot and enjoy
Note: Sometimes rebooting directly from TWRP results in a boot freeze at the Google splash screen. Just power off and boot up again.
Battery Life / Performance Tests:
Spectrum: Battery: Total Drain: 6.8%/h, Sleep Drain: 4.96%/h, 11% SOT, 17.8 Hour Test (tested version - kernel 20180728, battery v1.3 profile)
Spectrum: Balance: Total Drain: 9.7%/h, Sleep Drain: 6.6%/h, 12% SOT, 19 Hour Test (tested version - kernel 20180728, balance v1.2 profile)
Older Version: June 2018
Thanks:
@osm0sis / AnyKernel2
@nathanchance / Flash Kernel and many guides
@franciscofranco / Franco Kernel
@frap129 / Electron Kernel
@flar2 / ElementalX Kernel
@Adi Shakthi / God's Kernel
@zx2c4 / Wireguard
@phantom146
PS: I'm on Telegram now too!
Profile: @savagezen
Discussion for this kernel: @sz_kernel_angler
Want to stay even more up to date?
Install the IFTTT app
Get notifications for testing releases - Applet Link
Get notifications for source code releases - Applet Link
Changelog:
v20181221 Release Notes
v20181124 Release Notes
v20180910 Release Notes
v20180808 Release Notes
v20180728b - fixed spaces in localversion resulting in kernel name not showing in Settings app.
v20180728 Release Notes
Bugs:
Boot Loop / Freeze on Android 9.0 Oreo.
FAQ:
Need Help / Want to Help? Join the my Telegram Channel: @sz_kernel_angler
Is this kernel compatible with Android Pie (9.0)? It should work out of the box, however several users have reported boot freezes / loops on Pie. I haven't had a chance to test it fully in Pie and am still on Oreo myself. If you run into issues, try running with SELinux as permissive or reach out on Telegram.
Nice, gonna give this a run. Kudos for adding detailed instructions on your site.
Nice, was hoping for new kernel a long time
I would like to suggest the "Hima Hotplug" for your kernel, it is so fluid and great on battery life (experience from sphinx kernel for bullhead)
Pump Ac7i0n said:
Nice, gonna give this a run. Kudos for adding detailed instructions on your site.
Click to expand...
Click to collapse
You're welcome. It is as much for me to remember how to do stuff in the future with other devices as anything else. Glad others can benefit from it as well.
eurochild said:
Nice, was hoping for new kernel a long time
I would like to suggest the "Hima Hotplug" for your kernel, it is so fluid and great on battery life (experience from sphinx kernel for bullhead)
Click to expand...
Click to collapse
Thanks for the suggestion. Browsing source code now...
savagezen said:
You're welcome. It is as much for me to remember how to do stuff in the future with other devices as anything else. Glad others can benefit from it as well.
Thanks for the suggestion. Browsing source code now...
Click to expand...
Click to collapse
just wanted to say solid first public kernel. super smooth
Thank you for the new kernel,so far so good
Smooth so far, great job.
though is it just me or does the Settings app display "Unavailable" under Kernel version? EX Kernel Manager displays the kernel version just fine.
Maybe it has something to do with the presence of spaces in the kernel version name?
aureljared said:
Smooth so far, great job.
though is it just me or does the Settings app display "Unavailable" under Kernel version? EX Kernel Manager displays the kernel version just fine.
Maybe it has something to do with the presence of spaces in the kernel version name?
Click to expand...
Click to collapse
I see the same under about phone.
aureljared said:
Smooth so far, great job.
though is it just me or does the Settings app display "Unavailable" under Kernel version? EX Kernel Manager displays the kernel version just fine.
Maybe it has something to do with the presence of spaces in the kernel version name?
Click to expand...
Click to collapse
Lawlrus said:
I see the same under about phone.
Click to expand...
Click to collapse
same here, nothing so important. if you click on it it shows the kernel info (atleast that is what happens on aosip rom)
eurochild said:
same here, nothing so important. if you click on it it shows the kernel info (atleast that is what happens on aosip rom)
Click to expand...
Click to collapse
Yeah I agree, it is, by no means, a deal-breaker. I just wanted to point it out for newcomers because I sure had a grand time panicking over whether or not the installation went through.
Currently using this kernel with ABC rom, so far the best kernel ever, very smooth and good heat output
aureljared said:
Yeah I agree, it is, by no means, a deal-breaker. I just wanted to point it out for newcomers because I sure had a grand time panicking over whether or not the installation went through.
Click to expand...
Click to collapse
eurochild said:
same here, nothing so important. if you click on it it shows the kernel info (atleast that is what happens on aosip rom)
Click to expand...
Click to collapse
This does work on AOSiP. Stock ROM (and maybe others) it does not appear after tapping on "Kernel Version" in settings. As noted, third party apps like EX Kernel Manager and Kernel Auditor seem to display the kernel version correctly.
There are, in fact, spaces in LOCALVERSION in the config file. I'll add this under bugs in the second post and update when it's fixed.
PS: Glad you guys are enjoying it and to hear it runs smooth and cool! Usage stats for the 'battery' spectrum profile are in the updated OP. Testing the 'balance' profile now.
UPDATE 8/1: The 'kernel version' issues has been fixed. Notation is in second post and download link has been updated in OP.
This kernel kicks ass! Seriously, great work. One of my major complaints with the 6P was its over heating and then thermal throttling. I just didn't play certain games because of it. Now, after flashing this kernel it runs smooth and cool and games work again. Unreal. Truly love the way the phone works now. Not bad for battery life either but it's not my primary any more.
galakanokis said:
This kernel kicks ass! Seriously, great work. One of my major complaints with the 6P was its over heating and then thermal throttling. I just didn't play certain games because of it. Now, after flashing this kernel it runs smooth and cool and games work again. Unreal. Truly love the way the phone works now. Not bad for battery life either but it's not my primary any more.
Click to expand...
Click to collapse
Good to hear! Did you use the Gaming spectrum profile? I'm don't use my phone for games so I didn't test that outside of synthetic benchmarks. Also, the Battery spectrum profile should give pretty good battery life as it's very conservative.
Spoiler: I'm working on maybe adding the chill or relaxed governors to test as well.
No profiles, just default settings. I usually run a week or two on default before I mess around just so I can tell the difference in the tweaks.
I might play around but this phone is just for messing about now, picked up the Essential on the Prime deal and quite like it so the 6P is not a daily driver.
Gotcha. FYI the balanced profile is enabled by default.
savagezen said:
Gotcha. FYI the balanced profile is enabled by default.
Click to expand...
Click to collapse
Do you happen to have the link somewhere?
dirtyreturn said:
Do you happen to have the link somewhere?
Click to expand...
Click to collapse
All the profiles are in my AnyKernel repo on GitHub. There are a total of 30 profiles from around the web even though the Spectrum App only uses those numbered 0, 1, 2, and 3. I include my built kernel zImage-dtb in the AnyKernel repo so that you can clone it yourself and apply a different profile "manually" if you like. Just change the number in ramdisk/init.spectrum.sh, zip it up, and flash it.
Code:
if [ ! -f /data/property/persist.spectrum.profile ]; then
setprop persist.spectrum.profile 0 # change this number
fi
Note, if you use this method, and later select a profile from the Spectrum App, the Spectrum App choice will override the initial one, including after reboot -- because it applies the settings once the user space is reached.
@savagezen thanks! Also, kernel link?? I must be missing it.. Is it in the OP?
Sent from my PH-1 using Tapatalk

[KERNEL][EAS][EOL][9/10/TREBLE][N950N/F/FD] RZ Kernel for Samsung Galaxy Note 8

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
RZ Kernel aims for as stock experience as possible. It is made from Samsung's stock kernel with stability updates thanks to great guys who made ELS (exynos-linux-stable) branch
It also attempts to increase overall multitasking performance while maintaining good battery life with proper settings
Features
I/O Scheduler: CFQ (default), noop
Governors
schedutil (DEFAULT FOR EAS)
CPU
Support EAS (Energy Aware Scheduling), which balances battery life while maintaining great overall performance
Fine-tuned schedtune values for super fluid user experience
GPU
Fixed interactive governor for better load burst handling
Memory
Support zRAM with default size of 3/4 RAM size
Multiple compression algorithms for zRAM: zstd, lzo, lz4(default), lz4hc
Other tweaks and optimizations
F2FS filesystem support (require latest TWRP)
Init.d support (A BIG MUST for scripters)
Disabled battery-hogging WAKELOCKS
Westwood TCP congestion algorithm (small boost on network speed)
SELinux Permissive (for V4A and etc...)
WireGuard and DriveDroid support
XDA:DevDB Information
RZ Kernel, Kernel for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
remilia15
Source Code: https://github.com/diepquynh/android_kernel_samsung_universal8895/tree/tw90-android-p-eas
Kernel Special Features: Energy Aware Scheduling
Version Information
Status: Testing
Created 2019-03-30
Last Updated 2020-08-27
Download link: Drive folder
CHANGELOG:
20190330: Initial release
20190430: Post #39
20190503: Post #55
20190828: Post #63
20190909: Post #64
20191014: Post #81
20200406: Post #91
20200822 [FINAL]: Post #98
Notices and Q&A
The kernel is based on tw90-android branch of ELS, which is currently at stable state from my experience
Other related features of the kernel were picked from other sources. Credits belong to the owner
I have totally ditched Samsung's HMP implementation by myself, and adapted aosp-common kernel's EAS commits with the brand new kernel scheduler (called Exynos Mobile Scheduler (EMS)) from Exynos 9820 kernel source, which seemed doing nice on our Exynos 8895. Because HMP isn't doing really well on our 8895, and to take advantage of 64bit kernel, I've done EAS by myself
The kernel's EAS figures were self-made using specific CPU capacity benchmarks and energy usage measurements, along with performance benchmarks for better balance and improved as possible
Questions and Answers (Q&A)
Q: My phone gets hot while using this kernel?
A: Short answer: It's your own issue, fix it yourself. Nobody makes a kernel just to burn your hands
Long answer:
Install Termux app from Play Store
Enable screen rotation, open Termux in landspace mode
Type this command: su -c top -d 2
A list of processes will appear and refresh with 2s interval. Find which process consumes the most CPU usage with [%CPU] column and the package name in ARGS column. You should see the culprit of your issue
Reminder: There is no such thing as "I have nothing in background but the phone still heats up". There definitely something happen and 99% of the time it's some of the rogue apps running in background
Q: Can you add X Y Z feature to this kernel?
A: I want to keep the kernel clean and simple. However, if the feature is really useful, I'll consider adapting it with proper performance check before releasing
Q: I can't connect to any access point after installing this kernel?
A: If you can't connect to an access point on stock/stock-based ROM, simply forget its password and connect again
Q: This kernel is unbootable on my One UI ROM?
A: If you came from previous builds, it's because of Secure Folder. You can either continue using previous build (which I would not recommend) or uninstall Secure Folder, install the latest build and reinstall it again. It's all because I have removed Samsung's FIPS cryptographic API which breaks device encryption
Q: My touchscreen/XYZ hardware stuff doesn't work after flashing kernel
A: Make sure your flashing procedure is right. I'd recommend flashing the kernel with a clean stock boot.img (Magisk or SuperSU-patched one is also okay)
Also, check your device name first before downloading (S8/S8+ and it has to be EXYNOS)
Installation instructions
Select proper kernel variant to download (Stock SE/One UI, LineageOS, Treble)
Put the downloaded kernel flashable zip in the internal storage or SD card
Flash the zip with ease (no root re-installation needed, because the kernel isn't shipped with prebuilt stock boot.img)
Selecting kernel variant:
Non-treble ROMs: RZ-LineageOS-* (might not compatible with all non-treble ROMs as each might use its own kernel and stuffs)
Treble ROMs: RZ-treble (note that it is meant to be used with hadesTreble). If you didn't install hadesTreble, use non-treble build for non-treble AOSP ROMs
One UI/Stock SE: The remaining build
Great job! Nice to see some new kernel development for Note 8?
Voytec83 said:
Great job! Nice to see some new kernel development for Note 8?
Click to expand...
Click to collapse
+1 for this!
Thank you developer
Sent from my SM-N950F using Tapatalk
Runs very smooth. Thank you!
Very good kernel. 0 lag, run smooth and fast. Excelent!
My device stays on the highest freq on the BIG cores all the time. With the same setup and other kernels, CPUs tend to power down after a while but with RZ it seems that all cores are on and running at or close to max speed. Is that supposed to be the way with EAS and/or schedutil?
i23u8 said:
My device stays on the highest freq on the BIG cores all the time. With the same setup and other kernels, CPUs tend to power down after a while but with RZ it seems that all cores are on and running at or close to max speed. Is that supposed to be the way with EAS and/or schedutil?
Click to expand...
Click to collapse
That was the behaviour of EAS on my old LG G6, and that's why i still prefer stock interactive, which I think is very efficient on my exynos note 8
The screenshots were taken after some hours of medium - heavy tasks, including ~40min of RR3 playing.
I will try this kernel anyway when I have some time.
i23u8 said:
My device stays on the highest freq on the BIG cores all the time. With the same setup and other kernels, CPUs tend to power down after a while but with RZ it seems that all cores are on and running at or close to max speed. Is that supposed to be the way with EAS and/or schedutil?
Click to expand...
Click to collapse
If you use apps like Kernel Adiutor, they aren't showing correct frequencies, as with EAS, freqs are decided as per workload
From my experience, CPUfloat is my best choice. If you wanna see correct frequencies that you're currently in, use CPUfloat with 100-200ms refresh interval
Sent from my SM-G955F using XDA Labs
Thanks for the responses! After letting the device settle, I think cpu usage has come down to normal.
Speed on this kernel is fast, Ill see how it balances out battery life too.
This kernel continues to surprise me
How is the battery on this kernel? Anyone tried it with hades rom?
ricardo2511 said:
How is the battery on this kernel? Anyone tried it with hades rom?
Click to expand...
Click to collapse
Don't ask. Just try
Nobody will give the right answer because their usages vary
Sent from my SM-G955F using XDA Labs
i23u8 said:
Thanks for the responses! After letting the device settle, I think cpu usage has come down to normal.
Speed on this kernel is fast, Ill see how it balances out battery life too.
Click to expand...
Click to collapse
I had the same problem and fixed it by clearing the data of any kernel controlling app and rebooting the phone
Thanks very much for this! Please does this add support for DriveDroid? There's a whole lot of uses to gain with DriveDroid support, including using our Note 8s as recovery tools for other computers. No more keeping track of different USB drives for different OSs. Just an example.
Also, does this break DeX or any other Samsung features? I personally make a lot of use of DeX, heck, even more than my Surface Pro 2 nowadays, so, personally wouldn't want anything breaking it up.
I try to add game but i got this error
MrElectrifyer said:
Thanks very much for this! Please does this add support for DriveDroid? There's a whole lot of uses to gain with DriveDroid support, including using our Note 8s as recovery tools for other computers. No more keeping track of different USB drives for different OSs. Just an example.
Also, does this break DeX or any other Samsung features? I personally make a lot of use of DeX, heck, even more than my Surface Pro 2 nowadays, so, personally wouldn't want anything breaking it up.
Click to expand...
Click to collapse
For DriveDroid, I may consider adding it then. Thanks for the hint
Next build may also come with WireGuard
About DeX, since I don't have any stations to try so I don't know if it works, but DeX for unofficial stations has been adapted to the kernel. I assume DeX should work
Leejhay1714 said:
I try to add game but i got this error
Click to expand...
Click to collapse
Which error btw? Forgot screenshot?
Sent from my SM-G955F using XDA Labs

Categories

Resources