Englezos Kernel [OSS] - 0.13 [26 July 2021] - Redmi K20 Pro / Xiaomi Mi 9T Pro ROMs, Kernels, Re

Englezos Kernel - MI 9T/K20 Pro​
Englezos Kernel for the MI 9T/K20 Pro (raphael,in) is a minimal kernel focused on improving overall UX with performance and battery tuning. Support any AOSP OSS based rom both Android 10 & Android 11, no MIUI support.
Features:
Latest CAF msm-4.14 (Specific Qualcomm Optimized kernel base) with latest android-4.14-stable merged
Latest wifi and audio drivers tags
Power efficient workqueues and idle power consumption is reduced to the absolute minimum
Optimized CPU frequencies and EAS energy model for improved performance and battery life (idle also)
Selectively cleaned Xiaomi's drivers for reduced debugging and performance improvement
Dropped unnecessary boosting
Devfreq boost driver
SimpleLMK driver for better and improved memory utilization
Passes SafetyNet bootloader unlock check
LZ4 compression for ZRAM enabled by default
WireGuard VPN tunnel support
vDSO 32 patches to improve 32-bit performance
Modules support disabled for lighter kernel
Excluded a lot of debugging symbols for kernel size reduction
Root will be preserved even after flashing the kernel! (i.e. No Need to Reflash Magisk after flashing kernel).
Many other miscellaneous improvements not listed here, check the source
Installation instructions:
Flash the .zip file through your installed recovery or FKM.
Changelogs/Downloads:
Download from Github Releases
Reporting issues:
Before reporting an issue please check that it only occurs when having this kernel installed. Otherwise it may be an issue with the ROM.
Make sure you provide logs and or a descriptive information with your reports, else you will be ignored.
Be aware that battery issues are very likely related to your personal settings. Don't blame me for your modifications.
Thanks to:
nathanchance: for android-linux-stable
osm0sis: for his amazing anykernel3 script
kerneltoast
kdrag0n
All others who have their commits or contributions picked.
XDA:DevDB Information
Englezos Kernel, Kernel for the Redmi K20 Pro
Contributors
Englezos
Source Code: https://github.com/penglezos/kernel_xiaomi_raphael
Version Information
Status: Stable
Current Stable Version: 0.13
Created 2020-04-06
Last Updated 2021-07-26

Reserved

thank you for sharing your work

Is F2FS upstreamed from mainline ?

Nice i'm gonna check It out

Nice to see your kernel for this device.

Release 0.2 April 09
A hot-fix release fixing random reboots, sorry for any inconvenience. Download link at first post.

Englezos said:
A hot-fix release fixing random reboots, sorry for any inconvenience. Download link at first post.
Click to expand...
Click to collapse
thanks for the update!

no bug and smooth. great battery. clean source base correct upstreams.. thumb up.

thank for your work..
currently trying the latest kernel

I use K20 Pro. Download Englezos-raphael-0.2-MI9FOD.zip or Englezos-raphael-0.2.zip ?
Thanks

z1022 said:
I use K20 Pro. Download Englezos-raphael-0.2-MI9FOD.zip or Englezos-raphael-0.2.zip ?
Thanks
Click to expand...
Click to collapse
Depends on which ROM you're using. The ROM will either use mi9fod or LOS (normal) fod.
Sent from my Mi 9T Pro using XDA Labs

Any plans for miui in the future?

gwenmillett said:
Any plans for miui in the future?
Click to expand...
Click to collapse
No

can u change vibration more lighter haptic ?
kernel is good

This might be a little too aligned with power saving. I came from Candy kernel, and this kernel in comparison doesn't even register touches at times. It's also quite sluggish.
I like the idea though.

Turbine1991 said:
This might be a little too aligned with power saving. I came from Candy kernel, and this kernel in comparison doesn't even register touches at times. It's also quite sluggish.
I like the idea though.
Click to expand...
Click to collapse
Assuming you are coming from Candy kernel you are using MIUI? Also I need logs and more information as you can see.

How do I know which one to use for Lineage 17.1? Mi9FOD or the other?

justin.knoefel said:
How do I know which one to use for Lineage 17.1? Mi9FOD or the other?
Click to expand...
Click to collapse
The other

I want to thank the developer, I am using the kernel with the pixel experience +, everything is fine and the battery direction is very good, it is simple to get to 10 hours of screen, I am happy!

Related

