yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Its in the OP as well but you can do it multiple ways.

In EXKM (ElementalX Kernel Manager) or by cmd : echo "0" > /sys/class/leds/indicator/bln_flash_blink

Or manual edit the bln_flash_blink file using a root explorer like ES or similar.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
if you're rooted: please use LeeDroid tweaks or EXKM to set it off.

Otherwise you can switch the device to so called Low light mode, by shortly pressing VolUp/VolDn while screen is off. You'll feel a long haptic feedback.

This will overriide BLN to off also will dim the notification LED light
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
[MENTION=3088420]tbalden[/MENTION] I have an issue with incoming calls on the latest when KAD is enabled.

If I receive a call from an unknown caller, I just get a quick peek of the number (KAD) and no ringtone.

I seem to be missing a lot of calls with 2.4.2 this way, is this something you are seeing also?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Ohh! That's it.. I blamed poor network.

Got a lot of missed call SMS.

Never suspected the kernel.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
yeah, when I turn KAD off all works normal. :D

Took me a while to figure this one out as well, but I just caught someone trying to ring me whilst my phone was lying on the desk face up and spotted the weird behaviour.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yep, I realized it yesterday while thinking about this and other bugs in depth.

Yesterday I almost released a kernel version that partially fixes this if Vibration is set on for phone calls (unfortunately, I don't know yet of any other mean to track an incoming call on kernel side, I looked for it yesterday a few hours)... but right after starting to publish it, I found another issue with KAD, so I stopped...

For now, my plan is to finish off remaining bugs tonight, with vibration based call detection and release it. And probably I'll add an option to suppress all vibrations to 0 voltage, till I figure out a better way to detect calls when phone is in no-vibration at calls mode.... meh, this is embarrassing, sorry folks, I wish I could find some better way to detect stuff (like in-pocket and calls)!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Meh, no worries.

Missed the call and voicemail from my wife to pick up stuff from the store on my way home :D

#notabugitsafeature [emoji14]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
so here it is, fixed up bugs i detected yesterday...

- Update 2.4.3 stable -​

KAD updates:

- making grayscale to color restore instant (by emulation of small touchscreen events)

- adding KAD call detection based on vibration pattern (1000msec) - still no detection for calls without vibration.

---- without vibration for calls a call screen can conflict with KAD screen / input blocking

---- Make sure Vibration for Calls are on while using KAD, if you want to avoid trouble!

Squeeze2Swipe / KAD wake:

- fixing touch input issues with user touch input while squeeze swipe / KAD touch wake, (should not stuck with active touch points)

Thanks [MENTION=271041]p50kombi[/MENTION] [MENTION=2632943]Whiskey103[/MENTION] for reporting the issue with phone calls.

Download:

https://www.androidfilehost.com/?fid=962021903579487973
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
mehehe... :laugh:

Strange thing is, nowadays it's became somewhat rare to use a phone for phonecalls :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Krack vulnerability fix and some more tonight!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Still same issu ewith unknown number calling and KAD enabled.

I've got vibrate on ring on, but still when an unknown caller calls, I just get a short vibration, then KAD comes on and goes off after x seconds.

No ringtone, no further vibration....

Anything I can provide to hunt this one down?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, so this means, that if it's screen off and comes a call with unknown number... If it's known then of works?

I'll try reproducing, I was looking at the case when kad is just started

I'll test more. Thanks for reporting
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
correct, also with unknown caller I see the caller screen very briefly but in KCAL mode (greyscale)

With known caller I see the caller screen in normal color and ringtone and vibration work.

Please note I have set custom ringtones for almost all of my known callers using the htc people app so not sure if that makes a difference.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
Running into an issue with WiFi. Not sure if it's CS kernel related, or LD rom related, or something else. But....it seemed to start happening sometime in the past week (or so) when my 11 connects to home WiFi. Now....no other WiFi issues with my old HTC 10 (running LD and CS). No issues with a LG POS phone (don't ask) and no issues with 3 other iOS devices, or 3 MACs. Just the HTC 11.....

Sometimes....WiFi is perfect. We've got a 150/150 FIOS router network (fiber to the house). WiFi will give tons of throughput reported with ookla's Speedtest app when it's all working. Other times (but mostly) it reports 1.x-5.x mb/s throughput on my 11. It'll start in the 10-15 mb/s range, and throttles DOWN to next to nothing. Apps even sometimes report various error messages about 'net connectivity....etc.

