yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Voklav:
Hello

apologize for the stupid question.

I come here again by skipping almost all versions and news.

Can you pin me what app I need to use to look at the kernel settings.

CleanSlate ? but in playstore are 2 .. companion and configuration :?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] snoopyhaeckers:
Compinion is for notifications and configuration is for settings

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
I am having weird problem where the clock stuck at 1555mhz. Anyone having the same issue?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
Never seen that with this kernel in all it's versions.

Where did you monitor that? In EXKM?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
There are some reasons for that behavior. I had that issue once when installing this kernel and not wiping the data of my kernel manager.

I wiped data of EXKM, deinstalled it, rebooted to TWRP, wiped cache davlik and rebooted, Then installed EXKM new and everything was fine.

But could also be, that you didn't install the kernel the right way:

dity flash your rom (with stock kernel) otherwise restore stock boot.img. Then boot your phone. After 5 min. reboot to TWRP and flash your desired Kernel.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Well the issue gone after a reboot but it comeback after a few hour. Maybe be cause i clean flash leedroid with stock kernel then flash this one over it without booting with stock kernel first?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] andray750:
Yes, that could be the answer.:D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hey :)

Thank you very much for your feedback.

One of my testers [MENTION=271041]p50kombi[/MENTION] also shoot me a message this morning that he is facing the issue.

We did a bit of troubleshooting but found nothing. I checked all my usual suspects and suspicions. After a reboot it magically vanished for him too.

With my personal build I had nearly 250 hours of straight uptime since the last release and haven’t experienced it. Also I’m not able to reproduce it at all.

My suspicion is that it is a service that keeps the cpu busy.

My best guess is it’s google play services at work again. I remember facing an issue nearly a year ago where suddenly peoples cpus were maxed out. After a few hours it was across multiple devices and also stock kernels. Turned out it was google play services.

The way eas works is that is something is requesting cpu power the eas machinery will grant it. It looks very much this way to me too this time.

If more people face this please report back!

Also what rom you’re on. If you did a clean flash or a dirty flash. If you had a clean ramdisk ( by dirty flashing your current rom before flashing my kernel)

If you’re on magsik release or the traditional one.

Thanks :) :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Well, thanks for your prompt feedback

I'm on Leedroid r127 with clean flash and choosing stock kernel in aroma ( does it count as clean ram disk?) I use the normal version of this kernel

Oh btw, I don't think something is using the cpu because cpu load is around 3-5% (as shown in exkm) when this happens
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Yeah because eas tries to provide enough headroom for following processes. That’s why it tries to keep it at a low cpu load. The load changes with the frequency increased.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Petarg:
Hey, im having some battery drain issues and it seems like this kernel is the problem? What can i do?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Install bbs and see which kernel wakelock is causing issue
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Snah001:
It's definitely not the kernel. An app or service is causing wakelocks or is keeping device from going to sleep

Send from the amazing HTC U11
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
I've been using it for a long time and it's overlapping smoothly. the problem may be in practice or rum.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Petarg:
What is this?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
This occurs for me too when i used the 3.5 adapter, look like a kernel wakelock for the DAC chip in the adapter.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Petarg:
Anyone have a solution for this? Its draining my battery like crazy
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
Full vipe flash rom and flash eas kernel try.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
performance I have taken today
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
As someone already mentioned this wakelock gets called when having the usb adapter plugged in.

If you have this wakelock even when the usb c to 3,5mm is not plugged in an app still calls for this kernel wakelock resulting in battery drain for you.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] arianat01:
Thanks

Battery life is amazing.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hey guys and girls :)

Sorry for my long absence. The wait is finally over and an update is around the corner (currently in testing).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
Can we dirty flash from the last update?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Yes you can dirty flash if you’re on the last update :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] snoopyhaeckers:
When we can download the new version?

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Denni2306:
Pls don't ask for ETA.

It's done when it's done.

Gesendet von meinem HTC U11 mit Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] paulpier007:
Hi, I do not understand what it means dirty flash?

Do you mean to say that I have to reflect the same Rom I was using?

The backup should normally always be done before any operation and I do not understand why to do it later?

I can anticipate that the kernel I'm using on a ROM sense stock with supersu without magisk ((I used the default zip) and that's fine ...

I wait for you to dissolve this doubt that I have exposed to you.

Thanks and good job!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Dirty flashing your rom ensures that you have a clean ramdisk. So yes just flash the rom you’re on currently. :)

you will not loose anything.

