[KERNEL][Kenzo] FrancoKernel ⚡️- r16 - 18th April - LineageOS & Oreo - Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re

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

Full support on Franco Kernel Manager & Updater app has been released!

Also I'm pretty fresh on this device so if I missed anything let me know, if it makes sense I'll add it.

Any support for goodix users??

woww.. its great U also develop for kenzo..
Thankzz @franciscofranco..
ohh.. most popular cusrom 7.1.1 in kenzo is Nitrogen OS, this kernel support NOS also??

black dark man said:
Any support for goodix users??
Click to expand...
Click to collapse
I think I merged a patch for that: https://github.com/franciscofranco/kenzo/commit/ecf57ba53631cce978b847349e76994f695e180c

thank you, please support for Miui MM and LineageOS MM... and if you can, please look at xiaomi mi5 too, i hope you can make kernel for mi5. thanks

zilan said:
thank you, any support for Miui MM? and if you can, please look at xiaomi mi5 too, i hope you can make kernel for mi5.
Click to expand...
Click to collapse
Nope & nope.

Legend is here
Flashing now !!!

Yay Franco kernel for kenzo

Wow, legendary was here...

Ohh welcome to our community, I am at your disposal to give you the necessary information of our device so that you support is complete, thank you!

Finally!!!
Will post review soon, no issues till now

Recommend installing the stock kernel first before installing your kernel?

I'll post it now so that I can refer to it later on. Battery life greatly varies between usage, signal strength, apps wakelocking (or not), display brightness and what not. I've set it up to save power as much as possible, but there are parts of the equation that I don't control. So be wary of that before you say X or Y wastes more or less battery life (or the usual erhmagherd no deep sleep as if I removed it... lol). I don't have any numbers about the improvements I've made, but they are pretty much in line with every device I've worked on. If you have my app the Power-Saving perf profile is a winner and helps tremendously if you really need the extra screen on time.

Loopeez said:
Recommend installing the stock kernel first before installing your kernel?
Click to expand...
Click to collapse
If you're on other Kernel, yes, to make sure ramdisk etc is stock and clean.

Legend is here!!
Great

Tnx

The legend here :angel:

Yessss, Franco is here!
Any recommended settings?

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.

[KERNEL][MIUI/CM]ZD Kernel || 20160806

