[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hello everyone,

after countless hours of work here it finally is. The first working EAS kernel for our beloved HTC U 11.

Important question: What is EAS?

Energy Aware Scheduling (EAS) is an enhancement to Linux power management, unifying CPU power control under the Linux kernel. EAS extends the Linux kernel scheduler to make it fully aware of the power/performance capabilities of the CPUs in the system, to optimize energy consumption for advanced multi-core SoCs including big.LITTLE. With EAS, the Linux kernel will use the task load and a CPU ‘Energy Model’ to control task placement to select the optimal CPU to run on.

Google thinks, EAS is the way to go for the future. With this kernel you can get pixel (2) experience even before the pixel (2) is released.

Interesting links for further research:

http://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-progress-update/

https://developer.arm.com/-/media/d...overview_and_integration_guide_r1p3.pdf?la=en

DISCLAIMER:

I had to rewrite and cut out a lot of code to get EAS working. Due to this the prebuilt WLAN and texfat modules are no longer working for this kernel. There are conflicts because I moved to far away from HTC´s codebase.

Because of this I had to compile the WLAN driver from source and integrate it as a module in the kernel zip. To get texfat working I had to built the exfat-nofuse driver from @dorimanx into the kernel.

To allow the kernel to fully operate we need to disable HTC´s PNPMGR.

That means in case you want to go back to a HMP kernel you will have to either backup the wlan module and the pnpmgr files manually or do a nandroid/dirty flash your rom (which is way easier).

This also caused WLAN calling not to work!

Features:

- EAS for 4.4 with patches from 4.9 eas-dev

- Upstreamed to latest 4.4.170

- Rootless interface supported

- Enabled NOOP, DEADLINE, CFQ, MAPLE, TRIPNDROID and BFQ IO scheduler

- Enabled advanced TCP Congestion Control

- Included GPU Boost

- S2S across navbar area

- KCAL color calibration

- Backlight Dimmer

- Button Mapper Support

- Fsync On/Off support

- Green Pulsating Notification LED @tbalden)

- Fingerprint Double Tap to sleep support @tbalden)

- Button Light Notification from @tbalden

- Gradient Charging LED from @tbalden

- Squeeze Control (squeeze to wake/peek/sleep; squeeze to swype) from @tbalden

- Flashlight notification from @tbalden

- Vibrating Notification reminder from @tbalden

- Notification Boost from @tbalden

- Generic wakelock blocker

- Completely rewritten CPU-Boost for EAS (thanks to @RenderBroken) along with Dynamic Stune Boost from @joshuous

- included BFQ IO Scheduler for 4.4 kernels

- USB Fastcharge

- Various CAF improvements

- upstream patches from kernel/common

- Locking Backports from 4.9 Kernel

- OOM_Reaper, OOM_Kill Backport from 4.9 kernel

- Lowmemorykiller Backport from 4.9 Kernel

- RCU backport from 4.9 kernel

Instructions:

1. Please dirty flash your rom to have a clean ramdisk

2. Backup your current setup in twrp

3. flash the zip file/s according to your favorite install method in twrp

4. reboot

5. If you dont want to use @tbalden ´s rootless kernel apps, but traditional root via supersu or magisk delete the uci....cfg file from the root of your sdcard

6. Enjoy your phone :)

Download:

OREO: https://www.androidfilehost.com/?w=files&flid=251050

Nougat: https://www.androidfilehost.com/?w=files&flid=229307

Changelog:

1.003:

https://xdaforums.com/showpost.php?p=73283377&postcount=174

https://xdaforums.com/showpost.php?p=73283388&postcount=175

ZERO_BETA_2

https://xdaforums.com/showpost.php?p=73500972&postcount=233

ZERO_GAMMA_4

https://xdaforums.com/showpost.php?p=73533313&postcount=296

ZERO_GAMMA_6

2.0

https://xdaforums.com/showpost.php?p=73806358&postcount=386

3.0

https://xdaforums.com/showpost.php?p=73874622&postcount=424

CAF_1.0

https://xdaforums.com/showpost.php?p=73983865&postcount=493

CAF 1.10

https://xdaforums.com/showpost.php?p=74055104&postcount=626

CAF 1.20

https://xdaforums.com/showpost.php?p=74103333&postcount=676

CAF 1.30

https://xdaforums.com/showpost.php?p=74135102&postcount=687

CAF 1.31

https://xdaforums.com/showpost.php?p=74163796&postcount=703

CAF 2.00

https://xdaforums.com/showpost.php?p=74202067&postcount=719

CAF 2.10

https://xdaforums.com/showpost.php?p=74270321&postcount=755

CAF 3.0

https://xdaforums.com/showpost.php?p=74476266&postcount=792

CAF 3.1

https://xdaforums.com/showpost.php?p=74677436&postcount=845

OREO 1.0

https://xdaforums.com/showpost.php?p=75636045&postcount=918

OREO 1.3

https://xdaforums.com/showpost.php?p=75675979&postcount=938

OREO 2.0

https://xdaforums.com/showpost.php?p=75843285&postcount=955

OREO 4.0

https://xdaforums.com/showpost.php?p=76020308&postcount=987

OREO 5.0

https://xdaforums.com/showpost.php?p=76287809&postcount=1029

OREO 7.0

https://xdaforums.com/showpost.php?p=76625681&postcount=1053

OREO 10.0

https://xdaforums.com/showpost.php?p=77187817&postcount=1082

OREO 11.0

https://xdaforums.com/showpost.php?p=77588328&postcount=1107

OREO 12.0

https://xdaforums.com/showpost.php?p=77757572&postcount=1113

OREO 13.1

https://xdaforums.com/showpost.php?p=78144426&postcount=1146

OREO 15.0

https://xdaforums.com/showpost.php?p=78815371&postcount=1170

Credits and Thanks:

I want to say thank you to all those who helped me along my way, who answered all my questions and took their time to support me. Huge thanks to @tbalden @Eliminater74 @Captain_Throwback @RenderBroken

Additionally a huge thanks to @RenderBroken for doing the main work on getting EAS on the android 4.4 kernel. Without him this wouldn´t exist. Drop him a thanks on his threads or show your appreciation with a little donation.

This credit also goes out to @joshuous who works together with @RenderBroken.

Credits:

@flar2 for his complete work

@tbalden for his led tricks, adreno boost etc

@Flinny for helping me with compiling the kernel!

@savoca for Kcal

@Eliminater74 for bringing me into the kernel game

@Sultanxda

@eng.stk

@osmosis

@frap129

@velimirchek for all the testing and support

@tomascus for the nougat base!!

[MENTION=2401586]jsaxon2[/MENTION] for helping me with the OREO magisk module!

and all others that helped me on my way

also for the OREO Kernel Testers!

[MENTION=2659334]zhuchella[/MENTION]

[MENTION=6776154]aadeshiscool[/MENTION]

[MENTION=311443]Snah001[/MENTION]

[MENTION=4264502]ffh2303[/MENTION]

[MENTION=2667850]cjrivera04[/MENTION]

[MENTION=3959431]Derepinar[/MENTION]

[MENTION=271041]p50kombi[/MENTION]

[MENTION=1748233]CharliesTheMan[/MENTION]

[MENTION=2401586]jsaxon2[/MENTION]

Donations:

Donations are not mandatory but very welcome..

If you like my work: http://paypal.me/freak07

Source: https://github.com/freak07/OCEAN_OREO_EAS