You can do the backup also before dirty flashing the rom. It really doesn’t matter.

Best thing is to just flash whatever rom you’re on before flashing my kernel. That way you ensure ramdisk is clean and you avoid potential issues.

Once you’re on my kernel and I release a new one you can just flash over the old kernel without dirty flashing the rom.

:svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] anthonws:
I've installed the latest build over LeeDroid 128 (was using CleanSlate) and battery is just flying away...

Anyway of doing some proper battery analysis and report back?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jump1ng:
I run this Kernel on Leedroid and my battery life is better than ever.

When I install this kernel I always make sure I had the Stock kernel installed before installing Kirisakura kernel. Did you follow the steps of doing a dirty ROM flash before installing this kernel?

To check your battery why not use something like better battery status programme that can be found in the play store or on this forum. Also in Oreo there is a built-in usage status.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] anthonws:
Something was definitely off... Yes, I dirty flashed latest LeeDroid version (128) before flashing this kernel.

Battery usage in Oreo was not giving me any meaningful details of what could possibly be the issue.

I've reverted to CleanSlate. Phone will be critical in next few days. Need as much battery as possible since I'll be doing some trails in full autonomy. I'll test this back once I have the time and will report back.

Thanks,

anthonws.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Here are mine with Leedroid 128 and EAS , on 3G all the time
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Nice to see the concept of EAS actually works out for you guys! :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Zimty86:
For me hangs the video playback, have changed the kernel again now it goes again, had played on Kodi, it was locales network where the video was
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jump1ng:
Did you make sure you had a clean ram disk before you installed the new kernel as per Freak07's instructions? If you did and still had problems it might be worth trying with a complete clean system see if it still persists, and if it does the same with this there might be something that Freak07 can have a look/fix.

As I've said before I never have had any issues with this kernel at all it works exactly as well as with the stock kernel just better ;) with much much better battery life plus the other sweet features.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p2k10:
Hi I have tested the kernel and cleanslate. But both kernel have problems on my Phone.

WLAN and WiFi calling crashing and my battery drain is much higher. On Stock work it with no problems.

Rom is leedroid r128.

I have an dugl Phone but i flashed Lee with single sim. Should i flashed the dugl? But with Stock Works perfect for me. I need Not the second Sim at the Moment.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Pleae reflash leedroid with dual sim option.

Wlan is definitely working flawless.

My testers reportedly have wlan calling working perfectly fine. :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
I use l128 and it's great performance.

Device india dual sim.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p2k10:
I test it. :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] anbinhv:
How can you got this, any tweaks?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
I do not use some google apps. there are no additional applications or settings.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] doyou37:
Just wanted to pop in and say that after numerous changes, going from Nougat to Oreo to Nougat, there is nothing smoother than Leedroid r71 (Nougat) and the Nougat Kirisakura EAS Kernel! Thanks for all the hard work!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
When upgrading to magisk 16.4 the Wi-Fi magisk module expands the magisk image to a much bigger size. Then the Wi-Fi magisk module doesn't function afterwards. I'm reverting to 16.3 and would advise peeps not to upgrade until this issue is solved
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Can confirm this, reverted back to 16.3 myself :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] frankcck:
Same here. I've reported it to John, the developer of Magisk. Will update here after I get response.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DooMLoRD:
Hi [MENTION=6053478]andray750[/MENTION],

good to see that people still remember the good old days! GOT reference: "The North Remembers!"

Keep up the good work [MENTION=3428502]Freak07[/MENTION]

I have a HTC U11 myself but never bothered even unlocking the bootloader on this one :D

If time permits I might start kernel development again :cowboy:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Smart Ru:
Thanks a lot. It work well on my o Rom .Hope the keneral will support Aosp or Los rom.

XD
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Thank you very much for the kind words :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I plan on doing so at some point :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Derepinar:
Excellent performance.