I've cleared Dalvik cache (TWRP method), reinstalled LD v62, reinstalled several different 2.4.x versions of CS (as it appeared to me it started sometime in the madness of frequent CS upgrades in the past week or so), but the problem is still there....sometimes. I also rebooted the WiFi router (and the ONT). Same issues, but only on the U11. Searched through the 'general questions' thread here also. Not having much luck with troubleshooting this....

With the brain trust that exists in this thread :) anyone have any trouble shooting ideas? If I have to I could do a clean start/fresh reset install....but really hate doing that!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=5834551]sttw1fa[/MENTION] you could try to backup and dirty flash leedroid ROM with stock kernel option to validate if it's related to kernel, but I'm mostly sure that 1. there is really no change in WiFi recently, 2. Only change to WiFi was to block a few unrelated wake locks.

Still trying stock kernel could help to narrow this down.

One question tho I have, is Bluetooth actively used during your tests?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
I did just reinstall LD v62 with stock kernel and stock power manager options. Will try for a day and report back. The issue seems random, but happens more often than not.

Bluetooth, yes, almost always on. I have a BT watch (Garmin Fenix 5s), and use BT connection to a vehicle, and a headset sometimes. One little thing started happening there....but only can see it happen on the connection to the vehicle. I use Deezer (similar to Pandora, Spotify, etc.) to play music to the vehicle's system....sometimes after a call, or when switching playlists....I have to FC Deezer to get the app playing music again (including to the vehicles's BT connection). It's like the 11 and vehicles' BT system get out of sync (but still connected).

Most recent full TWRP backup was when upgrading to LD v62...I don't usually backup in between kernel flashes (I know I should, but never had a CS upgrade issue).....I just backup on the LD rom upgrades (had one go south long ago).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Regarding Bluetooth, I know that bluetooth and WiFi can interfere in certain cases, although certainly not this bad as you describe.

Well, stock kernel testing will help to get closer to narrowing it down.

What's strange to me, that in general the WiFi on my htc 10 has been always much weaker than on the U11, so I'm really curious what's going to be your results.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Ainz_Ooal_Gown:
I get used to one version of the kernel and I don't check back for a couple weeks and then it's updated 10 fold lol. Well good job and can't wait to try this version
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
Well....it appears my WiFi issue is NOT kernel related. Speedtest worked incredible a couple times with stock LD kernel/pnp mgr settings. Then....two hours later (and a couple connects/disconnects from driving and returning), less than DSL speeds while the U11 is connected to WiFi. Ugh....might have to restore a LeeDroid r59 TWRP backup to see if the problem exists there.....

And...yeah. My HTC 10 was given to my kiddo who is ~20 feet from the WiFi router, so no issues like I had....only being ~50 feet away (one of the main reasons to early adopt the 11)!

Bluetooth connected to the vehicle...and on stock kernel, actually seemed to not have the problem starting/stopping/changing apps while doing some calls, and streaming music from Deezer. Deezer auto started music playback as soon as a call was completed. Honestly not a LOT of testing on that functionality though. More trying to figure out the WiFI pain in the.....
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
With KAD off and KAD only while charging off and the charger plugged in, I'm getting a Boot loop. Unplug the charger, and it boots normally. Also in do not disturb/priority only mode..

Edit: checking with DND off.

Edit: DND off no change.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
trying to reproduce with my current changes, I cannot yet. I'll upload the new version, maybe it'll help you. If not, please try to grab some dmesg when it bootloops

Thanks!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.4.4 stable -​

KAD (kernel ambient display) updates:

- added vibration based alarm-clock screen-on detection to make sure alarm can work with KAD on.

- usb disconnect now should stop KAD correctly

- fixing Call problems with KAD (still Call needs to be with vibration to work with KAD!)

--- now if KAD is not active at the moment of call, the call should be okay even without.....

------ ....call vibration. Only issue remaining, active KAD screen will conflict with.....

------- .....calls without vibration.

- fix KAD on charger only mode + BLN on, and off the charger it was not blinking

Sorry, I wrote about KRACK fix, but it is not possible in kernel code in the end, at least no way that I know of

Download:

https://www.androidfilehost.com/?fid=745849072291684494
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
No change with new kernel..

Dmesg

https://drive.google.com/file/d/0B9CTeNCULb_yc3AxTzJlampxZVU/view?usp=drivesdk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
After installing 2.4.4 with charger on, booting hangs. Also restart with charger on. Only help is volume- + power & charger off.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The Great Dane:
Thanks for reporting, was just about to flash it. I'll just hold the horses for now:good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I cannot reproduce it, but I think I know what might cause it.

Are your devices with encrypted data? Also is your phone asking for PIN at reboot/decryption?

