[KERNEL][PIE][CLANG] TNO Kernel - LG G7 ThinQ ROMs, Kernels, Recoveries, & Other De

TNO Kernel for LG G7 ThinQ​
*Info*
Kernel Version 4.9.207
Compiled with AOSP Clang 9.0.3 with Linaro GCC 7.5
Anykernel and Img provided.
Flash via fastboot or TWRP.
G-Drive Folder
*Features*
25/12/19
Up to date with mainline kernel 4.9
V4.9.207
exFAT support added
Coming soon
LZ4HC
Wireguard support
CONFIG_HZ_300
Using ARM GCC9.2 with Clang 9.0.3
LZ4 Ramdisk
*v4.9.210
**Remove debugging (Confirmed)
**Remove support for modules(Dropped)
**Remove trace_printk() instances(Confirmed)
CAF:
fw-api------------------------LA.UM.7.3.r1-08200-sdm845.0
qcacld-3.0--------------------LA.UM.7.3.r1-08200-sdm845.0
qca-wifi-host-cmn----------LA.UM.7.3.r1-08200-sdm845.0
techpack---------------------LA.UM.7.3.r1-08700-sdm845.0
Kernel is ready and is being tested for stability
I need someone as a beta tester, leave a comment if you are interested.
Make requests for features that you want.
*Sources*
Kernel Source
fw-api
qcacld-3.0
qca-wifi-host-cmn
techpack
*Contributors*
arter97
nathanchance
*Disclaimer*
Your warranty is now void.
I do not take responsibility for any damage caused to your device with the use/misuse of this kernel.

Im download your work, and tested on latest EM20e, and get bootloop on bootanimation, give me Image.gz-dtb

ZNCHNK said:
Im download your work, and tested on latest EM20e, and get bootloop on bootanimation, give me Image.gz-dtb
Click to expand...
Click to collapse
Here you are, please let me know if it works: https://drive.google.com/open?id=1QG2sjuBDZgjXACKe-2lyc4ezcbjWbDun

thenotonly said:
Here you are, please let me know if it works: https://drive.google.com/open?id=1QG2sjuBDZgjXACKe-2lyc4ezcbjWbDun
Click to expand...
Click to collapse
strange but bootlap(my device is G710PM installed v20e from EM version) in the evening I’ll roll back to EM20D and write result.

ZNCHNK said:
strange but bootlap(my device is G710PM installed v20e from EM version) in the evening I’ll roll back to EM20D and write result.
Click to expand...
Click to collapse
Don't rollback. You need to replace the ramdisk in the kernel with yours and it should work.
Send me your current boot image if you don't know how to do it. PM
Can you also give me the device name that's present in your build.prop?
getprop ro.product.name

Hi, I'm on stock pie rom with magisk, firmware version is V20c, buildprop name is "judyln_lao_com". Is it safe to flash? Anything you are aware of that is not working properly?

FluffyDiscord said:
Hi, I'm on stock pie rom with magisk, firmware version is V20c, buildprop name is "judyln_lao_com". Is it safe to flash? Anything you are aware of that is not working properly?
Click to expand...
Click to collapse
Should work fine

does not have support for micro sd in exFat format

good

HimikoMw said:
does not have support for micro sd in exFat format
Click to expand...
Click to collapse
support added

thenotonly said:
support added
Click to expand...
Click to collapse
does not work,need a log?

thenotonly said:
support added
Click to expand...
Click to collapse
Thank you very much, now it works.

HimikoMw said:
Thank you very much, now it works.
Click to expand...
Click to collapse
exfat work on your device wich this kernel?

ZNCHNK said:
exfat work on your device wich this kernel?
Click to expand...
Click to collapse
version V4.9.207

can i install via fastboot ? also it works on 20b ?

Emanel000000 said:
can i install via fastboot ? also it works on 20b ?
Click to expand...
Click to collapse
Yes

Work good

thenotonly said:
Yes
Click to expand...
Click to collapse
i got bootloop also myb i had 20c

