ECO Kernel - Where not done yet
Compatibility Notes:
This kernel is tested to work with EMUI 8 and OpenKirin 8.x ROMs. All other GSI builds aren't guaranteed to boot.
GPL Notice:
This kernel is used and licensed under GPLv2 and visible on my git: https://github.com/dcionline/eco_kernel_hi3650_eva
Recommended Apps:
To tweak most of the settings in the kernel, I recommend using EX Kernel Manager: https://forum.xda-developers.com/gen...nager-t3560850 and Kernel Adituor: https://play.google.com/store/apps/d...ladiutor&hl=en
Features:
Compiled with UberTC 4.9 / Linaro 4.9 / GCC 4.9 toolchain with Cortex A53 and O2 optimizations
Upstreamed to v4.4.130 (where not done yet)
Added blu_active governor and more
Enabled sched CPU governor
Enabled Scene Aware, Performance, and Powersave GPU governors
Enabled HiSilicon GPUFreq Hotplug and Frequency Hopping feature
Disabled useless drivers and features
Say no to Huawei D.U.B.A.I analytics and root scan feature
Disabled Huawei OASES and Livepatching feature
Disabled Swap and zRAM for much smoother operations
Mali GPU tweaks for improved performance
Added zen, FIOPS IO Schedulers
Added westwood and other advanced TCP algorithms
Fingerprint boost driver for quick recognition
Added CPU boost driver to reduce input lag
Reduced allowed wakelocks and better timer frequency
Boeffla Wakelock Blocker to kill unecessary wakelocks that interrupt your device sleep
Dynamic Sched Tune CPU support
Fast USB Charging support
Option to toggle FSync
... and more which I didn't note down or forgot xD
Installation:
Installing the kernel is pretty easy. Reboot your device to fastboot and execute the following command:
Code:
fastboot flash kernel <kernel-name.img>
Downloads available here: UBER - Linaro - Stock
Latest stable Version: 04.05.20 build with Linaro
Latest working upstream applied: 4.4.206
testing channel: under review 4.4.207
dev channel: 4.4.208 debug
XDA:DevDB Information
[KERNEL][P9][8.0+] ECOKernel 2020, Kernel for the Huawei P9
Contributors
dkionline
Source Code: https://github.com/dcionline/eco_kernel_hi3650_eva
Kernel Special Features:
Version Information
Status: EOL
Created 2018-10-21
Last Updated 2021-07-03
The folder is empty :/
PS: What is the difference between UBER / Linaro / Stock? Is there any?
Charnooh said:
The folder is empty :/
PS: What is the difference between UBER / Linaro / Stock? Is there any?
Click to expand...
Click to collapse
Push on UBER my friend!!
Kernel is there....
Regards!!
Who
Charnooh said:
The folder is empty :/
PS: What is the difference between UBER / Linaro / Stock? Is there any?
Click to expand...
Click to collapse
I will push it until tomorrow.
Stock u should know, sources from Huawei/Google.
UBER + Linaro are modified toolchains to give the kernel a better touch in working state on the phone. Im aware, that there are newer versions up to GCC8.x, but not working on EMUI8 yet.
I've just installed the kernel (UBER) on my P9 running OpenKirin Lineage OS. Everything seems to be good so far. I was wondering if you had done any benchmarks regarding stock kernel battery life vs ECO kernel battery life? Also, can enabling fast charging damage the battery?
Ankush.P said:
I've just installed the kernel (UBER) on my P9 running OpenKirin Lineage OS. Everything seems to be good so far. I was wondering if you had done any benchmarks regarding stock kernel battery life vs ECO kernel battery life? Also, can enabling fast charging damage the battery?
Click to expand...
Click to collapse
I didnt tested any benchmarks. It depends mostly on Governor.
Fast Charging should work, but never used.
dkionline said:
I didnt tested any benchmarks. It depends mostly on Governor.
Fast Charging should work, but never used.
Click to expand...
Click to collapse
I tried the fast charging, and I *think* it charged faster, but maybe I imagined it ?. I'll know for sure the next time I do a full charge. Do you have an idea for what additional features you want to put into the next update?
What about deep sleep on OK ROMs? Does it work properly with this kernel?
Is there any way you could add a feature to change the vibration intensity? It's very low on Lineage OS, almost can't feel it.
Antix2835 said:
What about deep sleep on OK ROMs? Does it work properly with this kernel?
Click to expand...
Click to collapse
Mostly encountered issues are by Google Play Services. On Stock Deepsleep has no issues. On OK ROMs i didnt tested it yet.
Ankush.P said:
Is there any way you could add a feature to change the vibration intensity? It's very low on Lineage OS, almost can't feel it.
Click to expand...
Click to collapse
We had some talk about that, but dont know how it ended, think it didnt what we wanted to.
Everything good so far, i did antutu test ~145k.
Is it ok also for EVA-AL10c00b535 (or only for b528)?
dkionline said:
Features:
Compiled with UberTC 4.9 / Linaro 4.9 / GCC 4.9 toolchain with Cortex A53 and O2 optimizations
Upstreamed to v4.4.130 (where not done yet)
Added blu_active governor and more
Enabled sched CPU governor
Enabled Scene Aware, Performance, and Powersave GPU governors
Enabled HiSilicon GPUFreq Hotplug and Frequency Hopping feature
Disabled useless drivers and features
Say no to Huawei D.U.B.A.I analytics and root scan feature
Disabled Huawei OASES and Livepatching feature
Disabled Swap and zRAM for much smoother operations
Mali GPU tweaks for improved performance
Added zen, FIOPS IO Schedulers
Added westwood and other advanced TCP algorithms
Fingerprint boost driver for quick recognition
Added CPU boost driver to reduce input lag
Reduced allowed wakelocks and better timer frequency
Boeffla Wakelock Blocker to kill unecessary wakelocks that interrupt your device sleep
Dynamic Sched Tune CPU support
Fast USB Charging support
Option to toggle FSync
Click to expand...
Click to collapse
Thats pretty good ! :good:
I will test and report with EVA-b535 (btw: which seems to be a good Firmware)
zgfg said:
Is it ok also for EVA-AL10c00b535 (or only for b528)?
Click to expand...
Click to collapse
It needs a small edit for newer patch.
dkionline said:
It needs a small edit for newer patch.
Click to expand...
Click to collapse
My friend @dkionline!!!
Could this kernel for DL00 8.0.0.535 be permissive?
Thanks in advance!!
Rergards!!
im interested in this but im new to kernel stuff. im currently in rros for p9. what are the disadvatages if i install this? can i still normally update my rros rom if i install this?
iammitee said:
im interested in this but im new to kernel stuff. im currently in rros for p9. what are the disadvatages if i install this? can i still normally update my rros rom if i install this?
Click to expand...
Click to collapse
Generally, this is Kernel while Open Kirin ROMs flash System partition
zgfg said:
Generally, this is Kernel while Open Kirin ROMs flash System partition
Click to expand...
Click to collapse
so there are no issues on rom updates even with a modified kernel?
can i restore the old kernel if ever this turns out weird for me?
iammitee said:
so there are no issues on rom updates even with a modified kernel?
can i restore the old kernel if ever this turns out weird for me?
Click to expand...
Click to collapse
I don't know if they are compatible, just saying they are independent
Why not, you can always flash stock kernel back
Related
DevElite Kernel
Three, Bigger and Better
Features and Changelogs:
Code:
Three:
PDesireAudio 11.0 included
Included Maple I/O Scheduler and set as default
Replaced sched governor with own pdesiresched governor
Adreno Idler included
Replaced msm_performance with Lazyplug
Fastcharge driver included
Some CVE Security Patches
Many many new patches for percpu, cpufreq and irq_work
Miscellaneous patches and improvements
Two:
E6853 Problems fixed
SafetyNet patched
Improved Memory Performance by up to 15%
KCAL Color Control added
Little Scheduler improvement
More Optimized for big.LITTLE
Compiled with Linaro GCC 7.1.1
pstore ramoops fixed
Misc Patches and Improvements
One:
Energy Aware Scheduling (EAS)
Zen Scheduler added and set as default
Westwood TCP congesition Algorithm added and set as default
sched Governor included and set as default (I would not change it either)
KSM disabled by default
PDesireAudio 10.1 Audio Enhancements included
Adaptive Low Memory Killer enabled by default
Blocking some wakelocks to improve battery
TWRP included
(Not too much features yet because EAS took a long time to implement)
-------------------------------------------------
What does make that Kernel special?
This is literally the first kernel with Energy Aware Scheduling for Sony Xperia.
It took weeks to make anything working but the work was worth at the end
-------------------------------------------------
Requirements:
You just need these things:
A Xperia Z5 Premium
TWRP Recovery
-------------------------------------------------
How to install my Kernel?
It's truly easy:
Download the Zip on Download section (Second Post)
Reboot into Recovery
Flash the downloaded Zip
It will do by itself all what you need
-------------------------------------------------
Source Code/Repositories?
Take a look here:
https://github.com/PDesire/XperiaSatsukiEliteKernel
-------------------------------------------------
FAQ:
Why does my CPU behave so kinda weird?
Well EAS is different than what we normally know (HMP), if you think the CPU behavior is abnormal, it is just because EAS does handle tasks differently
My device got hard bricked, do you fix it for me?
It's a Kernel so you have to be responsible for any damages!
But it should not damage your phone.
-------------------------------------------------
Credits:
Honestly the Biggest Credits goes to Team DevElite for their wonderful help
Special thanks to:
@RyTekk
@zacharias.maladroit
@_LLJY
If i forgot someone please tell me and I will add
XDA:DevDB Information
DevElite Kernel, Kernel for the Sony Xperia Z5 Premium
Contributors
PDesire
Source Code: https://github.com/PDesire/XperiaSatsukiEliteKernel
Kernel Special Features:
Version Information
Status: Stable
Created 2017-06-13
Last Updated 2017-07-22
Downloads:
Kernel:
New:
Three:
Single Sim: https://goo.gl/pR5qni
Dual Sim: https://goo.gl/JLzmLJ
Two:
Single Sim: https://goo.gl/UH7ztq
Dual Sim: https://goo.gl/xM1jz1
One:
Single Sim: https://goo.gl/vQc6l4
!!!!Seems something is broken, just boot.img inside zip works, not the script!!!
Dual Sim: https://goo.gl/wMeaXV
-------------------------------------------
Old:
No old Releases yet
bootloop! crash in bootanimation , have z5p e6853 stock firmware
anjelz2012 said:
bootloop! crash in bootanimation , have z5p e6853 stock firmware
Click to expand...
Click to collapse
Wait what ? Okay weird. Will take a look on it. Which android FW you use ?
Your PDesire
PDesire said:
Wait what ? Okay weird. Will take a look on it. Which android FW you use ?
Your PDesire
Click to expand...
Click to collapse
32.3.A.2.33
Booted just fine on my E6883, will test for sometime, & let you know of how it behaves. Thanks again for your much hard work of not letting our Z5 Premium die!!
Okay, it definitely runs cooler, I rebooted several times already, & its not as hot at stock would be. But I think that's cause of all the big cores being turn off, that's the behaviour I noticed after the phone booted.
Also, is it normal that two big cores always remain active? In stock, only one does. You should maybe educate a little more on what to expect with this kernel.
Okay, after a bit of a settling, its back to one big core always active like stock behaviour.
And by the way, SafetyNet doesn't pass with Magisk, I use Magisk v12 with Magisk root. Hope in the future something can be done here.
I know it's just the first release & I might be bugging you with the requests, but I noticed the boot time is a bit longer than the usual stock. And if at all this is possible, could you reduce the backlight during boot like in Zach's SunKernel?
And would I be losing the Energy Aware Scheduling if I switch to Interactive governor for both Big & Little cores?
I don't really understand the hot plugging of this kernel, sometimes all big cores are active, sometimes 3, 2, stock like 1, sometimes none. I mean, wouldn't it drain battery to constantly switch big cores on & off. It doesn't overheat, it stays cool as said though.
anjelz2012 said:
32.3.A.2.33
Click to expand...
Click to collapse
Could you send me your init.qcom.post_boot.sh file maybe located at /system/etc?
Thanks
Your PDesire
Christian Fleming said:
Booted just fine on my E6883, will test for sometime, & let you know of how it behaves. Thanks again for your much hard work of not letting our Z5 Premium die!!
Okay, it definitely runs cooler, I rebooted several times already, & its not as hot at stock would be. But I think that's cause of all the big cores being turn off, that's the behaviour I noticed after the phone booted.
Also, is it normal that two big cores always remain active? In stock, only one does. You should maybe educate a little more on what to expect with this kernel.
Okay, after a bit of a settling, its back to one big core always active like stock behaviour.
And by the way, SafetyNet doesn't pass with Magisk, I use Magisk v12 with Magisk root. Hope in the future something can be done here.
I know it's just the first release & I might be bugging you with the requests, but I noticed the boot time is a bit longer than the usual stock. And if at all this is possible, could you reduce the backlight during boot like in Zach's SunKernel?
And would I be losing the Energy Aware Scheduling if I switch to Interactive governor for both Big & Little cores?
Click to expand...
Click to collapse
SafetyNet I will patch soon. Right now the bootstate is on orange which I need to patch soon
About the boot time: that's because... Well EAS and performance governor (which is used on boot) aren't best friends sometimes
The Brightness dimm on boot is no problem :good:
You don't lose EAS if you use it... Just interactive is optimized for HMP, so some laggs can exist
Your PDesire
@PDesire thanks for the great work
Only one question, do drm related stuff work with this kernel?
Edit: just tried installing and it booted without any problem! X-reality seems to work correctly!
Daniel_GB said:
@PDesire thanks for the great work
Only one question, do drm related stuff work with this kernel?
Click to expand...
Click to collapse
OHH yes it does
Your PDesire
will you made a custome rom in future?
How can I root while using this kernel?
PDesire said:
Could you send me your init.qcom.post_boot.sh file maybe located at /system/etc?
Thanks
Your PDesire
Click to expand...
Click to collapse
https://mega.nz/#!2BIwUKzK!VfUGkgMLrDjP8X7Rl_41VQNXxM460YBzx-Gn1TfpBEg
FiDra said:
How can I root while using this kernel?
Click to expand...
Click to collapse
Magisk
Your PDesire
pandan80 said:
will you made a custome rom in future?
Click to expand...
Click to collapse
Why that question?
Your PDesire
What you can already expect on next version:
-glibc memcopy and string for 15% more memory performance
-SafetyNet bypass
-Little Scheduler improvements
A little question now guys:
Do you need one of these things urgently:
KCAL
Sound Control
More governors
If there's a huge request for them I will try to add
Your PDesire
PDesire said:
What you can already expect on next version:
-glibc memcopy and string for 15% more memory performance
-SafetyNet bypass
-Little Scheduler improvements
A little question now guys:
Do you need one of these things urgently:
KCAL
Sound Control
More governors
If there's a huge request for them I will try to add
Your PDesire
Click to expand...
Click to collapse
hi gj
please first added kcal
PDesire said:
What you can already expect on next version:
-glibc memcopy and string for 15% more memory performance
-SafetyNet bypass
-Little Scheduler improvements
A little question now guys:
Do you need one of these things urgently:
KCAL
Sound Control
More governors
If there's a huge request for them I will try to add
Your PDesire
Click to expand...
Click to collapse
Those are interesting feature to have along side EAS!
More governors are always welcome.
thanks for the great work! using for an hour and everything seems OK!
Rooted with Magisk12
Lineage?
Can i use this on lineage or is this a stock only?
B14CKB1RD
Kernel for the OnePlus 3 & 3T
B14CKB1RD Kernel is made with stability and suitability for what uses you want from your phone. I like a happy medium of minimal and just the right amount of features added in as to not be overbloated. As usual happy flashing. Just note i am not responsible if you the user messes up your phone. I will always be around to help in any way i can so if any issues arise please feel free to send me a pm. ABSOLUTELY NO TROLLING, BASHING, OR ARGUING on the post please. Actions will be taken and you will lose my personal support.
Feel Free to Join us on our public Telegram Chat B14CKB1RD Kernel ONePlus 3 & 3T Users
https://t.me/B14CKB1RDOP3
Download For OOS OB12/21 Based:
For Latest OOS build:
Download Here
Click to expand...
Click to collapse
Download For LOS / Custom Based:
For Latest Custom Base build:
Download Here
Click to expand...
Click to collapse
How to Install:
Boot to recovery
Wipe Cache
Wipe Dalvik/ART Cache
Flash Kernel .zip
Reboot to profit
Click to expand...
Click to collapse
Features:
Governors:
Alucard
Blu_Active
Chill
Conservative
Darkness
Electron
Interactive
Ondemand
Performance
ZZMoove
I/O Schedulers:
Bfq
Cfq
Deadline
Fiops
Maple
Noop
Sio
Zen
TCP Congestion Controls:
Bic
Cubic
Highspeed
Htcp
Hybla
Illinois
Lp
Reno
Scalable
Sociopath
Vegas
Veno
Westwood
Yeah
Other:
Built using B14CKB1RD AnyKernel made by Snuzzo
Updated to latest OOS 4.1.7 Base or LOS Base commits
Linux Kernel 3.18.67
Built with gcc UBER 7.1.x toolchain
Adreno Idler
CPU OverClock
GPU OverClock
Input Boost
LZ4 Compressor/Decompressor
F2FS Support
Flar2 Wake & Sleep Gestures
Flar2 Sound Control
Battery Optimizations
Enhanced Power Efficiency
Fast Charge
Wakelock Controls
Adaptive Low Memory Killer
Power Suspend Mode
State Notifier Mode
Kernel Mode Neon
BOEFFLA LED
BOEFFLA TouchKey Control
I/O Sched Switcher
And many more..
Notes::
For maximum stability. Before I flash each update of my kernel, I go to settings>apps>ElementalX-Kernel Manager>storage and wipe the cache and data for it for a fresh new setup. I do this because when and if i do add or remove a feature you set on boot and its not there. it may cause conflict.
If you come across a bug or issue please do not spam the thread. either pm me or reach me on hangouts or g+ by [email protected]
Source:
click here for OOS base kernel source
click here for LOS / Custom base kernel source
Frequently Asked Questions:
Q: Whats your current setup using Elemental X Kernel Manager?
A: My configuration for best performance and battery life:
Governor Little Cluster: Interactive
Governor Big Cluster: ZZMoove
Cpu Boost: (Input Boost Freq) 460 MHz for both and milliseconds to 20
TCP: Sociopath
IO Scheduler: Noop
wakelocks all blocked
Besides enabling a few other small things like boefflas touchkey and flar2's wake gestures everything else i leave AS IS.
Click to expand...
Click to collapse
Credits & Thanks
@Snuzzo (For teaching me all he knows about kernel and his code used on many devices)
@hellsgod (For his support, code, and friendship)
@frap129 (For his specially made 6.3.1 toolchain)
@apophis9283 (For his friendship, help and contributions to android)
@xanaxdroid (For his toolchains)
@buckmarble (For his code and contributions)
@Xileforce (For his code and contributions)
@franciscofranco (For his code, contributions and audio tweaks)
@faux123 (For many of his awesome kernel contributions and code)
@flar2 (For Gesture Wake Controls and Sound Control)
@savoca (For his work and code such as kcal control)
@DespairFactor (For his code and contributions)
@DragonHunt3r (For his code and contributions)
@alucard_24 (For his code and contributions)
@bbedward (For his code and contributions)
@Yoinx (For his awesome work on kernel adiutor and general help)
@RenderBroken (For his code, contributions and his friendship) @Lord Boeffla (For his code and contributions)
@eng.stk (for his code and contributions)
AOSP for having all this a possibility with open source
All Other Developers who make android a great hobby to enjoy
All of my testers and users thank you for keeping me going.
To any other devs i missed...all your work is very much appreciated. if you feel i should put you on the list let me know via pm and ill gladly do so
Reserved for later
Best available kernel for OnePlus 3/3T. We are testing it for months to ensure the ultimate experience for the end user. Enjoy, and thanks for the opportunity! :highfive:
Thanks for kernel
This kernel is dope AF Rev. Great job, brother
Best one out there, couldn't recommend a better one.
The wait is over. The best of the best. Dope stuff right here
bought 1+3T for this kernel
BB FTW \m/
Was waiting for this to release...
Too early to have an opinion ?
2 things I noticed , 1 sometimes execution of an action (opening an app) takes 3 seconds , 2 entropy seems higher than any other kernel...
That said the kernel.makes the OS feels fluid and smooth (OOS)
Edit/ fixed the 1st point (the slow action) by disabling the wq_power_saving, entropy still high i think at 68%
theduke7 said:
Was waiting for this to release...
Too early to have an opinion [emoji846]
2 things I noticed , 1 sometimes execution of an action (opening an app) takes 3 seconds , 2 entropy seems higher than any other kernel...
That said the kernel.makes the OS feels fluid and smooth (OOS)
Edit/ fixed the 1st point (the slow action) by disabling the wq_power_saving, entropy still high i think at 68%
Click to expand...
Click to collapse
I'll play around a bit...there's always a future release
Sent from my ONEPLUS A3000 using Tapatalk
Awesome. Great job rev. Glad that it BB made has a public release
Gonna test now will post back soon!
After install gone wifi. ?????
patoga100 said:
After install gone wifi. ?????
Click to expand...
Click to collapse
What rom or OOS version..because this is 4.1.6 or ob11/20 only as stated in OP...wifi has worked for all my OOS testers
Sent from my ONEPLUS A3000 using Tapatalk
I'm on beta11, but my kernel was elementalx. This is the issue? Go back to Stock, and then flash Yours? Thx
patoga100 said:
I'm on beta11, but my kernel was elementalx. This is the issue? Go back to Stock, and then flash Yours? Thx
Click to expand...
Click to collapse
Yes
patoga100 said:
I'm on beta11, but my kernel was elementalx. This is the issue? Go back to Stock, and then flash Yours? Thx
Click to expand...
Click to collapse
Yes first go back to stock and then flash blackbird kernel.
Some kernels have uninstaller. Check it XDA thread for that.
Do we have aroma installation?
P.S - Welcome to OP3/3T community. Thank you very much for this kernel.
lol.4.ever said:
Do we have aroma installation?
P.S - Welcome to OP3/3T community. Thank you very much for this kernel.
Click to expand...
Click to collapse
No.
darjwx said:
No.
Click to expand...
Click to collapse
OK.
So is this flash and forget type as right now I don't want any type of root in my phone ?
Thanks.
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
CPU Governors
Alucard
Darkness
Nightmare
Blu_active
interactive
bioshock
impulse
interactiveX
etc
IO Schedulers
Fiops
Cfq
Bfq
Maple
Zen_interactive
Deadline
TCP
Westwood
Reno
Bic
Cubic
Htcp
Illinios
Misc
compiled with clang 5 compiler
cpu voltage control
KCAL color control
DT2W (disabled by default)
S2W (disabled by default)
Force usb fast charge
Fsync on/off switch
Adreno Boost (disabled by default)
Nethunter and HID patches
wireguard support
faux sound control
Qnovo charging optimization
"experimental" quick charge 2.0 from old @nichcream source
CPU/GPU Frequencies changes by @difrDownload: https://forum.xda-developers.com/devdb/project/dl/?id=28338
Alternate download: https://github.com/DyWN/android_kernel_xiaomi_msm8937/releases
Credits:
Special Thanks to @riteshsaxena and Team Reloaded for kernel source
Svoca
Difr
Nichcream
Engstk
Bawaviki
faux123
[email protected]
Billchen1977
and everyone who's code I'm activily stea.... I mean cherry-picking :angel:
XDA:DevDB Information
Spicy kernel, Kernel for the Xiaomi Redmi 3S
Contributors
DyWN
Source Code: https://github.com/DyWN/android_kernel_xiaomi_msm8937
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: coming soon
Created 2017-12-31
Last Updated 2018-05-06
benchmark
feels great to beat snapdragon 810 based device with budget phone :laugh:
12/02/2018-switch to clang 6.0
-enable Z-RAM
-upstream to 3.18.94
-gpu oc to 600Mhz (based on LH kernel https://forum.xda-developers.com/xiaomi-redmi-4x/development/kernel8-1-0-lh-kernel-oreo-t3738247)
-cpu oc to 1,5 and 1,3 Ghz (also based on LH)
28/01/2018-Sweep2wake from @nichcream source
-interactiveX governor
-impulse
-updated blu_active
20/01/2018-switch to clang 5 compiler
-updated lz4 compression to 1.7
14/01/2018-fixed bad cherry-pick causing newer roms to crash entirely
13/01/2018-enable core control back
-removed other hotplugs (not efficent)
12/01/2018-switch compiler to linaro 7.2.1
-cpu voltage control
-qnovo charging optimization
-QC 2.0 from nichcream's source
-disable core control for custom hotplugs compatibility
-faux sound control
01/01/2018-Double tap to wake (disabled by default- enable with kernel adiutor)
-Nethunter and HID patches
-cpu big core minimal frequency decreased to 768MHz
To Do:
Edit dt2w and s2w to match flar2 wake gestures
optimizations!!!
Things I am not able to add :crying: :
-Thunder charge (there's no real implementation of that for qpnp-smbcharger)
Let me know what would you like me to add
Will it work on 8.1 Roms??
Please add wireguard support
abhishekpandey7148 said:
Will it work on 8.1 Roms??
Click to expand...
Click to collapse
Yep
gopal pipil said:
Please add wireguard support
Click to expand...
Click to collapse
Forgot to mention, Its already in
https://github.com/DyWN/android_ker...mmit/e106e2f1245b7d5553722a8e4ce3d6ac0a68d45d
DyWN said:
Forgot to mention, Its already in
https://github.com/DyWN/android_ker...mmit/e106e2f1245b7d5553722a8e4ce3d6ac0a68d45d
Click to expand...
Click to collapse
Download link ??
Where is download link? Is it supporting dual tap to wake?
gopal pipil said:
Download link ??
Click to expand...
Click to collapse
well in download tab
https://forum.xda-developers.com/devdb/project/dl/?id=27927
abhishekpandey7148 said:
Where is download link? Is it supporting dual tap to wake?
Click to expand...
Click to collapse
not yet, will work on it.
DyWN said:
Forgot to mention, Its already in
https://github.com/DyWN/android_ker...mmit/e106e2f1245b7d5553722a8e4ce3d6ac0a68d45d
Click to expand...
Click to collapse
I'm flashing it now, I'll give feedback after using it for day or two
DyWN said:
Yep
Click to expand...
Click to collapse
Also working on aex 5.1 [email protected]
Wireguard is working flawlessly on pixel experience rom. Thanks developer, i only wanted this feature. Except this i prefer interactive governor.
Congratulations @DyWN to be first Oreo custom kernel for our 'land':good:
DyWN said:
Let me know what would you like me to add
Click to expand...
Click to collapse
Add sweep2wake if possible
Congratulations @DyWN and thanks for sharing your work
Regards!
If possible please increase charging current rate. Or option to control charging current just like thunderzap control and qc3.0 support.
Anyone tried on 8.1?
Meer Hossain said:
Anyone tried on 8.1?
Click to expand...
Click to collapse
Yes
How about mac address, is that fixed in this kernel?
Introduction
HateKernel is a custom kernel compatible with libra/aqua and on LineageOS 15.1-based ROM (Oreo 8.1.0). This kernel source are forked from Cozzmy13's source (CAF) and are made to improve performance, battery life, features and stability of our device. Obviously, I can't guarantee all of those claims at once due to the fact that there is a trade-off among them, so its up to you for applying tweak or setting-up your device based on your usage criteria.
Click to expand...
Click to collapse
Image
Damn! I'm too lazy to post any. :silly:
Click to expand...
Click to collapse
Features
-Boeffla wakelock blocker.
-FAUX sound control.
-KCAL advanced color control.
-CPU boost & input-boost. (off by default)
-Kernel samepage merging. (off by default)
-Power-efficient workqueue. (on by default)
-Disable storage CRC check. (reduce IO overhead)
-FSync on/off. (on by default)
-250Hz tick timer-interrupt & dyntick tickless-idle. (may help with battery and UI lagginess? I'm not sure.)
-Added CPU Governor - relaxed, blu-active, despair, zzmoove, elementalx, wheatley, impulse, bioshock.
-Added IO-Scheduler - fiops, sio, sioplus, zen, vr, maple.
-Exposed all TCP congestion algorithm.
-Proper undervolt. (untweakable. Hardcoded in kernel. Blame QCom)
-Compiled with UBERTC-8.x.x -O2 flag.
-A few more optimization.
Click to expand...
Click to collapse
Installation instruction
Required - TWRP recovery latest version & Nougat-bootloader.
NOTE: For AnyKernel2 flashable zip, I highly recommend to flash your stock ROM's boot.img first.
Flash via 'fastboot':
1) Download 'HateKernel-x.x.img'
2) Put the image in same folder as fastboot executable.
3) Run thru command "fastboot flash boot HateKernel-x.x.img"
Flash via TWRP recovery (boot.img):
1) Select install and change mode to "Flash Image" in TWRP.
2) Flash 'HateKernel-x.x.img' in 'boot' partition.
3) Obviously, reboot.
Flash via TWRP recovery (AnyKernel zip) RECOMMENDED
1) I think you should know how at this point.
2) Install as usual.
Click to expand...
Click to collapse
Downloads
All version >
Dropbox: Download
Click to expand...
Click to collapse
Credits
*Cozzmy13 for kernel source
*AndropaX
*flar2
*faux123
*savoca
*Boeffla
*jollaman999
*nathanchance
*tester/suggester/advisor and everyone who helped to improve HateKernel
*everyone i forgot to add
Click to expand...
Click to collapse
XDA:DevDB Information
HateKernel, Kernel for the Xiaomi Mi 4C
Contributors
kopter36
Source Code: [url]https://github.com/iZwnMswn/kernel_xiaomi_msm8992[/URL]
Kernel Special Features: Read "Features".
Version Information
Status: WIP
Current Stable Version: HateKernel-3.1
Stable Release Date: 2018-05-28
Current Beta Version:
Beta Release Date:
Created 2018-02-14
Last Updated 2019-03-08
+ Preliminary info.
- Kernel in .img format are only compatible with Lineage-15.1 by Cozzmy13 ONLY. Don't flash it on other ROM even from the same source.
- HateKernel-1.5_r2 and up currently had issue with some device won't be able to boot. I'm currently still working on it.
+ Download info.
- Testbuild : There is 2 version (Lineage-15.1 stock & HateKernel build). Please test both version from lower-number to highest and report back which one is working + state last Stable-release of HateKernel that is working before.
- Experimental release is essentially a beta version but have been tested by me, but sometimes it might not working reliably with certain ROM+variant(libra/aqua).
- Stable release, as the name imply, mostly always working and have no major bug. This version have been tested extensively to avoid complaint from users and headache for me
Thank you so much for every feedback.
+ Changelog {ascending order}
HateKernel-1.1
- initial build using Google's toolchain. (GCC-4.9)
HateKernel-1.2
- support libra and aqua variants.
- expose all standard CPU governors + add elementalx.
- expose all standard IO-schedulers.
- expose all standard TCP congestion algorithms.
- input-boost and CPU-boost.
- enable RCU boost.
- Kernel Samepage Merging.
- implement display_state API.
- msm8992 initial overclocking.
- Slimbus overclock.
- enable Error Detection and Correcting log capability.
- enable CTS and SHA512 crypto for ARMv8.
- use asymmetric-key-type for crypto.
- compiled with UberTC-4.9.X (GCC-4.9.4)
HateKernel-1.3
- add CPU governors > (bioshock, blu_active, despair, impulse, relaxed, wheatley, zzmoove)
- add IO-schedulers > (fiops, maple, sio, sioplus, vr, zen)
- add WireGuard support.
- revert msm8992 initial overclocking.
- undervolt CPU with stable value.
- fix display_state implementation.
- compiled with UberTC-5.3.X (GCC-5.3.1)
HateKernel-1.4
- add KCAL advance color controls.
- add FAUX sound controls.
- add Boeffla wakelock blocker.
- 1000Hz ticks + dynamic tickless-idle.
- disable storage CRC check.
- FSync on/off.
- remove Edge-Touch for touchscreen.
- enable ARM's v8 hw CRC32.
- enable parallel crypto engine.
- compiled with -O3 flags.
HateKernel-1.5_r2 {stable} {alternative}
- based on HateKernel-1.1 config with stable features.
- fixed Synaptic's touchscreen issue.
- revert some minor features and optimization in favor of stability.
- compiled with -O2 flags again.
HateKernel-1.6b {staging}
- based on Hatekernel-1.4 config with fixed Synaptic's navigation button issue.
- 100Hz timer interrupt tick.
- enable MSM kgsl triple buffer.
- improve scheduler for SMT operation.
- a lot of underlying optimization.
- optimize very likely/unlikely branch (yes, I'm aware of security-hole for this one)
- fully compiled with -O3 flags (don't worry about cache miss, trust me)
ps : This list is depreciated. I will clean this as soon dev-build are complete
Whoa, can't wait for this to be released and given a bunch of customization soon
flammenwerferx said:
Whoa, can't wait for this to be released and given a bunch of customization soon
Click to expand...
Click to collapse
DL link posted. Try it out
long time not see a custom kernel, cool
so if you use kernel based on Los 15.1, can I use this for other roms based los15.1 kernel?
nicee, will this compatible with others 15.1 based?
hanuraiga said:
long time not see a custom kernel, cool
so if you use kernel based on Los 15.1, can I use this for other roms based los15.1 kernel?
Click to expand...
Click to collapse
IcyGlacial said:
nicee, will this compatible with others 15.1 based?
Click to expand...
Click to collapse
It should work. I've no idea if my kernel will broke something on other LoS-15.1 based rom as I've only tested it on unofficial LoS15.1 by Cozzmy13 but sure, try it and if something breaks, I'll try my best to fix it. :good:
Just try installing on AEX rom, but not explore more.
kopter36 said:
It should work. I've no idea if my kernel will broke something on other LoS-15.1 based rom as I've only tested it on unofficial LoS15.1 by Cozzmy13 but sure, try it and if something breaks, I'll try my best to fix it. :good:
Click to expand...
Click to collapse
i've got bootloop on NOS....
caxwan said:
Just try installing on AEX rom, but not explore more.
Click to expand...
Click to collapse
AEX on libra? Can you give me the thread link?
ClaviluX said:
AEX on libra? Can you give me the thread link?
Click to expand...
Click to collapse
Sure, here the thread
4pda - mi4c
hanuraiga said:
i've got bootloop on NOS....
Click to expand...
Click to collapse
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
kopter36 said:
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
Click to expand...
Click to collapse
Thanks guy! You are really great!
kopter36 said:
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
Click to expand...
Click to collapse
Awesome... I'll be waiting
Is this kind of kernel features only available on kernel version 3.18.xx or is it also available on kernel version of 3.10.xxx
flammenwerferx said:
Is this kind of kernel features only available on kernel version 3.18.xx or is it also available on kernel version of 3.10.xxx
Click to expand...
Click to collapse
Most of those features are not limited to 3.18.xxx kernel. I've seen most of it implemented on Nexus 5X's custom kernel which share same kernel version with our device with the only exception is Qnovo charging driver. In fact, I've seen some of those features implemented on 3.10.9x which arent upstream to latest version at all.
HateKernel-1.3 is up
Changelog ;
-upgrade compiler to UBERTC-5.3.X (GCC-5.3.1)
-revert overclocking code until I found (if possible at all) working code
-proper undervolt to keep thermal-throttle a bit manageable
Click to expand...
Click to collapse
P.s: Not much changes in this version because I'm currently on holidays. Regarding kernel-patcher (AK2/lazyflasher), I'm currently still learning to do that. Very sorry guys. Development for more feature and upstream will continue soon.
To-do list ;
-upstream with latest CAF tag for msm8992
-upstream security patch
-Boeffla wakelock blocker
-backport zRam, F2FS and ext4 driver
-Adreno idler
Click to expand...
Click to collapse
I'm open to any suggestion to add other feature, just make sure its reasonable. Would be a great help too if you can point me to the commit if available.
Thanks @kopter36
HateKernel 1.3 intalled on my phone.
AEX Rom, without trouble on booting.
kopter36 said:
Changelog ;
P.s: Not much changes in this version because I'm currently on holidays. Regarding kernel-patcher (AK2/lazyflasher), I'm currently still learning to do that. Very sorry guys. Development for more feature and upstream will continue soon.
To-do list ;
I'm open to any suggestion to add other feature, just make sure its reasonable. Would be a great help too if you can point me to the commit if available.
Click to expand...
Click to collapse
Well, I'mma just suggesting these
1. KCAL Advanced Color Contol [with satutation, contrast and etc. Control]
2. Faux Sound Control [this really useful especially if somebody is experiencing a hissing noise on their headset, so they can reduce the output volume through this control]
3. Intelliplug or any hotplugging [only if it's really necesarry]
4. Adreno idler / booster of course (You've mentioned)
5. Upstreaming to the latest CAF (You've aforementioned)
6. ZRAM LZ4 Backport (On your to-do list)
7. Some kind of power efficient workqueue maybe
8. So-called boeffla wakelock (if i ain't mistaken the name)
PS : Anyway, undervolting seems working flawlessly, I've never reached 50°C now on normal chatting usage (usually it is around 50-55°C after one hour usage)