yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I think it is in /kernel/ when applying the 4.4 base reset patch there were I few more diffs I had to resolve.

If I remember correctly cpuset.c

Maybe diff my source when using the htc base and now the caf base

New kernel with fixed 60fps playback

https://github.com/freak07/Kirisakura_msm8998_EAS_CAF/tree/master_linaro_7xxx_UV

Old kernel

https://github.com/freak07/Kirisakura-msm8998_EAS/tree/master
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] azzio4675:
what advice of the three? and which do you use? there are much different between OC and NO OC on the battery?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I’m running the kernel with oc and uv :) get very good battery life and device stays cool. I’d advise to try this first and only use the others if you face any stability issues :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] msnnsm:
i flashed the oc+uv version but i don't have any overclocked frequency, well i was thinking about using stock values so it's not a problem for me. I've flashed it over viper rom with elementalx kernel if it matters.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
When you go to exkm what are the highest available frequencies for big and little clusters in the cpu tab?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] msnnsm:
1900/2457
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Got a bit bored on saturday afternoon so giving this kernel a shot.

Flashed same UV/OC kernel and have same freq table displayed.

Also double tap home button to sleep doesn't work (yes enabled it in EXKM).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] msnnsm:
It's working for me but i just checked viper tweaks app and i had set the double click action to none, then i lost mine too. So yeah it's probably not working.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Have full nand b/u. Still necessary to be on stock boot.img? If so assume easiest way is dirty flash rom w stock kernel. Currently Sprint 1.28 fw CSlate and Lee rom.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
Quick observation, when I use this kernel and compare it to, clean slate, I notice higher memory consumption on the boost app that comes with the u11. Google services also shows more usage in my battery monitor. Not sure if it matters in the long run but I don't note this with stock or cleanslate. Wondering if with this kernel other apps are just read differently with battery and memory usage? Everything is running really smooth so far. Thanks for your work. (Sprint u11)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
dirty flash leedroid and you’re good to go. :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Dirty flash viper so you’re on stock kernel with a clean ramdisk. I think you chose stock frequencies in aroma while flashing elementalx kernel.

so if you ever want to try the OC you know what to do now ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It’s working just fine for me.

Could be that the viper rom tweak is interfering.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Dirty flash your rom so you’re starting with stock kernel and a clean ramdisk.

Double tap home to sleep Works fine for me
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Google play service drain is unrelated to the kernel.

Memory management is different from stock kernel but no worries. Unused ram is bad ram on android.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Flashed custom MHD rom dirty, installed your kernel and now looks fine and DT2Sleep works.

Will report back experience oc.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] deadlynounou:
Very nice job however i noticed a problem : My U11 cannot connect anymore to any WEP protected wifi network. It can however connect to WPA protected networks.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I’ll shoot you a test build.

The problem is I don’t have htc’s source for the wlan driver, so I’m building one from caf. If htc does custom additions I have no way of knowing them.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] msnnsm:
Oh, thank you. By the way is it fine like this? I mean have i lost any other features like undervolt or something because of not using stock ramdisk?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
[MENTION=2114548]deadlynounou[/MENTION] please flash attached zip and report back.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
when you switch custom kernels you should always dirty flash your rom if you want to avoid issues like this. Reason is by dirty flashing you restore your stock boot.img and what´s in this case more important a clean ramdisk.

Kernel devs modifiy the ramdisk to apply settings specifically tied to their kernel. Most kernels use the anykernel2 zip to install the kernel on your phone. Hereby the ramdisk gets conserved and my changes get added on top. So if you just flash custom kernel over custom kernel you run into such issues.

I would dirty flash the rom just in case :good: (also like I recommend it in the first post)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
For my info...is restoring a nand backup of stk boot.img ok vs dirty flash of rom with stk kernel. In either case is a reboot advised before flashing new kernel. Thx
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mostafa Wael:
Impressive!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I’d say it’s best to dirty flash the rom and reboot.

Then boot to recovery and flash the kernel :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sallam5010:
Am on stock rooted rom , flashed the kernel and now my wifi doesn't turn on always shows error ..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] deadlynounou:
Thank you for the quick reply, and sorry, maybe i had to read better the thread to understand there is that specific issue.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It’s totally fine :) I thought I just mention it.

Did you flash the test build a attached a few posts earlier for you? post where I mentioned you?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Did you check if the kernel actually got flashed? In about section?

