[Kernel] [OC] IceCold Kernel R5 [4.4.153] [Pie Kernel Source based] - Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,

IceCold Kernel
IceCold Kernel is a basic kernel for whyred (Redmi Note 5) that contains some special features and aims for best balance between performance and battery.
Features included
- Rebased to pie kernel source and caf base
- Merged Latest CAF Tag
- Implemented EAS (EM by tytydraco)
- top-app stune boost hardcoded to 1
- NTFS support
- Timer tick rate 80Hz
- Many things added to power efficient workqueue
- Update TAS2557
- schedutil default governor
- Sound control
- More sound improvements
- DTS Support
- Anxiety default I/O scheduler
- HDR support
- Charging Limiter
- Night Charge
- Use lpm parameters of sdm845
- Rapid GC for f2fs
- Simple Thermal
- Only wake GPU when needed (not on touch)
- TCP improvements
- Per-Process reclaim
- Remove debugfs
- Nearly complete VLA free
- Remove inefficient frequencies
- Simple Low Memory Killer
- Enable Idle Dynticks
- Other under the hood stuff
How to install DTS Sound mod
Credits to the developer and "porter" of this awesome sound mod
Issues
U tell me (got no issues with it, pretty stable) ​
Support​
I only support Custom ROMs... It is working on MIUI but I won't fix issues for MIUI! (As example Kernelversion shows unavailable)
Also it's confirmed to work too on Mi6x (Wayne) but i won't support it officially because i don't own this device!​
Flashing​Make sure u backup ur current Kernel before flashing! I'm not taking responsibility for any damage!
If you installed a custom Kernel before please flash the boot.img of the currently installed ROM or dirty flash the ROM (I prefer dirty flashing)
Then just flash the zip file through TWRP...
And have fun with the full "IceCold Experience"
Download
Stable Builds
TestBuilds will be only available in Telegram Group!
If there are any questions, hints or something like that feel free to post them!
Or join Telegram Group
https://t.me/IceColdKernel
​
Credits:
srfarias - for the caf base
tytdraco- for his energy model
uvera - Helped implementing simple thermal
kerneltoast - for many improvements
kdrag0n - also many improvements
Information
IceCold Kernel for Redmi Note 5 Pro (aka whyred)
Contributors
lexx.ps (PrimoDev23)
Source Code: https://github.com/PrimoDev23/kernel_xiaomi_whyred
Version Information
Status: Stable Release
Created 2019-01-23
Last Updated 2019-06-26

I can confirm!!! The kernel is 100% working on mi 6x(Wayne) with F2FS.
Tnks..

ARNOB XENON said:
I can confirm!!! The kernel is 100% working on mi 6x(Wayne) with F2FS.
Tnks..
Click to expand...
Click to collapse
Ty for testing
Added the information in the thread

Can f2fs work with Xiaomi.eu or other miui roms?

kostas gp said:
Can f2fs work with Xiaomi.eu or other miui roms?
Click to expand...
Click to collapse
rom nees to support this as well as twrp and kernel.. theres one miui rom named Kosmos that supports f2fs
https://www.youtube.com/watch?v=x7RKyAd-scE

ARNOB XENON said:
I can confirm!!! The kernel is 100% working on mi 6x(Wayne) with F2FS.
Tnks..
Click to expand...
Click to collapse
W8 xd
How could u test? Anykernel will not install on wayne, it will cancel...
I didn't made the installer script compatible with wayne yet
Edit: Uploaded a stable version with some patches i've got working, should be smooth.
Also added wayne in the installer script so wayne users can flash it!
Keep in mind I don't officially support it

Good that you decided to start your own topic!

raptorddd said:
rom nees to support this as well as twrp and kernel.. theres one miui rom named Kosmos that supports f2fs
https://www.youtube.com/watch?v=x7RKyAd-scE
Click to expand...
Click to collapse
Thanks for answering

lexx.ps said:
W8 xd
How could u test? Anykernel will not install on wayne, it will cancel...
I didn't made the installer script compatible with wayne yet
Edit: Uploaded a stable version with some patches i've got working, should be smooth.
Also added wayne in the installer script so wayne users can flash it!
Keep in mind I don't officially support it
Click to expand...
Click to collapse
wired problem on wayne after reboot audio port is not working