[KERNEL] BitO-K12 / KU: Kernel for Nvidia Shield Tablet [Stock / Custom / N]

This kernel aims to be an alternative (and experimental) to Stock or custom ROMs (CM, Bliss,...) default ones, applying tweaks (kernel source configuration) and patches (if them apply) to improve general responsive, performance and functionality.
*Remember, test at your own risk.
BitO-KU
Base "pure" kernel with latest Nvidia code + Linux upstream (v3.10.108)
More info here.
Main Features for K12:
SafetyNet bypass (TESTING)
Latest Linux 3.10.108 code fully merged
Latest F2FS code backported from Linux 4.10
Multi Core and SMT optimizations enabled
Extra IO Schedulers (CFQ - default)
Extra Governos (Interactive - default)
Extra TCP Congestion algorithms (Cubic - default)
L2TP VPN enabled
ZRAM with LZ4 enabled (you can disable)
NTFS RW enabled
UTF8 as default code table
Module support disabled
CPUQuiet (CPU dynamic hotplug)
Main Features for KX10:
All K10-001 features + ...
OC for CPU and GPU (thx to @laufersteppenwolf )
Other optimizations:
Debug info stripped down
Branch jump optimizations
Clean cache
Front swap
Memcopy operations optimized for ARM A15
ZCache enabled
Cryptographic operations
Downloads:
BitO-KU
BitO-K12
BitO-KX10
Installation
Install ZIP via custom recovery
Install F2FS injector ZIP if you need proper F2FS support.
Notes
Don't forget flash DTB if necessary
If you need to update blobs, you can easily flash this zip (OTA 4.2), thx to @Steel01
Info about F2FS, and experimental TWRP to support it here.
I would be glad to get some feedback about battery life, performance, etc... All suggestions welcome :good:
Thnx:
@Steel01
@Bogdacutu
@faux123
@twistedumbrella
@berryman13
@Unjustified Dev
@SuperPichu
@corvus
Tegra Devs and every developer and tester behind and supporting this big community.
Big thx to everybody for helping to get a new device​
List of donnors for a new Shield Tablet:
@xanthrax : $25
@gasgiver : $10
@primaleph : $25
@marvi0 : $10
@strann0 : $10
@DR_HAX34 : $15
-----------------------------
TOTAL: $95
XDA:DevDB Information
BitO-K, Kernel for the Nvidia Shield Tablet
Contributors
BitOBSessiOn
Source Code: https://github.com/BitOBsessiOn/android_kernel_nvidia_shieldtablet
Kernel Special Features: Latest Nvidia sources, stable, fast, responsive, smooth
Version Information
Status: Stable
Current Stable Version: K10-006
Stable Release Date: 2017-06-25
Current Beta Version: K12
Beta Release Date: 2018-05-28
Created 2015-04-01
Last Updated 2018-05-29
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
pretty and nice
Running almost perfect in CM12
Waiting for OC I know you can do it,I use run the shaky156 OC 2.499 kernel for almost 1 months with no problems and I switched to CM12
Thanks and keep the nice work
kickassdave said:
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
Click to expand...
Click to collapse
Thnx, OP updated.
kickassdave said:
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
Click to expand...
Click to collapse
BitOBSessiOn said:
Thnx, OP updated.
Click to expand...
Click to collapse
And right after flashing CM12 in TWRP
That's what I did anyways.
Anybody can give me feedback about battery on CM 12 / 12.1 when device screen off (deep sleep), please?
Thnx!
BitOBSessiOn said:
Anybody can give me feedback about battery on CM 12 / 12.1 when device screen off (deep sleep), please?
Thnx!
Click to expand...
Click to collapse
The - latest wifi ROM- version you uploaded in the CM12 thread also includes your kernel as presented here?
Is it possible to include colour profiles in the kernel? Love it on my nexus 5! Looking forward to seeing this move forward
Also is there a rest of world lte version in the works? Thanks
silasje1 said:
The - latest wifi ROM- version you uploaded in the CM12 thread also includes your kernel as presented here?
Click to expand...
Click to collapse
Yes, I always compile CM 12.x with my kernel version. The 12.1 is totally experimental.
ishamm said:
Is it possible to include colour profiles in the kernel? Love it on my nexus 5! Looking forward to seeing this move forward
Also is there a rest of world lte version in the works? Thanks
Click to expand...
Click to collapse
Take note for colour profiles but I don't know how complex it can be... I'll be studied, sure.
About LTE RoW (wx_un_do) vs LTE US (wx_na_do) they are totally compatible as @Steel01 and me have seen. I have LTE RoW model and actually use wx_na_do compilation. In the future, perhaps, we will create a specific branch.
BitOBSessiOn said:
Yes, I always compile CM 12.x with my kernel version. The 12.1 is totally experimental.
Click to expand...
Click to collapse
I will be away a few days so a lot of sleep time for the tablet Will report
Here's some cpu state time info for u. 51mhz is deep sleep right?
With CPU Spy you get how long the device is in deep sleep: http://forum.xda-developers.com/showthread.php?t=1011497
Cpu spy capture for u. I've been running it like I stole it all day.
I don't have installed CPU Spy but BBS reports that it sleeps like a baby.
Got a spare apk for bbs by chance?
Download Better Battery Stats XDA edition here http://forum.xda-developers.com/showpost.php?p=15869886&postcount=2
Just wanted to let u know the mic issue was a gapps thing, the minimal edition has problems, went back to pagapps (the final 03/15 one) and if I flash this kernel on steels cm12 it works perfect. No sound fc either. The ONLY issue I found is moving to SD. Still says no room even after the folder mount patch. Battery is great btw, thanks much for the work
Is it possible to add double tap to wake / sleep? ☺
Sent from my SHIELD Tablet
badly and +
drewski_1 said:
Is it possible to add double tap to wake / sleep?
Sent from my SHIELD Tablet
Click to expand...
Click to collapse
SD fix
OC CPU and GPU

