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

engsalam10

Member
Apr 25, 2016
24
2
0
Fast usb charge

If i turned usb fast charging in kernel manager can this do damage to charging socket or the battery since the phone dont support fast charging
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Do ECO Kernels b535 (or newer b539/b540 builds) work with b535 Patch02?

Also, b539 ECO Kernels work with b540 upon its OTA patch (before OTA patches all worked fine, but asking now if Huawei enforces Android Verified Boot and if it checks the authenticity of Kernel)?

Edit:
- Tested (old, from Nov) 4.4.162_11.18.18_lin_B535 and it works fine with b535 Patch02
- Tested 4.4.171_01.19.19_lin_B539-B540, got a bootloop with b535 Patch02
- Compared MD5 hashes of stock kernels from b535 and b535 Patch 02, they differ (interestingly, hashes of stock ramdisk for b535 and b535 Patch02 coincide)
 
Last edited:

dkionline

Senior Member
Oct 15, 2012
2,449
1,810
193
- Tested 4.4.171_01.19.19_lin_B539-B540, got a bootloop with b535 Patch02
1st, its same huawei practice to patch all devices again. It needs simply a dm-verity patched ramdisk, no kernel issues on that side. If there was any, i would know it before any other.
2nd, avoid patches and use new builds instead of useless updates.
 
  • Like
Reactions: Tecalote

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
1st, its same huawei practice to patch all devices again. It needs simply a dm-verity patched ramdisk, no kernel issues on that side. If there was any, i would know it before any other.
2nd, avoid patches and use new builds instead of useless updates.
Month ago I had manually installed b540, happily using newest ECO kernels available at the time:
https://forum.xda-developers.com/showpost.php?p=78541407&postcount=75

But later I had to reinstall AL10c00 and then sticked with what was latest officially pushed by OTA: b535 with Patch02:
https://forum.xda-developers.com/p9...ta7-p9-eva-t3820849/post78721851#post78721851

However, yesterday evening received OTA updates for b540 and its Patch02:
https://forum.xda-developers.com/showpost.php?p=78763850&postcount=1405

Hence now back on official b540 and using your latest ECO kernel v4.4.171_01.19.19_lin_B539-B540, all fine

PS: OTA patches 02 are now official/pushed by Huawei, enforcing DM Verity, hence one must patch Magisk with both Preserved Encryption and Preserved AVB - and everything works fine :)
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Thank you for updating Eco kernel builds - now using your latest v174 Uber

On b540, Patch02, Magisk v18.1, all working fine

Now, with the new NW patch v2.5 from @Tecalote, applications can be put to Launch Automatically (no need anymore eg for Kernel Adiutor to choose Manual Managing and to force Start on boot) - Kernel Adiutor will properly apply required changes on each and every boot (I'm forcing Blu_Active governors both for Big and Little)
 

Attachments

Last edited:

Wattsensi

Senior Member
May 13, 2018
221
34
0
Talca
I am currently testing your latest Uber kernel on Omni Pie...
OpenKirin OmniROM Pie + LKT + v175 UBER.

EDIT: THIS THING IS SICK! I just tried a race in Asphalt 8 and...My framerate went up by a lot. I don't know how much, but certainly it doesn't feel like 20 FPS anymore, even on High in the middle of Tokyo.
This kernel is so awesome, thanks for your work. I just hope I don't get SoD or anything like that. Custom kernels tend to fail sometimes for some reason.

I see that this kernel has EAS by looking at the kernel/sched/energy. c and kernel/sched/fair. c Nice!
Will you consider adding schedutil sometime?
 
Last edited:
  • Like
Reactions: Tecalote

DavidLacht

New member
Apr 4, 2019
1
0
0
Hello, can I flash the ECO kernel on my P9 *Plus* or is it just supporting the normal P9? If I can flash that on my P9 Plus: Which file should I use? Best regards.
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Hello, can I flash the ECO kernel on my P9 *Plus* or is it just supporting the normal P9? If I can flash that on my P9 Plus: Which file should I use? Best regards.
Probably will work - P9 and P9 Plus shared the same stock Kernel for b535.

Btw, once I flashed a custom Kernel for Honor 8 to P9, and it worked.

Have ready your P9 Plus b537 stock Kernel, to flash from TWRP in case of problems.
See the answer on AndroidHillfe how to extract stock Kernel.img by Huawei Update Extractor from update.zip, and/or to dump it by dd from Terminal Emulator or ADB shell.

See also an earlier post
https://forum.xda-developers.com/showpost.php?p=77997294&postcount=24
- maybe @Albon98 tested ECO Kernels on P9 Plus

Edit:
@DavidLacht later confirmed on AndroidHilfe that ECO Kernel worked on P9 Plus with VIE-AL10c00b537:
https://www.android-hilfe.de/forum/...oreo-update.884138-page-41.html#post-11508008
 
Last edited:
  • Like
Reactions: DavidLacht

Hermanos01

Member
Apr 3, 2016
14
4
0
Naga
Probably will work - P9 and P9 Plus shared the same stock Kernel for b535.

Btw, once I flashed a custom Kernel for Honor 8 to P9, and it worked.

Have ready your P9 Plus b537 stock Kernel, to flash from TWRP in case of problems.
See the answer on AndroidHillfe how to extract stock Kernel.img by Huawei Update Extractor from update.zip, and/or to dump it by dd from Terminal Emulator or ADB shell.

See also an earlier post
https://forum.xda-developers.com/showpost.php?p=77997294&postcount=24
- maybe @Albon98 tested ECO Kernels on P9 Plus
really? honor 8 custom kernel can work on p9?
 

dkionline

Senior Member
Oct 15, 2012
2,449
1,810
193
I see that this kernel has EAS by looking at the kernel/sched/energy. c and kernel/sched/fair. c Nice!
Will you consider adding schedutil sometime?
Isnt it implemented allready?
really? honor 8 custom kernel can work on p9?
Should work on every Oreo based Kirin 95x Device. But simply only with right security patch, changeable through kernel img.

4.4.177 got lastly upped to cloud + sources updated. Latest upstream comming later.
 

Wattsensi

Senior Member
May 13, 2018
221
34
0
Talca
Isnt it implemented allready?
I can see the schedutil.c files in the kernel source, but I can't choose schedutil from EX Kernel Manager. I am currently using interactive_pro for big and blu_active for LITTLE. Any clue? Schedutil is the best EAS governor. (I am using 4.4.175 UBER)