Here's a supposedly helping test update https://www.androidfilehost.com/?fid=745849072291684494

Let me know, if it helps!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
2.4.5 (test update) repairs it. Restart is possible now with charger connected.

And yes, I use encrypted data, but no PIN is asked at reboot.

That's all, Master!:good: THANK YOU ! ! !

---------- Post added at 10:52 AM ---------- Previous post was at 10:49 AM ----------

An other simple solution: don't charge your phone!:laugh:

---------- Post added at 11:11 AM ---------- Previous post was at 10:52 AM ----------

When starting after hangs with 'volume- and power button' I now miss the blinking bottom lights after 13 seconds that normally appeared during this procedure. Is there some extra settings now for that? I lost control over this new kernel-all-around-light-show,hehe
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
No, not using encrypted data... Just the lock screen.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I'll have a look at that, I think the way Bln switches off now after 6 blinks was changed, had an impact in that.

Note taken, going to check, I think I know what might fix it. :)

So if I understand this, it worked out to fix system hang, just the long press power doesn't blink, right
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK. let me know if the above version linked helped your issue as well
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Ok, it seems 2.4.5 fixes the reboot while charging bug for me.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
Yep, only long press blinking is missing during "after crash start":good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Replaced download links quickly with the fixed version...

Going to update properly soon
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK. Gotta check this. In cases where the phone is working and screen is on its still blinking properly so not easy to test without hanging the phone :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
Many 'lectrons died to bring you this information.....

WiFi overpopulation. 14(!) 2.4ghz and 2 5ghz networks my 11 can see from most places in my house. My 11 appeared to be getting 'stuck' on connecting to the 2.4ghz channel which (after utilizing a WiFi analyzation app) turns out is quite crowded in our neighborhood. Not sure why my 11 started doing this...it started randomly about a week or so ago, and thought it happened sometime after updating to LD v62 and CS 2.3.x (back then!). The past few days had my 11 having issues anytime on WiFi.

After countless reboots/reconfigs (including finally going back to LD v62, and CS v2.4.4) on my 11.....and a couple channel changes on WiFi router as well as a final reboot of the ONT.....my 11 is now connecting via 5g almost exclusively (without forcing 5g only), and having excellent results in Speedtest again.

This thread XDA - U11 - WiFi 5ghz thread was helpful, specifically post #14.

Hope this helps anyone else running into the issue.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks, this might be quite useful indeed...much more trouble these days with the WiFi bands
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.4.5 stable -​

KAD fix:

- bootloop/stuck restart while charging problem fixed

Download:

https://www.androidfilehost.com/?fid=745849072291684568
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.4.6 stable -​

Updates:

- fix Flashlight notification/Vib Call notif cancel missing when wake by user (squeeze peek/fingerprint wake etc.)

- add detection of very long notification vibration patterns, e.g WhatsApp long vibration notification. Will work now with BLN on charger / Flashlight notif + VibCallNotif in Haptic_mode

Download:

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

Have a nice Sunday all!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Here's my morning routine for the last couple of days.....

Grab a cup of coffee and flash latest cleanslate...

Hehe...well done mate...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, hopefully no more regressions, ambient display thingy was a major source of them. Now off to grab a cup as well

:D :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Just a heads-up, there hope chrome will fix the squeeze swipe turn bug of 62.x. The development version 63.x works good

https://play.google.com/store/apps/details?id=com.chrome.dev

Beta too, 63.x

https://play.google.com/store/apps/details?id=com.chrome.beta
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Installation Guide and Feature Showcase

so here it is... with most features settled, a little guide for those who might want to install it without root/magisk or actual TWRP flashing (thus keeping official OTAs easily) and so without tweak app the needed guidance for setting notifications with notif control (VolUpDn buttons)...

[YOUTUBE]LvsTlGQCYHg[/YOUTUBE]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.4.7 stable -​

Updates:

- critical fix: rare but present freeze when receiving lots of notifications with Kernel Ambient Display and concurrently using squeeze to sleep/peek gestures. Phone could get stuck. (KCal mutex applied to fix this)

- some cosmetic fixes in Squeeze control

Download:

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

[MENTION=271041]p50kombi[/MENTION] yeah I know, you told me so :laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Hahaha...

Let me grab a cup of coffee...Good morning all .?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Me too me too, it's great that I'm off of work today, no fun staying up freeze hunting till 3:20am otherwise :laugh: :eek: :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Donators hall of fame added to first post. An endless eternal mantra of xda gratitude towards them.

