yashsingh1/xdaforums huggingface dataset:
[HTC U11  Themes, Apps, and Mods] j to the 4n:
If you have the magisk module installed, the settings->Edge Sense are overriden.c

You would need to unload the magisk module, then those settings work again.

Would try that.

Go to Edge Sense Plus, deactivate the magisk system mod. reboot.

Then go to Settings->Edge Sense->Short squeeze: Camera

Now check if it turns on the screen on squeeze.

The magisk module actually is doing the same as that option.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
If you guys are using the magisk mod, ensure you are not updating Edge Sense from play store.

Update just pop up for me. Gonna provide an update in a couple of hours.
[HTC U11  Themes, Apps, and Mods] *justintime*:
Had the same issue... Black screen when squeeze for camera from standby.

I cleared data and cache from edge sensor service Remaped the apps and it was OK.

V 1.21.990008
[HTC U11  Themes, Apps, and Mods] j to the 4n:
[MENTION=2828869]daClaus[/MENTION]
[HTC U11  Themes, Apps, and Mods] daClaus:
Tried it again from zero, now it works. Might be the updated magisk module.
[HTC U11  Themes, Apps, and Mods] newyesor:
You can make squeezes for launch gcam on lock screen same launch stock camera on lock screen.:D
[HTC U11  Themes, Apps, and Mods] j to the 4n:
been discussed a lot of times already. Just works, if you are rooted. As workaround you could leave either short or longsqueeze to open camera in the native edge sense settings.
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Hi, any news about the Edge Sense update?
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Its online since two days
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Oh, sorry, I mean you reminded us not to take that update from Play Store, so I thought you'll give us a modified one to update, or you already did but I didn't find it?:p
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Magisk module version 9
[HTC U11  Themes, Apps, and Mods] tcnineteen:
I got it, since it'll override Edge Sense, it will be working even though I update the Edge Sense. Thank you!
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Hi [MENTION=4905624]j to the 4n[/MENTION], sorry for bothering again, but I got another problem about the latest Edge Sense update. After I apply your magisk mod, the Edge Sense update will pop out, but if I apply that update, I can't use the squeeze to open camera function. However, if I don't take that update, it will update automatically, and then I have to uninstall it again. Any better workaround? Thank you.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Then you got a newer edge sense update than me in the playstore.

Can you upload it?

/data/app/com.htc.egdsense
[HTC U11  Themes, Apps, and Mods] tcnineteen:
No problem, here you go:

https://drive.google.com/file/d/15Bd6eQu_OhNA0mW_iubaVse7mlG9Nq3X/view?usp=drivesdk
[HTC U11  Themes, Apps, and Mods] j to the 4n:
That is the updated version fromt the playstore?

That is not never than the one in the Magisk v9 module.

Did you check if you have the v9 version in MagiskManager?
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Yes I did, but it still shows I have an update for Edge Sense.:confused:
[HTC U11  Themes, Apps, and Mods] j to the 4n:
can you gimme the md5 sum of your /system/priv-app/EdgeSensorService/EdgeSensorservice.apk ?
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Sure, it's 77551442436e21441bfc23a870f8731f.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
That is the correct one. No idea what is going on the device.

If the app in /system has the same version number as the one in the playstore it shouldn't offer an update.

Not showing an update for me, nor for other it seems. And it the past it worked for you too. So no idea what is different on your device now.
[HTC U11  Themes, Apps, and Mods] tcnineteen:
No problem, thanks for the help anyway, I'll try to reinstall the mod and something like that to see if it helps. Thanks!
[HTC U11  Themes, Apps, and Mods] j to the 4n:
[MENTION=2977387]donmarkoni[/MENTION] had a similar issue. He said that he fixed it by clearing dalvic/art cache in twrp.

Or you locate the art cache file in /data/dalvik cache from edge sense plus and manually delete it
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Great, it seems to be working now, thank you!
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Cool :cool:
[HTC U11  Themes, Apps, and Mods] the_real_fosgate:
Hello Jan,

I just want to report you something.

Yesterday I went from Nougat to Oreo. I had two backups of Edge Sense Plus in Backup/Restore.

After a Fullwipe and Installation with Playstore the backups were gone. With the Icon at Backup/Restore (I think Drive Icon)

I thougt, that the backups were stored in Drive but after a clean installation I had no backups to select.

Bye