ARNOB XENON said:
wired problem on wayne after reboot audio port is not working
Click to expand...
Click to collapse
As I mentioned I don't support this device. Try wiping cache and dalvik.
Reboot again won't fix?
Normal audio working?
BT-Audio working?
Otherwise I can't help u because i only have whyred and not wayne.

lexx.ps said:
As I mentioned I don't support this device. Try wiping cache and dalvik.
Reboot again won't fix?
Normal audio working?
BT-Audio working?
Otherwise I can't help u because i only have whyred and not wayne.
Click to expand...
Click to collapse
From 1st boot every thing works all audio after a reboot only headphone is not detecting.

ARNOB XENON said:
From 1st boot every thing works all audio after a reboot only headphone is not detecting.
Click to expand...
Click to collapse
Tried wiping caches?
I think it won't help but it's worth a try i think, else u have to switch kernel (eventually I will find a fix for it later)

Awesome kernel. Smooth for pubg..

alvinrs said:
Awesome kernel. Smooth for pubg..
Click to expand...
Click to collapse
It really is? Heard it has some issues on pubg
Edit: Should work, working on an update and trying some things

lexx.ps said:
Thanks for answering
Click to expand...
Click to collapse
is fsync enabled or disabled .?

raptorddd said:
is fsync enabled or disabled .?
Click to expand...
Click to collapse
Should be enabled, not sure but find it no where in config

Updated some Informations in OP!

thx for your work, there is no way to apply some configs on cpu section - kernel auditor?
EDIT: Nevermind, I was trying to change the settings on the schedutil governor.
Keep the good work, thx!

Is it this undervolt kernel stable ? I mean will it cause data loss (bootloop) or Sleep Of Death ? Thanks

Ale uto said:
Is it this undervolt kernel stable ? I mean will it cause data loss (bootloop) or Sleep Of Death ? Thanks
Click to expand...
Click to collapse
No it's fine, using it myself and never got bootloop or any problem with it

Related

[KERNEL][5X][7.1.1-7.1.2][3.10.105] bullheadZ Kernel 2.0.0 [18/March/2017]