Thanks [MENTION=3428502]Freak07[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Smart Ru:
Thanks a lot , your contribution makes a great effect on us

.:)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
Has anyone tested 7.0 with magisk 16.4 yet? Currently on 16.3 still
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Magisk 16.4 has some issues. Especially with kernel modules. Wait for the next magisk version and in the meanwhile use 16.3. I’m still on 16.0 :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
Hey Freak07! Thank you for your continuous updates and support, I will speak for myself and others and say we truly appreciate it. With that being said, I have had WiFi problems with your kernel on the latest ones. I am on a us unlocked device running the very latest firmware (sorry can't remember the exact number, but I just did an ruu last week and the last ota because of these problems) and running viper with magisk v16. I did run flar2's kernel for that week with no problems, decided to give your EAS kernel another try so I reflashed rom rebooted then flashed your kernel. It runs great other than the WiFi. I have the WiFi settings set to never stay on and have turned off WiFi scanning in locations.

Is anyone else suffering from this?! I pulled a couple dmesg and logcat in hopes that you could take a look and see if there's anything I could do as I do like running this.

Thanks

https://www.dropbox.com/s/lii4hq2vdmpsejd/dmesgEAS7.0.txt?dl=0

https://www.dropbox.com/s/t0oy8026axhgihv/dmesgEAS7.0v2.txt?dl=0

https://www.dropbox.com/s/hfhwvoghrmbaiil/logcatEAS7.0.txt?dl=0

https://www.dropbox.com/s/5utck6t8x369j1u/logcatEAS7.0v2.txt?dl=0
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Did you use the systemless version of my kernel or the default ak 2 zip?

What issues do you exactly have?

I also read in leedroid thread about wifi issues but independently of kernel.

thanks for the logs I’ll look at them when I get a chance :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
Thanks for replying. [emoji4]

I used the default kernel zip.

When the phone goes into sleep, like having the screen turned off for more than five minutes or so. Usually upon turning the screen back on within 5 seconds you can actually see the WiFi icon reconnect to the router. The problem I'm having is the WiFi will not reconnect on its own and if I manually try to turn it on it simply don't turn on. If I want it immediately on I usually do a reboot shell and that works, or keep the screen on and it does usually kick back on but takes a while, if say a few minutes.

Hope this makes sense. [emoji41]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
That sounds a bit like what was described in leedroid thread.

what happens if you don’t enable the setting to disconnect the wifi when screen is off?

is the same issue present?

Also may I ask why you want the wifi to disconnect when in deep sleep? :) because wifi will consume a lot less battery than mobile data.

I’m currently not at home so I will look at your logs later. But regarding wifi my hands are a bit tied I’m afraid. :( Htc modifies the wifi driver but does not publish the source code. So I just have to go with the standard caf wifi driver or the pixel 2 one. :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
I'm not sure if the WiFi issue consist but I can try and see, and will report back maybe mid-day.

I also keep my mobile data turned off, it's a mix between battery and simply not needing to be connected all the time. [emoji4]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Alright I can see where you’re coming from. although my hands are somewhat tied I fear...

looking, forward to your report :svetius: also thanks for providing the logs and taking the time to explain!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
When I set the WiFi to never turn off, I did not have the issue. I set it to stay on only when plugged in and same issue. It seems to be an issue with waking up.

I took a very uneducated look at the logcat and there seems to be a bunch of WiFi HAL stopped/started stuff??

Anyway I took a video of it just to ensure I'm not crazy! [emoji14]... Ok I know I'm crazy [emoji13]

https://www.dropbox.com/s/zjb5jnbu55ciadz/Screencast_2018-05-29-17-16-48.mp4?dl=0
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I believe you´re having the issue. The thing is there is not much I can do about it.

The other custom kernels clean slate and elementalX can use the stock wlan module that is integrated in the rom, because these kernels are close to stock and don´t modify some "core" parts.

HTC decided to put a verification mechanism into loading the modules, that´s why I cannot use the stock wlan and sdcard module. The mechanism checks for the kernel symbols and the EAS machinery and the changes that come with it, change these kernel symbols, so the stock modules won´t load at all. I even tried to hack the stock modules and put my kernel symbols in but they still didn´t work.

Now the wifi hal is built into the rom and probably made for HTC´s custom WLAN driver. The problem is that HTC decided not to release the source code for their WLAN driver. So currently I´m using the one from the Pixel 2 XL which is also fairly newer.

But I have no possibility to know what HTC changed inside the WLAN driver... The same goes for the sdcard exfat driver. It´s proprietary and I have to use my own one.

I´m looking into a solution and your logs but it may not be possible for me...

Edit: I´m trying to replicate this now.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
So yes the issue seems to be indeed happening when the phone was longer sleeping.

I look into it at some point but I have not so much hope. Thanks for the report though :)

I’m a bit sorry to tell you this. But if you currently want to use the kernel set wifi to be enabled always in wlan settings. It drains not much battery that I can assure you but it’s entirely up to you :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Jbb3393:
Again, I truly appreciate you even looking into it and taking my word. I'm "glad" that you could replicate it as I was beginning to believe it was only me as no one else had mentioned it in your thread.

