yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Update to 1.3 :)

Hello guys and girls,

So here we go the promised update :) I didn´t want to post a rushed release post that´s why I waited. The kernel version is raised to 1.3 because there are many patches, that got tested but I waited for a bigger release and wanted to fix the bluetooth bug.

With the help of [MENTION=271041]p50kombi[/MENTION], [MENTION=1748233]CharliesTheMan[/MENTION] and [MENTION=2667850]cjrivera04[/MENTION] I managed to track down the bluetooth issue that plagued the latest htc source code release on their website. They seemed to be missing a caf commit.

This resulted in a situation, which didn´t allow the phone to properly sleep after one/more bluetooth devices were used and disconnected.

I couldn´t reproduce the situation with bluetooth but they stayed persistant and eventually I found the missing commit on upstream CAF. So be sure to drop them a thanks. If it wasn´t for their perseverance the issue would still be there.

https://github.com/freak07/OCEAN_OREO_EAS/commit/4954ff00e76b21ac50d3522e76bbac54364ca9d4

In case you are interested this was the missing commit.

I also included a few more caf patches that should help with deep sleep. optimizations for westwood ( default for tcp) and tcp system in general. A small optimization for cfq that should help with a special case that could occur.

Also a patch that compiles out temperature polling, which could hog the cpu (up to 10%) . This patch was introduced by [MENTION=4800121]Sultanxda[/MENTION] for OP devices.

some other little fixes from [MENTION=4800121]Sultanxda[/MENTION] to other subsystems.

The meltdown security patches from kernel/common are also included.

Kernel is upstreamed to latest 4.4.117, which also includes a few security/stability fixes as usual.

Downloads:

Use the default zip when you don´t care about getting otas or are on a custom rom and don´t care about staying systemless.

Otherwise Please use the zip that is labeled systemless plus the magisk module.

Default AK2 Zip: https://www.androidfilehost.com/?fid=962187416754462563

Systemless AK2 Zip: https://www.androidfilehost.com/?fid=746010030569955976

Magisk Module: https://www.androidfilehost.com/?fid=962187416754462562

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 [MENTION=3088420]tbalden[/MENTION] ´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 :)

Donations are not mandatory but very welcome.

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

Have a nicy day all and enjoy your phone :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Thanks bud, great work and glad I could help.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
Can anyone use mobile hotspot with this kernel and successfully tether other devices?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CharliesTheMan:
I'm about to dig into this and see if I can get it working. I spent five minutes on it but I'm going to actually fool with it and so some research and see what I can find.

Sent from my penthouse using servants
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jump1ng:
Yes it is working fine for me, just tethered my old Nexus 7 (2013) tablet to my phone and pulled down updates from the play store.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CharliesTheMan:
Are you using native tether? Does your carrier allow mobile hot-spot?

Sent from my penthouse using servants
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jump1ng:
Yes just the native tether, my carrier is EE so they allow you to tether and it just uses your mobile data quota.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jtg01:
Works the kernel on custom roms with 8.1?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] newyesor:
You can not use this kernel on custom roms with 8.1.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Rmw603:
First off awesome kernel, great battery life. Does anyone else experience studders while watching YouTube?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] cjrivera04:
None here. Maybe a problem with the version of YouTube you have? Try clearing cache or seeing if there is an updated version of the app.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
are these 1080p60fps videos on youtube?

Could you try to set schedtune boost for top app to 5 or 7 in user settings from the exkm app? like on the screenshot.

The value will be boosted to 15 once you touch the display that’s why it won’t show 7 in exkm after entering.

But just put 5 or 7 in there, hit OK and report back if that helps in your specific case.

Thank you :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Rmw603:
I've done both the suggestions and I'm happy to report the issue is resolved. Unfortunately, I can't tell you which was the solution as I did both at the same time.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] con_sau_may_tinh:
i'm using stock rom (rooted) with cleandstate kernel (3.7.12), can i dirty flash your kernel? or wipe data/cache and flash kernel? i can not dirty flash rom (because stock rom not exits)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It should be working okay if you just flash my kernel on top. But no guarantee and if you face issues I recommend to start clean.

However you won’t be able to flash cleanslate back as my kernel edits the ramdisk and a few other files.

Best is to make a nandroid backup. In case you want to change back just restore it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] zhuchella:
What version of kernel should I use with magic?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
Well there are two versions:

- System install

- Systemless Magisk install

So if you want to be completly "systemless" as in: run apps that requires safetynet compliance (such as pokemon GO), then you should use the magisk version of the kernel.

If you don't care about those apps you can run whichever version you like.

Both version are exactly the same apart from running in system or running systemless
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Update to 2.0

Hello guys and girls,

So here we go. Release 2.0. We skipped straight through 1.4-1.7 and got to 2.0 now.

I merged a lot of changes in but I try to give a short changelog.

There were a lot of important CAF security fixes specifically for our SOC architecture. There were CAF updates to cpuidle, to bluetooth, to some other drivers.

Also upstream linux is on version 4.4.120 now.

The big bump to 2.0 is because of a completely rebased kernel base. The initial EAS integration is way more refined and we have a lot more code from the Pixel 2 / XL in there now.

I tested it thoroughly and noticed a big increase in smoothness again, eliminating most of the last bit of stutter. It was confirmed by a tester without me actually mentioning it.

Next goal is to bring in some code from the P-Preview release from Google. So actually cross developing between Google Pixel and U 11 is quite fun :)

The release was tested extensively by the usual suspects and is considered completely stable and bug free. So flash away.

Oh and I also included the newest patches and apk´s as well as the host file from [MENTION=3088420]tbalden[/MENTION] in case you want to use his rootless config :)

Downloads:

Use the default zip when you don´t care about getting otas or are on a custom rom and don´t care about staying systemless.

Otherwise Please use the zip that is labeled systemless plus the magisk module.

Default AK2 Zip: https://www.androidfilehost.com/?fid=962187416754467128

Systemless AK2 Zip: https://www.androidfilehost.com/?fid=746010030569960556

Magisk Module: https://www.androidfilehost.com/?fid=962187416754467129

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 [MENTION=3088420]tbalden[/MENTION] ´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 :)

Donations are not mandatory but very welcome.

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

Have a nice day all and enjoy your phone :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
mobile hotspot is working for me now on 2.0, awesome :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] amit_sen:
[MENTION=3428502]Freak07[/MENTION], will you bring your awesome kernel into non-sense roms for u11 ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Yes I plan on doing so at some point
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ivicask:
First time flashed eas kernel just to try it, I wonder why notification led stays green while charging, phone is not fully charged but 94%.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Cleanslate feature... It goes from red to green gradually whilst charging, full charge and it will pulsate green.

Red being empty, green being full.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ivicask:
Mhm, and I guess I need to purchase the app to turn it off back to stock kernel behaviour? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Come on ivicask.. :) don't tell me you haven't searched ;)

Course not, just have a look on the cleanslate thread..

There's a ton of different ways to turn it off, and only one involves the app...

Hint, exkm, root explorer.... Etc....

Don't know the exact path but it'll say in there.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ivicask:
Enough have i spoon feed users, time to get back some of the same treatment:)

Thanks, I forgot I purchased exam before, it has the options I need.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Htcdevuser666:
Awesome.e bro keep up the great coding
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CharliesTheMan:
Also the cleanslate apps are placed on the sdcard, and can be downloaded from the cleanslate thread I believe, there are free versions and I'm thinking they will do that.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mlodykaras:
Is there any way to clear ramdisk manually without dirty flashing my existing ROM?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
If you have a twrp backup with the stock boot.img backup you could theoretically restore this to try it. However one time I would run into issues with this procedure.

I refrain from doing so as a dirty flash works best for me.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mlodykaras:
Thx. I flashed the kernel again with a dirty flash because before I just dirty flashed the kernel on top of the 1.3 version. I had weird hickups sometimes during scrolling after longer periods of inactivity (8-10s) Let's see now if that resolves this issue. But overall awesome kernel. Everything is so fast and scrolling is waaay smoother. Battery is also better. Thx Dev for your hard work!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Anyone having issue with backlight dimmer not working? I'm on Leedroid with stock kernel then flash this one and can't get backlight lower than 10
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
Yes the same situation for me here. I thought maybe it was just me and exkernel manager.i can't get it lower than 10 here either
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I don’t have any problems here. See the screenshots. I think I didn’t change anything related to it...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
The weird part is even if i set the file backlight_min property to rw_rw_rw i still can't set the number, it revert back to 10 after exit the editor