Hello...Friends,
I want to present my new work bullheadZ Kernel for Nexus 5X and this is my first experience kernel development. Therefore, If you have any bugs, report bug to me.
I hope you will love my work.
DISCLAIMER
Please, Read Instruction before downloading and flashing.
Install Kernel at your own risk. I am not responsible for anything that may happen to your Device.
ABOUT
Starting....my bullheadZ Kernel Project for Nexus 5X. Build from Stock Kernel Source, adding more features and build flashable with AnyKernel2. ( Thanks to Sir @osm0sis )
Thank You.
FEATURES
• Build with AnyKernel2
• Working for Nougat 7.1.1 and 7.1.2 Preview
• Compiled with Google ToolChain Prebuilt
• Backlight Dimmer
• Forced Encryption
• DM-Verity Disabled
• Sound Control
• Kernel Samepage Merging
• Improve Battery Life
• Overclocked Slimbus
• Multi-ROM Support
• Upstream Linux Version 10.3.104
• Make File Optimization
• More Kernel Features
REQUIREMENT
• Kerernel Zip
• TWRP Recovery
• Android 7.1.1 and Up
INSTALLATION
• Download Kernel Zip
• Reboot to Recovery
• Flash Kernel Zip
• Reboot
• Done
UPDATING
• Download Kernel Latest Version
• Reboot to Recovery
• Flash Zip
• Reboot
• Done
DOWNLOAD
https://www.androidfilehost.com/?fid=673368273298939436
KERNEL MANAGER
For Your Kernel Management, You can use Kernel Adiutor App.
Kernel Adiutor App ( Credit to @willi Ye )
Kernel Adiutor App
THANKS & CREDITS
@osm0sis
@The Flash
@rachanta
I miss you all Sirs, Thanks for your guide and knowledge sharing.
XDA:DevDB Information
bullheadZ Kernel, Kernel for the LG Nexus 5X
Contributors
ZawZaw
Source Code: https://github.com/zawzaww/
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.0.0
Stable Release Date: 2017-03-18
Created 2017-02-22
Last Updated 2017-03-18
CHANGE LOG
Version 1.0.0 :
• Initial Released
Version 2.0.0 :
• Updated to Linux version 3.10.105
• Merged and update for N4F26T
• Bugs Fix
•••
Reserved.
Cool man, thanks
Enviado desde mi Nexus 5X mediante Tapatalk
HexaOctagono said:
Cool man, thanks
Enviado desde mi Nexus 5X mediante Tapatalk
Click to expand...
Click to collapse
Yeah Bro.
Thanks You
•••
Thanks for the kernel man :laugh:. Any plans on adding underclocking (302MHz) and overlcocking (1632MHz little & 2016MHz big)?
HesThatGuy said:
Thanks for the kernel man :laugh:. Any plans on adding underclocking (302MHz) and overlcocking (1632MHz little & 2016MHz big)?
Click to expand...
Click to collapse
Yeah Bro,
I will add in coming updates and
This is initial version Bro.
I'm a beginner...haha
Thanks You Bro
•••
ZawZaw said:
Yeah Bro,
I will add in coming updates and
This is initial version Bro.
I'm a beginner...haha
Thanks You Bro
•••
Click to expand...
Click to collapse
Excellent, I'll make sure to keep an eye on this and I appreciate the fast response as well .
HesThatGuy said:
Excellent, I'll make sure to keep an eye on this and I appreciate the fast response as well .
Click to expand...
Click to collapse
Thanks Yo so Much Bro.
@ZawZaw How did you get process reclaim working properly. Many other kernel devs have abandoned it because it caused a race condition in the kernel. Just curiosity. I've got much respect for you and I'm glad you were able to build a kernel. It's nice to see developers continue to grow and progress. Keep up the amazing work.
f2fs
kernel does not boot with f2fs data and cache, not even with data only it does not boot. This was used with jolla's twrp and pure nexus rom as base, can confirm other kernels like franco and jolla booted up and worked fine with data and cache formatted to f2fs, if you can take a look at that? thanks.
StarwarsMissionary said:
kernel does not boot with f2fs data and cache, not even with data only it does not boot. This was used with jolla's twrp and pure nexus rom as base, can confirm other kernels like franco and jolla booted up and worked fine with data and cache formatted to f2fs, if you can take a look at that? thanks.
Click to expand...
Click to collapse
Sorry Bro,
This is my bad Bro and
I will try to work in coming update.
•••
@ZawZaw I don't think your source got updated properly as the repo is blank on Github. I'd like to poke my head around.
The Flash said:
@ZawZaw I don't think your source got updated properly as the repo is blank on Github. I'd like to poke my head around.
Click to expand...
Click to collapse
No Sir,
I have one problem is that internet connection.
Now, connection is bad.
I will push code at tonight.
Thanks You
•••
Hey you are back with your own kernel!
Nice!
But there are an "errors" in your description:
-you invert last update and created date (22and 21)
But thanks a lot!
Now I think the best you can do is an all in one with all your work (so your customs roms in one, your sound mods,your substratum theme, your fonts and finally your kernel) ?
Good job bro!
PS: the first thing that people are waiting for a custom kernel for our device is battery as our device is quick enough even runing on low frequencies with the governor set on conservative and scheduler set on noop so yes as I say more juice more fun.
Sent from my LG Nexus 5X using XDA Labs
francos21 said:
Hey you are back with your own kernel!
Nice!
But there are an "errors" in your description:
-you invert last update and created date (22and 21)
But thanks a lot!
Now I think the best you can do is an all in one with all your work (so your customs roms in one, your sound mods,your substratum theme, your fonts and finally your kernel) ?
Good job bro!
PS: the first thing that people are waiting for a custom kernel for our device is battery as our device is quick enough even runing on low frequencies with the governor set on conservative and scheduler set on noop so yes as I say more juice more fun.
Click to expand...
Click to collapse
Hehee, sorry Bro.
I'm now edited thread and Done.
Thanks Bro
•••
ZawZaw said:
Yeah Bro,
I will add in coming updates and
This is initial version Bro.
I'm a beginner...haha
Thanks You Bro
•••
Click to expand...
Click to collapse
Guy on this device runing on lower frequencies don't save more battery as it runs on same voltages(see franco kernel thread) and overclocking?! You feel that your device is runing slow ?! Really I don't trust you...
No features of a kernel on nexus 5x are more battery but not by underclocking.
francos21 said:
Guy on this device runing on lower frequencies don't save more battery as it runs on same voltages(see franco kernel thread) and overclocking?! You feel that your device is runing slow ?! Really I don't trust you...
No features of a kernel on nexus 5x are more battery but not by underclocking.
Click to expand...
Click to collapse
Hmm Bro,
Your mean is battery life performance?
•••
ZawZaw said:
Hmm Bro,
Your mean is battery life performance?
•••
Click to expand...
Click to collapse
Yes better battery life is welcome but underclocking to 302 GHz don't save any battery.
But optimisation of performance are not really needed.
Sent from my LG Nexus 5X using XDA Labs
francos21 said:
Yes better battery life is welcome but underclocking to 302 GHz don't save any battery.
But optimisation of performance are not really needed.
Click to expand...
Click to collapse
Hmm Bro, Thanks.
I'm now understand your meaning.
•••