And if yes extract the wifi module from the zip ( modules folder, .ko file)

And copy it over the existing one in system/lib/modules/qca_cld3 and put permissions to 755.

Afterwards reboot.

And please report back if it helped
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] deadlynounou:
It seems that it does not work, it is maybe "worse", the phone freeze when i try to connect to my WEP wifi and i need to force the reboot. (WPA continues to work well).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jsaxon2:
FYI, I flashed the UV/OC version and it did not rename the pnpmgr nor pnp.xml files. Does this still need to happen for EAS to work?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sallam5010:
I can't edit system at all I guess cuz of magisk , I tried everything to copy the module to system but I can't get the system to mount as rw

Your old kernels used to flash and work normally , what's wrong with the last one ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jsaxon2:
You could copy the file in twrp
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sallam5010:
Even in TWRP I still can't , tried to mount it and uncheck mount as read only but still once I reboot into Android it's still the same system module and nothing got actually copied , don't know what's happening here
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
Nope. Working just fine on Viper.

BTW, I like different approach, different thinking (read: EAS). Great job! :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] dioooi:
Hi Freak07, I flashed OC/UV yesterday night. I feel everything is working fine here, including battery, speed,Wi-Fi....etc all work fine. Only the OC remain at stock 1900/2457 can't be increased.

Thanks for your great job!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Space_Dog:
anyone have netflix image freezes with the last version? :(
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Nothing. It’s exactly the same zip. Something on your end must have changed. New magisk?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Pnpmgr gets now disabled in the ramdisk. the files don’t need to be renamed because they aren’t initialized this way :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Did you dirty flash your rom before flashing my kernel?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Which kernel did you flash? And over which kernel did you flash it?

Do you have disable hardware overlays in dev options checked?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] dioooi:
No dirty flashing rom, only flash kernel...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Dirty flash the rom before flashing my kernel. You need stock kernel and a clean stock ramdisk for this kernel to work properly.

It’s also in the instructions in the op ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
Try clearing data. It happened to me too. But I suspect it might be Netflix cause it happened to me while on cleanslate as well.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Interesting fyi...BBS app shows all battery stats w this kernel where on others kernel wakelocks always shows no stats collected. Numbers on EAS very good ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
Thanks so much Freak for your continued hard work!

I feel the battery life on this latest (CAF) version of the kernel is a lot closer to the version of this kernel I used a long time back which gave me AMAZING results.

An average 1% battery per hour is unbelievable for my usage and that without having to sacrifice anything in terms of speed or features.

Great work on this!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Yes [MENTION=8395457]velimirchek[/MENTION] incorporated, after using my script that fixed mounting of debugfs, a fix into the ramdisk that he discovered :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I’m really glad to hear this. Appreciate the feedback :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Galactus:
As someone who gave up flashing kernels from the Galaxy S3 days..........................I guess it's time to give this a chance :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] arianat:
By the far this is the best kernel I ever used.

Thank you
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Your welcome :)

Enjoy. I’m really glad to hear this!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sallam5010:
Actually I can flash the old kernel and all is well only the latest 2 versions gave me error in wifi , my magisk is v14

What else am I missing ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I didn’t change anything related to wifi or the kernel wifi module.

If your wifi is not working it means the wifi module is not getting flashed.

You replied that you cannot write to system partition. That is probably where your error occurs.

You have to take the wlan module and copy it manually if doesn’t get flashed correctly.

Here are the instructions again.

extract the wifi module from the zip ( modules folder, .ko file)

And copy it over the existing one in system/lib/modules/qca_cld3 and put permissions to 755.

Afterwards reboot.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Could you please share some details. I'm genuinely interested in some results on battery stat screens. I never plan to dabble into tweaking scheduling or freq handling, so I'm curious about results, but I don't remember seeing a good comparison review here.

Anyone else's input would be highly appreciated. I tried too this a version or two back to check gpu and cpu latency of 300hz tick time but haven't had a long time on it to see the battery results on long run. I was satisfied with the 6hrs of sot time of stock already, but I'm now really interested. Might try it again next week.

