yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
2-3 notifications from same app, that's often here too, to not notify.

I think that might be the same on stock with the notification Led.

The first one that only the buttons blinked might be because it detected vibration pattern. That only triggers the buttons, as it's supposed that notification Led is handled by the rom.

Might be that this relates to a specific application.

Or it's not depending on that?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
previous post just updated 2.2.0v2 zip. A minor bug discovered and fixed just now! :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] gnabtib8:
I've never seen such an active kernel Dev :) thanks for this
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks! It's maybe because I focus on one device at a time. I don't have so much time to support more than around two different devices.

I use the device as daily driver, it must be perfect :):good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
With your kernel and Lee's rom it's a real flagship! By the way: the haptic reaction when changing direction in scrolling makes it really easy to handle!:good::cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
Cleanslate is definatly the icing and cherry on the ROM.. the most innovative kernel in the history of XDA IMO
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I can only agree :laugh::good::highfive::p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, a known bug: when long pressing the VolUp/Down for Lowlight/vib mode, it can sometimes do the second haptic part too short or too long. I'm not sure what's going on, because the code itself is ok, but I'll have to debug this one. Happens rarely, but it's still there...a very long haptic feedback like for 3 seconds lol :o :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Hey :)

I cherry picked your latest change as well and I have another problem. Sometimes I get a not ending second vibration. Doesn’t matter if short or long press.

It stops only when I wake the screen. :laugh:

Maybe you will get that also or config_hz=300 is to blame again.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
well, i used jiffies again lol... it's the tick time indeed. but not the cause of the issue. It only causes that on 300hz it will almost always be a long press.

but the very-very long haptic it's the same problem that i mentioned unrelated to 300hz. It ends after a few seconds for me for some reason, probably if you wait enough it will end for you too? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
I've had that happen also..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I will try again later. So it should end after like 9 seconds :laugh:

Maybe I should switch to 100hz back again.

---------- Post added at 03:41 PM ---------- Previous post was at 03:28 PM ----------

On cleanslate?

[MENTION=3088420]tbalden[/MENTION] then it’s probably not caused by hz 300
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
No, it's not caused by 300hz. It's something with the qpnp haptic driver acting weird. I'll resolve.

I mentioned 300hz because if you cherry picked it, on 300hz it will have a much shorter period before identifying a double volume press as long press. I'll fix that too with a patch
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.2.1 stable -​

Low light mode switching fix

Changes:

- Fixing long press VolUp/Down double buzz haptic feedback where it lasted a couple of seconds, instead of a short double buzz.

+ technical: fixing code for usage with 300hz

Download (2.2.1):

https://www.androidfilehost.com/?fid=673791459329049658
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Yes, on 2.2.1 stable
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
2.2.1 is just out. It should fix it. Yesterdays release was 2.2.0
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Thank you :) I’ll do a build tomorrow. :svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Sorry. Typo. Meant 2.2.0.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
No problemo. Let me know how it fixed or not this.

So far so good on my side
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Fix is also working on the EAS kernel :) all good now:svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Cool beans, thanks for checking back.

Now I'm off to eat cakes.

???
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I read "eat cats" :silly:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Working beautifully here, as well. Thank you.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
:eek: Got my share of chocolate birthday ( not mine, but delicious ) cake. No cat in it ?

:good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
:good: thanks for checking back.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, so last thing on the to-do list, before I think I'll be over doing mainly all of my work to boost the u11 usability features to Max on kernel side...

So this..

How much demand for this, I have mentioned before:

Haptic notification blinking.

If you missed a call or message, phone would keep buzzing once in half a minute, till you switch on your screen.

There something similar in accessibility features but that keeps buzzing annoyingly till you dismiss the notification, because it's rather about accessibility of course which had another good use
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I’d be interested actually :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
I'd be interested as well. Also be able to change the duration between vibrations and strength, etc..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
My plan is to simplify implementation is to bind it with flashlight blinking, as that is already doing a time to time operation. That way I could spare some battery using it for two purposes.