[KERNEL] [29/09] PriimaFerrari 1.0.2 [LOS]

Hi all!
I'm back here on Ferrari development after having aquired some skills
First of all, huge thanks to @thewisenerd for his great job updating the kernel to caf tags
Anyway, im here to bring new life (or kind of it) to my dad's Mi4i.
It is based off the lastest 8.1.5.x firmware rom (AOSCP, LOS, etc ...)
Features:
Updated to lastest LA.BR.1.2.9-03610-8x16.0 caf tag
Patched many security holes
Reduced load average
Ext4 updates
Tuned CFQ and setted as default IO Sched
Added Adreno Idler
Added ExFat support
Patched many drivers to work with Power Efficient WQ
Optimized CPU-Boost
Tuned Westwood
Download:
Here
Instruction:
- reboot to TWRP
- Dirty flash your current ROM (or flash boot.img of it)
- flash PriimaFerrari kernel
- reboot
if it doesnt boot, a logcat would be very appreciated.
If random reboots happens, then you should follow this:
Code:
adb shell
cat /sys/fs/pstore/console-ramoops > /sdcard/console-ramoops.txt
exit
adb pull /sdcard/console-ramoops.txt
Credits:
- thewisenerd
- faizauthar12
- ferrari-dev-team
- franciscofranco
- eng.stk
- arter97
- many more ...
XDA:DevDB Information
[KERNEL] [29/09] PriimaFerrari 1.0.2 [LOS], Kernel for the Xiaomi Mi 4i
Contributors
sys01
Source Code: https://github.com/FedericoBenedetti/android_kernel_xiaomi_ferrari
Kernel Special Features:
Version Information
Status: Testing
Created 2017-09-11
Last Updated 2017-09-29
Nope didnt boot stuck on mi logo. Couldnt take a logcat sorry. And whats with all the strange links in the op? weird!!
Kindly cook kernel which supports 5 Ghz wifi band also. All custom kernels of this device support only 2.4 ghz wifi band.
Will this kernel work on miui?? I'm on miui 7.9.7 global. And does this kernel support quick charging?
Made another test version:
HERE
I need to know only if it boots
sys01 said:
Made another test version:
HERE
I need to know only if it boots
Click to expand...
Click to collapse
Nop it stuck at Mi logo.
New test version, this time should boot fine thanks to @thewisenerd suggestion! (thanks mate)
as before, i only need to know if it boots properly, download: here
sys01 said:
New test version, this time should boot fine thanks to @thewisenerd suggestion! (thanks mate)
as before, i only need to know if it boots properly, download: here
Click to expand...
Click to collapse
Yes it does boot without any problem
Does latest build is compatible with android 7.1.2?
Hi guys
Im here to ask you again to test this new version
changelog:
- merged "LA.BR.1.2.9-03610-8x16.0" from caf
- merged "LA.BR.1.2.9-03610-8x16.0" for WIFI driver
- merged lastest f2fs/stable/3.10.y driver
- Some little optimizations here and there
hope it boots!
download here
Hi bro
Can you look into this thread: https://forum.xda-developers.com/mi-4i/help/add-mhl-support-mi4i-using-custom-t3680011
sys01 said:
Hi guys
Im here to ask you again to test this new version
changelog:
- merged "LA.BR.1.2.9-03610-8x16.0" from caf
- merged "LA.BR.1.2.9-03610-8x16.0" for WIFI driver
- merged lastest f2fs/stable/3.10.y driver
- Some little optimizations here and there
hope it boots!
download here
Click to expand...
Click to collapse
Hey guys does it boots up?
​
sys01 said:
Hey guys does it boots up?
Click to expand...
Click to collapse
Yes it booted. I'm using aosp extended 4.6
Nilu99 said:
​Yes it booted. I'm using aosp extended 4.6
Click to expand...
Click to collapse
Thanks for the feedback
New version coming soon :highfive:
Yeah..it boots on LOS 14.1
sys01 said:
Thanks for the feedback
New version coming soon :highfive:
Click to expand...
Click to collapse
Wow...eagerly waiting for the new update..
hey its boot up on lineage-14.1-20170501-UNOFFICIAL-ferrari-anbu . Should i put logcat here or something? Thanks dev anyway .
Priima Ferrari 1.0.2 is out!
Changelog:
- Patched many security holes (important!)
- Reduced load average
- Ext4 updates
- Tuned CFQ and setted as default IO Sched
- Added adreno idler
- Added ExFat support
- Patched many drivers to work with Power Efficient WQ
- Optimized CPU-Boost
- Tuned Westwood
You can download it HERE
Enjoy!
sys01 said:
Priima Ferrari 1.0.2 is out!
Changelog:
- Patched many security holes (important!)
- Reduced load average
- Ext4 updates
- Tuned CFQ and setted as default IO Sched
- Added adreno idler
- Added ExFat support
- Patched many drivers to work with Power Efficient WQ
- Optimized CPU-Boost
- Tuned Westwood
You can download it HERE
Enjoy!
Click to expand...
Click to collapse
Booted perfectly. Till now feeling optimized. No issues found. Good work bro :good:
Can it be used in miui?

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