Code:
#include <std_disclaimer.h>
/*
* 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 ROM
* 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.*/
Features
You get the usual set of well known tweaks, mods and other improvements. Please check commits of the source repo which will be mentioned below for detailed list of changes. The key ones are -
Live Kernel flashing with backup support for previous kernel - Liverepack implementation of @psych.half is used, which also backs up your previous kernel (boot.img) and other system files which would be changed.
KCAL - A well known display parameters calibration driver for MSM devices, written by @savoca.
Dynamic Fsync 1.2 - We all know what it is about, dont we? Credits - @faux123
ThunderPlug - A hotplug driver by @varun.chitre15.
Kernel Add-on support - For CM based ROM only. More about it in later posts.
More features will be eventually added.
Kernel Adiutor will list 90% of stuff that can be tweaked by the kernel, rest will be mentioned in further posts.
What does not work?
Various display tweaks by Xiaomi like Reading mode etc in MIUI ROMs - That is because Xiaomi did not open source that aspect of the kernel. The same will probably not work on any Kernel that is compiled from source. But thanks to KCAL, this tweaks can be worked around, check further posts.
Compatibility
This kernel is only meant to be flashed on lollipop based MIUI 7/8 ROMs.
This kernel is also compatible with Official CM and other similar source based ROMs.
Version naming
I gave up on maintaining proper versions of a kernel, its lot of hard-work. Instead, naming scheme of CyanogenMod and other prominent ROMs has been used, reflected in the zip naming. LOCAL_VERSION will be same for all versions hence we will talk about versions on date of build basis.
Installation
Make sure the ROM on which you are going to flash is compatible. Once done, simply flash it through TWRP.
Reporting Bugs
In case an error has occurred during flashing, please report it with /sdcard/liverepack.log.
In case of kernel errors, please get me a dmesg.
Feature Requests
I mainly focus on quality rather than quantity. But still, you can request a feature you would like and I will see what can be done.
Download - Here
If you want to download MIUI version, please download the file with no suffix (zd-20160803-kenzo.zip). Suffix will come in the next MIUI update.
If you want to download CM version, please download the file with cm suffix (zd-20150806-kenzo-cm.zip).
Add-ons can be found in Addons folder. Only CM based kernel supports Addons.
Source/ Tools used
Source - https://github.com/TeamButter/android_kernel_xiaomi_kenzo
Toolchain used - Aarch64 4.9 by google
XDA:DevDB Information
ZD Kernel, Kernel for the Xiaomi Redmi Note 3
Contributors
corphish
Kernel Special Features:
Version Information
Status: Stable
Created 2016-08-02
Last Updated 2016-08-06
Reserved
Kernel Addons
There are certain features which some people want in the kernel, whereas others do not want that at all (they even dont want the feature to be present in the kernel ).
So to meet the needs, we would have to maintain to separate kernel builds, one with the feature, one without it.
Which is where kernel add-on comes to play,
Here the users will need to flash the main kernel. Then, if they choose to, they can flash the kernel addon (which generally contains a feature).
If users choose not to, that feature wont be present at all (just as they wanted), whereas for those who flashed the addon, the feature will be present.
It makes lives of both us and users easier, right?
Addons are low in size flashable zips, as the name suggests. You will need to flash addons if you choose to, after flashing the kernel.
Only CM based ROMs support addons, as init.d support is needed, which is not present in MIUI.
Also, by distributing addons, I guarantee that no copyright infringements are made.
Addons available
-Thunderplug
Workaround for Xiaomi's display tweaks
We will use different values for tweaking offered by KCAL. To do that, open Kernel Adiutor and go to 'Screen' page.
Reading mode
Set Blue to 196.
Colour mode: Warm
Set Green to 240, Blue to 208
Colour mode: Cool
Set Red to 208.
You can also tweak contrast values and other stuffs.
If you are not satisfied, feel free to tweak similarly.
Thunderplug
For some reason, TZ app crashes on MIUI, and kernel adiutor does not fully have support for ThunderPlug.
By default, ThunderPlug does sched based hotplugging. Hence stuffs like endurance mode wont work as it only works when hotplugging is done on per-core basis.
To enable hotplug on per-core basis, open terminal and type:
Code:
su
echo 1 > /sys/kernel/thunderplug/hotplug_style
To go back to sched based hotplug:
Code:
su
echo 2 > /sys/kernel/thunderplug/hotplug_style
Reserved
Changelog
20160803
-Fixed -2% battery bug and camera bug on devices shipped with newer hardware.
20160802
-Initial release for MIUI ROMs
Wow, zapdos was my fav kernel on condor, let's see on kenzo xD
Flashed, no problems for now great work :good:
Working great here, thank you, I have one question, Did you implement Adreno idler? Because my gpu is going to 19mhz, and also Can you please explain the sched and per core mods of thunderplug? Thax
It has the bug of the battery of -2%
dmesg: http://pastebin.com/df8fBgme
donalberto17 said:
Working great here, thank you, I have one question, Did you implement Adreno idler? Because my gpu is going to 19mhz, and also Can you please explain the sched and per core mods of thunderplug? Thax
Click to expand...
Click to collapse
No Adreno idler is not implemented yet.
In sched based hotplugging, the load is shared among cores, there are no practical differences with the stock setup.
In per core basis of hotplugging, cpu cores are only plugged in when its really required, otherwise they are off.
mega-samu said:
It has the bug of the battery of -2%
dmesg: http://pastebin.com/df8fBgme
Click to expand...
Click to collapse
Alright, could you tell me when does this happen? When the battery is very low?
And looks like its a well known bug heh?
Ok thank you for your answer, based on your experience wich one it's better? Per-core or sched?
Waiting for CM version, nice work!
corphish said:
Alright, could you tell me when does this happen? When the battery is very low?
And looks like its a well known bug heh?
Click to expand...
Click to collapse
The mistake happens after flash the kernel. I think that it is for that xiaomi the new one put in indicator of battery, in the recent xiaomi.
I leave this post you, for if it can use you as help:
http://forum.xda-developers.com/redmi-note-3/how-to/fingerprint-battery-issues-custom-roms-t3429464
Well I discovered 2 bugs, when I change the style to per-core basis it doesnt stick after a reboot, another bug is when I change to per-core basis the Fingrepint sensor stops working
mega-samu said:
The mistake happens after flash the kernel. I think that it is for that xiaomi the new one put in indicator of battery, in the recent xiaomi.
I leave this post you, for if it can use you as help:
http://forum.xda-developers.com/redmi-note-3/how-to/fingerprint-battery-issues-custom-roms-t3429464
Click to expand...
Click to collapse
Ok. Have you flashed any other ROMs or kernel in which this issue isnt there.
Looks like xiaomi has done quite some changes in kernel since release.
donalberto17 said:
Well I discovered 2 bugs, when I change the style to per-core basis it doesnt stick after a reboot, another bug is when I change to per-core basis the Fingrepint sensor stops working
Click to expand...
Click to collapse
That change wont persist through reboot, you will have to do it everytime, or perhaps write an init.d script. Not any app supports this toggle which can provide set on boot.
And all I can make from this FP sensor issue when per core basis is it requires like all 6 cores to function, because in stock, I never saw any core go offline.
corphish said:
Ok. Have you flashed any other ROMs or kernel in which this issue isnt there.
Looks like xiaomi has done quite some changes in kernel since release.
Click to expand...
Click to collapse
In cm13 santosh with the patch camera fix or in mokee official, does not happen to me.
Nowadays I have the miui 8 of xiaomi.eu, that does not happen with the kernel stock either.
corphish said:
Ok. Have you flashed any other ROMs or kernel in which this issue isnt there.
Looks like xiaomi has done quite some changes in kernel since release.
Click to expand...
Click to collapse
I havn't tried your kernel but as i'm one of people with newer devices that have this problem, i can answer the question
mokee rom doesnt have this problem and the camera fix mentioned in here fixes the problem on CM maybe you can take a look and see what is the fix in that file.
mega-samu said:
In cm13 santosh with the patch camera fix or in mokee official, does not happen to me.
Nowadays I have the miui 8 of xiaomi.eu, that does not happen with the kernel stock either.
Click to expand...
Click to collapse
Alright, I am making a new build and will upload it as soon as its done.
Unfortunately I cant verify whether the battery bug is fixed or not.
Could you flash it and see then?
Thanks both of you for bringing this to my notice.
Let me know if there are any other breakages.
Edit
Here it is - https://www.androidfilehost.com/?fid=24659325368664523
Could you flash this and see? @mega-samu
corphish said:
Alright, I am making a new build and will upload it as soon as its done.
Unfortunately I cant verify whether the battery bug is fixed or not.
Could you flash it and see then?
Thanks both of you for bringing this to my notice.
Let me know if there are any other breakages.
Edit
Here it is - https://www.androidfilehost.com/?fid=24659325368664523
Could you flash this and see? @mega-samu
Click to expand...
Click to collapse
I have just proved it and it continues the bug.
Edit: The camera does not work
Edit2: In the kernel radon they finish of fix.: http://forum.xda-developers.com/redmi-note-3/development/kernel-t3414884/post68012485#post68012485
Enviado desde mi Redmi Note 3 mediante Tapatalk
mega-samu said:
I have just proved it and it continues the bug.
Edit: The camera does not work
Edit2: In the kernel radon they finish of fix.: http://forum.xda-developers.com/redmi-note-3/development/kernel-t3414884/post68012485#post68012485
Enviado desde mi Redmi Note 3 mediante Tapatalk
Click to expand...
Click to collapse
Alright, could you test yet another build soon?
Edit:
Here you go, this build has same name as previous one but they are different build, separately made and uploaded - https://www.androidfilehost.com/?fid=24591000424951734
Also check whether camera works fine or not @mega-samu
corphish said:
Workaround for Xiaomi's display tweaks
We will use different values for tweaking offered by KCAL. To do that, open Kernel Adiutor and go to 'Screen' page.
Reading mode
Set Blue to 196.
Colour mode: Warm
Set Green to 240, Blue to 208
Colour mode: Cool
Set Red to 208.
You can also tweak contrast values and other stuffs.
If you are not satisfied, feel free to tweak similarly.
Thunderplug
For some reason, TZ app crashes on MIUI, and kernel adiutor does not fully have support for ThunderPlug.
By default, ThunderPlug does sched based hotplugging. Hence stuffs like endurance mode wont work as it only works when hotplugging is done on per-core basis.
To enable hotplug on per-core basis, open terminal and type:
Code:
su
echo 1 > /sys/kernel/thunderplug/hotplug_style
To go back to sched based hotplug:
Code:
su
echo 2 > /sys/kernel/thunderplug/hotplug_style
Click to expand...
Click to collapse
if i change to echo1 fingerprint sensor is misbhaving ... one finger works other doenst and also a little bit of irresponsiveness
sasaboor64 said:
if i change to echo1 fingerprint sensor is misbhaving ... one finger works other doenst and also a little bit of irresponsiveness
Click to expand...
Click to collapse
Yeah I realized that.
Looks like all CPU cores are needed for it properly function.
As in stock all cpu cores are always on, I never saw anyone go off.
I might remove hotplug in next build.

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

