yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Most convenient way is to simply dirty flash the rom and make sure stock kernel got flashed in the process ( looking in about section.) :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Just curious, what is the advantage of using this over cleanslate kernel since that also provides a nice battery life. And also how to enable the KAD feature?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Mileage may vary, but many get very very good active screen on time with their usage pattern and EAS scheduling. So it's worth a try, just backup stuff.

About KAD, check my threads first video. There's a quick way, pressing VOLUP/DOWN at the same time twice quickly, while your screen is off, that will switch to high alert mode.

Otherwise you can try to use exkm advanced feature, or maybe [MENTION=271041]p50kombi[/MENTION] has a nice importable version to extend exkm with all sysfs settings. I should link it too next time.

Also [MENTION=398245]LeeDroid[/MENTION] is planning to add this setting as well, if it's not already there in LeeDroid tweaks on play store
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Actually when I tried eas kernel I got less battery life than cleanslate one that's why I asked. And also does using kad eat battery life?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Certainly it will eat some, count with it as a normal screen on time. So each notification means about 30sec screen on. (5*6 repeated screen on. You can lower it by setting a repetition of 1, and set a lower KAD screen timeout, that will need some sysfs tuning, already possible, like I described above with exkm)

So it can add up quickly, as the screen is LCD and not amoled where such thing eats much less on grayscale
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jsaxon2:
I agree, but Viper did not have an unrooted option in Aroma installer and I wanted to use the update Magisk without flashing an older version first. So I just restored the boot.img so it was clean and untouched.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Actually I tested all 3 kernels and all 3 are very good all depending what your demands are but EAS kernel is better in battery life.

I don't game but in when using the phone I have a drain of about 8%/hr so it means I can get 10 hrs SOT with 20% left.

Never use my phone 10 hrs a day but I managed to go down to 40% and achieved 7hrs+ SOT.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
So I installed the cleanslate kernel over this one directly and and now the wifi is showing error. I really want to fix this without resetting my phone. Is there a way to fix this? And I have the boot.img from leedroid rom so how can I use that to fix this?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Dirty flash LeeDroid and choose cleanslate via aroma ( or flash cleanslate from [MENTION=3088420]tbalden[/MENTION] ’s thread after dirty flashing LeeDroid). I don’t have in mind of latest clean slate is included in LeeDroid rom currently :svetius:

Your wlan module doesn’t match.

This situation is also explained in my faq
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Just read the OP thoroughly!

Send from the amazing HTC U11
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Update to 3.0

hey guys and girls,

this one will be a major update again. I took a lot of time and testing with this release.

The Kernel is completely rebased. The few guys that weren´t able to boot the kernel should now be able to, as some testers confirmed. So please try it if you were among them but didn´t raise your word!

Also I switched back from the experimental GCC 7 to the trusted 4.9 one, because I encountered a few issues with it.

Everything should be working very well now. (except wlan calling, you all know the story as I have no source for htc´s wlan driver)

Device is completely stable for me. And with the new EAS it´s as smooth as never before.

I found the caf commits that were responsible for the audio issues some experienced on earlier versions and reverted them.

Changelog:

Completely rebased the kernel on latest CAF

Upstream is now at linux 4.4.97.

EAS is now at 1.4 ( Pixel 2 uses mostly 1.2 with a few 1.3 changes in)

all KAD changes from [MENTION=3088420]tbalden[/MENTION] are also built in now. Drop him a big thanks for this!

Updated lpm/cpuidle

updates to crypto

updates to msm/kgsl

updates to binder

some other patches from the oreo pixel 2 kernel pulled in for various subsystems (display, gpu, selinux, ext4, etc.)

OC kernel has now also GPU overclock from 710mhz to 750

OC kernel big cluster now reverted back to stock frequency

Starting with this I will only provide a kernel that has OC and UV built in and one that has not.

OC/UV kernel has:

Little cluster at 2035 mhz

Big cluster at stock 2457mhz but voltage reduced

GPU at 750mhz

Other one is stock that means stock voltages and no overclock.

For detailed changes please take a look at my github.

Download is here:

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

Stock: https://www.androidfilehost.com/?fid=673791459329060406

Instructions:

1. Download the kernel zip from the link below

