yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tcnineteen:
Hi [MENTION=3428502]Freak07[/MENTION], thank you for the work! I've installed the latest kernel, rebooted, and ran it for several hours. However the battery drain is horrible, and I found that it didn't go deep sleep at all, is there any possible cause for that? I have EXKM and cleanslate's apps installed, will they have something to do about it?

Edit: nvm, I found it seems to be the media scanner bug you mentioned before, I'll see what I can do, thanks!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
yes you beat me to it. That is (almost surely) the bug I´m refering to in the FAQ.

I´m really sorry that this is happening. But there´s no other option for me. I have to use the exfat nofuse driver, because the stock texfat module is proprietary code and HTC won´t release the source code for it. Otherwise sdcards formatted as exfat won´t work at all...

The kernel is so far from stock that there is not option to load the stock module and get it to work correctly. :(

Most sdcards users have in their phones, are formatted in EXFAT. Mainly because that´s what the phone formats them to the first time you insert it. One can try to format it to another filesystem to get completely rid of the issue. But with big cards that is tedious work and may consume a lot of time.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tcnineteen:
No problem sir, we appreciate your hard work! One question though, will this kind of folders appears randomly after each reboot? Or if I clean them all then it should be good? Because I got several dozens of app folders in it, if it happens in every reboot then it will really be a mess...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I didn´t face it for a few months now, but went crazy the first time I had it. So I think you´re quite safe now.

I went with TWRP´s built in file manager to the following directory:

for me it was one of the folders in sdext/Android/data

I just deleted the complete directory via the twrp file manager. The directory where the "infinite folder loop" sits can´t be deleted. and you will see the "problem" when you go to the directory again.

Then I did the procedure described.

Did you have to force a reboot recently? That´s one of the possible scenarios I was able to isolate. But there´s nothing I can do about it.

If you want to be absolutely safe from it format your sdcard to another format than exfat. :(

Really sorry about it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Aisfkhan:
I enable the k.adaway feature but there is still adds on apps is there anything I'm missing?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Use adaway app to get rid of all ads.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tcnineteen:
Hey, don't be sorry please, I appreciated what you did for us, that's awesome! About your method to find the loop folders, that's what I thought after posting that, thanks for sharing!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Devaster:
i tried to format sdcard to different format but then gui is always saying that sdcard is broken and need to be formatted - then it is again back in exfat. i tried ext2, ext4, f2fs ...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Try fat32
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Devaster:
Same result
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
Try sdcard formatter on PC if possible. Mount in TWRP as USB mass storage or use a sdcard reader if available

Otherwise your card might be broken?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Did you try another SDCard?

Just to check if it persists.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ValKyre:
How to reduce performance sir ? ( i already remove sd card- sd carf no problem,it format at fat32).

.

I try play my game. But heat over 47°C sometime come to 50 . -the heat of normal is 34-35°C (if i dont use phone)

.

How i can do with this problem ? I try turn off boost but nothing change ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] trantiendat3004:
come back android 7.1 all problem is solved
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ValKyre:
like a joke :))
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ValKyre:
Does kernel have any update bro ? For along time i dont see update :(
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] snoopyhaeckers:
Please don't ask at oto he update his kernel every time from time to time wait... And what's your problem I use the this version it works very good
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
any plans to import this kernel to aosp pie roms like lineage?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] RandomPooka:
I didn't realize there even WERE Pie based ROMs for this device that were suitable for a daily driver.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Cloverkit:
kernel support external network adapters?

I want to use Kali NetHunter on U11:silly:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Cloverkit:
Wireless Network Adapter I Information
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
In no way am I asking for an ETA or trying to push you but how is v14 coming along? I can't help but know that it has been almost 3 months since you said this, would be more than happy to be a tester if you need one. [emoji16][emoji6]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hello guys and girls,

Although I held the changelog relatively short this is a bigger update. It includes upstream from 4.4.159 up to 4.4.170.

I don´t use the U11 as a main phone or daily, just at home to test :) I want this releases to be tested thoroughly, so all of this takes time!

Thanks to all my testers at this place. I´m sure everyone wants fewer stable releases, rather than many rushed ones that have issues.

Changelog:

- Upstream to 4.4.170

