yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Good luck with the Hongkong journey :)

I guess I'll just release the beta as stable in the meantime sometime today

There's this idea tho about a special squeeze to wake mode, let's call it squeeze to peek. Like screen off then squeeze, it turns screen on for a couple of seconds then off auto without interaction.

It would be a kind-of setting for the inkernel squeeze feature, with a timeout value.

I'm not sure if it's totally worth it, as a second squeeze is easy, and then screen turns off.

What do you think?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I approve the fix for now :good:

Optimizing apps in Chinese ATM :p

I like the idea, something like quick look at if there's new notifications.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
About the feature, what this would mean, using squeeze it for waking wouldn't be possible when the option for peek is on... I'm not fully sure this is a good trade off or a regular use..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
I would personally prefer peek.. Don't use squeeze to wake unless want to check which notifications I have.. Don't know about other users :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
i've got an idea...

there's the squeeze, middle long, which is unused when screen off... when you get that small second vibration reaching it holding the squeeze gesture

idea is, when that time is past, and you release the squeeze, it will go to peek. (If you release it very short like for wake, it will still wake fully)

If you keep it for a long squeeze it will be a long one, like htc sense's starts camera,,,
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
You win. :crying: :laugh:

My choice would be

short - peek

middle long - wake

long - camera or whatever
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Makes sense too... Both very similar from coding perspective.

Except for the squeeze power calibration screen hmm

Let me try this
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
tried this...

this is intuitive enough for my taste. I'll keep your suggestion, thanks!

Works out perfectly so far ... two seconds of peek, then it sleeps right away ... middle long squeeze full wake :) Gonna pin here a new beta for testing soon...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=8395457]velimirchek[/MENTION]

and another idea :)

if you are peeking and press squeeze short again, it will stay on ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Nice :good:

PS. I still need a duck sound squeeze to irritate my dog and colleagues :laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=398245]LeeDroid[/MENTION] ? :D Room for shortcutter improvement? :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
double post
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Update 1.5.7-beta2

Feature:

- Squeeze2Peek + Squeeze2Keep ! - brand new feature which is default on. Test and report. Workings:

--- short squeeze (when screen is off): squeeze to peek starts, --- you have 2 seconds to check screen -> then it switches off

----- except if you press short squeeze again --> screen will remain on

--- middle long squeeze (when screen is off, and you feel the second short vibration, release the squeeze): -->

------normal squeeze to wake happens, screen will remain on (even after 2 seconds of the peek period)

--- squeeze2sleep remains the same

Fix:

- fixing occasional accidental RGB led notification switch off when multiple notifications happens in a short period of time (Thanks [MENTION=8395457]velimirchek[/MENTION] for the test and reports)

Download:

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

Full squeeze to sleep/wake set up description HERE

Credits on s2p/s2k :

[MENTION=1162986]Captain_Throwback[/MENTION] / [MENTION=398245]LeeDroid[/MENTION] for suggesting the idea for consideration (back from old htc devices this was already present in a slightly different way)

[MENTION=8395457]velimirchek[/MENTION] on his suggestions

Demo video:

[youtube]3IEXQ2mKjT4[/youtube]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
[MENTION=3088420]tbalden[/MENTION]

Thanks for the mention, it means a bunch. And for bearing with me nitpicking about, well, everything.

Will test later, playing too much with my toys after stroke, should rest now ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Captain_Throwback:
Awesome work!

I can't get the squeeze2peek to work :(. I set Advanced mode and disabled the short squeeze in Edge Sense settings, but now short squeeze does nothing when screen is off. Is there something I can check to confirm it's working? I'm currently on LeeDroid r51, US Unlocked device on T-Mobile.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
There's some more to make it work if you haven't bumped into this one: https://xdaforums.com/showpost.php?p=73322717&postcount=98

I wanted to have a magiskless rootless way to switch this on and off, so that's why this is tricky

Edit: just spotted, 7. Step was missing in how to. Vibration feedback must be on
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
These fabulous new features Squeeze2Peek + Squeeze2Keep make the edge sense functions perfect for daily use. Thank you [MENTION=3088420]tbalden[/MENTION] !!! My only problems now is the missing bypassing lockscreen on the short squeezes. Here I have to unlock lockscreen manually extra via fingerprint sensor. But if I use long press and hold it bypasses lockscreen and directly openes spotify (my choice).

It would be nice to have the bypass for all wakeup features:good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ah that's not possible, only a few apps that don't mean security issue can be accessed as HTC imagined and implemented it which is ok. And on another note, it's lock screen and security which is logically being enforced on the roms framework and app level, not kernel.

Closest would be to simply disable lock screen on the phone, but I think that is not what you'd like to have
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
demo video: https://youtu.be/3IEXQ2mKjT4

added to the update post above :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Captain_Throwback:
Got it working - missed the step about setting the squeeze force down to the lowest setting.

Question - is it possible to leave the device awake if the screen is touched after a short squeeze? I peek, and see a notification I want to open, but then I forget I squeezed to peek and the screen turns off while I'm interacting with the device, lol. I guess I need to remember to squeeze again to keep it awake, of that's not possible...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Very good suggestion, I will check this next. Sounds easy enough and quite intuitive again.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Is there any way you can disable squeeze to switch off when on camera and just go to stock edge sense behaviour in the cam?

I gotten quite used to squeeze to take a picture....
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I'll have a look at that too. The switch is there but didn't implement it.

You can do a middle long press to capture photo right now tho. Release when you feel the second vibration
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Installed, nice work, pretty happy and no my weird issues yet *knocks on wood* :)

Thanks again!

---------- Post added at 06:06 PM ---------- Previous post was at 05:14 PM ----------

If I may ask how come you went custom ROM path? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Captain_Throwback:
I've actually been running a custom Magisk ROM for a while. But since there's no updated base for US Unlocked yet and I wanted to see if the updated Bluetooth software made any noticeable improvements, I had to flash a full custom ROM. Once the US Unlocked base gets updated I'll likely go back to the Bad Boyz Magisk ROM that I was running previously (once it's updated).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
And have you noticed any change in Bluetooth?

I haven't yet, tho I only tried if the range improved or not, but seems not, tho I'm using such devices that are bt4
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Thanks for answering, I am out of thanks.. was just curious as I thought I read you don't like anything that modify system :)

Nothing else than curiosity :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Captain_Throwback:
I haven't. But then again, we're also missing any kernel-side updates (and I'm missing firmware) that may also improve BT functionality.

You are correct. I have my stock system image on standby for when US Unlocked receives the OTA. It makes me feel a little dirty having modified system :(.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
On stock kernel I've tested with HK device updated with firmware. No dice, on stock 1.27
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Captain_Throwback:
Interesting. I guess unless you have a second device that supports BT 5.0, maybe the differences are negligible? I actually don't know what additional features BT 5.0 offers, tbh.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, might be.

Bt5: multiplied range, throughput and multi channel audio are what I found interesting
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Would be cool if you could let it sort of "shut down" during the camera, the short squeeze is just a bit preciser when taking pictures as waiting for the two vibrations..

Also, there's always the chance you accidentally turn the cam off when you were just about to take that "golden" one in a million shot.. :o:svetius:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
yeah, but it's unknown whether the camera is running or something else is in foreground, so short is kept for screen off.

Also for that shot, i recommend to use volume button setting or on screen. Squeeze is slow for taking pics :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
I know this is software, but flars button mapper can detect whether cam is on and you can choose to disable its functionality then. I don't know how he detects that cam is working though.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
True. But for all that there's edge sense plus or such applications. I'll strictly keep my plans for kernel side.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Fair enough.. I don't particularly like edge sense plus.

Prefer Lee's edge beta
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
yeah, i'll need to check that too, to see how it evolves, and how this kernel mod for squeeze can be still used alongside... Someday I should install it :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Update 1.5.7-beta3

Change from Beta2 -> Beta3: -- Squeeze2Peek: while peeking, if touchscreen pressed / fingerprint scanner unlocked -> will block automatic 2 seconds screen off . Thanks [MENTION=1162986]Captain_Throwback[/MENTION] for the idea!

Feature:

- Squeeze2Peek + Squeeze2Keep ! - brand new feature which is default on. Test and report. Workings:

--- short squeeze (when screen is off): squeeze to peek starts, --- you have 2 seconds to check screen -> then it switches off

----- except if you press short squeeze again or touch screen/fingerprint unlock --> screen will remain on

--- middle long squeeze (when screen is off, and you feel the second short vibration, release the squeeze): -->

------normal squeeze to wake happens, screen will remain on (even after 2 seconds of the peek period)

--- squeeze2sleep remains the same

Fix:

- fixing occasional accidental RGB led notification switch off when multiple notifications happens in a short period of time (Thanks [MENTION=8395457]velimirchek[/MENTION] for the test and reports)

Download:

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

Full squeeze to sleep/wake set up description HERE

Credits on s2p/s2k :

[MENTION=1162986]Captain_Throwback[/MENTION] / [MENTION=398245]LeeDroid[/MENTION] for suggesting the idea for consideration (back from old htc devices this was already present in a slightly different way)

[MENTION=8395457]velimirchek[/MENTION] on his suggestions

Demo video:

[youtube]3IEXQ2mKjT4[/youtube]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
Thanks for the update.

I'll just take this a bit offtopic, hope you don't mind and say big THANK YOU to all the great devs and contributors that are friendly, have sense for (sometimes bad) humor and don't treat newbies (that are mostly trying to be helpful, throw a joke or two and think of user experience) like the $hit.

You know who you are.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mcseven:
Enable chromatic charging LED manually?

Hi, I was trying out Venom 1.7.0 coming from Leedroid. Unfortunately, here, the chromatic charging does not seem to be enabled. Afaik there was no option in Aroma. I dirty-flashed over leedroid. Is there an option to enable it manually? I do have root. Also, I tried to use the Clumsy Kernel Tweaks, but it crashes upon selecting "Miscellaneous".
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
In 3rd post or exkm.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
What's strange here is that the chromatic charge led feature is on by default. Unless viper switches it off on purpose I don't know what's happening in the end on that rom. But yeah basically either using exkm or leedroid tweaks from play store or writing init.d script
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] donmarkoni:
Viper uses stock kernel. Boot.img is flashed with ROM (well, of course), then modified by Magisk. As I said to him in ViperU thread, he'll need to flash your kernel on top to get that feature. ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, thanks for the heads up. Hope [MENTION=1125342]mcseven[/MENTION] you got it sorted. :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Update 1.6.0 stable

Feature:

- Squeeze2Peek + Squeeze2Keep ! - brand new feature which is default on. Test and report. Workings:

--- short squeeze (when screen is off): squeeze to peek starts, --- you have 2 seconds to check screen -> then it switches off

----- except if you press short squeeze again or touch screen/fingerprint unlock --> screen will remain on

--- middle long squeeze (when screen is off, and you feel the second short vibration, release the squeeze): -->

------normal squeeze to wake happens, screen will remain on (even after 2 seconds of the peek period)

--- squeeze2sleep remains the same

Change:

- Squeeze functions: now the first two squeeze power levels in Edge Sense settings will trigger in-kernel squeeze functions, by default.

Fix:

- fixing occasional accidental RGB led notification switch off when multiple notifications happens in a short period of time (Thanks [MENTION=8395457]velimirchek[/MENTION] for the test and reports)

- sysfs squeeze_wake / squeeze_sleep now work properly when they are set 0, blocking the given squeeze functionality (Thanks [MENTION=271041]p50kombi[/MENTION] for reporting)

Download:

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

Full squeeze to sleep/wake set up description HERE

Credits on s2p/s2k :

[MENTION=1162986]Captain_Throwback[/MENTION] / [MENTION=398245]LeeDroid[/MENTION] for the suggested idea and additional feedback (back from old htc devices this was already present in a slightly different way)

[MENTION=8395457]velimirchek[/MENTION] on his suggestions

Demo video:

[youtube]3IEXQ2mKjT4[/youtube]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mcseven:
Thanks, yes, flashing your kernel after Viper did the trick. And I can confirm that the chromatic feature was on by default in Viper 1.7.0.

Also, considering myself a bloody newbie to sysfs, I'd suggest putting a link to exkm or Adiutor next to the settings in 3rd post. I'm a bit lost in understanding which file does what exactly and how a switch influences other settings. E.g., is there a global "enable" switch somewhere? Are some options mutually exclusive? :D :angel:

Thanks again :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I can only agree with the suggestion.

My excuse is that my intention is to add a default configuration that is a somewhat standard set up --- if one plans to use the kernel on a stock rom, or a custom one with set customizations that does not conflict with it, it should be a somewhat optimal set up with most features set on in a convenient way.

But indeed, many people like to use the configs provided by the kernel, therefore I plan to add some points about this topic into the first/2nd post.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] rom116:
Really thinking about trying this kernel. I have a quick question though. Would the squeeze to wake/sleep function override the current edge sense functions that are mapped to the short and long squeezes now? I prefer to keep them versus using them to wake/sleep phone.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It's relatively simple to not use the kernel squeeze functions.

If the minimum squeeze force in Edge sense settings is over the second level, then the in kernel features will be inactive. See attached screenshot where it's inactive

If you use a force level in the first two levels range, then it can be still deactivated by using a script to switch these off fully. See second post for the sysfs paths which can be used to do so

I hope this is viable for your setup. Let me know.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] rom116:
Perfect. This makes total sense. Thank you.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Good! If any other questions feel free to ask away. :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ok, so I'm not sure about HTC's plan related to Edge Sense next gen Beta -- but it seems Swiping in applications is not yet supported.

I'm curious if it will be a wasted effort, but I have some ideas related to this.

If HTC won't add swiping, I've got a plan already put together that could be done in kernel actually without knowing application context, so it might be a bit confusing in apps where it has no meaning.

So what are your thought and knowledge? Is HTC planning to add swipe? [MENTION=398245]LeeDroid[/MENTION] [MENTION=4321403]Kisakuku[/MENTION] [MENTION=494185]LlabTooFeR[/MENTION]

I plan to look at that next, now that Squeeze to Peek/Keep is working fine.

Squeeze2Swipe :)

This as it seems now will conflict with Squeeze2Sleep, but choices are hard, so either this or that kinda :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Possibly leave squeeze on/off in sysfpf so user can edit and choose between that or new swipe in apps?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yes, that's the plan. I'm still looking how it can be handled overall, and also if I can come up with a way where all functionality will be available... A lot of possibilities I see, question is how intuitive it might be...

Also I'm still wondering if HTC will add swipe soon, which makes my effort unneeded... Still I think I'm gonna play around :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
So here's a teaser of the upcoming brand new u11 custom feature:

Squeeze2Swipe ;)

[youtube]bQFRmB2t938[/youtube]

You can see squeeze swipe used to scroll down with short squeezes, then a middle long squeeze to turn direction and scroll upwards.

Pressing short squeeze in a short period one after another squeeze > results in a faster scrolling.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks [MENTION=4684315]flar2[/MENTION] for the exkm update. Now all stable features of this kernel are supported :good:

https://xdaforums.com/showpost.php?p=73605169&postcount=204
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Let me know if you'd use this feature over edge sense default features or squeeze to sleep.

Squeeze to wake and peek can live together with this feature fully.

[MENTION=2344619]guidogsbn[/MENTION] [MENTION=1162986]Captain_Throwback[/MENTION] [MENTION=8395457]velimirchek[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] velimirchek:
interesting, i actually don't use squeeze to wake or sleep, only squeeze to peek (to see which apps notifications are there and if I have time i unlock my phone via fingerprint) and if i want to make my phone sleep/locked I just press figerprint sensor twice.

so yeah, I'll use it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I would definitely! :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Cool!

I'm still trying to figure out a way to use all features at once, but apart from using the squeeze and hold gesture for screen off, I'm out of ideas. Probably I'll check that how it works out.

At least starting camera from sleep would still work. :)

Thanks guys for the feedback!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Interesting or exciting :P

Well, I'm working on gathering some intuitive approach. I've some ideas to make it as easy and convenient to use as much as possible... will see :cowboy: :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
Your like a mad genius! :laugh::laugh: FAMTASTIC!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
muhahaha!! World domination at hand! Squeeze to rule :cyclops::D:laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LeeDroid:
Toggles added to tweaks ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks, Lee! Wonderful.

I'm advancing swiftly day to day towards total domination :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Petarg:
Wifi doesnt work on the latest version.. Am i doing something wrong?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Which rom, which base? So far no issues with that.

Are you coming from stock kernel or custom?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hmm, squeeze to swipe or scroll?

How this should be named?

Anyway I'm starting to get used to it... Don't know why but it's convenient and brilliant. :D

It kinda is good to see the whole screen all the time and also firm grip with one hand (on the phone ?) and reading news, facebook, blink feed...

Still a long list of tasks ahead before a beta...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
It looks like we can expect something great & new from you again. That is always worth waiting for, as the stock edge sense functions are not the thing I need and use. Your invention of squeeze to wake was the first thing that gave edge sence a necessary function and not only the stockish toys to play with. So I wait patently and watch mysterious things coming.....
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Ohhhh.. You tease....