2. Reboot to twrp and do a full nandroid, including system, data and boot (this is important)

3. Restore the stock boot.img to have a clean ramdisk if you are on another custom kernel (simplest way is to dirty flash your rom)

4. If you haven´t done the nandroid do it now. you need it to backup your wlan module

5. flash my kernel zip

6. reboot

7. set your desired features via EXKM or leave everything default

8. enjoy your EAS kernel

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 may take a little bit longer due to the base change again! Give it 2 minutes for the first reboot!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Update to 3.0

double post
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
You guys won't be disappointed. This thing flies. Thanks to [MENTION=3428502]Freak07[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] dioooi:
Finally arrive, thanks for your great work again [MENTION=3428502]Freak07[/MENTION]. Hopefully this time will get rid of the reboot issue. It will be another good combination with Lee droid 's ROM.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
I am getting very less drain per hour which is nice. But by default when I go to exkm to cpu boost option there the dynamic stune boost is set to 50 but in the info on the 1st post you stated that it's not enabled by default so which is it?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Since dynamic stune boost v2 is built in it’s okay that it’s set to 50. In fact it’s set via ramdisk to this. :svetius:

dynamic schedtune boost will basically boost top-app schedtune boost to 50 when you touch the screen for 1,5 seconds.

That’s the same value the pixel uses to complete incoming tasks upon interaction asap. You can try to lower it to like 25 or 35 and see if you’re still satisfied with performance. Afterwards it should be even more battery friendly.

Thank you very much for this post and reading my info. I will correct the section tomorrow.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
Hi! Can you please tell me why you removed OC for big cluster? I liked it and liked the bragging rights of having stable overclocked phone. :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I actually got lesser score in benchmarks with it although it was perfectly stable. And I’m not the only one that found the issue. ( also on the op 5 forums which uses the same soc)

I might re-introduce it at some point it if I can rectify the issue. :svetius:

But on some games like this

https://play.google.com/store/apps/details?id=com.protopop.brightridge

I get an actual increase in fps with the new gpu overclock if I max out settings :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] wednesyao:
Hey you released 3.0 on 11.11 so are you a "single dog" like I'm?:p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
which has better batterylife? the stock one or the one with oc+uv?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I use the oc/uv kernel and are totally satisfied with it.

You could try to use the oc/uv kernel and underclock the little cluster to stock frequency and gpu to 650 for a beginning. That may give you a boost in battery life.

Also try playing with the dynamic schedtune boost value. Decrease it from 50 to 35,25 or even lower. See if you’re still satisfied with performance and report back :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
My battery life right now using the oc+uv is pretty bad right now. I am getting 23-25 drain per hour according to exkm and I don't use Facebook or messenger a lot. Use only reddit and browsing and YouTube mainly. I really wanna use this kernel for its smoothness but the battery life man... Are the settings in exkm changed or something? I didn't modify anything yet but I have increased the colour saturation, will that affect something?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Another pic
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I don’t think the kernel is responsible for this.

Did you install better battery stats to see if you have a rogue app?

Play services issue?

Sounds definitely like there is something bad going on in the background for you.

Kcal doesn’t cause the drain for sure.

On the screenshot are my stats from today.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Also check if the SDcard is the culprit.

I had that a while ago where cpu frequencies kept pegging and thanks to tips of Freak07 I narrowed it down to the SDcard.

What i did was save all the content of the SDcard by taking it out of the device and copied all files with a SDcardreader to my laptop.

Then put the SDcard back in the device, formatted it there and then connected the U11 over MTP protocol to the laptop, transferred all files back and that did the trick.

Now I get (no gaming though) about 10 hrs SOT with 20 to 15% battery remaining.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
A lot of things happened since then including bricking my device.lol. So anyway I thought of starting over from scratch and thought of deleting all the data present so went over to twrp and deleted all the data. oh boi was that a mistake, all my roms,files everything got deleted and even if i was able to connect to the computer it showed nothing . The computer recognized the phone but nothing happened(i am a novice in these things so it freaked me out a lot, i am just used to flashing zips) so anyway i just google about the issue and came across adb sideload and thank god that worked for me. So i was able to install a rom and started from scratch . So i installed the latest oc+uv file the battery life is definitely better than what I had previously but still testing it. Will report back later if any problem arises. And out of the topic but is it possible to add kernel features like screenshot the whole page (instead of whats just visible), making a gif out of a video in the screen( all these features are there in s8,note8 so if the u11 hast it that would be cool). So i will test the battery more and report back later.Thx!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Nice, level 3 flasher unlocked :)

