[KERNEL][E68XX][EAS] DevElite Kernel Three, Bigger and Better - Xperia Z5 Premium Android Development

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?

Related

[Discontinued][Kernel][AOSP/LineageOS/MIUI] KaminariKernel R12 [04 March 2018]

This project is no longer being maintained. I'm no longer developing for the G1/G2 family.
KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now more void than it already was.
*
* 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 simply grab my popcorn and laugh at you.
*
* Tl;dr: if your device crashes and burns, and if that gets you in trouble, it's entirely your fault. [STRIKE]Might be my fault as well, because I'm not a developer, but I don't care. lol[/STRIKE]
*/
Hiya fellas.
This is a sister project to my original (and ridiculously outdated) kernel for stock ROMs only. The version in this thread is the one designed to work with anything that isn't the stock firmware, i.e., AOSP, AospExtended, LineageOS, Resurrection Remix,... You name it. Even MIUI, which can be a b**** to get custom kernels supported on.
Features:
Sources & Optimizations
- Based on Lineage's shared falcon/peregrine/titan/thea sources
- Compiled with Linaro 4.9
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- MSM Hotplug
Click to expand...
Click to collapse
Extra CPU Governors
- Impulse
- Smartmax
- Yankactive
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- Simple GPU Algorithm
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- CPU Overclock (up to 1.6 GHz) (Overclocked version only)
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Unified Marshmallow & Nougat (CM/LineageOS 13 & 14.x)
Click to expand...
Click to collapse
Looking for previous releases?
Go here.
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- Reboot again and have fun!
Coming from another kernel which isn't mine? Don't worry, no need to dirty flash the ROM/kernel anymore. The install script now does all the dirty work for you.
If you wanna "tweak ALL the things", use Kernel Adiutor! (Synapse is NOT supported!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo
- Qualcomm/CodeAurora
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (AOSP/LineageOS, Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: R12
Stable Release Date: 2018-03-04
Created 2016-01-13
Last Updated 2018-05-17
F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Because I wanted to
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Works on any ROM as long as it isn't stock . So yes, it does. AOSP, CM LineageOS, RR... Any of these.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. No Synapse support!
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse
Reserved
Reserved
Okay... Last reserved.
Our first test build is up! Link is at the OP.
It's still a very early test build and it may (and probably does) contain issues (serious or not). You've been warned.
This build should fix PowerHAL not being disabled.
Great work. Zero bugs in the short time since flashing. Thanks.
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
BhavikRB said:
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
Click to expand...
Click to collapse
MPDecision.
Sir King Kami Nari ,
Have you modified Interactive ?
kingkaminari said:
Created 2016-01-13
Last Updated 2016-01-12
Click to expand...
Click to collapse
Lol? xd
So far so good with the kernel thanks!
@kingkaminari Wow, finally! flashing it right now, thank you so much!
I hope to see the rest of the features present on 5.1 here on M and Thank you so much!
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
espaciox99 said:
Lol? xd
So far so good with the kernel thanks!
Click to expand...
Click to collapse
Yeah . There's this little derp with the dates lol
espaciox99 said:
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
Click to expand...
Click to collapse
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
BhavikRB said:
Sir King Kami Nari ,
Have you modified Interactive ?
Click to expand...
Click to collapse
No. Interactive has been left untouched.
If you come from Hurtsky's Hybrid Kernel or Flashhhh's Optimus Kernel, don't forget to re-enable MPDecision - just rename /system/bin/mpdecisionbak to /system/bin/mpdecision.
kingkaminari said:
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
Click to expand...
Click to collapse
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
espaciox99 said:
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
Click to expand...
Click to collapse
I actually was having a similar problem to this not long ago but not this particular kernel.
Just fooling around I found that if I flashed any kernel after rebooting system I would have the problem you described, however if I flashed the ROM, Gapps, and kernel in recovery all together before initial boot everything works as it should.
Not sure why this is but I have experimented and it is the only solution I have found so far.

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

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

[Kernel] Project T Kernel for ZTE Axon 7 Mini

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

[KERNEL][P9][8.0+] ECOKernel 2020 [EOL]

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

[kernel][discovery][pie] AKLU kernel [50.1 firmware based]

Praise God! The AKLU kernel is in progress!
WARNING: This is for phones that are still using the 50.1 firmware base! Not for phones that have upgraded to the 50.2 firmware!
Hey guys! I finally got far enough along with a kernel mod to release it here. There are still more features to be implemented, and I hope to work on it more in the coming weeks.
Currently supported ROMs: MAY work with others, but not supported by me.
- Resurrection Remix (Pie)
WARNING: I fully test this on my phone, and it seems perfectly stable to me, but I cannot be held responsible for whatever happens to your phone. Flash at your own risk.... Please make a backup in TWRP of your boot partition before you flash this.
Features:
- Added Governors: Darkness, Nightmare, Preservative
- Added I/O schedulers: FIFO
- Added Kcal color control
In progress features:
- Wake gestures (DT2W, S2W) - These are implemented, and show up in Kernel Adiutor, but do not work presently. WIP.
- Fauxsound - These show up in /sys/kernel/sound_control, but the app to control them does not work on Android 9. Still testing, WIP.
On the bucket list (TODO) :
- Voltage control for over/under volting
- GPU overclock option
- CPU overclock option
Installation instructions:
- Copy this kernel image to your sdcard
- Reboot into bootloader
- fastboot flash ./<latest_twrp>
- In TWRP, perform a backup of the BOOT partition
- Choose install -> install image -> select this kernel image -> swipe to flash it
- If you want to be rooted (highly recommended for this kernel), you will now need to flash magisk or su, etc.
- Reboot to system and enjoy!
Downloads:
http://www.mediafire.com/folder/t11haleth4hl7/Pie_kernels
Information:
Source code: https://gitlab.com/alaskalinuxuser/android_kernel_sony_sdm660
Created: 20190917
Last Updated: 20190917
Kernel notes....
Just a few notes about the kernel features.
- Kcal color control.
Please see the attached pictures of Kcal in action! This does not affect screen shots. Screen shots from the phone will look normal, but this changes the way the colors display on the physical screen. Pretty cool and allows you to tinker with what many call "true black", and you can adjust your colors as needed. Kernel Adiutor supports controlling this feature if it is present in your kernel. You can also go black and white with the gray scale mode.
Governors:
- Darkness
It's based on nightmare but more simple and fast, basic configs but very complex structure. It is an updated version of the nightmare gov, so far it is quite stable in tests
Click to expand...
Click to collapse
- Nightmare
A PegasusQ modified, less aggressive and more stable. A good compromise between performance and battery. In addition to the SoD is a prevention because it usually does not hotplug.
Click to expand...
Click to collapse
- Preservative
This is based on the idea that the CPU will consume a lot of power when it changes frequency. It is based on the conservative governor. The idea is that it will stay at the step specified (702MHz selected by the creator Bedalus) unless needed. You will notice it will hover around 702 a lot, and not go above too much, and only to min freq when NOTHING is happening at all. This is most beneficial when you are doing something like reading; the screen is static or playing light games that won't need boosting any more
Click to expand...
Click to collapse
I/O scheduler:
-FIFO
First in First Out Scheduler. As the name says, it implements a simple priority method based on processing the requests as they come in.
Click to expand...
Click to collapse
Any exciting news here brother?
appleknight said:
Any exciting news here brother?
Click to expand...
Click to collapse
Great question! I actually just posted in the RR thread how I was able to build Android 9.0 and flash it sucessfully on my 50.2 firmware XA2 Ultra. It is kernel version 4.9, and this 50.1 kernel is only 4.4, so I'll be working on that. You can head over to this post for more details and teaser shots.....
https://forum.xda-developers.com/showpost.php?p=80423077&postcount=69
Amazing
AlaskaLinuxUser said:
Great question! I actually just posted in the RR thread how I was able to build Android 9.0 and flash it sucessfully on my 50.2 firmware XA2 Ultra. It is kernel version 4.9, and this 50.1 kernel is only 4.4, so I'll be working on that. You can head over to this post for more details and teaser shots.....
https://forum.xda-developers.com/showpost.php?p=80423077&postcount=69
Click to expand...
Click to collapse
Your doing great work. I did notice however with lineage I'll have full bars but remix I'll have one bar or no bars and still have lte
lonewolfbtown said:
Your doing great work. I did notice however with lineage I'll have full bars but remix I'll have one bar or no bars and still have lte
Click to expand...
Click to collapse
Interesting.... Right now I am messing around with the XOSD 4.14 kernel for our phone, and the outcome of that may change which direction I go with this.

Categories

Resources