yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
What can it do?

Custom actions:

Currently you can choose from over different actions

Quickly Start camera - Also when screen is off and locked

Per App Action - Execute different squeeze actions depending in what app you are!

Sidebar

Gesture Panel - Draw custom gestures to start different actions

Custom App

Shortcuts - e.g. to make direct calls, start tasker tasks and more!

Scroll up/down

Flashlight

Recent Apps

Toggle Autorotation

Autobrightness (6 states: Auto, Min, Low, Mid, High, Max)

Split Screen

Expand/Collapse Statusbar

Toggle NFC

Toggle Display on/off

Toggle Autorotation

Toggle DND

Toggle Vibration

Toggle Bluetooth

Toggle WiFi

Music Play/Pause

Previous Track

Next Track

Toggle Keep awake

Google Assistent

Lock Screen

Back

Home

Toggle Sync

Sync all accounts

Previous App

Take Screenshot

Clear all notifications

GPS

Answer/End call

Immersive Mode

Shell command

Per app actions:

With the per app action, you can define different squeeze actions per app. So the chosen action will be executed dependent in what app you are currently are.

Double Squeeze:

(Premium)

If you often accidentally trigger a short squeeze, that won't happen anymore if you map your desired action to the double squeeze gesture.

You can define a double squeeze interval, to ensure you are quick enough to trigger it every time.

Long Squeeze:

Missed a long squeeze action on your Pixel? Edge Sense Plus has it!

G-Sensor usage:

(Premium)

If enabled, will be able to execute different actions depending on the current position of your device, whether it is flat or upright in your hand.

That way you can have six different squeeze gestures: short, long, doublepress in flat or upright device position.

Media control:

The media control will override your set squeeze actions while media is playing so you can control your media.

That includes play/pause, increase/decrease volume and skip to next and previous track.

Squeeze sounds:

Ever thought it would be funny if a squeeze of your Pixel 3 XL would make a sound, if it is a *click*, *oink* , *fart* or whatever you think of?

You can use any .mp3 file to make that happen!

Sidebar:

The Sidebar has 4 different panels, Applications, Shortcuts, Recent Apps (Premium), Quicksettings (Premium).

Panel colors are customizable
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Instructions

Unrooted Version:

Install Edge Sense Plus from the playstore and follow the in app instructions

Rooted Version:

Root with Magisk is required since the magisk module is mandatory!

It is recommended to have a working TWRP backup in case something goes wrong. Check the FAQ for help too.

Like always: Flash on your own risk. I'm not responsible for any damaga to your device

Flash the Magisk Module in Magisk Manager

Install Edge Sense Plus

Enjoy.

Downloads

Now also available via the MagiskManager Repo:

I recommend to install and update the Magisk Module directly via the MagiskManager repository directly in the MagiskManager app.

All releases will be also available on the GitHub repository

Edge Sense Plus:
[Google Pixel 4 XL Themes, Apps, and Mods] ilal2ielli:
Hello [MENTION=4905624]j to the 4n[/MENTION]

Was going to look for your Telegram thread, but then saw you post this here. Basically here's my post from Tulsadiver's thread with his modifications including your Active Edge module support:

https://xdaforums.com/pixel-4-xl/themes/adb-magisk-module-mod-installer-t3992635/post80752815

tldr of it is, when the Active Edge module is added, the phone seems to either have lag or lockups necessitating a complete reboot of the phone. Sometimes this doesn't happen for a while or sometimes is as soon as the phone boots.

Any ideas?
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Mhh, no clue tbh. It worked fine for years on the Pixel2/Pixel 3. The Pixel 4 Version is not any different.

Can you maybe pull a logcat when it happens again?

Or telegram is here: https://t.me/edgesenseplus
[Google Pixel 4 XL Themes, Apps, and Mods] ilal2ielli:
Sure I'll try to get a logcat when it starts up again. Thanks!
[Google Pixel 4 XL Themes, Apps, and Mods] calbruc:
Just installed this on my P4XL.

Couple things -- I have a long press set to trigger Assistant, and it seems to launch the old Assistant, the white full screen one. Any way to launch the new Assistant at the bottom of the display?

Also, I'm rooted with Magisk, but when I try to toggle the root option on the app, it says the "device seems not to be rooted.'
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
The original assistant can be just called when the root option is enabled.