I plan to make it like this: a value to specify which Nth flashlight blink to be doing a haptic as well. The vibration strength sounds easy to add as a parameter.

I'm testing a simple version already. Now together with the low light mode it's even easy to switch it off by simply switching to Low light mode where Flashlight notification is off.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] beartiger:
Loving this kernel but I have to say, even though I've been on Android and HTC for donkeys years, I still don't like tweaking things in text files. Is there going to be a kernel tweaks app of some sort? [MENTION=3088420]tbalden[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Use exkm app. go to tools tab. Choose user settings and you can import all settings from cleanslate into exkm and choose any values you want.

Even setting them at reboot is possible :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Check LeeDroid tweak app and/or exkm.

Little solace but I try to configure default configuration as well to be the most convenient. :) but you're right, user preferences differ. So hopefully those apps will be sufficient
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
Can you explain in detail how to import all the settings of cleanslate? I can't find these settings :confused:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
You go to user settings. Hit the “+” button. Than you take a look at cleanslate thread post #2. There are the sysfs paths and explanations of all values for the settings.

then you choose the correct path in exkm and have all tunables set :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
I got it. Perfect and easy method, many thanks to [MENTION=4684315]flar2[/MENTION]

Thank you!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] beartiger:
I think I'll just nag [MENTION=398245]LeeDroid[/MENTION] to add any new items as he's had his damn rest and probably enough cuba libre to mean there are no more excuses ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
Won't be long!... Got a bit of a personal situation going on at home so time has to be limited
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Take your time! Hope everything is heading the right direction.

I'm just back from a small hiking. Wife and I taking photos with two magnificent u11s :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Same here, this time wife and twins and only one u11 ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] beartiger:
I've not been hiking, but I do have twins and a wife...more importantly (hope they'll all forgive me for this).....

I have a fourth feline friend in the house and a U11 to take piccies with of an animal that wont stand still!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Twins, that's some challenge there! Our kiddos were challenging each by one, but two or three crying toddlers at the same time, needs some admirable effort!!:good::good:

I see Excellent weekends all around! Take care!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
We should start a twin group on here :)

Its hard work but also soooo rewarding, as I'm sure [MENTION=230010]beartiger[/MENTION] will second.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
About the rewards that's sure, double chore equals more than double ROI :)

and on the 'shrooms attached is mine for today :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] beartiger:
One just started uni and the other has work experience in a London West End theatre..... There are some rewards Indeed!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Regarding shrooms :laugh:

You guys like fried shrooms? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Haha.. Ours are just 3 and a half.... So most pictures I take nowadays are them...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Just thought I would reiterate my previous comment about scrolling, I thought it might have been Chrome but I think the ad blocking app I use called "Block This" was causing some crazy scrolling today. I disabled it and it was fine. I know this may have nothing to do with anything just correcting myself.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Holy crap... He may be right... I just disabled adaway, and scrolling in Chrome is more stable..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hmm, I'm not using ad away and on a chrome from August, and no issues with scrolling and squeeze scrolling
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Nice :D

I'm not pro on the shrooms, but I do like when somebody fries some for me :cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Like I said in my original post, I disabled squeeze on cleanslate so my scrolling issues may have been different. I just know now that I had some crazy scrolling issues from block this. Just in case someone runs into this problem.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
And this is with latest chrome, right?

Or with the one from August
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
I down graded chrome when I first heard of the issue. I stopped block this yesterday and the crazy scrolling had stopped.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Oh OK the circle is full, now I get it. So chrome is a mess since a few releases... Let's hope it's not a strategy against ad blocking
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
it doesn't happen often, and it may have been because of a particular website I was on, but it even started flickering and I could barely see a popup square, like an error message about an ad blocking app. I will try to reproduce it and get screen recording.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] elmor0:
Noob Q of the day! How do I access this kernel's features once installed; where (if at all) is the settings option for it?

Would its features clash with those in the Edge Sense Plus app in any way?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] android_patrizian:
Has been answered and explained within the last 48 hours here.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I'll update the second post in a bit to reflect upon this more straightforward, and also about edge sense plus overlap
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Done. [MENTION=1654606]elmor0[/MENTION] you can read some points regarding your questions here:

https://xdaforums.com/showpost.php?p=72710244&postcount=2
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] victoryo:
Is there also a zip available to go back to stock kernel after flash? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Just dirty flash your rom :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] victoryo:
My hope was not to do that ;).

Have to download whole rom again and remember correct settings.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Read flashing guides. Simply backup boot partition, no brainer thingy
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Brain? where can I dowload Brain?

How do I flash Brain? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] victoryo:
Is it only a modified boot.img being flashed then? No init.d scripts etc?

Else I should also perform a clean up
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yes, it's only boot img so you should be good with boot partition restore with this kernel.

Just a note:

Kirisakura kernel will need system backup because the eas changes needed a new wlan module build
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] victoryo:
Any idea where I could get back the stock boot.img of 1.27.401.5 without redownloading whole rom?

Havent made a back-up before flash :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] flar2:
I just updated EX Kernel Manager to support the new flash notification + other settings recently added.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks, highly appreciated!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Check here http://www.renovate-ice.com/svn/leedroid-11/trunk/boot.img
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] victoryo:
Thanks flashed it with twrp :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Just updated to new Exkm...note that wakelock blocker shows not available...is that feature not supported on Cleanslate?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
No it isn’t.

Also currently no kernel on u11 forums has support for the new generic wakelock Blocker, which flar mentioned and is referring to in his exkm app update post.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=3428502]Freak07[/MENTION] / [MENTION=4684315]flar2[/MENTION] is that something that is achieved by a custom patch? I should read up on this, but thought I'd ask :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
That would b nice...maybe squeeze out bit more battery.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
https://github.com/freak07/Kirisaku...mmit/e64429bbe5e43794d7726e1da39e48d5e30f8a90

https://github.com/freak07/Kirisaku...mmit/be80f091d36ca3437158685eb1e95785a26452be

https://github.com/freak07/Kirisaku...mmit/9ad2043a573510cb23f44bde6cdef0a54269d778

And defconfig switch

https://github.com/freak07/Kirisaku...mmit/39a302bb5fa207a86b1526383db90e28c516b600

Basically with new exkm app update and the commits you can block any kernel wakelock that shows up on your device.

But I don’t know this is a very powerful feature. I’m sure some people abuse it and come complaining something isn’t working.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, that's more than what I deem a healthy patch.

I'll keep the headache for other kernel devs :D

Thanks for linking, much helpful
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
At least flar excluded the two worst wakelocks from his app that are shown in bbs and make my battery drain fast (sarcasm) :laugh::good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
You better include those two ASAP, I'll be flashing soon and I would hate them in my BBS :p

Your wakelock btch.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
? ? ?

Well, it seems like fixing wakelocks in kernel is no longer the right way.

Kill'em all

???
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] flar2:
If you block those two, your battery will last a week.

(But with 0 screen on time)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
:eek::laugh:

I wonder if this can be useful to some extent tho... I'm not much into hunting wakelocks, but is the current kernel domain of CAF so much full of wrongly written drivers that use too much of these? I'd think this is mostly the drivers wakelockings are okay by now, no need to shovel down the kernel's throat these blockings... or is there still many problematic drivers? I don't see erroneous and draining wake locks on my phone in the last years.

What's the most popular use case here? [MENTION=3428502]Freak07[/MENTION] [MENTION=4684315]flar2[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
Please please include it :)

It would make a ton of difference for me at least :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Can you give some examples? I'm much interested (read my above post)

Foremost, I'd go another way if that's possible to fix, if we can identify problematic wakelocks it would be better to repair them than blocking them.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I know that wlan and mobile data wakelocks can be quite nasty on some routers when using different settings. Like static ip in contrast to dhcp.

We had control over a few selected wakelocks with the patches I included here

https://github.com/freak07/Kirisaku...a2af9ee#diff-ea2e128b0cf4470627a09ad4c56ffef1

https://github.com/freak07/Kirisaku...63829a4#diff-ea2e128b0cf4470627a09ad4c56ffef1