- Improve EAS Scheduler even further, bring in changes from my Pixel 2/XL kernel. Improves performance and efficiency

- Improve GPU Profiling

- Implement the latest ZRAM upstream implementation. While doing enable ZRAM back as it works better now. More apps can be held in memory now.

- Enable a few additional TCP congestion algorithms. As requested previously CDG is now enabled (@minglala). Also veno, DCTCP are available. Westwood is still default.

- follow kernel/common changes for improved stability

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. (now compatible with magisk 17.1)

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

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

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

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 or maybe help getting the U 12+ and Kirisakura up for it: http://paypal.me/freak07

Have a nice day all and enjoy your phone :)

[MENTION=2659334]zhuchella[/MENTION]

[MENTION=6776154]aadeshiscool[/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]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] snoopyhaeckers:
Thanks Man for your Work on our Device !!!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sisyphe200:
after installing camera not wort
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] uvt_novice:
Yes, there are actually two roms that can be used as a daily driver.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] korom42:
[MENTION=3428502]Freak07[/MENTION] Thank you so much for this kernel It's so smooth and works flawlessly with no issues. I want to ask you if it's possible to implement

hispeed_freq

,

hispeed_load

&

pl

tunables for schedutil just like in sd845 to allow more adjustments & tweaking.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Saror:
Camera app cannot be launched for me on the latest version (first version i ever tried though).

When trying to launch the flashlight app through Squeeze (Edge Sense) it says: Cannot launch flashlight because camera is in use.

Force stopping camera app (and even disabling it) in system settings changes nothing.

Is there a fix for this? (For example at first my wifi didnt work either but i was able to copy the .ko file from modules to fix that)

Im on Android 7.1.1, Viper 1.8 and am using the Magisk systemless kernel

Thx in advance
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Uhm... Android 7.1.1?

That can't be right as this is a 8.0 kernel ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Saror:
Really? I thought it works going upwards. I googled it and according to quora.com/What-if-I-flash-an-Android-7-Kernel-into-Android-6 it should work.

But i guess youre right, since it might be a driver issue.

Could there theoretically be a workaround for this?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
I'm just curious, if you got a u11, why are you kot on the latest version?

Viper is on oreo also aren't they?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Saror:
Yes Viper is on Oreo also.

I have many things set-up that wont work or are at least more difficult to achieve (Notifiyclean not working for example - you have to fiddle around with Autonotification.apk; additional module to switch off max brightness on camera app and so on). Dont want to spend hours again recalibrating across Viper Tweaks, Nova launcher, Xposed modules, magisk modules, kernel tweaks and manual root browsing. I set that up in 2017 (except the kernel tweaks of course) and Oreo gives me pretty much nothing new.

My hope was to get the EAS advantage from this kernel because it works fine except the camera thing. But just staying on cleanslate works too of course. Ive used it without EAS for 19 months now i guess haha

So if you have any idea on how to replace the drivers or fix what else might cause the issue id be happy :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Lostatsea23:
Set the values in the thread but still having really bad lag when it comes to UI and gaming. Any tips? Like any transitions are really choppy
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] schmeggy929:
Running good so far, 0.6/hr drain over night. Set parameters ask requested and running good. I did have to set Max and Min freqs 1900/300MHz and 2457/300 MHz. Minor shutter in XDA App, none in social media Apps. Played Dead Trigger 2 for over an hour last and not one hiccup. No Lag, shutter or graphic problems on High performance Mode in game.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Have no clue about gaming, but have no UI "bad lag" .. Did you dirty flash rom you are using, booted into it, rebooted and flashed kernel?

Also have you tried clearing ExKM app data and setting values in post 3 again, maybe some leftovers (I assume everyone uses ExKM LoL, if not they really should :laugh:)

On a side note fixed my idle drain with good old clean install and phone is (will be) flying.

Great work :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Lostatsea23:
I'll reinstall it and do it all again... Used to make room a long time ago under jetlitheone so I'm pretty saavy but just getting lazy these days I'll try figuring it out.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] schmeggy929:
i do notice that Max freqs over time do not stick with EXKM when i set to 1900MHz/2457MHz. Is that by design? They change to 1478MHZ small cluster and 1056MHz Big cluster.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Lostatsea23:
Yeah I was having the same issue... Kept resetting itself to those clock speeds for me.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Maybe it has to do with the input boosts? I don't know...all I know is that my idle drain is way too high (6.7-10.45%/hr) on the schedutil governor, no matter what I do. Probably going to go back to the older kernels for now.