Robert
[HTC U11  Themes, Apps, and Mods] j to the 4n:
They are backedup on google drive. check your drive folder, there should be one subfolder called "Edge Sense Plus".

Juts ensure you select the same google account when Edge Sense Plus asks you.
[HTC U11  Themes, Apps, and Mods] the_real_fosgate:
Hi Jan,

yes, there is a folder named "Edge Sense Plus"
[HTC U11  Themes, Apps, and Mods] j to the 4n:
you logged in with the same account in the edge sense plus app?

If you are rooted, you could copy thr two xmls manually to /data/data/eu.duong.edgesenseplus/shared_prefs
[HTC U11  Themes, Apps, and Mods] the_real_fosgate:
At the moment I have two folders in Drive named Edge Sense Plus

One is empty (last changed yesterday) and one with the two backups (last changed 27.12.2017)
[HTC U11  Themes, Apps, and Mods] j to the 4n:
weird. try adding a backup in edge sense plus and see where it gets added.

If it is the new one. copy the two backups from the old one into the new one.
[HTC U11  Themes, Apps, and Mods] the_real_fosgate:
Yes the new backup is added in the new (empty) one.
[HTC U11  Themes, Apps, and Mods] ilany:
How do i make edge sense plus squeeze to overide lock screen(locked by fingerprint)?

When i try to open flashlight for example, i squeeze, then i need to iunlock the device, and only the the flashlight is on.

Thanks in advance, awesome app !
[HTC U11  Themes, Apps, and Mods] j to the 4n:
You need to be rooted with magisk and install the magisk module.

Google/Android does not allow third party app to bypass the lockscreen...that would be a huge security flaw. That's why root is needed.
[HTC U11  Themes, Apps, and Mods] ilany:
First time trying to root, in order to install magisk and to get the full functionality of Edge sense +.

I was following this guide:

www-DOT-theandroidsoul-DOT-com/htc-u11-root-twrp-recovery-and-bootloader-unlock/

1. I have successfully unlocked bootloader

2. I have installed twrp

After some research, i think i made a mistake here, by installing twrp-3.1.1-0-ocn instead of the 3.2.1.2-ocn.

When booting to recovery mode, TWRP shows up, it asks for a password or to swipe the screen, but the screen is not responsive.

So i tried to flash the newest version of TWRP on top of the old one and i get this error :

PS C:\Users\ilan\Desktop\unlock-bl> fastboot flash recovery twrp.img

target reported max download size of 536870912 bytes

sending 'recovery' (39676 KB)...

OKAY [ 1.137s]

writing 'recovery'...

FAILED (remote: Not allowed on PRODUCTION device)

finished. total time: 1.145s

PS C:\Users\ilan\Desktop\unlock-bl>

How should i proceed?

I thought about going to stock recovery and then try to flash the new version of TWRP, but i didnt do a recovery. I have found that there is a way to recover to stock using something called RRU.

Help will b amazingly appreciated, tnx in advance :)
[HTC U11  Themes, Apps, and Mods] j to the 4n:
You just need to go to download mode, flashing in bootloader just works when the device is s-off
[HTC U11  Themes, Apps, and Mods] ilany:
It worked !

2 last questions :P

1. I'm thinking about installking leedroid rom + cleanslate kernel. They wont interrupt Edge sens + right ?

2. Before installing those to, should i wipe internal storage as well in twrp? ( i dont care about the media or apps in there and i did a nandroid backup using twrp)

tnx <3
[HTC U11  Themes, Apps, and Mods] j to the 4n:
1.) No

2.) Not required
[HTC U11  Themes, Apps, and Mods] ilany:
I have a bug with the flash light.

I did one squeeze to open flashlight.

When the screen is off, it opens up normally. I press again to close and it doesnt work. i need the screen to be awake for it to close again.

So when the screen is off and i squeeze, there is no response. only when i press the power button to wake the screen, flashlight closes by itself

any solutions ?
[HTC U11  Themes, Apps, and Mods] j to the 4n:
You need to ne rooted with magisk to be able to execute actions while the screen is off.
[HTC U11  Themes, Apps, and Mods] ilany:
It is rooted with magisks and I have leedroid ron and cleanslate kernel..

It executs the flashlight on, but doesn't turn it off when the screen is asleep.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
And you enabled the magisk system mod in Edge Sense Plus?