DId you by chance denied root access once? Check in Magisk Manager->SuperUser
[Google Pixel 4 XL Themes, Apps, and Mods] calbruc:
Weird, I don't remember denying root, but that was the problem! Thanks!
[Google Pixel 4 XL Themes, Apps, and Mods] dmarden:
I cannot seem to enable the module on my P4XL. It's installed, but if I enable, reboot, it's disabled again.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
It's the bootloop protection of my module.

When an Security patch gets released I need to make the module compatible first.

Takes usually 24h when I have all files. Give me another hour and it will be done.

Then just reinstall the module.
[Google Pixel 4 XL Themes, Apps, and Mods] dmarden:
Oh that's my bad. I saw P4XL in the change notes and since I just got the device today, I didn't even think to consider the November update.

Thanks.
[Google Pixel 4 XL Themes, Apps, and Mods] jamiejames:
Okay that's better. Carry on. :cool:
[Google Pixel 4 XL Themes, Apps, and Mods] srimay:
Has anyone been successful with setting it to take a picture once the camera is open?
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
ensure that you have either "User Usage" Access permissions given or have enabled the root toggle.

If it still doesnt work, send me a logcat please.

Previous users that had issues had mutliple camers installed or somehow tasker was set as default for the camera action.
[Google Pixel 4 XL Themes, Apps, and Mods] srimay:
I sent a logcat thru the email on your app
[Google Pixel 4 XL Themes, Apps, and Mods] jamiejames:
Are you going to be doing anything with the motion sence? I was hoping you could make another useless feature useful. Just curious.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
I was working on it, but someone beat me to it.

There was a xda article about it already
[Google Pixel 4 XL Themes, Apps, and Mods] joshnichols189:
I've noticed that when I map squeeze (single) to pull down the status bar or expand/retract it doesn't work the first time and I receive a toast that ES has been granted SU and then it works after that, but occasionally without a reboot it will stop working. Squeeze always pulls up the new assistant but doesn't consistently execute the action mapped to single squeeze for me. Sometimes it will expand the status bar but also the assistant so I can't interact with the notification shade until assistant goes away. All of this happens with assistant disabled, so not sure what else I can try.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
About the issue that the expand collapse action does not work at the first time sometimes:

There is no way to check, if the status bar is expanded or not. I can only save the state if the squeeze executed the expand command, so that the next squeeze will execute a collapse action.

If you would collapse the statusbar manually after the first squeeze which expanded the statusbar, the 2nd squeeze would fail too, because it would execute the collapse command, altough you already manually collapsed it before.

Expanding and collapsing the statusbar does not need root permissions, so no idea why an SU popup appears.

About your second issue I'm not sure if I understood it correctly.

You mean that sometimes the mapped action does not get executed, but instead the stock action with GA?

That would be a weird behavior, because once the magisk module is mounted, that can't happen. Or are you non rooted?
[Google Pixel 4 XL Themes, Apps, and Mods] joshnichols189:
This makes sense! So so long as I only expand/collapse with the action it will always execute the second one so long as the first one happened? I can see it if I manually open it then squeeze it will sometimes close and then re-open it.

For the second issue, I'll try and get you a screen capture, but basically the squeeze always activates the new assistant with the lightbar at the bottom. So when it expands the status bar and activates that at the bottom the status bar is not actionable until after the lightbar disappears. I am rooted using the module but I'll try and reinstall as well.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Wait, so squeezing executes both the Edge Sense Plus action AND the Google Assistant?

Can you take a logcat of that behavior?
[Google Pixel 4 XL Themes, Apps, and Mods] joshnichols189:
Yep that's correct! I can snag a logcat, is there anything in particular you want me to keep an eye out for? I see the ES logs, do you know what any other useful logs would be called?
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
just send me the whole thing.
[Google Pixel 4 XL Themes, Apps, and Mods] joshnichols189:
Sent via pm!
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
(replying here, else I won't get a notification).

How often did GA launch now when you squeezed? I can't see in the log that it launched once.

In case you have TG: https://t.me/edgesenseplus
[Google Pixel 4 XL Themes, Apps, and Mods] joshnichols189:
Everytime! I will grab a screen recording when I can and see about joining the telegram group. Thanks for being so responsive!
[Google Pixel 4 XL Themes, Apps, and Mods] HellraiserNZ:
Hi not sure why - install fails and says md5 of downloaded file fails to match the remote file. On December patch with latest file on magisk repo.
[Google Pixel 4 XL Themes, Apps, and Mods] dmarden:
MD5 mismatch error on the Dec update. Looks like no MD5 included, but could just be a display issue... I don't normally watch it that closely when it installs cleanly.
[Google Pixel 4 XL Themes, Apps, and Mods] tardis_42:
I'm getting the same md5 error on the December update. Only thing I could think to try was clearing repo cache, but no luck.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Should work now. Forgot to upload the md5 files.
[Google Pixel 4 XL Themes, Apps, and Mods] dmarden:
How dare you?!

...just kidding, thanks bud. ;)
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
[MENTION=5346465]Tulsadiver[/MENTION] sent me the files when I was already about to go to bed...so simply forgot in the rush.
[Google Pixel 4 XL Themes, Apps, and Mods] Tulsadiver:
I appreciate the super fast return!
[Google Pixel 4 XL Themes, Apps, and Mods] Alcolawl:
[MENTION=4905624]j to the 4n[/MENTION] Is it possible that there could be an incompatibility with this during the December patch?

After updating to the December patch my battery icon became blank. I tried to dirty flash the update again to see if it fixed the issue, as I had sideloaded it the first time. The battery icon was fixed. I rebooted, flashed the magisk_patched boot image and the battery icon issue returned. I decided to remove the Active Edge System Mod Magisk Module and the Edge Sense Plus apps and restarted the phone once more. Battery icon was fixed.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Mhh, will check. On what build you are on?
[Google Pixel 4 XL Themes, Apps, and Mods] Alcolawl:
qq1b.191205.011
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
can you uplaod me your SystemUiGoogle.apk pls?
[Google Pixel 4 XL Themes, Apps, and Mods] Alcolawl:
Sure. AFH Download
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Thanks, on way to bed. Will reply tomorrow.

That's the SystemUI with disabled module, right?
[Google Pixel 4 XL Themes, Apps, and Mods] Alcolawl:
Sounds good. Hope I've been able to help.

And I completely removed the module and the app.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
So, I diffed the files and all seems fine.

Another user in Telegram had the same issue. He ended up doing a fullwipe and now everything works for him.
[Google Pixel 4 XL Themes, Apps, and Mods] Alcolawl:
I've reinstalled the module and the app and all is well now. Not sure what happened but it looks like if this happens to anyone in the future, simply disabling or removing the module and then re-enabling / reinstalling it after a reboot will rectify the issue.

Thanks for the help!
[Google Pixel 4 XL Themes, Apps, and Mods] Neff_V:
[MENTION=4905624]j to the 4n[/MENTION] What's new in v56? :) there is no info for v56 in Magisk.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
We fixed an issue where installing an updated magisk module before the new patch level can result into a bootloop.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
My app Edge Sense Plus got permanentely suspended because it contained a link to the xda Magisk thread.