BTW you semi bricked it, to be precise, as you could undo it without manufacturer
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jsaxon2:
FYI, Wifi calling appears to be working running your latest. I am on LeeDroid R71 rom using Magisk 14.0. I have U.S. unlocked running on on T-Mobile. Not sure if anyone else has it working, hut it is working for me. I've made calls and they all work...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Thanks for reporting back! Really appreciated!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Why is there no stock+uv option ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
Lol he already mentioned why some posts back. Most people were downloading stock or oc plus uv. Trust me, OC plus uv is there way to go. Getting .3% when this baby sleeps and a 7% on screen drain per hour. [MENTION=3428502]Freak07[/MENTION] is a beast. Just do a quick search or read back some pages and you'll see his reasoning.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
See the answer above mine.

Besides you can just flash the oc/UV version and set the CPU Freq of the min Cluster to 1900mhz and you have basically stock+UV :)

except the GPU OC. But that last GPU step is only used when playing really heavy 3d games. :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Lol didn't even think of that! Stupid me.:eek: And another thing, does enabling the default battery saving mode do anything in this kernel? Asking since I read in some of the previous post that it does nothing in this kernel
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
No. power saving from stock is bound to pnpmgr which we have to disable. So the power saving mode from stock is not working.

As an alternative try to configure the power saving mode in exkm to your likings. :svetius:

Or set up a profile with tasker.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Is the minimum cpu frequency for big cluster supposed to be 1132? It's was there by default.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
No it should be set to 230 or 300 mhz. Via ramdisk, so in theory you shouldn’t have to do a thing.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Hmm now it got changed to 1056. So should I change it or not? Also what is ramdisk?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Change it to 230 or 300mhz and see if it sticks.

Additionally you can check if the frequencies below 1000 mhz get used. Then maybe it’s just a “cosmetic” issue in exkm. this can be check if you hit the cpu frequency live view in exkm app.

The ramdisk is a part of the kernel in Linux. Feel free to do a little research in Google about the kernel in Linux/android in general :svetius: ramdisk changes should be automatically applied as soon as you flash my kernel

PS: does exkm app shows pnpmgr in cpu section as disabled?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
I don't know why but the exkm app sometimes doesn't play nice and clearing the data doesn't seem to help in my cases. What I've done is cleared data, deleted the app, then flash my kernel. Afterwards download the app again and all the correct settings should be ready to go. Tweak and set to your heart's content. Hope this helps.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
So i flashed the kernel again and noticed this one thing, that when i open exkm(dashboard) the cpu goes down till 230 in both the clusters but as soon i open the cpu tab in exkm the minimum frequency automatically ramps up to 1132 or 1056 and this happened even in the kernel auditor app too. So i can change this easily to 230 but what if something else also changed that is not visible in exkm i.e i wouldnt even know whether it got changed or not. Is there any type of log file i can create with all the current kernel settings so you can check it out?and yeah pnpmgr is disabled in the menu
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
irrespective of anything the battery life on your phone is amazing:good: if only I had your battery life.:(. Right now i get sometimes 30-45 mins screen on time per 10 percentage.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
This kernel is incredible.. Wow.

After underclocking to the stock values and underclocking GPU to the 670 MHz is phone cold.. After running antutu with this underclocking setting with this wonderful result
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
What are the stock frequencies for both the clusters?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Again my 11 started draining the battery extremely again and the big cluster was pegging to max frequency.

So I immediately checked the MicroSdCard and I couldn't write to it anymore

Took it out, checked it and it was and stayed faulty. Managed to get my data off it and then tried to partition and format it again (low level) but no luck. Too many sectors were bad so threw it in the trashbin.

Got a new one today and all is back to normal.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Out of curiosity. Which card did you use?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
A Samsung sdxc 64Gb uhs 3, 3 years old and only used in my M9, 10 and this U11.

Send from the amazing HTC U11
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
From unknown reason after 3 days stuck little cluster on 1900 MHz.. restart don't helping. So I try change governor schedutil to the sched and on sched is everything okay but if I change back to schedutil still stuck little cluster all frequencies on 1900mhz.. Wtf?

And whats differences between sched and schedutil governor?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I don’t know what’s happening for you.

to me it sounds like you have an app running in the background that’s gone rogue. I had this once and it was action launcher. Deleted all date of action launcher and all was fine again.

You can also try to remove your sdcard ( if you use one), restart and see if the problem persists. If no, then it means that the exfat driver the kernel uses has a problem with how your card is formatted.

Sched is deprecated and schedutil is the governor to use with this kernel.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
The CPU load is minimal. It's only sticking on 1900mhz.. CPU is cool. Only 39 degrees ceslsius.. So I set little cluster to sched and big to the schedutil..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hm. Did you only view it in exkm live frequency view?

If yes click on the live view. Reset the frequency distribution table. let the phone idle a few minutes and check if the phone really was using 1,9ghz the whole time.

Is the min freq set to 300mhz?

As a last resort try to dirty flash the rom and afterwards the kernel again.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
I think it might be a bug since even I had the same issue with the frequency continuously being on same mhz( even in live view after idling the phone) It went away after I set the minimum frequency in exkm to 230mhz.

---------- Post added at 08:15 PM ---------- Previous post was at 08:11 PM ----------

Off topic but what is the difference between interactive and schedutil governers?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
Snaptube was that fckng app..thanks rooted privilegs and gram batt stats..

Many thanks for your assistance. I would donate u
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
With this settings it looks more battery friendly with no jumps to the higher frequencies..

Big cluster is set to the shed gov..

Even I make by sense touch screenshoot frequency don't jumped to the higher.. Perfect
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
No you should use schedutil. Sched is old and not suited for the EAS integration I did in the kernel. In fact the ack 4.4 already dropped it completely.

set both minfreqs to 300/230 depending on the kernel you downloaded. If you want to save battery change the dynamic stune boost to 10 or 20 instead of 50
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
So I've made your recommendations back all to schedutil and boost set from 50 to 10.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
5-6 SOT I have on only LTE about 500mb per day. I'm thinking it's very good batt life
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Yes I also think that’s very good for only using mobile data!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mostafa Wael:
There is a huge difference. For starters, Interactive governor works with HMP scheduling (used to work with earlier EAS implementations like that of the OP2, which was mainly aiming to improve the thermal performance by hotplugging the CPU cores in a rotary pattern) whereas sched/schedutil works with EAS, more specifically the recent implementations (I think starting from r1.1 till the latest r1.4). If you want to know the difference between Interactive governor and schedutil governor when it comes to frequency selection, then here you are. Schedutil uses a linear relation that involves the utilisation data fed by the scheduler, depending on the load tracker involved (WALT or PELT). In other words, the scheduler's work is in some way or another extended to as much as the frequency determination. Interactive governor, on the other hand, relies heavily on timers and heuristics to determine/predict "how busy the CPU is" and scales the frequencies​ accordingly.

I strongly invite everyone to elaborate and correct any misleading information, no one is an all time genius. :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] BLEK0TA:
Everything OK but I'm thinking it can be more better but signal ? cost quarter off my batt life.. I'm near bts signal ist strong very strong. Don't know why so high is signal..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
I think I encountered some kind of bug. After few days of using this kernel the cpu boost options automatically gets changed to some other settings. I tried installing the kernel once again after a full wipe and once again it gets changed automatically after few days (or reboots don't know which one).this happened 3-4 times till now. Is this happening only to me or anyone else too?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It gets set automatically to the values on the screenshot on each boot via ramdisk.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
I just rebooted the phone and the values are same as what I showed in my previous screenshot. It seems like ramdisk(whatever that is) isn't working properly and setting the right values. What do you think is the problem is?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
are you rooted via magisk or supersu?

I suggest doing a dirty flash of your rom and check afterwards if it´s working again. There will be soon an update to the kernel so you might want to wait for a few minutes.

It sounds like your ramdisk is somehow screwed up. Did you restore/flash other kernels?