gpl | abyss kernel 2.00 | B170/B180/NCS/fRomFuture

Hi Huawei P9 people!
This is my modified kernel with some kernel optimizations and some compiler optimizations.
The goal of abyss-caf is to compromise stability and improved performance.
I will not be overhauling this project with changes that are not logical to add.
This kernel should work on all stock based roms; there is a separate version for NCS rom.
How does one achieve this?
- build kernel with an optimized toolchain
- use compiler optimization flags (experimental)
- remove redundant code
- improve existing code with more efficient code
- reduce/increase speed of timers (depends on what type of function)
- etc. (most are not easy to explain)
This kernel is built with Linaro GCC 4.9.4 that is optimized for ARM64 devices.
Is there actually a performance improvement?
With all the changes added up, there should be. Whether or not one notices the difference is another thing.
Personally, I do feel the performance difference. It is easier to notice the difference with lower level specs.
For those interested in how the kernel optimizations will benefit/work, please look at my github source and read the commit messages.
For those interested in how the compiler optimizations/hacks will benefit/work, please look at this article.
Downloads:
BasketBuild
AFH
Source:
GitHub
I do not mind if there's some non-development/off-topic discussion here, just no discussion about other works that is nowhere near related to mine.
Also, please refrain from comparing works here; it really kills the spirit of development. Go do that in some other thread.
XDA:DevDB Information
abyss kernel for stock and stock based roms, Kernel for the Huawei P9
Contributors
kwoktopus, paulobrien, arter97, flar2, Christopher83, Cl3Kener, frap129
Source Code: https://github.com/kwoktopus/abyss_kernel_eva
Kernel Special Features: MAJOR KEY
Version Information
Status: Testing
Created 2016-08-24
Last Updated 2016-10-08
Main Patches and Features:
- Abyss Optimizations (compiler)
- optimized square root algorithm (3x faster)
- added BFQ io scheduler (now default)
- backported random from Linux 4.2+ (better entropy, better performance)
- utilize power efficient workqueues all over the kernel
- port quickwakeup driver for hisi from moto
- optimized lib patches
- optimized arm64 lib patches
- disabled gentle_fair_sleepers for better UX
- enhanced multicore decision making
How to install:
Flash the proper kernel zip in TWRP.
New to phone development?
If you are new to these forums or development in general,
please consult other members before trying this out.
There is no shame in asking for help politely and respectfully,
as long as you don't quote the whole OP or think slower than a sloth.
Frequently Asked Questions:
Is this a custom kernel?
I was asked this question once, and it posed as a real good question. I do not consider abyss to be a "custom kernel" per se, but more so as a modified kernel. The patches and features that go into this kernel do not make it customizable. What they do is improve what has already been implemented. It is like swapping a car's engine for a better one rather than just adding LED flooring lights and fancy car mats.
Can you add [this] and [that] feature to abyss?
Something I pride myself with this kernel is that it does not have a bunch of random, useless features or patches mashed into it. Everything put into this kernel is thought out well and tested. I see a lot of works being made popular because it has [this] and [that] feature when really, it's nothing revolutionary. As a matter of fact, most things added to any kernel will not make it 5x better than any other kernel. Most of the time, simple is better; and in this case it definitely is!
Awesome, will stay tune about new releases, will try the kernel later.
Just for clarify, kernel works in any P9 or just for L09 or L19?
jeremymolina said:
Awesome, will stay tune about new releases, will try the kernel later.
Just for clarify, kernel works in any P9 or just for L09 or L19?
Click to expand...
Click to collapse
There's no reason that it wouldn't work, but there's always that slight chance. Pretty sure you'll be fine
Finally! May God bless you!
---------- Post added at 08:13 AM ---------- Previous post was at 08:07 AM ----------
I have a question though.
Will it conflict with the L Speed app I'm currently using?
And to finish off my day (the start of many of yours), here is my 2nd release for y'all.
Code:
- optimized square root algorithm (3x faster)
- added BFQ io scheduler (now default)
- backported random from Linux 4.2+ (better entropy, better performance)
- utilize power efficient workqueues all over the kernel
- port quickwakeup driver for hisi from moto
- optimized lib patches
- optimized arm64 lib patches
- disabled gentle_fair_sleepers for better UX
- enhanced multicore decision making
abyss-caf-eva-nightly-20160824.zip
darthkir said:
Finally! May God bless you!
Click to expand...
Click to collapse
God has blessed me alright :victory:
darthkir said:
Will it conflict with the L Speed app I'm currently using?
Click to expand...
Click to collapse
Not sure why it would, what tweaks do you have turned on? It should be good to go, I highly doubt anything can go wrong with any sort of non-kernel related tweaks.
this is great news! You have my thanks
For anyone on NCS rom, the kernel will not boot for you. Please test this build out. I will be looking into using an AnyKernel 2.0 flash method for TWRP users so that we don't run into conflicts like these in the future.
abyss-caf-eva-ncs-20160824.zip
Not only my rom, its for all recommended if root is installed.
This is ****ing awesome kwoktopus, so excited to try your work (tomorrow). Finally some more new development for the great P9.
Thanks kwoktopus !
Can i flash your kernel on fRomFuture ROM ?
Salamender said:
Thanks kwoktopus !
Can i flash your kernel on fRomFuture ROM ?
Click to expand...
Click to collapse
Not exactly sure. If fRomFuture has ramdisk modifications then probably not, I'll have to make a separate version for it. If you would like to try, download both versions of the kernel and try.
kwoktopus said:
Not exactly sure. If fRomFuture has ramdisk modifications then probably not, I'll have to make a separate version for it. If you would like to try, download both versions of the kernel and try.
Click to expand...
Click to collapse
Neither working on fRomFuture, tried with TWRP flash image method, when i get home ill try with fastboot also.
edint3000 said:
Neither working on fRomFuture, tried with TWRP flash image method, when i get home ill try with fastboot also.
Click to expand...
Click to collapse
If it doesn't work even through fastboot, try flashing my test versions.I will upload it with changes for fRomFuture that may work. Stay posted
edit: i am running low on bandwidth from all the source downloading lately, can someone upload the boot.img from the latest fRomFuture build
Uh...probably super obvious, but do you need unlocked BL and/or root in order to flash the kernel? Ta.
kwoktopus said:
If it doesn't work even through fastboot, try flashing my test versions.I will upload it with changes for fRomFuture that may work. Stay posted
edit: i am running low on bandwidth from all the source downloading lately, can someone upload the boot.img from the latest fRomFuture build
Click to expand...
Click to collapse
Here it is
edint3000 said:
Here it is
Click to expand...
Click to collapse
Try flashing the kernel attached, see if it works
Hi.
I've tried the kernel clean on the NCS ROM 1.2.
Unfortunately, the camera failed to launch and I noticed jerkiness in response.