Active drain is also around 12-15% for me, even if the phone is sitting on a table with the screen on, but unused.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] schmeggy929:
Yeah idle drain is not problem for me, with 0.6%/hr. Haven't actively used my phone today, that's when i noticed the Max Freqs were low. Did not see them drop all day yesterday.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Are you guys on the magisk version or did you flash the default zip?

The freqs changing to this freqs is happening if pnpmgr isn't properly disabled.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Also just a (obvious) note, magisk version is useful only in cases where you are on stock rom with untouched / read only kept system partition (or viper magisk rom) for less steps to be able to take OTA.

anything else (custom rom, flashed something in that past that modified system, etc, just flash away default zip).

Also from my experience best steps:

- wipe EXKM app data and reboot

- dirty flash your rom and boot into it once

- flash eas kernel

- set values from post via EXKM

IMHO :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Magisk... Going to try the default tomorrow, after I wake up. Just got home from work.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] schmeggy929:
Magisk version, will flash default Zip as well and try using it again.

[MENTION=8395457]velimirchek[/MENTION] Completed all those steps the other day after Captain recommended it lol.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] *justintime*:
So bottom line of this kernel. You will loose some performance. Although it's very little.

But you gain more battery life. When screen is off

Is that correct?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
No I wouldn't say so. Despite the scrolling lag in xda app, which is only apparent when pictures are embedded in a post, EAS is more smooth than hmp. Especially when scrolling for me.

It just requires a bit more setting up than other kernels.

As soon as I have everything working like I want to I will address that.

Battery is (slightly ) better than HTC 's default hmp implementation. Rather in screen to n than screen off.

Also there will soon be an update with a few performance updates. :svetius:

I want to make sure everything is stable before I release it.

Stay tuned :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
You will not loose any performance. You will gain more performance and battery life (both with screen on and off).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
On the contrary...your mileage may vary. Don't misunderstand me...I am not advising you not to try. In fact, everyone should try for themselves. Some devices just behave and react differently.

Attached are my results from one night with the non-magisk kernel. [MENTION=3428502]Freak07[/MENTION] mentioned a performance boost & stability in the next update....I will be back for that.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I agree with that. But I am observing right now weird and silly battery usage battle between ExKM Battery monitor vs Better Battery stats.. vs real life usage. I reset counters and I will let I run for an hour or two, but there's difference in battery stats.

In real life, it seems, I would be getting 9-10 hours SOT which would be my personal best ever on U11 with my usage.

So, sometimes even statistics lie, just like benchmarks.

And I am not trying to be clever or something (like maybe my posts can be interpreted) because I am not. I am just sharing my observations and experience.

Peace :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AarSyl:
Well, when my battery drains from 83% to 77% in 4hrs while I slept...the battery stats weren't lying
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Never wanted to convince you other way.. EAS is something new and different and [MENTION=3428502]Freak07[/MENTION] is doing a lot of work between releases and he needs all the credit for that.

There are great kernels and devs over here, I am sure everyone can find their flavour.

I personally think only 4 hours of sleep is not good for you :D :p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
These issues are mostly caused by apps and not the kernel.

I tested wifi and 4g deepsleep drain over night because I read some in here have issues and also one of my testers.

on wifi I loose 2-3% overnight and I lost the same on 4g. Both of this tests were 8 hours of deepsleep for the phone.

I know for sure I have no wakelock issues because I run only a minimal set of apps but have 2 google accounts that sync.

Keep in mind. If an app requests a wakelock you will generally see a high amount of power manager service wakelock.

in this case check your partial wakelocks.

The perfect app for this is better battery stats.

You can check which app keeps the phone awake. Which app causes a certain amount of alarms.

You can also check if doze mode kicks in correctly.

I believe you if you say you got a drain overnight. But I don’t think it is solely caused by the kernel.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
dude, download the nougat kernel zip. it's in the first post.

otherwise, nova launcher settings can be saved... magisk and xposed modules can be saved or are even downloaded, so you just have to install them again.

viper tweaks can be saved and restored too, at least what's implemented in the Oreo rom.