Shh.. good game

GG
Reserved
GG
Stuck on boot logo.
naveediftikhar said:
Stuck on boot logo.
Click to expand...
Click to collapse
Mention rom
not boot on miuipro ,stuck on splash screen
xdarkstar said:
Mention rom
Click to expand...
Click to collapse
Xiaomu.eu..
MIUI - WIP, read before posting.
flashed the kernel on HAVOC 2.2 622019 build
booted and working so far so good!
will check
1. sound mods in mixerpath over this kernel since there is NO SOUND CONTROL in Kernel Auditor
2. battery performance
3. whatsapp and voice call random reboots (found in oreo )
Anyone try it on pixel experience rom?
alreadyregistered said:
MIUI - WIP, read before posting.
Click to expand...
Click to collapse
Wip listing went on after we reported.
Pixel experience
matane said:
Anyone try it on pixel experience rom?
Click to expand...
Click to collapse
if it works, but I just built an unofficial build with the latest jhenrique changes, in addition to adding the pre-installed kernel, also has the Thermal Hal of Miui on the device tree, which has much better temperature control, if you want I can share the link
Good kernel thx
R3 it's OUT!
New build it's UP!
R3 changelog:
* Miui support
* Pm/devfreq fixes
* Q6dspv2 patches
* Westwood tcp enabled
* SoundControl
* A lot of CFQ improvements and fixes
* DTS support
* Now power efficient wq can be enabled (disabled by default)
* Implement power efficient wq on subsystem (wifi, display, thermal, sound and others)
* Some caf patches
* Other things (fixes/improvements)
Click to expand...
Click to collapse
Download link on first post!
R3 works.. boots at least.. nice work.. will test and report.. btw i flashed my stock boot img before flashing the kernel from insignuix.. not that itll help but tried to keep all ends under control. Can u tell me how to enable power efficient wq?
naveediftikhar said:
R3 works.. boots at least.. nice work.. will test and report.. btw i flashed my stock boot img before flashing the kernel from insignuix.. not that itll help but tried to keep all ends under control. Can u tell me how to enable power efficient wq?
Click to expand...
Click to collapse
Enable it with Kernel Adiutor on CPU tab, search for "Schedule workqueues on awake CPUs........"
Nice battery and lightning fast. This and insigniux are my favourite kernels.
One of best kernels
Simple,smooth,battery good,no otg bug which was on derp.
Me testing as you know in btlg and prolly will release update with your Kernel :laugh:
Adi5 said:
One of best kernels
Simple,smooth,battery good,no otg bug which was on derp.
Me testing as you know in btlg and prolly will release update with your Kernel :laugh:
Click to expand...
Click to collapse
Working? What about betery backup???
Ok just an early single day review..
Good battery life
Snappy
Sound is a bit low but that could be me.
No crashes as yet.
This kernel is seriously underrated, great performance and battery life, no stability issues I found yet

Categories

Resources