Feature requests:
0% auto brightness
Option (terminal is fine) to lower overall auto screen brightness by X percent (feels like it's unnecessarily bright under normal light)
Force QuadDac high impedance
(No idea how it works and if possible from your side, but it's LG G7 kernel specific, or so I have heard ->) Somehow make JamesDSP magisk add-on work
Make it so that CPU/GPU/IO settings sticks (in kernel auditor for example) (maybe implemented ?, fells like it's resetting)
CPU governors: Alucard, OnDemandPlus
GPU governors: Adreno Idler
I/O scheduler: Zen

does it work with lineage os? Edit: i tested and it bootloops, can you make a compatible version non-twrp the image

Related

[DISCONTINUED][CM-11-20160111][KERNEL][10-02-2016] MF Kernel v1.0

I had sold my Nokia X2 and stop support for Nokia X2
Hi all! Today, i was built a kernel with some tweak
and now i will share it to you
MK Kernel v1.0
Code:
Only for CM-11-20160111
Code:
Tweak:
-Added some CPU Governor: intellimm, intelliactive, optimax, intellidemand, conservative
-Added some I/O Scheduler: sio, zen, vr, fifo, sioplus
Code:
Download: [URL="http://d-h.st/AWXy"]http://d-h.st/AWXy[/URL]
Code:
Flashing:
download the .img, reboot to recovery, select: Install > Image > choose .img>Boot> slide right to flash > reboot system and enjoy
about CPU Governor and I/O Scheduler, read here for more information
Thanks to @zombah
Kernel version: 3.4.110
Compiled with Sabermod 4.7 Toolchain
Source: https://github.com/cm-nokia-x2
Up
Add some features to it, like double-tap to wake up support,init.d support,
is it good ???
how I can install it
Thanks bro
Wölveîne said:
Add some features to it, like double-tap to wake up support,init.d support,
Click to expand...
Click to collapse
of course. i'm trying to add this https://github.com/ryanaepple/android_kernel_motoe/commit/080003bc8e61349bf7c8da00fa6923f3c84d1927
Good Work! +Smartv2 governor
Could I flash this kernel for xperience ROM? Would I be able to get any benefits?
kaotd99 said:
of course. i'm trying to add this https://github.com/ryanaepple/android_kernel_motoe/commit/080003bc8e61349bf7c8da00fa6923f3c84d1927
Click to expand...
Click to collapse
Thnx,and make it more advance
And our kernal supports init.d? Or not
Wölveîne said:
Thnx,and make it more advance
And our kernal supports init.d? Or not
Click to expand...
Click to collapse
cm11's kernel is already support init.d. we don't need to add it more
kaotd99 said:
cm11's kernel is already support init.d. we don't need to add it more
Click to expand...
Click to collapse
Oky,then is it possible to get Native Move To Sd support via some modifications?
whether it can for another rom-based CM11?
user explaination please :cyclops::cyclops:
So whats now?,there's a new build 13 available-you need to recompile kernel for this build.and also viperfx,dolby digital plus too as in the new version there are several fixes in the framework!!
Wölveîne said:
So whats now?,there's a new build 13 available-you need to recompile kernel for this build.and also viperfx,dolby digital plus too as in the new version there are several fixes in the framework!!
Click to expand...
Click to collapse
in build no 13 I have tried DDP v2 and the old mod of disable internal memory and it did work for me
any one help me please
how I install this
sweezit92 said:
in build no 13 I have tried DDP v2 and the old mod of disable internal memory and it did work for me
Click to expand...
Click to collapse
It will work but there is a probability of low performance, bcz there are new framwork service. Jar etc if we flash old then it will be mixed with our new update.mixing old part of system with new ,not good
Wölveîne said:
It will work but there is a probability of low performance, bcz there are new framwork service. Jar etc if we flash old then it will be mixed with our new update.mixing old part of system with new ,not good
Click to expand...
Click to collapse
Yes i agree but as long we dont have updated file we cant use those features......that is why i mix these things
---------- Post added at 05:33 AM ---------- Previous post was at 05:32 AM ----------
Saged 22 said:
how I install this
Click to expand...
Click to collapse
Your question is not clear buddy....there are whole lot of things to install so which thing you want to install?
My SD card Could not be detected after I flashed this kernel?
shafiaszad said:
My SD card Could not be detected after I flashed this kernel?
Click to expand...
Click to collapse
use it without disable internal memory mod!

[DEV]Xperience G5 Kernel H850

Xperience G5 Kernel​
Code:
#include
/*
* Your warranty is now void *
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Install:
1.) Download the zip file
2.) Make a backup
3.) Flash kernel in TWRP (dont use fastboot because some needed libs wont be copied)
4.) When you disabled the device encryption flash no-dm-verity again
Features:
- Don't breaks Safetynet when Bootloader is unlocked (rooting will break safetynet)
- more CPU Governors
- TCP congestion Westwood
CREDITS
@alucard_24 - for the very good buildscript and some fixes
Version Information
Status: Beta
Compatible Roms: Stockbased Roms only
Download Link:Klick me Hard
Sourcecode: https://github.com/mericon/Xp_Kernel_LGH850
Created: 11.11.2016
Updated: 24.11.2016
Paused since: 26.11.2016
Statement:
I have to pause the Development for the next time. My work takes to much time for now. I think i will resume in the next year.
Code:
[U][B]Changelog:[/B][/U]
[U]First Release V 0.1:
[/U]
[B]- [/B]Don't breaks Safetynet when Bootloader is unlocked
[B]- [/B]more CPU Governors ([STRIKE]ElementalX and[/STRIKE] Impulse)
- TCP congestion Westwood (works now)
- sioplus iosched
- Moved core control in to the kernel (should help to save some power)
[U]v0.2[/u]
- Added Zen iosched
- disabled core ctl helper
[U]v0.3[/u]
- Added SIO iosched
- Added FIOPS iosched
- Added Builtin ExFat support
[U]V0.4[/U]
- Disabled Core Ctl
- enabled Core Ctl helper
- Adding Zzmove Governor
- Adding back ElementalX Governor
Kernel is ready to download now :] feel free to test it
Gesendet von meinem Pixel XL mit Tapatalk
mericon said:
Kernel is ready to download now :] feel free to test it
Gesendet von meinem Pixel XL mit Tapatalk
Click to expand...
Click to collapse
For some reason it is stuck at boot. Not even getting to the boot animation. Left my phone for 5 minutes, still the same.
onestyle007 said:
For some reason it is stuck at boot. Not even getting to the boot animation. Left my phone for 5 minutes, still the same.
Click to expand...
Click to collapse
Which rom do you use?
I will look in this
mericon said:
Which rom do you use?
I will look in this
Click to expand...
Click to collapse
Fluence HD 25 patched over O3 rom with dual boot patcher (updated ramdisk through dual patcher app on primary rom). My guess is its because of my patched ramdisk.
onestyle007 said:
Fluence HD 25 patched over O3 rom with dual boot patcher (updated ramdisk through dual patcher app on primary rom). My guess is its because of my patched ramdisk.
Click to expand...
Click to collapse
Okay thats could be. Atm im doing a Full fresh install of my Phone and than i will try the dualPatcher. If the patcher is the problem i try to figure out what the problem is but this could take some days.
mericon said:
Okay thats could be. Atm im doing a Full fresh install of my Phone and than i will try the dualPatcher. If the patcher is the problem i try to figure out what the problem is but this could take some days.
Click to expand...
Click to collapse
Patcher was the problem. I was to eager to try your kernel and forgot to patch it for Primary ROM. Now it works but I've lost root. No su detected, since I was on systemless root.
onestyle007 said:
Patcher was the problem. I was to eager to try your kernel and forgot to patch it for Primary ROM. Now it works but I've lost root. No su detected, since I was on systemless root.
Click to expand...
Click to collapse
Well i forgot to mention that it isnt a rooted kernel for now sorry. But nice to now that the kernel works for you.
mericon said:
Well i forgot to mention that it isnt a rooted kernel for now sorry. But nice to now that the kernel works for you.
Click to expand...
Click to collapse
Which governor's did you put in? It's cool,flashed already and rooted again. I'm asking since I only get elementalX and impulse as new and seems no Westwood in tcp. Seems I've made a big mess with patching my ramdisk lol.
onestyle007 said:
Which governor's did you put in? It's cool,flashed already and rooted again. I'm asking since I only get elementalX and impulse as new and seems no Westwood in tcp. Seems I've made a big mess with patching my ramdisk lol.
Click to expand...
Click to collapse
Atm its only Impulse and ElementalX for CPU and for TCP Westwood should be default for the networking.
Planned are some IO-Sched's and maybe zz_move bigLittle and maybe kcal for now.
mericon said:
​
Atm its only Impulse and ElementalX for CPU and for TCP Westwood should be default for the networking.
Planned are some IO-Sched's and maybe zz_move bigLittle and maybe kcal for now.
Click to expand...
Click to collapse
Got both of them in cpu but have this in tcp, look at the pic. Just a question, but did you consider multirom support at some point?
I assume this is for LG roms and not CM or anything else? If I ever move back to stock, I will deff have to test this out. Thanks!
onestyle007 said:
Got both of them in cpu but have this in tcp, look at the pic. Just a question, but did you consider multirom support at some point?
Click to expand...
Click to collapse
Than i have to take a look at the westwood problem thanks
I will look what i can do for multirom but it will take some time because i didnt work in Development a long time and have to learn it mostly new and on the other side is my work 8 hours a day and my familiy
davitox87 said:
I assume this is for LG roms and not CM or anything else? If I ever move back to stock, I will deff have to test this out. Thanks!
Click to expand...
Click to collapse
You are right its for LG roms only (i think didnt test if it works with an CM rom and wouldnt recommend it). Maybe when the Kernel is at an stable stage i try to build one for CM.
mericon said:
Than i have to take a look at the westwood problem thanks
I will look what i can do for multirom but it will take some time because i didnt work in Development a long time and have to learn it mostly new and on the other side is my work 8 hours a day and my familiy
Click to expand...
Click to collapse
Same here,trying to find time for tons of projects I've started on my pc. Well I'm pretty new in kernel developing, but if you need help, I learn pretty fast
onestyle007 said:
Same here,trying to find time for tons of projects I've started on my pc. Well I'm pretty new in kernel developing, but if you need help, I learn pretty fast
Click to expand...
Click to collapse
Feel free to help
I think i found the problem with westwood, A new zip comes tomorrow.
awesome work!!! any chance we'll see this on h830 as well? really want to get a kernel that will pass the safety net boodloader check
please build by UBER 5.4.1 like boeffla kernel for better performance
https://www.mediafire.com/folder/r9l07voht8ets/cyanogenmod13.0#rhtzub5gx1hb9
@mericon
Using your kernel since last night on Impulse governor, really big battery improvement compared to the stock kernel ,and not really losing performance. Great work mate. :good:
ggelo10 said:
please build by UBER 5.4.1 like boeffla kernel for better performance
https://www.mediafire.com/folder/r9l07voht8ets/cyanogenmod13.0#rhtzub5gx1hb9
Click to expand...
Click to collapse
Well be careful with compilation errors...
Envoyé de mon GT-I9505 en utilisant Tapatalk

[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][MIDO][MIUI] FLIP kernel [r1]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably voided.
*
* 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.
*/
What is this:
After tired of looking for stable no nonsense kernel for MIUI and couldn't fine one, I've decided to compile one myself. This is just a kernel I flipped from readily publicly available source, nothing special here. It should boot with any MIUI Nougat roms.
Click to expand...
Click to collapse
Difference with stock MIUI kernel
Compiled using OmniRom's kernel source as base so contains all its features, fixs and patches.
Compiled using UberTC 4.9.4 for stability.
Compiled using correct optimisation flags for our MSM8953 cpu.
Patched with EAS scheduler from OnePlus3 LineageOS-based kernel with EAS
Updated Ondemand cpu governor from franciscofranco's kernel for OnePlus3, finetuned it abit and made it as default booting cpu governor.
Default to Noop disk i/o scheduler on boot.
Default to Westwood tcp congestion control on boot.
Disabled/made as built-in some modules.
Disabled some stuff like zram, cleancache, zcache.
Added support for exfat fs via exfat-nofuse.
Enabled ntfs fs support.
Init.d startup script support with correct permissions applied on every boot.
Probably some other things I forgot to list here...
Click to expand...
Click to collapse
Changelog:
r1 - First public release.
Click to expand...
Click to collapse
Download:
FROM HERE
Click to expand...
Click to collapse
Installation notes:
Need unlocked bootloader, so unlock your bootloader if you haven't yet.
Need to be on any custom recovery so flash one if you haven't yet.
Need to be on any MIUI Nougat rom.
If you have any custom kernel other than this kernel already installed, please flash or restore your MIUI rom stock kernel because this kernel would need to use the stock unmodified ramdisk and custom kernel might already modify it.
Backup, backup and backup!
Download the zip, put into either internal phone storage or sdcard, flash away.
If you want to go back to your previous kernel, just dirty flash your rom or restore boot and system from backup.
Click to expand...
Click to collapse
Thanks to:
God, for everything.
Linus Torvalds, for the Linux kernel.
Google, for Android.
Xiaomi, for kernel source.
Xda forum, learnt alot from here.
Uber team, for the toolchain.
khan_frd2002, for the OmniRom kernel source.
EAS-Project on Github for the EAS patches.
franciscofranco, for the Ondemand cpu governor source.
osm0sis, for AnyKernel2 kernel installation template.
Probably some others I forgot to list here...
Click to expand...
Click to collapse
XDA:DevDB Information
FLIP kernel, Kernel for the Xiaomi Redmi Note 4
Contributors
coldplug
Source Code: https://github.com/thecoldplug/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2018-01-11
Created 2018-01-11
Last Updated 2018-01-11
Wow. EAS working well ?
Kevin Saiza said:
Wow. EAS working well ?
Click to expand...
Click to collapse
Partially. Cpu governors meant to work with eas like sched and schedutil doesn't work well with 625 because it was meant to work with dual cluster a72+a53 like 820 etc, while 625 only have a single cluster of a53, plus theres no proper powertable. Sched and schedutil just froze at lowest available freq because it can't choose proper powertable, making phone lags. I've disable both and made ondemand as default governor.
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
zecabra said:
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
Click to expand...
Click to collapse
Similar. All cpu already got predefined voltage table in the kernel source for the usual hmp scheduler, usually modified for oc/uv. Eas need its own, new voltage table specifically written for it, for every specific cpu too.
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
zecabra said:
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
Click to expand...
Click to collapse
If you mean alucard cpu governor, then I've already tried to add it lol. Doesn't work, endless reboot. In fact all interactive based cpu gov like impulse, alucard, blu_actice, zzmoove won't work here. Hence why I've disabled even the interactive cpu gov.
DEMIGOD124 said:
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
Click to expand...
Click to collapse
Doesn't need to add or anything, its already in the kernel and enabled, i think...
I don't have any idea how it work or if it even work though, so do try and let me know how it goes.
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
pikachukaki said:
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
Click to expand...
Click to collapse
Lol your virus scanner might have detected the zip itself or the script within as a virus, its not. Gdrive where I've uploaded it should already scanned it before you even download.
Don't use that pos virus scanner, change to other virus scanner or better yet, use linux ?
So witch one is better for miui and why ?
kcal bugg still there?
kemo12533 said:
So witch one is better for miui and why ?
Click to expand...
Click to collapse
Theres only one...
aman1241 said:
kcal bugg still there?
Click to expand...
Click to collapse
Haven't add kcal.
coldplug said:
Theres only one...
Haven't add kcal.
Click to expand...
Click to collapse
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
kemo12533 said:
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
Click to expand...
Click to collapse
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
coldplug said:
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
Click to expand...
Click to collapse
i am on pixel experience right now so i cant atm but i will soon
Hi
Where is the link?
Overclock
Can I overclock my cpu and gpu on this kernel ??
I feel stock is better
I feel as so cause after switching to this kernel my phone is a bit more Laggy so I switched back to stock

[Kernel] [OC] IceCold Kernel R5 [4.4.153] [Pie Kernel Source based]

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

Categories

Resources