Make some noise..maybe it helps (-:
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Another user provided me a logcat where I saw the issue.

Decreasing the squeeze sensitivity fixed it for him.
[Google Pixel 4 XL Themes, Apps, and Mods] Paget96:
I cannot find any way to contact you, so provide me any contact have to talk with you. Thanks
[Google Pixel 4 XL Themes, Apps, and Mods] tardis_42:
I'm seeing a new thing happening since the December update - when I squeeze, an overlay appears at the bottom of the screen like Google assistant is listening. Goes away after a few seconds, but is there any way to get rid of it completely?
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
I'll provide an option to disable it with the next patch level....if I don't forget :D
[Google Pixel 4 XL Themes, Apps, and Mods] ceelos218:
I think Jan update broke the mod
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
It didn't. The mod disabled itself to prevent possible bottloops.. with every new patch level you need to wait for me to update the mod and then you need to reinstall it.
[Google Pixel 4 XL Themes, Apps, and Mods] ceelos218:
Oh ok makes sense.. I am having an issue with the module itself. Picture attached.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Because I didn't updated it yet. It was bedtime for me when the patch dropped.
[Google Pixel 4 XL Themes, Apps, and Mods] ceelos218:
Ok thanks for the info ? I'll wait patiently
[Google Pixel 4 XL Themes, Apps, and Mods] fKm:
Mhh, I remove the module completely and reinstalled it with the new patch and the updated magisk module. After that I am not able to activate the module in magisk, no matter if I reboot.
[Google Pixel 4 XL Themes, Apps, and Mods] matssa:
Read a few posts before yours please... Not that hard...
[Google Pixel 4 XL Themes, Apps, and Mods] fKm:
... I already flashed all provided module versions, even from the Telegram group and the problem is still there. Not that hard eh? ...
[Google Pixel 4 XL Themes, Apps, and Mods] matssa:
If you updated your phone to the January update it won't work until he updated the module.
[Google Pixel 4 XL Themes, Apps, and Mods] fKm:
Uhm man, the dev already updated the module to Jan security patch but I still can't activate it in Magisk. It is some deeper problem I think.
[Google Pixel 4 XL Themes, Apps, and Mods] matssa:
He didn't update the magisk module yet, he only updated the Google play app. Wait a bit
[Google Pixel 4 XL Themes, Apps, and Mods] fKm:
You serious? Stop being so clever and look here: https://github.com/Magisk-Modules-Repo/active_edge_system_mod/commits/master

He did and it is not working... and I am not the only one.

Edit: The dev updated the magisk template and the newest version in the magisk repo (v58) should be good now.
[Google Pixel 4 XL Themes, Apps, and Mods] matssa:
Yup but the magisk module wasn't updated. Anyways if it's good now
[Google Pixel 4 XL Themes, Apps, and Mods] fKm:
How often? It was updated for the Jan security patch at the time I wrote my post...
[Google Pixel 4 XL Themes, Apps, and Mods] matssa:
I meant this morning when I was reinstalling all my magisk modules. Anyways it's good now, till next time
[Google Pixel 4 XL Themes, Apps, and Mods] Alcolawl:
Sent you a PM.
[Google Pixel 4 XL Themes, Apps, and Mods] ilal2ielli:
Anyone have an issue with the disable visual feedback setting actually disabling the haptic feedback instead?
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
yeah, it is bugged.

Also disabling the visual feedback just when when you disable gesture navigation.
[Google Pixel 4 XL Themes, Apps, and Mods] Hjortur00:
Google assistant overlay still shows (Pixel 4 XL)

I have a rooted Google Pixel 4 XL, rooted, active edge mod in magisk installed and the edge sense plus app downloaded but when I squeeze, the google assistant overlay still appears even though I have the gesture set to turn on the flashlight. The overlay stays on for 10 secs after using the active edge. I've tried disabling squeeze for assistant in the system settings with no results, overlay still shows. I even tried buying the premium version just to check if that solved the problem but it still persists.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Has to do with the new assisstant, my mod to disable the overlay just works with the old one.
[Google Pixel 4 XL Themes, Apps, and Mods] peoplesindian:
Deleted
[Google Pixel 4 XL Themes, Apps, and Mods] aramisathei:
I noticed when using this that I could no longer use voice commands while using android auto. Hadn't had more time to do testing yet, but I'm curious if anyone has run into similar issues? Was using the rooted version.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
The rooted version shouldnt have any effect on voice commands if they are tied to google assistant.

Only the non rooted version where you need to set Edge Sense Plus as assistant app would break it.
[Google Pixel 4 XL Themes, Apps, and Mods] aramisathei:
Thanks. I tried it again and it seems to work fine this time.

Not sure what happened the first time.

On another note, is there a way to remove the assistant overlay when squeezing?

I thought I saw that option in settings, and also saw others mentioned they were able to remove it.

Mine still pops up every time I short squeeze despite disabling the overlay in settings and disabling assistant on squeeze.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
That option only works on old assistant unfortunately.
[Google Pixel 4 XL Themes, Apps, and Mods] Rebel7022:
Face unlock doesn't work with "squeeze to turn off screen". Is there a workaround? (Non root mode)
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
In the playstore there is an app that uses accessibility services to turn off the screen. Map it to start that app. That should work.
[Google Pixel 4 XL Themes, Apps, and Mods] KHANrad_SIN:
What version of the Google app is it?
[Google Pixel 4 XL Themes, Apps, and Mods] peoplesindian:
Yeah my mistake. So when I would add my work account to the phone, the assistant reverted back to the old assistant app. I'll go delete that comment.
[Google Pixel 4 XL Themes, Apps, and Mods] alucard1412:
Does the app still work for you after the March update? It stopped for me, together with the enableSolj module.
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
..its just like every month. I need to update the magisk module first, then you update it. Or you use Edxposed then you dont need those monthly updates
[Google Pixel 4 XL Themes, Apps, and Mods] i5lee8bit:
Hey Jan, long time no chat! My wife and I finally moved on from HTC (me the U12+ and her the U11). No doubt having the ability to use Edge Sense Plus was actually a deciding factor on which phones to buy, hehe. =)

I'm having the same issue though - squeeze opens camera, but won't take photos. Single squeeze action is set as option "Camera / Take Picture". This is happening on both of our phones (4 XL for me, 4 for her).

Logcat (my 4 XL): https://drive.google.com/open?id=18K1Zu1BgxItNnsMGOqPo5o60CFSSXcaq

Both of us are rooted, stock ROM's, stock kernel, latest Magisk, latest EdXposed - Magisk and/or EdXposed modules are enabled and working. IIRC, it didn't work before installing EdXposed on either device. Root access granted to Edge Sense Plus, and Usage Access as well. No other camera apps installed (unless some other app is being treated as such).

One other thing I noticed is that if the last thing that was opened was browsing photos from the camera app (open camera, then hit the bottom right button to browse photos), then the next time you launch the camera by squeezing, it opens back up to photo browsing. I noticed if you open the camera app instead from launcher, or double tap power key to open camera, it opens to active camera instead. Not really a big deal though. I tried to work around it by using Action per App actions, but it caused some other issues, like the camera app not launching while phone is locked. I also tried to use shell commands (I tried "input keyevent KEYCODE_CAMERA", but honestly have no idea really what I'm doing, lol) as a workaround to get picture taking to work (did not work haha).

Hopefully the logcat helps. Just trying to get the squeeze functionality to be more similar to when we had our lovely HTC phones. Thanks! XD
[Google Pixel 4 XL Themes, Apps, and Mods] j to the 4n:
Hey, thanks for the log, looks good:

line 2026: [03-16 20:14:14.002 5466:5466 D/ESP] performSinglePress
Line 2114: [03-16 20:14:14.211 5466:5466 D/ESP] TOPACTIVITY: com.google.android.GoogleCamera
Line 2116: [03-16 20:14:14.211 5466:5466 D/ESP] defaultCameraPackage: com.google.android.GoogleCamera
Line 2118: [03-16 20:14:14.233 5466:5466 D/ESP] com.google.android.GoogleCamera
Line 2232: [03-16 20:14:14.537 5466:5466 D/ESP] YOU ARE THE GOAT!!!
Line 2236: [03-16 20:14:14.537 5466:5466 D/ESP] doAction(ActionManager.KEY_SINGLE_PRESS)
Line 2518: [03-16 20:14:15.287 5466:5466 D/ESP] performSinglePress
Line 2604: [03-16 20:14:15.510 5466:5466 D/ESP] TOPACTIVITY: com.google.android.GoogleCamera
Line 2606: [03-16 20:14:15.510 5466:5466 D/ESP] defaultCameraPackage: com.google.android.GoogleCamera
Line 2622: [03-16 20:14:15.541 5466:5466 D/ESP] com.google.android.GoogleCamera
Line 2730: [03-16 20:14:15.833 5466:5466 D/ESP] YOU ARE THE GOAT!!!

..so only issue could be, that you didn't grant root in MagiskManager. So go to MagisManager->SuperUser and check if the switch is disabled for ESP.
[Google Pixel 4 XL Themes, Apps, and Mods] sic0048:
The "Camera/Take Picture" command doesn't work like you think it does. If the camera app is not active, this command will only open the camera app. The camera app by default opens to the last "page" that was used. So if you had the gallery opened last then it will open to the gallery or if you had the camera opened then it will open to the camera.

If the camera is already opened, then the "Camera/Take Picture" command will activate the shutter. It will not however open the camera app and activate the shutter from a single command.

I have set mine up on a "per app" basis - then I have chosen the Camera app, and set it to "Camera/Take Picture". What this does is that if the camera app is already opened it executes the "Camera/Take Picture" command which will activate the shutter. This allows me to take pictures "one-handed" which is really helpful. To open the camera app, I generally use the "double power button" shortcut that will open the camera app even if the screen is turned off. This method will open the camera every time - even if you were using the gallery last. So while it is a two step process to take a picture (double press power button, then use the gesture), it is very quick and works flawlessly.

If you want to be able to open the camera and take a picture using a single gesture, you probably need to use the "Forward to Tasker (Event Plugin)" option and create a Tasker event that will open the camera and then activate the shutter.