[Kernel] Project T Kernel for ZTE Axon 7 Mini

Hi guys,
I know that this forum is not widely used by ZTE Axon 7 Mini owners, but I still want to share my work the kernel used by the stock firmware.
Most of the parts were of course already based on the work of others, so I will give credits at the end of this thread of course.
Pre-requisites:
Unlocked bootloader
TWRP flashed
Knowledge you do this all at your own risk! I tested this kernel with my EU model, so I don't know if this will work on the US models, too.
Features:
- Based on latest kernel source shared by ZTE (ZTE B2017G Nougat(7.1.1) Kernel(3.10.84))
- Built with GCC 4.9 toolchain
- UC to 499MHz for BIG and 403 MHz for LITTLE (thanks to @flar2)
- OC to 1651 for BIG (again @flar2)
- Additional governors: yankactive, blu-active, impulse
- Additional IO schedulers: Sioplus, Zen, FIOPS. Tweaked Row is set as default
- Additional TCP congestion algorithms with westwood being the default one
- Approx. 30% faster due to CRC calculation and auditing disabling
- Sweep2Sleep on the navigation bar
- frandom RNG
- Sound Control by @flar2
- ZRAM using LZ4 optimized for ARM by default
- Optimized power management driver by @Yank555
- Native exFAT support without needing fuse @dorimanx)
- KCAL
- Vibration control
- uses higher power CPUs to boot (got roughly 3s faster boot time)
- Dynamic Fsync
- Gentle Fair sleepers can be toggled via sysfs and Kernel Adiutor
- Smaller tweaks
To do:
- Switch toolchain
- Remove "dirty" from the kernel name Apparently I need to push all changes to github before compiling(or recompiling the same kernel as soon as I pushed everything)
- Set the phone to accept the lower frequencies without having to set this up in Kernel adiutor
- Alter interactive governor to use full frequency range
- Add D2TS for screen and fingerprint sensor, S2W
- Wakelock reductions
- Maybe BLX, KCAL (even though I don't get the point to implement it) I was curious and did it now, looks nice
- LED and vibration control
- Switch hotplugging mechanism to Lazyplug, hotplugging is not that energy efficient anymore
See the attached picture regarding the CPU stats when using yankactive for example
Credits go to:
@Lord Boeffla @flar2 @dorimanx @Yank555
Unfortunately I didn't give proper credits on my github, I want everyone to know, that none of the features were designed and written by myself, just adapted to work on our phones!
Download here:
https://drive.google.com/drive/folders/0B0mn6OUqIDzBZG1DM1Y4dmxUV2c
Flash in TWRP, root and every other ramdisk modification will be preserved (Anykernel2 by osmosis)
Github:
https://github.com/TheSSJ/tulip_kernel
Changelog
V1.1: Initial version for public release!
V1.2: KCAL support
V1.3: Changed boot CPUs to higher power ones, added dynamic Fsync, added Quick Wakeup driver
V1.4: Gentle Fair Sleepers can be toggled now, ROW scheduler tweaked
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
TheSSJ said:
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
Click to expand...
Click to collapse
Thank you for replay, what governor you use?
You will need to try and see.
It uses anykernel which is good. But aokp and lineage are on android 7.1.2 while stock is on android 7.1.1. There was at least one kernel api change that may cause problems. But I'm not sure.
I'm assuming this package has the wlan module also...?
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
@ssj @tdm
Guys, try flash kernel, AOKP, don't work.
W8 kernel version from customs
tdm said:
I'm assuming this package has the wlan module also...?
Click to expand...
Click to collapse
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
TheSSJ said:
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
Click to expand...
Click to collapse
tdm said:
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
Click to expand...
Click to collapse
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
TheSSJ said:
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
Click to expand...
Click to collapse
But we can test this. But if you not want - don't worry! :good:
Askael said:
But we can test this. But if you not want - don't worry! :good:
Click to expand...
Click to collapse
Will think about it
Version 1.2 is out, now with KCAL screen control support!
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
kevincai96 said:
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
Click to expand...
Click to collapse
Hi,
Feel free to open a new thread it is important to push this phone amd its potential as good as possible!
Development will go on, i still have some items to implement :good:
@TheSSJ
Hi! Any news about update?
@TheSSJ
Good to see you in Axon mini from zenfone 2
Askael said:
@TheSSJ
Hi! Any news about update?
Click to expand...
Click to collapse
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
Druboo666 said:
@TheSSJ
Good to see you in Axon mini from zenfone 2
Click to expand...
Click to collapse
I was spotted It's a great phone, let's get the most out of it
TheSSJ said:
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
For this stok kernel
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
i am using Axon 7 and yeah its a great phone i must miss you in axon 7
Updated version uploaded and available on G-Drive, boot time increased by 3s (you take what you can get )
/EDIT: Next version out, small enhancements and adding the possibility to enable/disable gentle fair sleepers

[KERNEL][OTA][AOSP/LOS][CLANG-7.0][4.4.138] CodeX Kernel v1.2 [July 1, 2018]

​
Introduction:
CodeX makes your device even snappier than before. Being a battery and performance balanced kernel it never compromises on stability. You know why? Cause your device deserves it! CodeX main priority is battery. More Juice equals More Fun.
Introducing the new CodeX Kernel Updater, which downloads the latest builds available from the remote server and flashes it automatically! All you need is network access to download the latest builds from the app. Then just click the Flash Kernel option in the navigation menu to flash the kernel. This app flashes the kernel through TWRP automatically and reboots your device with the latest CodeX Kernel
Rules that CodeX follow:
Be up to date with linux-stable
Stability and Security are at peaks
Features will be added based on Stability (If some feature breaks the stability, then I'll need to break it)
Have fun. And yeah, let me know if you need any feature. I'll always consider user opinions. But as I said, If that feature breaks the stability then I'll consider removing it!
Okay, time for most Interesting part, FEATURES!
Features:
OTA
More Juice
Built with clang-7.0.2
Latest CAF upstream tag merged ( LA.UM.6.2.r2-03900-sdm660.0)
Latest linux-stable upstream (4.4.138)
Built on OOS source
DT2W support
Deep sleep fixed
Dirty Ratio tweaks
Adjust swappiness to 40
Better performance than stock
KCAL color control
Boeffla wake lock blocker
CPU wake boost driver
Switch for Fsync
Adreno boost (Disabled by default)
Wireguard VPN support
Disables dm-verity
AnyKernel2 Flashable
CPU Governors:
Alucard
Blu_active
I/O Schedulers:
Maple(default)
Instructions:
1. Download both the builds (given below).
2. Flash both of them in TWRP/RWRP.
3. Reboot and enjoy
Downloads:
CodeX Updater:
Version 1.0:
https://github.com/AxelBlaz3/Codex-Kernel/raw/gh-pages/Builds/CodeX-v1.0.zip
Don't install any of these APKs directly without flashing the Version 1.0 zip! (If you do so, Flashing Kernel option crashes the app!)
Version 1.1:
https://github.com/AxelBlaz3/Codex-Kernel/raw/gh-pages/Builds/Codex-v1.1.apk
CodeX Kernel:
Version 1.0:
https://github.com/AxelBlaz3/Codex-Kernel/raw/gh-pages/Stable/Codex-v1.0S.zip
Version 1.01:
https://github.com/AxelBlaz3/Codex-Kernel/raw/gh-pages/Stable/Codex-v1.01.zip
Version 1.1:
https://github.com/AxelBlaz3/Codex-Kernel/raw/gh-pages/Stable/Codex-v1.1.zip
Version 1.2:
https://github.com/AxelBlaz3/Codex-Kernel/raw/gh-pages/Stable/Codex-v1.2.zip
FAQs:
1. Can you add xyz feature?
A. As already said, I'll always consider user opinions. But as I said, If that feature breaks the stability then I'll consider removing it!
2. Why the app needs internet for loading changelog or while flashing kernel?
A. Well, the app tries to load the latest changelog available in the remote server. And regarding flashing kernel, it makes sure that you're flashing latest version of the kernel.
3. Battery drains a lot! Damn CodeX?!
A. I've added most of the battery patches to the kernel. Still if battery drains faster for you, then consider either calibrating your battery or use an app like BetterBatteryStats to know what's causing the drain. Alternatively, I suggest using Greenify.
4. Which ROMs does this kernel support?
A. Have a look at the title. Only AOSP/LOS based ROMs. Though you can try it on MIUI, but you may face bugs
5. Why does the app says CodeX not found?
A. Well, I made this app to work exclusively with CodeX Kernel. I may plan to support other kernels in the future.
6. App Force closes on clicking Flash Kernel?
A. Make sure that you have your Updater in the system.
7. Red Wolf Recovery doesn't flash CodeX while in recovery?
A. No, as of now. An update to the RedWolf Recovery is needed to fix this.
Thanks to:
@sscsps for his cloud
@Psycho-Mods for helping me in UI designing and fixing weird bugs
@Shahan_mik3 for DT2W
@shekhawat2 for Wi-Fi fix
@nathanchance
@Sultanxda
@franciscofranco
@osm0sis for AnyKernel2
Sources:
https://github.com/AxelBlaz3/Codex-Kernel
Telegram group:
Whyred - OFFICIAL: https://t.me/redminote5proofficial
XDA:DevDB Information
[KERNEL][OTA][AOSP/LOS][CLANG-7.0][4.4.138] CodeX Kernel v1.1 [June 24, 2018], Kernel for the Xiaomi Redmi Note 5 Pro
Contributors
AxelBlaz3
Kernel Special Features: Fixed battery drain!
Version Information
Status: Stable
Current Stable Version: 4
Stable Release Date: 2018-06-17
Created 2018-06-24
Last Updated 2018-07-01
Kernel Changelog:
Version 1.01 (June 18, 2018):
Fixed vibration intensity control
Version 1.1 (June 24, 2018):
Qnovo Charging Interface
Adreno Idler
Fingerprint boost driver
Switch for CRC
TTL fixation support
Set westwood as default TCP
Backlight Dimmer
SDFAT support
Added more wakelocks to block list
Few battery saving algorihtms (thanks to @Sultanxda)
Many more patches under the hood!
Version 1.2 (July 1, 2018):
Remove Qnovo charging interface
Added Suspend driver to fix idle battery drain
Add NVS hibernation driver
Fixed faster battery drain (Which persists in the previous CodeX verison)
CodeX Updater Changelog:
Version 1.1:
Fixed changelog (It wasn't loading before)
A sanity check while flashing kernel.
Thanks to TeamWhyred
Now we have this thread 3 times xD
Gesendet von meinem Honor 6X mit Tapatalk
felix-development said:
Now we have this thread 3 times xD
Gesendet von meinem Honor 6X mit Tapatalk
Click to expand...
Click to collapse
Damn yeah! I've network problem while making this thread. I'll request the moderator to delete the other 2
I think this is an XDA problem... I had same problem with always loosing connection to XDA while creating thread in past and other people told me they had aswell...
AxelBlaz3 said:
Damn yeah! I've network problem while making this thread. I'll request the moderator to delete the other 2
Click to expand...
Click to collapse
Gesendet von meinem Honor 6X mit Tapatalk
AxelBlaz3 said:
Damn yeah! I've network problem while making this thread. I'll request the moderator to delete the other 2
Click to expand...
Click to collapse
Flashlight broken bro ...look into it
Sent from my Redmi Note 5 using Tapatalk
blackman01 said:
Flashlight broken bro ...look into it
Click to expand...
Click to collapse
Which ROM are you on?
AxelBlaz3 said:
Which ROM are you on?
Click to expand...
Click to collapse
AEX 5.6 Official
Sent from my Redmi Note 5 using Tapatalk
blackman01 said:
AEX 5.1 Official
Click to expand...
Click to collapse
If you installed the app, contact me by clicking the Telegram. Direct support is better
AxelBlaz3 said:
If you installed the app, contact me by clicking the Telegram. Direct support is better
Click to expand...
Click to collapse
K
Sent from my Redmi Note 5 using Tapatalk
Can you try to unlock the cpu/gpu freqs? I know the 636 is just an 660 underclocked. It would be awesome if we would atleast be able to clock our gpu higher than the stock 430mhz. It's pretty slow(gpu)
I(for one) don't really care about battery/sot. Everything that's past 6 hours is ok for me, so I would love to be able to clock my gpu a little higher.
blackman01 said:
AEX 5.1 Official View attachment 4528775
Sent from my Redmi Note 5 using Tapatalk
Click to expand...
Click to collapse
Hope U enjoy the Rom
Robert- said:
Can you try to unlock the cpu/gpu freqs? I know the 636 is just an 660 underclocked. It would be awesome if we would atleast be able to clock our gpu higher than the stock 430mhz. It's pretty slow(gpu)
I(for one) don't really care about battery/sot. Everything that's past 6 hours is ok for me, so I would love to be able to clock my gpu a little higher.
Click to expand...
Click to collapse
Well, as I said I'll consider user opinion. But still, it breaks the stability! So I won't do it. Hope you're enjoying kernel
Vibration strength is not working.
Using latest RR.
Finally u made it.
Hosssain said:
Vibration strength is not working.
Using latest RR.
Click to expand...
Click to collapse
Well, I haven't added any vibration related feature to the kernel yet. Will add it in the next update
Theme name?
blackman01 said:
Flashlight broken bro ...look into it
Click to expand...
Click to collapse
Flashlight working for me bro AEX 5.6 Official
Karthik Sivamani said:
Flashlight working for me bro AEX 5.6 Official
Click to expand...
Click to collapse
He fixed it. Just forgot to mention. :laugh:

Orokin Kernel for Android 9.0

Orokin Kernel
Powered by Project Oberon​
Code:
[CENTER][U]By flashing this kernel, you understand that:[/U]
You are flashing it on the right device.
This kernel is flashed on a compatible ROM.
I am not held responsible for any damage nor negative side effect that appears on your device.[/CENTER]
What it is
Orokin Prime is a kernel that integrates fluid performance with efficient battery consumption by employing custom tuned governor values merged with only the latest code updates.​
What does it have
Latest CAF Kernel Tag "LA.UM.8.6.r1"
Latest AOSP Linux 3.18
Built with Clang 10
Switched to Completely Fair Scheduling (CFS) for compatibility with MSM8953
Wakelock Blocker
CPU Input Boost
Devfreq Boost
Upstreamed ZRAM
Cortex A53 + arm64 Optimizations
USB Fastcharge
Spectrum Support with Custom Profiles
K-lapse + Kcal
Various Optimizations by Kerneltoast
Various under-the-hood code magic
Delivered by anykernel3​
Credits:
The Linux Foundation and Codeaurora
The Linux kernel group for their assist
Various Mido devs for their upkeep of this device
Everyone in the global dev community
No thanks to XDA for their bloody useless DevDB features
/r/xdacirclejerk for doing the needful
Download Link: Click here
XDA:DevDB Information
Project Oberon, Kernel for the Xiaomi Redmi Note 4
Contributors
Watanabe_You
Source Code: https://github.com/ArbitraryFox/Dess
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V6
Stable Release Date: 2020-04-19
Created 2020-04-19
Last Updated 2020-05-24
Reserved
Changelog:
V6
Merge AOSP Linux changes
Enabled CPU Input Boost and Devfreq Boost
Clean up kernel name
Made UI more snappier
Various memory improvements
V5
Merge CAF update to LA.UM.8.6.r1-04300-89xx.0
Merge AOSP Linux changes
Update sched/fair
Fix a problem where battery was draining faster due to incompatible modules
Tweaked Interactive governor
Commenting here because of a decades old bug that XDA Labs app couldn't be arsed to fix.
Compatible any of ROM here?
Sent from my Redmi Note 4 using XDA Labs
ICM7 said:
Compatible any of ROM here?
Click to expand...
Click to collapse
Yes, except original MiUI
Compatible for Evolution X???
ShreyYy said:
Compatible for Evolution X???
Click to expand...
Click to collapse
Yes
Watanabe_You said:
Yes, except original MiUI
Click to expand...
Click to collapse
The titles says for Android 9
bonbonboi said:
The titles says for Android 9
Click to expand...
Click to collapse
Yes and?
Hey I am new to this kernel and all !!
I just have to flash the zip file , is that it !??
Will I have to format after flashing ?
I'm currently on bootleggers Android 9.0, will this work?
Watanabe_You said:
Yes and?
Click to expand...
Click to collapse
Nevermind, btw I flashed it, it seems very stable and cool with the battey, just a little thing which is it doesn't show its name here at Settings > About Phone > Android version > Kernel version
It shows 3.18.140 and the build date only.
Edit 02: I saw this "Clean up kernel name" in the changelog of V6
For real!. but why?
@bhijeetgupta2000 said:
Hey I am new to this kernel and all !!
I just have to flash the zip file , is that it !??
Will I have to format after flashing ?
I'm currently on bootleggers Android 9.0, will this work?
Click to expand...
Click to collapse
Just flash it, nothing else needs to be done.
bonbonboi said:
Nevermind, btw I flashed it, it seems very stable and cool with the battey, just a little thing which is it doesn't show its name here at Settings > About Phone > Android version > Kernel version
It shows 3.18.140 and the build date only.
Edit 02: I saw this "Clean up kernel name" in the changelog of V6
For real!. but why?
Click to expand...
Click to collapse
Because the original text showed too much useless information.
Compatible with Android 10 ?
sumirandahal76 said:
Compatible with Android 10 ?
Click to expand...
Click to collapse
Yes but you lose out on the governor tweaks.

Categories

Resources