Edit: turn out when i delete the uci whatever file then restart, it works
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
What is this uci whatever file I gotta delete to get backlight lower?? Possibly the main reason I use custom kernels.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
3 UCI_config file in /sdcard for non root cleanslate configuration app
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
did you read the instructions? :P
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Instructions? What are those? Do they live in a mythical realm together with the search button?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mlodykaras:
I found a small bug. If I clear app cache from settings/storage/internal shared storage phone restarts itself and boots up again.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
actually backlight dimmer minimum is set to a healthy 10 here. Myself I had issues with going lower, extra flickering (even more than current)

https://github.com/tbalden/htc-kernel-ocean/commit/5820effe9a242332db6fc3a1830593cd125f4003

static int backlight_min = 10;
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
thanks for chiming and and explaining! :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jwtiyar:
any one flashed magisk module 2.0 because wifi not working with me.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] damanrico:
Thanks, I might give this one a try. :)

For now I'm using 3000 as value for input boost and I'm boosting the little cluster to 1900Mhz on the stock kernel. That resolves most of the lag. It might be a bit overkill, but it's better than having to run the performance governor.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Ok....so clearly my phone isn't ramping down the way it should. The clusters don't reach 300MHz. The drain rates are far too high.

Sprint U11 - BadBoyz Rom, clean flash.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Forgot the screenshots.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
When you monitor the frequencies with the live frequency view in exkm or devcheck frequncies will nearly max out. This is due to the nature of EAS and the new live frequency screen.

This behavior is also apparent on the pixel.

Do the following. Open an app like cpu times, click on reset, let the phone sit with the screen on for a few minutes and check the frequency distribution again. You will notice that all is well.

:good:

If you actually use the phone freqs get ramped up accordingly to the demand.

What did you set

Dev/stune/schedtune.boost to?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Lostatsea23:
Thanks for the tips set everything correctly but still getting bad framerates in gaming , haven't set gpu boost on yet
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Coming up as a blank file with 0bytes as the filesize. I'm not very strong with kernels...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
So, I downloaded CPU monitor, and I did learn something from idly observing, as you suggested [MENTION=3428502]Freak07[/MENTION]. Somehow, the minimum of the litle cluster was 1900, so it never ramped back down.

In the second screenshot, I changed the little governor to sched. Not sure why schedutil had the little cluster maxed all the time. Might not be the best setup for battery and performance, but I will keep pokin around to see how I can improve it.

Edit: I have noticed that fast scrolling does take a hit, though. Even using the XDA Labs app, fast scrolling on the last page of this thread (with images) is slower than the page before (no images).

Other users can try it and see. Maybe I'm doing something wrong.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tkoreaper:
This killed my wifi calling.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Lostatsea23:
Yeah having same scrolling issues. Had to manually set my processor speed correctly because it keep going down to like 1.3ghz as well
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Galactus:
mentioned a few pages back already
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
To see idle usage this app is also not recommended. It has it’s own service to monitor the frequencies in real time. This is conflicting with EAS.

There is a special development tool called Lisa toolkit to observe cpu usage on EAS. It requires some additional steps.

To not influence the WALT mechanism when computing the next freq you can use an app like cpu times from flar2 that relies on the inbuilt cpu distribution from android.

Every other app which has it’s own service to show all cores in real time will not give you correct results!

Here is the link for cpu times.

https://play.google.com/store/apps/details?id=flar2.cputime

yes you are right scrolling in xda when it’s loading images is borked ever since but I noticed it as well. I’m sure as I develop this kernel and EAS matures this will also get away. :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Not available in my country (US). Oh well...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
We must let know [MENTION=4684315]flar2[/MENTION] about this.

Anyway I did take some screenshots for you.

I let the phone idle for a few mins. screenshots are immediately taken afterwards
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
[MENTION=4684315]flar2[/MENTION] it is not available for me as well if I search for it in the play store

If I display all apps from you it is not visible either.

If I search for it in google chrome I’m able to find it.

I’m in germany.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
[MENTION=4684315]flar2[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I cannot find it even in google chrome (Croatia),
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] bad-3_j:
Hallo again can we uninstall the CPTB file somehow?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
disable module in magisk..

restore backed up boot / stock boot img in twrp or dirty flash rom
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
[MENTION=3428502]Freak07[/MENTION] [MENTION=4684315]flar2[/MENTION] maybe cpu time app is discontinued and now part of DevCheck -> CPU Times?