Hopefully no-one left out!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Nice surprise and brought smile (after few hospital weeks) to my face, much appreciated mate.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] beartiger:
[MENTION=3088420]tbalden[/MENTION] a little something to say thanks.......

Transaction ID

1BF915840E2796519
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
I should have done that but my organisational skills & memory leave a lot to be desired! :eek:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jwong.hhf:
Thank you for such a great kernel. May I know how to under clock the CPU? I tried in ex kernel manager and other kernel tweak apps. The cpu's highest frequency cannot be locked to a lower one. To me, the big cluster working at 2.0ghz is totally enough and it reduce a lot of heat. Thank you in advance.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
I think you have to disable the HTC pnpmgr for this.

But probably do more harm than good iirc.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jwong.hhf:
Thank you for your reply. Do you happen to know how to turnoff the button light completely. I also tried many methods but failed...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
In terminal:

echo "0" > /sys/class/leds/indicator/bln

Or manual editing the file in above location with a text editor like ES File Explorer

Or in EXKM you can simply use the built-in switch ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Currently fully turning off even when touching them is not yet supported.

I'll take a look at that, as it's easy to do, but not often it's asked for :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thank you, highly appreciated!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Getting withdrawal symptoms here..

Starting to shake all over....

Had one cup of coffee, then another, then many more....

WHERE'S MY CLEANSLATE KERNEL TO FLASH...

:D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Tried Vaping? [emoji14]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
it's cooking :D just in the morning woke up with a color brightness (not screen backlight brightness!) pumped KCal setting after a test night while I was sleeping, and with KAD on meanwhile... looking at how to avoid/fix that... it's very rare but still can happen. Test build 2.4.8 here for the addicts.

Let me know if you get a screen with pumped up color brightness (again not screen backlight brigthness) after a KAD went down and you switch screen off manually...

2.4.8 Beta1 Update

Download

https://www.androidfilehost.com/?fid=962021903579489104
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
THANK YOU!!! THANK YOU!!! THANK YOU SOOO MUCH!!!!

#stops-shaking
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
Machine! :highfive:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Looking at two issues for next release, and the button and Rgb leds fully off feature.

I don't expect quick results, but who knows

I can still produce with very heavy stressing of the touch screen some stuck touch states while squeeze scrolling, and I decided to try and resolve the chrome accidental turns in squeeze scrolling for current chrome, as in the end it is also happening in chrome dev version...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.4.9 stable -​

Updates:

- set bln_light_level to 20 (most dimmed setting) to fully turn off keys backlight (BLN will still work if you leave them on!). Thanks [MENTION=4258077]jwong.hhf[/MENTION] for bringing up the idea.

- fix issues with screen RGB calibration becoming too bright in some rare cases with Kernel Amibent Display

- fix issue with touches getting stuck in very rare cases when using Squeeze-To-Swipe and at the same time touching screen

- shorten KAD screen touch input readiness time, touch events will be working quicker after a three finger touch/squeeze event

Download:

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

As for the Chrome problems with Squeeze Scrolling turning directions randomly: i've done some extensive testing with Develop/Beta versions and the issue is not present with them. (Last time I saw the sudden turn of scrolling, it turned out it was a Webview produced by the Stable (buggy) Chrome version, I thought it was an issue with Chrome Dev version...but nope, so happiness)...

Will it be that stable?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
insta updated to 2.4.9... I forgot I wanted to add the Fully turn off virtual keys backlight feature mentioned by [MENTION=4258077]jwong.hhf[/MENTION] ... there you go, post above updated with link to 2.4.9
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
BTW, I really dig Chrome beta the most, with the address bar on bottom. No accidental tab switch when pulling down notification bar, and easy access of the bar with more functions on the bar panel. Kudos to google, hope it gets mainline soon

Attached some samples
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Next up the alley:

Smart automatic settings of notification periodicity: like flashlight notification delays, and KAD number of repetition, delay and KAD screen timeout,

Based on how long since you used your phone actively, your powering it on/off actively. The longer it lays unused the less often it should bother to flash, do KAD etc
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Surely next up is figuring out a way to keep edge sense launcher and squeeze to scroll/wake

;):svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Just out of curiosity, is it possible to know the position of the phone from kernel sensors.

Like disable flash/KAD/Led based on wether its placed face down, face up etc?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Nope, I tried to dig this up, but it's all buried in nanohub firmwares loaded from user space.

Not anymore like formerly with small sets of drivers for all sensors :( it's more energy efficient, offloading this from cpu
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Gotcha, sounds logical.

Not like HTC at all lol [emoji14]