I am happy to set it to stay on for the meantime.

[emoji41][emoji106]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Just.Joe:
Hi. Wanted to say thanks for a great Kernel!

I'm by no means an Android pro, the U11 is actually my first decent phone. I've experimented with various ROMs and kernels etc; this EAS kernel is--by far-- the best. I have no idea how it's even possible to get such good battery life and still be completely lag free, etc.

I do have one abstract question though... I have been experimenting with a discontinued app called "DriveDroid". Essentially the app (with root access) makes it appear that the phone (U11) is a bootable USB drive to any computer. This makes it possible to store multiple ISO files (disk images) on the phone (such as windows installs and utility discs etc) and boot from them. (in fact, you can even "install" windows (or Linux) to a "partition" created within DriveDroid... And the OS works as if it was installed locally)

Anyway, long story short, to be able to do this is totally fantastic for IT people that mess around with this stuff. DriveDroid works well with the CleanSlate kernel, but does not work on the EAS kernel.

It is my (layman's) understanding from reading the thread here that you had to create your own storage drivers to enable EAS to work on the U11...

... Do you think it may be possible and relatively easy to make this kernel work with DriveDroid?

I know I'm likely the only person on the planet that would ask this question, but as it turns out, the U11 happens to be one of very few phones that actually work with DriveDroid that also have MicroSD storage... And it is the only phone that also is USB 3.1... Which makes a substantial difference when booting off of the phone.

I apologize for the long post, but just thought I would ask if it is something that may be possible to do. Then I could use the best kernel on the best phone for this app! :)

(P.s. It is also my understanding from reading elsewhere that at some point in the past CleanSlate added compatibility to DriveDroid during U10 development (or possibly before). Thus it may be something relatively easy to do, but I have no idea.)

---------- Post added at 03:14 AM ---------- Previous post was at 03:10 AM ----------

Oh also, while I'm asking questions... Does this Kernel work with the Viper ROM? I was thinking about experimenting with Viper, so thought I'd ask.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
It works with Viper, I'm using 2.20 and got no problem:highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Does it work on the U11 with cleanslate or on the HTC 10 with cleanslate?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Just.Joe:
Hi, it works great on the U11 with CleanSlate.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I will look into it :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Htcdevuser666:
Shouldnt.this be.for.aosp??
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
No, EAS was ported for HTC sense OS
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I’ll release a AOSP version when the aosp roms/base has less issues like the deep sleep bug.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Htcdevuser666:
That would be awesome bro!! I've been using the lineage os ROM and it's pretty stable. But also he says in his last changelogs that he changed the kernel to [MENTION=3428502]Freak07[/MENTION]. "Kernel changed to [MENTION=3428502]Freak07[/MENTION] upstreamed 4.4.131 kernel (source link updated).	May Security Patches.	Latest LineageOS changes."
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
That’s an upstreamed stock hmp kernel. Not an EAS kernel :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
Has anyone tried magisk 16.7 with this kernel yet?

UPDATE: Still does not work with either existing or new installs on 16.7. Wi-Fi is broken but everything is fine on stock kernel. I simply removed the magisk module and then dirty flashed my rom (restore your backup on stock). After one reboot I installed the kernel and everything is back to normal on 16.3
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Shoaib05:
Hi [MENTION=3428502]Freak07[/MENTION],

In your 4th post in the first page, for using Dynamic S-Tune Boost, you instructed to set all CPU-Boost Frequencies to 0 (Zero). However, setting all the CPU-Boost Frequencies to Zero breaks the Dynamic S-Tune Boost Feature as the value defined in this doesn't gets applied to dev/stune/top-app/schedtune.boost. In order for Dynamic S-Tune Boost to work, I needed to set atleast one CPU-Boost Frequency on any Core and only then the Value of Dynamic S-Tune Boost got applied to Sched-Tune Boost automatically. I am sorry if this was already written in there somewhere (though I couldn't find it).

BTW, those articles are just excellent and precise. I went through them and they were very helpful. Thanks for that! :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hey :) good to see someone actually reading the documentation and finding it useful! I really Appreciate that! Thank you :)

The section you quoted is already marked as OLD and in “hide” tags. That means you have to open it on desktop via clicking a dedicated button ;)

Mobile clients like tapatalk don’t display this properly

You don’t need to set anything with this kernel it gets all set via ramdisk.

if you want to fine tune you can gladly do so, but as it is now it’s flash and forget for most as the current setup is quite well tested and well balanced. :svetius: