yashsingh1/xdaforums huggingface dataset:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Are you sure you have set stuff carefully? Short squeeze shouldn't be Enabled, only Long.

The hand detection thingy is surging from the original htc driver unfortunately. It's a lot more easy to get it numb.

Firstly, if screen is off, you will need a pick-up gesture a lot of the times to make it work...

I'll post some screenshots later how to set up in Edge Sense
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
also fine tuning the Edge Sense sensitivity boosting for tougher cases.. I find there's room for even more sensitivity for certain hard material cases.

Also some tuning of how the squeeze press time is being calculated, reviewing it to be more consistent...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for the feedback and kind words. [emoji106]

Sense home or any other app gets the swipe.

Currently I'm still not aware of a simple way to know what type of app is in the foreground, so it will stimulate a swipe anyway. On sense home this gesture is for opening app drawer or if the other direction is swiped, pull down status bar.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
View attachment 4570523

View attachment 4570520

Here's how I set it up. [MENTION=3031788]tetrabyt[/MENTION] maybe it helps you?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
Thx, I got the same. What I did not see first was the wake up thing, as it is greyed out here, but activated.:cool:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
I'm not sure, what I'm doing wrong. But this kernel doesn't like me. Edge sense becomes erratic. The squeezing doesn't seem to be detected correctly . Sometimes a short squeeze is detected as a long squeeze. Sometimes it isn't detected at all. Or it has no effect. I'm on 1.21.617.3. The stock kernel works fine.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hmm. At some rare occasions, I think I get something like this as well. This is happening with all the squeeze features of CleanSlate off as well, right?

It happens like 1 out of 20, that looking at the Visual feedback, it show like it's being pressed but only a very tough press would trigger it actually and, or a pick-up gesture. That makes it go back to normal. And at these occasions I also get some rare times a long squeeze triggered.

It's not as bad as to be unusable, but I certainly hope we will get the stock 1.21.x.y kernel sources soon. I bet there might be some important changes in edge sense/nanohub drivers.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
That is exactly what is happening for me. I'm sure it will be ok, once the source becomes available. I have absolute face on you. Thanks again for your hard work. It is greatly appreciated. :svetius:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
So if I get it right, you had this on 1.7.1 cleanslate as well?

Edit: just went pack a few pages and I see your had. Well, at least it's not the recent changes I did.

I am still nudging htcdev, now it's really time to get the sources :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 1.7.3 Stable -
​

Stable Update

- Squeeze features - update

====== Better reliability to distinguish Short and Middle long squeezes

====== thus more consistent experience with squeeze to swipe and other features

- Edge Sense - Squeeze Sensitivity boost - even more sensitivity. Adjust Edge sense squeeze strength to fit your tougher case and your preference

====== do not use this feature set on without case. It will be super oversensitive otherwise.

Still waiting for official sources to solve some occasional squeeze issues present with or without the squeeze features on, reported by [MENTION=3031788]tetrabyt[/MENTION] and also experiencing it here

CleanSlate 1.7.3 Download:

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

Config app 2.8.4 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Going to check this version out now.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
Thank you for the new release. With 1.7.3 the squeeze sensivity for me is worse. I often get a screen picture when trying squeeze to scroll, the settings for long press and hold. Kernel log is attached.

Edge sense settings and cleanslate configuration are ok. I use a spigen soft case transparent as since the beginning of using the u12+

Double squeeze/tap action on edge sense is more sensitive now. Only problem for me is scrolling which was easier in the first two versions.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
I agree, WAY more sensitive. Still getting the same behavior but this one is more stable. Seems to be related to the sensitivity... Even after turning off sensitivity in the app.

---------- Post added 15th August 2018 at 12:00 AM ---------- Previous post was 14th August 2018 at 11:54 PM ----------

I have to admit, it works alot better with the case on. I have a spigen soft case too. Except this one is black... To tired to get the clear one out of the drawer... ?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hmm, do you have sensitivity boost enabled?

If so please try setting the squeeze force level a bit higher if it's not already higher. Maybe it's related to it being now over sensitive for that case?

I think raising it a bit, like 3 or four notches could do it.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Yes I find we have to make adjustments, the kernel alone isn't gonna do it for us. All is great for me buddy thank you.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Also if this doesn't help, let me know.

Are you getting the hold and squeeze gesture when doing the so called middle long squeeze for turning scroll direction, or is it while doing short ones for simple scrolling
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
I get it sorted by fine tuning and changing the way to hold my device now (top of thumb in the upper quarter of the side of device = so ball of thumb presses for scrolling, which works better. Before already with my u11 my top of thumb was in the middle aera . This worked until 1.7.2 that way)

Settings for me in Cleanslate Configuration app under "Squeeze Control": everything enabled but "sleep" which I do with sensor tap anyway like for waking up the device also.

In edge sense settings for "double tap actions" sensivity level is set "high" and in "squeeze & hold action" the squeeze force level I had to put from lowest (step1) to step 4.

With this setting s and way of holding it I get it all to work. Maybe with the new kernel sources we get scrolling a little more smoothy / like butter as on the u11. But for now it is already marvellous, to get all these kernel extras from you that are not available on stock!:good::good::good::good::cool:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Granite1:
[MENTION=3088420]tbalden[/MENTION] is the fingerprint sensor capable of recognizing a swipe of the finger, or is it just a straight up press?

Reason I'm asking is, wouldn't it be cool to swipe your finger over the sensor from bottom to the top to turn the volume up and vice versa for volume down. :D

That would solve my volume up issues with my current case, not to mention being dope as hell. :p
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
For me, I'm having trouble with changing direction, during scrolling. It's almost hit or miss.. I have the sensitivity set to about halfway. But sometimes I get a long press instead of a direction change. I also spend a while trying to get the sensitivity right.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
yeah, i wish I knew where the Long squeeze timeout can be changed... currently the timeframe is very short and it can take some time to get used to that. I'll tinker around with shortening the "middle long" squeeze timeout, but then there's issue with short squeeze easily going as a middle long "turn squeeze"

I'm thinking about adding mappable Actions to Companion app and send Short / Long squeeze events from there through Edge Sense settings.

Then normal hold squeeze (Long) would be the turning gesture. I think it wouldn't be too hard, and certainly more precise and less problematic ... but would take the 3 different types of squeeze length away...

Also I think I've found the issue with the squeezes, while screen is on, I find logcat that it switches to edge wake Low speed, and from that point it does not register squeezes like it should, only much forced ones.

I will see if I can block it some way when at least screen is on. Seems like a kernel bug in the 1.15 official source, when screen is on it shouldn't do this, definitely.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It seems we have the same FPC fingerprint sensors (like on htc 10/htc 11), and it seems this is not possible with it.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Granite1:
Thats' a bummer. :(

Edit: Is it possible to map tap gestures to the volume buttons? Like a double tap for volume up triple tap for volume down?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] QD2DC:
Oh wow, does that mean it doesn't even support the swipe down gesture for notifications like pixel devises?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Short update... I found out that the way to bind squeezes to the Companion app is not up to all the tasks I wish it were. I managed to add it, but my main problem is that when it's linked, it will automatically wake the screen when it's off to a lock screen... and that's it, no way to intuitively use the squeezes for wake/sleep/peek...

So I'm going to tweak the middle long squeeze time a little bit, it seems it's comfortably okay with some shorter values, what [MENTION=2344619]guidogsbn[/MENTION] mentioned for the first two kernel versions with Squeeze features.

Also it's making me pull my hair, but I couldn't find the point where the erroneous "switch to low speed" is triggered or could be blocked. So I'll have to wait for the official sources update to see if that fixes this annoying thing.

I'm testing and going to update later, probably today.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah. It was never an HTC thing. Tho this kernels tap fingerprint gesture feature, and also the stock edge sense squeeze gestures (short, long squeeze, double tap) easily make it up for that feature and more. Easily the best input peripherals on the market
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
So in the end, after a bit more test in depth on base 1.25 stock taiwan, it's the same behavior as with 1.15 kernel sources. After a while if phone is not moving, Edge Sense switches to low speed spare mode, and it won't do the squeeze until you move the phone a bit, even while screen is on. I'd prefer if while screen is ON this wouldn't happen, but couldnt yet find how to block it...

We should investigate maybe in some ROM or magisk module how this could be adjusted...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 1.7.4 Stable -
​

Stable Update

- Squeeze features - update

====== Adjusting timeout before a "middle long" squeeze gesture is triggered for Scroll direction turn and/or "squeeze for screen off"

====== Ideal to distinguish between short, middle and the long hold squeeze. (With case use Sensitivity Boost, without case don't, also Adjust squeeze force in stock edge sense settings.)

CleanSlate 1.7.4 Download:

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

Config app 2.8.4 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Ohhh this is Sooo much better... Closer to the U11 now. Thanks [MENTION=3088420]tbalden[/MENTION].. :good:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Cool, yeah, now it's getting close. I think I'll try to boost sensitivity to the max possible, but already very close. In a hard edge bumper case like ringke fusion x it is ok, but I'd be fine with some more sensitivity
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
I have to use a hard case and holster for work.. It is actually impossible to use edge sense in this case. The sides are hard plastic. I just turn it off. I have the fusion x too.. That's a nice case.. But only for the weekends... ?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
1.7.4 is a nice progress. It s only necessary to correct sensivity settings in edge sense. I am running level 3 now, which makes scolling with changing direction possible easily! Great job and many thanks. In memoriam of the queen of soul: Respect!:good::good::good:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Can you explain to me what a middle squeeze is and a little more info on how this all works, does the scrolling settings work if you have short squeeze set to camera and long squeeze set to edge launcher? I just don't quite understand how this works. Thanks.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
I guess I can't figure it out cause my substratum theme has my edge sense setting messed up, can't see anything. I haven't been able to get the scrolling and other features to work right. I will return to stock theme and try to figure it out. Still not sure what middle squeeze is.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Forgot to post my screenshot...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Have you checked the video in the original post? There you'll see how the middle one is triggered.

I'll go into some details in written form too in a bit
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Indeed this is fully screwed by themes
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Progressing with kernel ambient display. So far so good. Still much to do but getting there
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
A video about the current features plus Kernel Ambient display soon to come.

[youtube]36qWi8eDgGw[/youtube]
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Wow amazing work Buddy much appreciated. I hope you get donations for your work! Can't wait. This great beast of a phone is getting bigger and better I am sure of it!

We are very fortunate to have you on our side. Thank you very much.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
does this kernel support a custom GSIs ROM like stock boot img? I am not able to boot with it for some reason unless it need something special to be able to boot...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I'm not sure what causes that. I've never tried to boot GSI yet on any device, and I'm not aware of requirements that might cause this...

What exactly happens when you try it?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 1.7.5 Stable -
​

Stable Update

- Kernel Ambient Display feature - for u12+

====== Enable to get short peeks on stock sense Lock screen when a notification arrived.

====== Many settings to check in the Configuration App.

====== Possibility to block touch input while it happens, and touch gestures to dismiss or keep screen on.

CleanSlate 1.7.5 Download:

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

Config app 2.8.5 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] 5m4r7ph0n36uru:
That's wonderful news mate. Congrats on another kernel including the full fledged CleanSlate features!

RT done already!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Noticed, KAD seems to be stuck on, after I've received a notification after I've unlocked the screen. Not sure if it's all notifications, but I know it does it, when I get an Allo notification.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Is companion app running? Do you use a lock screen?

What does stuck mean? Color not restored?

On fingerprint unlock the gray tint may remain longer.

Without companion app also lock screen can cause stuff if fingerprint scanner is used to unlock or wake

Cheers
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
Really great features now for high level daily use with 1.7.5. Thank you for that! I especially love the sleep function, when the phone lays on the screen. :good::good::good:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Good evening. Planning to join the game soon [MENTION=3088420]tbalden[/MENTION]
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Working on ironing out some annoying smaller details with squeeze scroll.

News republic and Google News random jump the other direction while in scroll to be fixed,

and overall it should start scrolling without some initial lags I found.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Yes, the companion app is running. Yes, I use a lock screen. Yes, the color does not restore. And I always use the fingerprint scanner to unlock or wake the screen. The gray tint seems to remain, until I start an app.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yep, that's something I need to figure out yet, how to force the application of filter. Until a major graphical change goes on it is not reapplied.

Thanks for reporting. For me, sometimes it sticks but then a scroll or content change does the trick.

You can switch off the grey tint in the advanced options part of KAD
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Hi,

I've been racking my brain, but I don't understand the instructions in the app. I go into Settings>Edge Sense and where's "Advanced Mode" and "Wake From Sleep" as an action?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hi,

You're right, instruction only valid for u11... I'll need to update the app. On u12 stuff is in different location. Also note, vibration feedback is set in the top right corner 3 dot menu

Here, check screen shot

View attachment 4579224
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=3031788]tetrabyt[/MENTION] and all, I've been able to fix all the small quirks, with squeeze scroll and also Kad colors stuck. Needed some digging deeper but now much much nicer. Release pending, soon

[emoji4]
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Phew! I thought I couldn't read or something...

Yeah, the Vibration Feedback is in the same location as U11.

So what ARE the correct instructions? And how does one UNinstall the kernal?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Check here:

https://xdaforums.com/showpost.php?p=77317261&postcount=69

not much else, really :good:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 1.7.6 Stable -
​

Stable Update

- Kernel Ambient Display - fix Greyscale tint stuck after fingerprint unlock

- don't keep KAD screen on, if lockscreen switches to recently used Camera app

- Squeeze Swipe - better scrolling experience, fix NewsRepublic/GoogleNews jump-back issue, fix first scroll lags

- Squeeze Peek - fix greyscale tint stuck when unlocking with fingerprint on squeeze peek gesture

- if peek to Lockscreen with Camera, stop peek mode, and let camera app run

- Color Control - improve to instantly changing upon applying in config app or QuickSettings tile

CleanSlate 1.7.6 Download:

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

Config app 2.8.5 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Hi.

So I know how to enable Edge Sense. Currently, I have short squeeze = Back, and long squeeze = Edge Launcher. Based on you link w/screen shot, I'm suppose to DISABLE short squeeze? And leave Long Squeeze = Edge Launcher, correct?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, correct [emoji106]
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 1.7.7 Stable -
​

Stable Update

- 1.21 official sources - update to htcdev sources

---- edge sense driver low level concurrency fixes

---- camera driver low level changes, battery optimization

---- security fixes

---- low level net changes, battery driver low level fixes

CleanSlate 1.7.7 Download:

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

Config app 2.8.5 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.4.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
I DO LOVE 1.7.7. ! SMOOTH SCROLLING LIKE BUTTER. And avery fast cooking with the actual kernel sources! Thank you [MENTION=3088420]tbalden[/MENTION] again and again for that excellent job! You are champion!!!:good::good::good::good::good::cool:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
[MENTION=3088420]tbalden[/MENTION] thank you for an excellent job, as usual. Only thing I have to report at this time is still having to sometimes switch hands for edge sense to work. Like it stops sensing my right hand. Until I put it in my left hand.... Have tried KAD yet...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for the feedback!

Well, actually it seems that this switching back to sleep state is something the stock kernel had too. I've tested both, fully stock and this source based version. I'm unable to find a way to disable this suspend operation in the kernel.

It's happening in the ROM, like the gestures being done on the phone are missing for a dozen seconds, it will suspend, till you move the phone. :(

I wish it was the fault in my changes, but I think it's not there.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks Guido. Happy you like it. The slightly rough edges are now polished on u12plus too. [emoji4][emoji106]
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Time for me to order.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
Any hints on that source about treble ? I'll try to boot a GSI with this kernel and report back ;)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks my friend. I can't see tho changes that would affect this question :( I think it still won't work... Tho I've reversed a lot of caf changes unneeded for the new version.. let's hope for the best