Good job [MENTION=3428502]Freak07[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Voklav:
Woow

So many changes since my last visit here. My apologies, but I was on an unexpected business trip .. meh - no time for testing :/

Glad to see the new version [CAF] ... I will try to run it tomorrow.

but some quick questions:

I'm on stock 6/128gb versions - rooted with Magic. No other changes.

first, make backup.

Then try OC + UV version(flash zip / clean dalvik) . If work - done. If not

try NO OC + NO UV ..If work - done. If not. report here :/ and restore a backup.

So do I need to do something else ... like, restore boot or WLAN drive?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
I will first let the battery calibration stuff sort itself out over the coming days and get back to you after that.

Also a big thanks to you of course since a lot of features from these kernel are based on, or cherry picked from your kernel work!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
6/128gb version is fine. I’m running it on this phone variant.

Sounds like a good plan. yes :) I’m fairly happy that uv version will work.

It’s important to always have a backup. Always.

Other thing is you need a stock boot img and a clean ramdisk so everything will work properly :svetius: but from the sounds of it you got that covered.

No the wlan module will simply get overwritten with mine when flashing the kernel. But in the case you want to return to any other kernel you have to return to the stock wlan module. do this either by replacing it from the rom zip, restoring your backup (system partition) or simply dirty flashing your rom.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
[MENTION=3088420]tbalden[/MENTION] I get better battery life than stock kernel. But this may as always very according to the usage. But what is more important to me, the phone operates smoother. This at no cost of battery life or even an battery improvement is what makes me currently really happy.

and again thank you very much for all the work you have done for this device :good:

I really enjoy the phone with bln and recently with even more little but really practical tweaks. Bln and the different notification patterns are a real eye catcher if you’re in a rom where you’re phone is resting face up on a table.

And flashlight notification for face down. It’s simply a pleasure.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
Battery is amazing. Love the kernel. Only ran into one hiccup, had to soft reboot because phone got stuck on Netflix. Cleared data on Netflix and haven't had a problem since I did so. Best version yet. Everything runs so smooth. Using OC/UV version.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
These are good results. :highfive: Especially considering you were mostly on a not so ideal signal.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sallam5010:
What's really weird is after I restored my boot I didn't restore my system image assuming the wifi will work cuz the module didn't get pushed , when it's booted the wifi actually didn't work unless I had to restore the system image , so it's indeed pushing the module but something wrong going on ... Am back on stock now unfortunately

Thanks for your amazing kernel
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
24hrs on this kernel now.

First results with wifi and data on, 3 push mailaccounts, no gaming, social apps use and web surfing during the day:

3%/hr drain overnight and during the day in use I lose about 10%/hr and that is significantly better than with stock.

Will keep reporting.

Send from the amazing HTC U11
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
Came across a bug. I can't power down my phone without it freezing. Once I power off, the phone's screen goes blank but I don't think it has powered off completely. Then I can't power it back on. Have to do a soft reset to get it to turn off and on properly. Any suggestions or anyone else experiencing this?

Edit: I think it broke my power menu. I'm on Sprint running bad Boyz rom. Downloaded an alternative power menu app on Google play and can now power on and off properly. It's a good alternative.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Voklav:
I'm making a little investigation. Can anyone confirm. Does everything work normally if you use the stock app boost+ (from htc)

https://play.google.com/store/apps/details?id=com.htc.pitroad

Edit: it is not stock, i can delete it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] dioooi:
Yes you are right, just dirty flash the rom and install your kernel everything go smoothly!! Now the clock is 2035/2592......:laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Galactus:
So I flashed this on Viper ROM (Clean flash). And things seem a bit laggy to be honest. Wifi works fine and everything seemed ok, then I rebooted and now everything seems off. Instagram stutters, Relay for Reddit has choppy animations. Reboot doesn't do anything really. Tried reflashing the kernel but things are the same. Phone feels like a Samsung device (home button delay, touch delay etc.). Judging by everyone else saying this is smooth, something is up but I'm not sure what. I'll try and get some logs in later today (its 3am right now lol).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Then something is not right for sure. I can actually verify that things are smoother via monitoring Gpu rendering.

Did you flash the latest viper rom?

Did you reboot after the clean flash before flashing my kernel?

Did you check if cpu boost is getting applied correctly? Did you check if max frequencies are set correctly?

Did you flash oc uv version? Maybe your device cannot handle the uv/oc?

Regarding home button lag. Disable double tap to sleep. You need a little time to detect the double tap.