(feels like I am stating/asking the obvious LoL :p)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ryanyz10:
Sorry to bother again, after setting the values specified in EXKM, everything is much smoother now, but active battery drain isn't as good as it has been posted here: 16.6%/hr. What is normal usage for other people? Mine consists of only snapchat at the moment, is that to blame?

Idle is 1.4% which is normal I think.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jsaxon2:
Did you wipe cache after installing? If so, that is the problem. The module is a cache module so the WiFi module gets loaded earlier. Just reflash the Magisk module and reboot. You will need to reinstall the Magisk module after anythime you wipe cache.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jwtiyar:
now i did installed the systemless one from recovery and wiped cache&dalvick didn't help.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] snoopyhaeckers:
Install Module again in magiSk don't delete installed module

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jwtiyar:
Thank you
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] snoopyhaeckers:
When it's work it's OK

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jwtiyar:
worked :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Meelouw:
Hej !

Hope my question wasn't posted...

It is possible to use this kernel with lineage/slim ?

Thanks :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
not yet

I think it will be soon. :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Meelouw:
Thanks :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
Battery life is insane :0
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] phuonglev:
How many SOT did you get?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
Once my device drains after 4 complete intervals I'll report back for an accurate amount. So far it's way more than 2 times better than stock. Normally stock would suffer significantly after general use. I'm a believer of EAS so far.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
So far I'm averaging 5h 30min - 6h with heavy Google maps nagivation in mind and wireguard. Obviously results can vary if you use social media apps and how much your data signal changes. Here's my setup

1. No socials apps except talon and froze all useless apps with titanium backup.

2. Greenify4magisk module. (Enable greenifying system apps)

3. Enable doze for GMS module.

4. Disable edge sense and limit location settings to device only (disable location services for almost all apps)

5. Adaway with stevenblack hosts setup.

6. Dark mode on everything.

Hopefully this information can be beneficial to some users and unlock your phone's full potential with EAS
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Azathoth6:
I've same problem
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
Install Instructions

Hallo,

everything works fine with your Kernel 3.1

Is there any need (any more) of delete your mentioned "uci....cfg file" ?

And if so, where to find it?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
on the root of your sdcard. Like just on the top “layer” of your sdcard.

If you use traditional root like supersu or magisk and exkm to set up the kernel, I would recommend to delete the files that look like “uci.... .cfg” to prevent any conflicts.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
uci....cfg

Thank you for the quickest answer ever.

I was looking on the root of my internal and external sdcards and there is/are no(t) such file(s).

I run LeeDroids Final Nougat and your EAS_OCEAN_CAF_NEW_3.1_GCC_4.9_EAS_1.4_PIXEL_FINAL OC/UV.

So sure Magisk and i use EXKM.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Then you don’t have to delete the files as rootless option was introduced on the Oreo kernel.

so all fine. If you take a look at the op there is a link for each release in the changelog section. There should be the instructions for nougat. :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
:good: Thank's, thats fine. I red the nougat instruction as well, but was not sure.:D

Great work, that Kernel.

---------- Post added at 06:42 PM ---------- Previous post was at 06:32 PM ----------

Quiet late for an answer i know, but in your screenshots, the 4th, there i see a big mistake.

That would be the trouble. The right way for the input boost frequencies is:

0:1478400 1:0 2:0 3:0 4:1478400 5:0 6:0 7:0

(I have my HTC U11 just 4 days now and so red this thread on Friday:cool:)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
Phantastic Great Kernel

:good:Freak07, great work(out)

this is the first Kernel in my 6 year smartphone career that fits my challenges immediately. Just a few settings..... and ... BAM:cool::cool:

Realy good work. You're in a line with [MENTION=4800636]OmarEinea[/MENTION], [MENTION=2784807]DooMLoRD[/MENTION] and [MENTION=4433143]venkat kamesh[/MENTION].(you'll see - i come from sony)

But your kernel is fitting for my needs without any compromise!!!

Hold on - stay strong ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CharliesTheMan:
Pretty much my sentiments exactly. This is just an amazing kernel out the box, and definitely can be "set it and forget it" but really "flash and forget it" is more accurate. I'm a fan of EAS and have tinkered with many settings in custom configs but this EAS kernel on the U11 is just right out of the box.

Sent from my penthouse using servants