and you can't just change the drivers, most of them are related to the newer base, so just changing them won't really work
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] joey118:
I'm from stock rom..what does dirty flash means?sorry i'm still new
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
[MENTION=3428502]Freak07[/MENTION]

I have been using your latest default zip kernel and I have noticed the cluster 2 keeps getting stuck at Max. A reboot usually helps but will eventually go back to getting stuck at Max... Lemme know if ya need logs or anything just thought I'd throw I tour here first and see if anyone else has noticed the same.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] madorax:
mate does this kernel works on RR Pie unofficial?

and one more. i install this on my oreo stock rom. after that my capacitive left and right button suddendly stopped working. but center button and fingerprint is still working. any solution?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] veLtonno:
Hello,

For which Rom i can use the Kirisakura_EAS_OCEAN_CAF_NEW_3.1_GCC_4.9_EAS_1.4_PIXEL_FINAL_OC_UV Kernel ?

Ive the HTC-U11 dugl and use atm the Kirisakura 15.0.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] AoEKiller:
15.0 is the latest. EAS_1.4 is for Nougat
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
[MENTION=3428502]Freak07[/MENTION]

The kernel source code for U11 (for the Chinese version 3.38.1405.1, Android 9.0 Pie) is available at htcdev.com
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] korom42:
[MENTION=3428502]Freak07[/MENTION] Is there any hope to have this awesome EAS kernel updated to pie. It really makes the U11 less miserable :laugh: lol
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] joey118:
it seem htc u11 mod scene dead now ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
If possible can you please make a version for android 10 aosp?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
The magisk module doesn't seem to be compatible with the latest 23 version. Can you please update it
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
Hi Freak07,

i know this thread is old BUT i still use Nougat with your kernel. wonderful batterylife. You made power efficient workqueues toggleable in your Oreoversion.

In EXKM i see this possibility too, but it doesn't work. I can change permissions to power_efficient, but i can't change the value. Any help for me? Perhaps unpack your Kernel.zip, change some data in sysconfig, repack it and flash again?

I'll be happy if you would answer me

Have a nice weekend
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
Old thread, but might be interesting. I encountered that behavior also and found out:

DON'T turn tunabels "max,min frequencies" on in EXKM, than everything works as expected.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] *justintime*:
I use wake lock detector for it in combination with Magisk Greenify.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I wouldn’t use greenify as it can cause more harm than good.

A well coded app doesn’t need to be greenified. I myself used to disable Google maps in the past. Now with doze and some other things Google did to Google play services it causes no drain while the phone is sleeping.

if you disable apps via greenify it can cause even more drain in return. I learned that the hard way.

I would suggest better battery stats over wakelock detector as bbs has way more functionality baked in :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
Hi! I have some funny problems with button lights. Sometimes they stay on when I turn off the display. They won't turn off until I turn on the display and then turn it off again.

Anyone else?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Yeah I notice it sometimes on 0.9, but I "think" it will be fixed in next release..

Bln acts sometimes in strange ways on U11, but still it's great work of [MENTION=3088420]tbalden[/MENTION] with all the different options :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
[QRCODE][/QRCODE]

With stock and elementalx no such problem exists.

Its this kernel specific...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Well, yes, sometimes this happened for me as well. That's the only gripe I couldn't get to the bottom of. I think it's happening when switching off the screen and there's a sync issue, light off and Bln concurring.

I have an idea I'll have a look at today, it's on the to-do. :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Thanks for the response [MENTION=3088420]tbalden[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
Awesom-O :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
hey all :)

I monitored my usage yesterday evening and also deepsleep over night.

Usage was xda app reading, news reading, hangouts, and mostly chrome browsing.

if you do heavier tasks your active drain will be higher but everything around or below 10%\h is good if you just use your phone not exclusively for heavy tasks.

Wlan was managed via a repeater. this isn’t also ideal but deepsleep is still good.

The kernel itself definitely has no drain issues.

Additionally I was using a more aggressive cpu boost that boosts the big cluster to 1,5 ghz additionally to the little cluster for 1750 ms :)

Test was done with a kernel I will release soon but I got similar results on the old one.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Just another.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I beat you in idle.. mine was 0,34% :p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] *justintime*:
Screen brightness on 50%?