You did flash latest caf version? Because the early version had the problem you described.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Cryosx:
Switched from elemental and it seems like battery life is much better. Elemental had worse battery life than stock but was smoother.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
The first real reboot after flashing the kernel and booting up takes a while. That’s due to the base change.

Please let the phone sit for a minute or two it will reboot completely. :svetius:

Wrote that also on the bottom of the release post ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Galactus:
I flashed latest Viper ROM

I flashed Viper and your kernel at the same time

CPU Boost - Input boost enabled

Max CPU Freq - 2035 Mhz

Big Cluster - 2592 Mhz

I'll try the no oc uv version now

Disabled double tap to sleep, home button delay is gone :)

I flashed Kirisakura_EAS_OCEAN_CAF_1.0_GCC_7.xx_UV.zip

Edit: Flashed the no OC no UV version and my smoothness is back :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Good to hear :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
You did. I misunderstood. Thanks for restating.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
No problem :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Using oc-uv version...running great. Had random reboot while sleeping. Temp 82F and 3.65V...any need to switch to no oc-no uv or just wait to see if does more often?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Cryosx:
Scrolling through YouTube is really choppy
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
If you can live with a random reboot you can run it but it also isn’t that good for your chip.

Before you flash the no uv version disable the overclock in exkm app upon starting :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Yeah that’s currently a little issue in the comments of videos. I hope that will get resolved when the source for the pixel/pixel xl 2 will be available.

[MENTION=2759219]Cryosx[/MENTION]

Please try to set top-app schedtune boost to 6

and dynamic schedtune boost to 50

Try scrolling in youtube again
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
[MENTION=2759219]Cryosx[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Decided to just change over to no oc/uv...went thru same process dirty flash rom w stk kernel option reboot and...no wifi. Never got to flashing kernel. What now? Have full nand backup of boot (w Cslate) sys and data and also just stk boot.

Edit...ur kernel still showing...sb stk?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I don´t have that. In fact I got 0,5 %/h... maybe check your wakelocks via bbs?

Gsam has the bad habit to put all wakelocks into one single kernel wakelock which isn´t accurate at all.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I found a little mistake. I forgot to add one line to config on which BLN depends. shame on me.

New version is 0.9. Please flash and report back.

Here is the non magisk zip for 0.9:

https://www.androidfilehost.com/?fid=817550096634788871

here are both magisk files:

the module: https://www.androidfilehost.com/?fid=673368273298974706

and the actual kernel: https://www.androidfilehost.com/?fid=961840155545584957

also found in the folder linked in the op.

I just updated your zips [MENTION=1162986]Captain_Throwback[/MENTION] and uploaded them. I hope this is okay for you.

Have a nice day :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Damn I totally forgot of BBS :good:

Will flash new version and installed BBS, charge it overnight and monitor tomorrow.

Still Ex kernel battery monitor shows unusual high % for idle.. nothing changed (ROM/app updates since flashing eas kernel).

Thanks,

V
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Captain_Throwback:
You didn't update the version codes in the module.prop in the Magisk module to match the kernel version ;).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
Hmm BBS at least for me does not display kernel wakelocks.

I only get no stats collected yet. Set it via API same thing. Install it as system app same thing...

I think BBS is not fully compatible with 7.1.1.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] krabban:
One question im on viperrom 1.5.0 rooted with magisk. Is this THE File i should flash ?

Kirisakura_OCN_EAS_0.9-Magisk_CPTB.zip?

Thanks :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I updated the version string now. Thanks again.

To everyone else please redownload the magisk module.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
First flash the support files zip in the magisk manager application.

Afterwards boot to twrp and flash the zip file you mentioned.

This was the recommendation by [MENTION=1162986]Captain_Throwback[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It is. What rom are you on? debugfs is not mounted properly I guess. let me search.

will soon attach a file from my phone

here you go.

https://www.androidfilehost.com/?fid=817550096634788883

download it and extract the file.

Put the .sh file in init.d or su/su.d, set permissions to 0755 and reboot.

should work afterswards
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
Thanks man, that did the trick!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
We’re on the portal guys :)

HTC U11 Custom Kernel Brings Energy Aware Scheduling (EAS).

https://www.xda-developers.com/htc-u11-custom-kernel-brings-eas/

Thanks for all the help and support.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mazubo:
I don't have the u11 yet, but very excited for this kernel and love the development! Insta-flash once I get the U11 :)!