https://github.com/freak07/Kirisaku...ce27037#diff-ea2e128b0cf4470627a09ad4c56ffef1

Then recently a new one popped up for some users but it didn’t even show in my bbs stats

https://github.com/freak07/Kirisaku...4fc5731#diff-ea2e128b0cf4470627a09ad4c56ffef1

So the advantage of the new implementation is, that we don’t have to include every single wakelock that surfaces as we can block anyone.

Another advantage is, that we can simply block the wakelock, if the source of the issue is not originating from the phone’s driver but rather from the router’s firmware. So to say it’s out of our control.

Big disadvantage is obviously that this system is easy to abuse.

And I defintely agree with you I don’t have any problems with wakelocks at all on this phone. With any kernel.

I just remember that [MENTION=8395457]velimirchek[/MENTION] had a problem when his router at home got switched from his internet company. He got another router that caused a wakelock for him and his deep sleep got destroyed. To resolve it he had to either simply block the wakelock or assign static ip’s, which is not very convenient if friends visit you.

Some of this router related wakelocks are happening quite often, well in relation of course. But outside of xda I don’t think any users suspect their router.

I think I will give the new implementation a go. But if a user blocks wakelocks and runs into issues ( like missed notifications, alarms) I can give no support.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
Yeah, I have network wakelock problems...

At work and at home...

IPv6 is the problem...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] flar2:
The wifi driver wakelocks are usually safe to disable. I personally don't have any issues with battery drain due to wakelocks, but many users like to tweak for every ounce of battery, and some have severe problems with wakelocks keeping the phone awake for hours. I had this problem a couple years ago and solved it by changing the firmware on my router.

Currently, in ElementalX I only offer the option to block specific wakelocks that are known to be safe, but I might change to the generic wakelock blocker to offer maximum possibility for customization.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, I see meaning in all this, but not in a fully configurable way.

I can't even tell if this commit in the tree where all of them are disabled https://github.com/freak07/Kirisaku...ef75e94#diff-c22c02e32dcb98105ed0cebaeb0e8dc7 is a good step.

Why are these wakelocks there, and if you disable them, what will you lose?

There's no explanation in any of the paches, what impact there's when you disable one or another...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
"The wifi driver wakelocks are usually safe to disable." , then if it's safe, do we know, why they exist?

I understand that some buggy firmware can cause trouble. But then why qcom and driver programmer puts them there?

What are the side effects? Don't tell me none :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
What I experienced was if I disable two wlan wakelocks two other will increase accordingly that weren’t as high before. So in the end I will have exactly the same battery life.

Some devs on op 5 seem to disable all of them by default with no issues. I only have blocked one when I saw the need. ( defective firmware of the router etc).

About the wakelocks. You’ll find info on google. Not everyone does his commits with as nice descriptions as yours are commited!

you can find info on the wakelocks when you google them. Long clicking them in bbs copies them to clipboard :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Op5 : No issues as in every condition they receive push notifications, pull notifications on time while screen is off? This must be a miracle then :)

Maybe speed throughput downgrade while downloading
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Yeah, no issues with late notifications and all wakelocks blocked ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Meh :p

Now I've dug the internet related to half of these, seems mostly related to looking for Wi-Fi network, scanning...

With a stable Wi-Fi seems it won't have an impact.

Probably moving between access points you won't get back Wi-Fi with screen off?

EDIT:

Like this https://gitlab.com/Codeaurora/platf...mmit/80c789574136e02b9385b82d43547aebd28a87a3 where if driver sleeps in after Host wakeup by wifi firmware, it won't be able to init the connection...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I must have been lucky as my OP5 performs top-notch, all available wakelocks blocked (RenderZenith kernel) and all notifications and switching between wifi's works just fine.. I read about issues in different threads, but I would notice as I am also a wakelock btch :silly:

Edit: both [MENTION=3292224]franciscofranco[/MENTION] & [MENTION=6842057]nathanchance[/MENTION] block them by default so I am sure users in their threads would complain already :)