[KERNEL][EOL][10][OneUI/LOS][G96xF/FD/N] RZ Kernel for Samsung Galaxy S9(+) Exynos

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
Adapted new Samsung EMS scheduler from Samsung 4.14 kernel (with 16ms PELT)
Gaming optimizations (reduce heat while maintaining performance stability)
Disabled battery-hogging WAKELOCKS
WireGuard and DriveDroid support
Security patch fixes adapted
Thanks to corsicanu for helping me with initial kernel support
XDA:DevDB Information
RZ Kernel, Kernel for the Samsung Galaxy S9
Contributors
remilia15
Source Code: https://github.com/diepquynh/android_kernel_samsung_universal9810
Kernel Special Features:
Version Information
Status: Testing
Created 2020-04-11
Last Updated 2020-08-27
Download link: Drive folder
CHANGELOG:
20200412: Initial release
20200823 [FINAL]: Post #10
Notices and Q&A
The kernel is based on tw10-android-4.9-q 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
The kernel's energy costs table is remade in favor of new EMS scheduler
Questions and Answers (Q&A)
Q: AnTuTu scores please?
A: This kernel isn't made for benchmarks so let's not talk about it
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: Installation procedure?
A: Simply flash the kernel with supported ROM and forget. No Magisk reinstallation needed
Reversed for future usage
Another kernel for S9 devices, awesome.?
Thanks
Updated initial release with latest defconfig base for DTC5 vendor
Limit of downloadings from google...
Hey. Will this kernel Work with dtc4 vendor?
Build kernel from scratch
I need help with building kernel outside of android build system.
I have downloaded sources from here: https://github.com/LineageOS/android..._universal9810 , installed cross-compiler, configured with "make exynos9810-starlte_defconfig", build with "make". For now I have file arch/arm64/boot/Image .
How to build correct dtb and pack it with the Image file to bootable image?
Thank you.
Second public build is coming, and this will be the final build of the kernel project!
We have been going through lots of ups and downs in the testing group, so here are the results
Changes:
Fixes zram on boot
Adapted a new kernel scheduler, supporting 32/64-bit task scheduling
Critical scheduler performance fixes
Adapted newer vendor support
As this is the final build of the whole kernel project, I'd like to say thank you to all supporters/developers who helped me improving the kernel. The whole project hasn't lasted long, but it was a great time. This and the RZ Kernel project for Exynos 8895 will also be abandoned, unfortunately
Once again, thank you for all your support!
remilia15 said:
Second public build is coming, and this will be the final build of the kernel project!
We have been going through lots of ups and downs in the testing group, so here are the results
Changes:
Fixes zram on boot
Adapted a new kernel scheduler, supporting 32/64-bit task scheduling
Critical scheduler performance fixes
Adapted newer vendor support
As this is the final build of the whole kernel project, I'd like to say thank you to all supporters/developers who helped me improving the kernel. The whole project hasn't lasted long, but it was a great time. This and the RZ Kernel project for Exynos 8895 will also be abandoned, unfortunately
Once again, thank you for all your support!
Click to expand...
Click to collapse
Arigathanks! I've been using the kernel for quite sometime and I like how it's underclocked by default. What device would you be moving to?
Sad to see such a nice kernel getting abandoned.
What needs to be done to keep it updated and relevant? Would love to keep it alive.
Using this kernel with havoc os, all is good as a daily driver battery life with this combo is awesome
Revontheus said:
Arigathanks! I've been using the kernel for quite sometime and I like how it's underclocked by default. What device would you be moving to?
Click to expand...
Click to collapse
I'm still using my daily driver (S8+) and currently don't have plans buying any other devices
BackToAndroid said:
Sad to see such a nice kernel getting abandoned.
What needs to be done to keep it updated and relevant? Would love to keep it alive.
Click to expand...
Click to collapse
Perhaps you can clone my kernel repo and do something with it. The most contemplating thing is to handle future vendor updates from Samsung. The kernel might go unbootable on latest One UI at some point, so someone must be doing the stock defconfig update (that's the least requirement to boot One UI ROMs with newer vendor)
Hmmm....Usually I can verify that the kernel has been installed by checking it's build date. But it still shows the same like before. I'm running official LOS and flashed the kernel in LOS recovery. According to the log it went fine. Maybe it doesn't work with that recovery?
Edit: Ok, in TWRP it works fine.
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
BackToAndroid said:
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
Click to expand...
Click to collapse
It works without issues for the most part except for USB C audio output which stutters compared to stock kernel.
BackToAndroid said:
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
Click to expand...
Click to collapse
I tried it. Some tweaks not working like showing download speed and reverted back the old power menu (no emergency call) which is baked in the rom and the settings menu changes like 2 battery options in the menu. One is fixed at maximum power saving and cant change while another is on the device health or something which can be change. I also found that sometimes it ramps up the clocks without any reason i still manage to get 4.5-5.3hrs of sot with light usage. The chrome is unusable since it bugged out like its inverted color and cant see sh*t.
BackToAndroid said:
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
Click to expand...
Click to collapse
Just flashed it - seems to work fine with 1.8
UweRammelt said:
Just flashed it - seems to work fine with 1.8
Click to expand...
Click to collapse
How was the standby drain? What twrp did you use? I used 3.4.0.0 of TWRP. The chrome is super dark and cant see. Can you confirm this or im an isolated case? Do you think its because of not using twrp 3.3.1.1 that bugged mine? Hope you can help me. Thanks!

Development BKLYN Kernel for SM-G998B (Samsung Galaxy S21 Ultra)

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....
ALWAYS BACKUP YOU’RE DATA BEFORE FLASHING.
This tutorial assumes you understand how to use adb and fastboot.
Your device’s bootloader has to be unlocked.
IMPORTANT NOTE: It seems some users need to flash a vbmeta image file provided by Google in order to boot and user the Custom Kernel. If you find yourself in a situation were you are not able to boot, please flash the attached vbmeta img along with the Kernel and if still bootlooping share the last_kmsg to determine what's driving the issue.
Download >> Link
Kernel Sources >>> Source
Join the Telegram Group for additional support - Link
Thanks to @afaneh92
Reserved
Change Log:
12/29/2021 -
BKLYN-Kernel-S21-Exynos-1.2.0
Upstreamed to 5.4.145
merge with G998BXXS3BULC/G998BXXS3BUL1 Kernel source
Improved backgroud apps running block
S21+ Support added.
12/11/2021 - Initial Set up more.
TTL Support added.
Wireguard Support added.
This will also work on android 11.
Hi, thank you for your work. Does this kernel has any battery optimizations in place?
bmonteiro said:
Hi, thank you for your work. Does this kernel has any battery optimizations in place?
Click to expand...
Click to collapse
Hi yes you can download the new version on my telegram which includes battery saver mod and background apps killer mod
bklyn_syed said:
Hi yes you can download the new version on my telegram which includes battery saver mod and background apps killer mod
Click to expand...
Click to collapse
Thank you, I'll try and report back.
@bklyn_syed
Just reporting back. I've been running version 1.0.5 (telegram) for about a day now and the change is very noticeable. The standby drain is minimal, I went to sleep with 89% and woke up with 86%, since A12 I was usually losing 8% during the night. The phone is also having less wakelocks caused by WiFi and bluetooth (I believe this is due to boefla's wakelock block implemented on the kernel), since a have a Watch connected to my phone 24/7 this really makes a difference.
Battery is also better and the animations are more consistent, everything I do now is more fluid. I'm running this on Dr. Ketan's ROM.
I would invite everyone running this ROM to test the kernel, at least for me I can't see me going back to stock kernel.
Thank you again for your work, and I'll be sure to donate when I receive my paycheck.
I just figured out rmnet also eats battery plan on fixing that with next update so it should be more stable
Hi Dev.
This installed and booted fine on BeyomdRom V1.9, Android 11.
Thank you.
Yw 1.0.7 up on telegram
Is it compatible with kcal?
vegetaleb said:
Is it compatible with kcal?
Click to expand...
Click to collapse
What is that?
If you have SM-G998B your bootloader is unlocked andriod 11 or 12 this kernel will work.
bklyn_syed said:
What is that?
If you have SM-G998B your bootloader is unlocked andriod 11 or 12 this kernel will work.
Click to expand...
Click to collapse
Kcal is an advanced colors control like rgb saturation
Is ther any plan to make kernel for S21+❤
vegetaleb said:
Kcal is an advanced colors control like rgb saturation
Click to expand...
Click to collapse
Aww yes I had that for my s20 ultra SM-G988U
Sahilrana7881 said:
Is ther any plan to make kernel for S21+❤
Click to expand...
Click to collapse
New kernel source has been upload, once I get the kernel up and running i'll update new source will be based on G998BXXU3BUK8.
SAMSUNG S21 SM-G998B
------------------------------------
BKLYN-Kernel-S21-Exynos-1.0.8
------------------------------------
Upstreamed to 5.4.136
------------------------------------
Kernel source updated. Download available in the download link
??

Categories

Resources