[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
BIG UPDATE and Announcement| CAF Kernel

hey guys and girls,

you may have noticed that I asked for testers as I made some big changes to the kernel. Here is now the result for you all to try.

So here a few details.

I completely rebased the kernel. I don´t know your exact level of knowledge but I try to make it as short as possible.

The kernel is now based on the latest CAF source for our SOC. CAF stands for Codeaurora Forums. The guys over there really know what they do and usually all kernels have some CAF patches in it. Thats not the case here, instead we use their complete latest source. Advantage is we have nearly the absolutely latest source for our soc, improved security, fixes for stability and general improvements. On top of this the kernel is upstreamed to linux 4.4.89 (security patches, maintainance updates) from linux upstream.

Short writeup on upstreaming the kernel is here: https://xdaforums.com/android/software-hacking/reference-how-to-upstream-android-kernel-t3626913

And a little bit of insight from a developer that works on upstreaming the main android kernels is here: https://xdaforums.com/showpost.php?p=73959224&postcount=98

Most of the work here was done by [MENTION=4675360]tomascus[/MENTION]. Many thanks to him for letting me use his work as a base! He works relentlessly in the background, so if you´re interested be sure to pay his github a visit.

So that´s the base. On top of this are the changes from HTC 1.27 source drop. and on top of this is the EAS implementation.

All usual additions like kernel features for the U11, my improvements and optimizations are also included.

The use of the CAF source fixed the youtube playback issue, when playing with 60 fps completely.

Also I built the kernel now with various toolchain optimizations specifically for our soc and brand new gcc linaro 7.x.

On top of this is a slight undervolt ( yes undervolt of CPU and GPU), but I also provide a kernel without UV and OC.

Please note that the undervolt was stable on all testing devices so far.

The undervolt is done different as you may be used to it from the past. On earlier devices like HTC M8 you could set the voltages for each frequency in an interface.

As the kernel uses no static voltages, but rather calculates the best voltage for a currently used frequency intelligently based on various conditions, I changed the range of voltages the kernel can choose from directly in the underlying dtsi file. So this voltage is not user adjustable.

A further note is that the CAF Kernel uses slightly different voltages ( lower) by default in comparison to the HTC kernel.

This may improve battery life, but you directly notice less heat and that is the reason I ultimately tried to UV this beast.

The kernel performs now better than it ever has. The user has many choices to tie the kernel to his needs.

Please take a look at post #4 on how to setup EAS boosting in case you aren´t satisfied with my default setup.

Take a look at my github for all the changes as there are many!!

Downloads:

OC + UV : https://www.androidfilehost.com/?fid=745849072291677420

OC + NO UV : https://www.androidfilehost.com/?fid=673791459329049752

NO OC + NO UV : https://www.androidfilehost.com/?fid=745849072291677424

Changelog:

- All previous features included

- now built with GCC 7.x (while doing this I had to include many patches to make the kernel build properly)

- built the kernel with improvments specifically tied to our SOC- architecture (cortex a73/a 53)

- upstreamed to linux 4.4.89

- Fully working EAS implementation

- Fixed Youtube Stuttering when playing with 60 fps

- added Adrenoboost to ensure smoothness in some badly optimized apps ( lowest boost default, battery friendly but giving some kick)

- added new features and patches from [MENTION=3088420]tbalden[/MENTION] (again huge thanks to him!!), take a look at his thread for explanations

- add latest BFQ iosched and made it buildable with latest source.

- added UV for CPU and GPU

This was a bunch of work but the result is really worth it. The kernel runs flawless for me and I invite you all to try it :)

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07

Have fun with the kernel, enjoy your phone :)

P.S.: The first reboot after flashing the kernel takes a little bit longer due to the base change! Give it 2 minutes for the first reboot!