If you did, check if you have updated HTC Edge Sense from playstore once. If you have an "uninstall" button available there, then you have. Hit uninstall then and everything should work as it should
[HTC U11  Themes, Apps, and Mods] ilany:
1.It is enabled, as well as all premissions.

2.when i go yo playstore and go to htc edge sense plus, i dont have an install or update option, as seen in the SS

3.I have switched to a long squeeze for the flashlight and now its working for some reason, so i guess the short squeeze+flashlight is bugged somehow.

4.BTW, Im trying to have the smart display always on but it doesnt work for some reason, just randomly flickering, would love to have a solution if u have one, tnx very much <3
[HTC U11  Themes, Apps, and Mods] j to the 4n:
short squeeze and long squeeze works the same way. Have no explanation why it doesnt work for you with short squeeze.

smart display is unrelated to Edge Sense Plus and is not officially supported on the regular U11.
[HTC U11  Themes, Apps, and Mods] newyesor:
Hi,

I have a question about setting app Edge Sense PLUS Premium.

I can not use single squeeze HTC Edge Launcher on this app.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Blame HTC, they protected it for whatever reason so third party apps can't start it.

As workaround, you could long squeeze it short unmapped to Edge sense Plus and start edge launcher via the native Edge Sense Settinso
[HTC U11  Themes, Apps, and Mods] newyesor:
This app is verry stable.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Are you rooted? Will check if it works with root rights

Edit: that would be a workaround https://play.google.com/store/apps/details?id=com.thsoft.shortcut.htc
[HTC U11  Themes, Apps, and Mods] liver20:
Only works rooted?

Enviado desde mi Pixel 2 XL mediante Tapatalk
[HTC U11  Themes, Apps, and Mods] j to the 4n:
yes
[HTC U11  Themes, Apps, and Mods] j to the 4n:
lol, nevermind, on HTC devices it also works without root.
[HTC U11  Themes, Apps, and Mods] DHD22800:
Hi, I have a little problem.

Short pressing is setted on HTC Edge Launcher, but when I execute a short pression, it says that the app is not installed.

Screen shot attached.

Need a logcat?

Allowed all permission to the app.

U11+, stock rom on 1.24 401.7, cleanstate kernel, rooted with magisk.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Works here.

Not sure why it fails to detect the edge launcher app.

You are sure it is installed? Does it open via the native Edge Sense settings?
[HTC U11  Themes, Apps, and Mods] DHD22800:
Yes, in settings it works properly

---edit

Can you introduce an option to rearrange sidebar menus? For example to show first shortcut panel then activity etc
[HTC U11  Themes, Apps, and Mods] j to the 4n:
now I remember why it doesnt work.

On custom roms the signature check is disabled.

HTC protected the launch of Edge launcher, so that just system level signed apps can start it. That*s why it doesnt work on stock roms, but on custom roms.
[HTC U11  Themes, Apps, and Mods] DHD22800:
So i must set the app as a system app?

Row count does't work proprerly too.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
nope, that does not work. I has to be signed with the HTC certificate.

You could use that instead: https://play.google.com/store/apps/details?id=com.thsoft.shortcut.htc

...will check the row counts, somehow it just works for the applications panel
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Fixed version with working recent apps row count setting.
[HTC U11  Themes, Apps, and Mods] DHD22800:
Had an idea, if remove the signature check from service.jar, does it works?
[HTC U11  Themes, Apps, and Mods] j to the 4n:
awesome, thx for the feedback! (-:
[HTC U11  Themes, Apps, and Mods] devilman30:
Aloha J,

Bug.. In the misc. section camera enabled to short squeeze while in camera mode to take a photo is not working.

Mahalo
[HTC U11  Themes, Apps, and Mods] shukyuen:
At setting I choose short squeeze camera, long squeeze the app edge sense plus -long squeeze, then long squeeze works, but double squeeze not working, is that normal? If I choose short and long squeeze both edge sense plus all they work.... Because l want shot squeeze can turn on camera when screen is locked!
[HTC U11  Themes, Apps, and Mods] j to the 4n:
you need root rights to do that.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
You need to map short squeeze in native Edge Sense settings, else doublepress won't work.

unfortunately we can't unlock the screen and open the camera with our app.

You could map longpress to camera in native settings and then use short and double press in Edge Sense Plus?
[HTC U11  Themes, Apps, and Mods] JEANRIVERA:
When the app ask for root it moves itself to system, what if the root on the device is a systemless root to prevent changes in system, does the app moves to system itself in a way that doesn't affect systemless root? For those that doesn't want to make changes their system to be able to get OTA updates working properly without the need to restore a un-touched system image?
[HTC U11  Themes, Apps, and Mods] shukyuen:
Yes, long squeeze open camera, and short Edge Sense plus, double press works! But one more question, when use the Edge Sense Plus, my button light always flashing....
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Not the app itself gets moved, but an helper .apk. it's on my to-do list, to make an magisk root module
[HTC U11  Themes, Apps, and Mods] mathrania:
Wonderful app Jan. I know i can download the apk, but why doesn't it shows up on playstore (Canada)?

Any chance you can add screenshot option?
[HTC U11  Themes, Apps, and Mods] Jbb3393:
Awesome app, I bought the premium as well. Told my girlfriend to try the app too said she couldn't find it on the store. Clicking your link does take you to the store but searching doesn't bring it up...[emoji848][emoji848]
[HTC U11  Themes, Apps, and Mods] devilman30:
Aloha J,

I did set up the root access for your app, however the shutter will snap the picture but no picture in the Google photos app. Can you please take a look?

Mahalo
[HTC U11  Themes, Apps, and Mods] j to the 4n:
screenshot option will come for rooted users in the next version.

It can take up 24h and more hours to appear (searchable) in the playstore. It was published about 18 hours ago (-:
[HTC U11  Themes, Apps, and Mods] j to the 4n:
sure, will take a look!
[HTC U11  Themes, Apps, and Mods] devilman30:
Mahalo for looking into this. Are you able to add in custom colors on the squeeze action like in Viper? That would be sweet if you could in your next update!
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Nope, not possible. I could add one myself, but it wouldn't reflect the squeeze strength. On the rom I directly modify it on lowest level. Not possible with the app.

Nothing wrong though to use the app together with the rom features.
[HTC U11  Themes, Apps, and Mods] remix92:
Found One Bug: double press last app doesen't work..
[HTC U11  Themes, Apps, and Mods] j to the 4n:
if it works for other gestures, it has to work for doublepress too.

The last app feature is not that reliable though. Since marshmallow the API changed, so it is not possible to reliable access the recent open apps.
[HTC U11  Themes, Apps, and Mods] glynhall123:
Question from a total novice!

Hi,

I've downloaded Edge Sense Plus for my HTC U11 and followed the instructions but sadly I cannot get it past the "select launch app" stage. I have tried to make Edge Sense Plus a device administrator but to no avail. I get the following message:

"Because an app is obscuring a permission request, Settings can't verify your request"

Details of my HTC U11:

Unlocked International (European) version.

Android version: 7.1.1

Build: 1.13.401.01

Security update: 1 June 2017

Any help would be much appreciated - sorry for the eye rolling I must be causing but I initially suspected McAfee All Access security was blocking but I cannot even switch off the McAfee device administrator control
[HTC U11  Themes, Apps, and Mods] j to the 4n:
You are using some app that uses a screen overlay/floating window Usually those are screenfilter/nightmode apps that...could be also facebook messenger I think. It also uses
[HTC U11  Themes, Apps, and Mods] remix92:
Okay thanks :)
[HTC U11  Themes, Apps, and Mods] j to the 4n:
correct. You could also do a magisk module, that way you don't mess with the system partition.
[HTC U11  Themes, Apps, and Mods] jimbob_sf:
The AOSP 8.1 ROM threads have a note from March that Edge Sense isn't supported yet. Is AOSP 8.1 still unsupported? I just want to confirm so I stop searching;)
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Yeah, doubt they make any progress there. Same on the Pixel2. There is also no Active Edge on AOSP roms there.
[HTC U11  Themes, Apps, and Mods] jsaxon2:
Lineage, Slim and I believe resurrection remix all have edge sense working in different ways. Flinny is who got it working. I think you could use edge sense plus on slim, but not sure.
[HTC U11  Themes, Apps, and Mods] daheufster:
Question

Would it be possible to implement the option u12+ already has and u11+ lacks; if side are squeezed and hold while rotate your phone your display will hold / freeze and not rotate from portrait to landscape and vice versa..

BTW, great new options and smart additions this app provides. Well done, this makes my u11+ even greater..
[HTC U11  Themes, Apps, and Mods] j to the 4n:
That is not possible to implement for me, at the time I get the squeeze event from the Edge Sense is already to late to block autorotation.

Even if it would come in time. I have also not really a way to block it, only way would be to disable it....then the other question would be, when I would enable it again.

I also tried to squeeze and hold the phone while rotating it to landscape, nearly broke my wrist :D

Such feature just makes sense with the capactive frame the u12+ has.
[HTC U11  Themes, Apps, and Mods] giant22000:
Couldn't find anyone else having this issue but the long squeeze feature disappeared in the app after updating to pie in my pixel 2.

Any ideas?
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Google changed their code in a way that no raw squeeze data is available anymore for me, so that I can detect a long squeeze.

Implementing the long squeeze on Oreo was already a pain in the ass and it took me days to get it right with my testers, since I don't have a device.

Doubt long squeeze will come back, please don't blame me, but google. Google changed their code three times to handle a squeeze event..and with the third time they broke it.
[HTC U11  Themes, Apps, and Mods] giant22000:
Understood. Just was making sure nothing was broken on my end. Still a fantastic mod and app. Thank you for your work.
[HTC U11  Themes, Apps, and Mods] j to the 4n:
BTW...you are in thr wrong forum (-:
[HTC U11  Themes, Apps, and Mods] Jbb3393:
[MENTION=4905624]j to the 4n[/MENTION]

Hey there! Happily paid premium user here. [emoji4][emoji106]

I have an issue/question with a specific use of the app. I have single squeeze set to expand/collapse status bar but I always have to squeeze it twice to have it pull down. Once it's expanded a single squeeze will collapse it and an immediate single squeeze will expand it again... Hope that makes sense. I can make a video if not. Thanks [emoji6]

Edit: I see there is option to set a squeeze to toggle WiFi, Bluetooth, gps, etc. Is there a way you could add Mobile Data toggle as well??
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Hey,

thanks for the purchase, much appreciated.

The issue with the expand/collapse action is, that there is no way for me to recognize if the statusbar is collapsed or not.

I'm saving me the state I toggled last. So if you expand/collapse manually with your finger or navigation bar, then the next state you toggle via squeeze will be wrong.

Can check if toggling mobile data works. With every new android release toggling mobile data got harder and harder. Think on nougat it still worked with reflection, but even that got broken I think.

Edit: Check the comment with link of the question here: https://stackoverflow.com/questions/49053784/android-studio-oreo-api-26-disable-mobile-data
[HTC U11  Themes, Apps, and Mods] Jbb3393:
Thanks for getting back to me so quickly and I understand you do what you can. I also know if you can't, no one else will be able to either. [emoji6]

Thanks again.
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Hi [MENTION=4905624]j to the 4n[/MENTION], I got a strange problem yesterday when I wiped my data and reset my phone from scratch. After installing your magisk module and reboot, an error message showed up. After that there's no response for squeeze for a few seconds. Then it acts normally but the edge sense settings in the Settings is still the old version (as the attached pic). And there's still an update shows up in the Play store which is the same one as in your magisk module like I asked you before. Any ideas?
[HTC U11  Themes, Apps, and Mods] j to the 4n:
wipe dalvik cache and reinstall the magisk module
[HTC U11  Themes, Apps, and Mods] tcnineteen:
No, it doesn't work...
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Well, you had the issue before for whatever reason: https://xdaforums.com/showpost.php?p=75193995&postcount=541

Uninstall all updates, including the magisk module, wipe dalvik cache, then install the magisk module.
[HTC U11  Themes, Apps, and Mods] tcnineteen:
Yeah, I had a similar situation before, but I never saw that error message. Tried all the steps you mentioned, but still in vain. Never mind, I'll see what I can do, thanks!
[HTC U11  Themes, Apps, and Mods] nycdiplomat:
[MENTION=4905624]j to the 4n[/MENTION] I just donated via PayPal because the app wouldn't let me upgrade to premium. Is it possible to get the premium code pm'd to me?
[HTC U11  Themes, Apps, and Mods] j to the 4n:
Much appreciated, thx.

I need your activation code. Open the left sidebar menu and click get Premium
[HTC U11  Themes, Apps, and Mods] beartiger:
Quick question if I may as I think this is just settings.... I have only set up long squeeze gesture, not screen off gesture. When I long squeeze with the screen off it turns on flashlight as expected but wakes screen with it locked. Long squeeze again and flashlight turns off as expected. But, unlock the screen and flashlight comes on again unexpectedly..... Why? How can I stop this behavior?