yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
Featured by:

XDA-Developers: Customize the Google Pixel 2’s Active Edge to do any action with Edge Sense Plus [XDA Spotlight]​

What is Edge Sense Plus?

Edge Sense Plus was initially just meant for the HTC U series. It let's you customize the squeeze action and adds some more squeeze gestures and features.

But with the Pixel2 and Pixel3 also coming with a squeezable frame I found a way to make it compatible too.

Since google locked active edge down to just only be able to start Assistant it will require a device rooted with magisk

Requirements

You need to run a STOCK based ROM, because Active Edge is broken on AOSP roms.

You need to be rooted with magisk to use it.

Install the Active Edge System Mod Magisk Module from the MagiskManager Repo and the EdgeSensePlus from the playstore and you are ready to go!

Telegram Group

Join Telegram Edge Sense Plus Group

How does it work

To make it working on the Pixel3 I had to modify the SystemUIGoogle.apk that runs the ElmyraService (Service that processes the squeeze gestures).

I intercept the events and pass them to the EdgeSensePlus Application that starts the appropriate action then that you selected.

Some more adjustments were made, so the squeezing also works when you are in immersive mode, camera or when Google Assistant is deactivated/uninstalled.
[Google Pixel 3 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 Pixel3 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 3 Themes, Apps, and Mods] j to the 4n:
Instructions

You must be on at least Oreo 8.1 to to be able to use it. 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 either in Magisk Manager or TWRP

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 3 Themes, Apps, and Mods] j to the 4n:
FAQ

Q: Will it also work on the Pixel 3 XL?

A: Yes, it will. The Magisk module is multi device and version compatible. There is a separate thread on the Pixel 3 XL forum. though

Q: My device bootloops after flashing the magisk module.

A: Ensure you are on the latest Pixel 3 OTA. To get out of the bootloop, go to the magisk thread and install the magisk uninstaller and then reinstall magisk again.

Q: The magisk module zip is greyed out when I try to install it.

A: I have no explanation why it happens for some. Install a FileManager like SolidExplorer or FX File Explorer, then Select that File Browser in the System File Explorer to select the path
[Google Pixel 3 Themes, Apps, and Mods] bloodsand:
feature request

Would it be possible to add squeeze to take a photo? Really enjoy your app, thanks! :)
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
Enable the root toggle at the very bottom. It'll unlock some more action, one of them is "Camera" and it will take a photo, if you are within the camera app.

If you are not, it will start the camera app first, then you need to squeeze another time to take a picture.
[Google Pixel 3 Themes, Apps, and Mods] bloodsand:
Just what I was looking for! Cool
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
You are welcome. Leave a rating in the play store if you don't mind.
[Google Pixel 3 Themes, Apps, and Mods] Archangel:
Awesome job brother, works perfect on my Pixel 3! Left you 5 star feedback on the Play Store,,,keep up the great work! As an added benefit, because of the way your app draws from framework its transparent on my Translucent Substratum theme which means one less app to theme,,look cool to me
[Google Pixel 3 Themes, Apps, and Mods] arodey:
How does one unlock premium? It doesn't seem to work...
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
Switched to dark mode?

There is a little bug after switching to it, that dialog is empty. Close the app completely and remove it from the recent apps screen and it should work.

Will fix that bug later today though.

Sry for the troubles.
[Google Pixel 3 Themes, Apps, and Mods] arodey:
Thank you!
[Google Pixel 3 Themes, Apps, and Mods] State.of.mind:
Hmm. It seems to not want to unlock premium anymore?
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
You purchased it on your Pixel3, it unlocked premium and then suddenly premium was gone?

That sounds weird. PM me your mail adress please.
[Google Pixel 3 Themes, Apps, and Mods] drocny87:
Mine does it too at times...when I go to app premium is gone.
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
That really shouldn't happen.

The above post is a bit missleading, since he purchased on the Pixel2 and installed it now on the Pixel3. The Premium Version is per device though.

Once you are premium on a device, it will stay premium.
[Google Pixel 3 Themes, Apps, and Mods] cambunch:
I had this happen too immediately after I purchased it. However, killing the app and restarting it brought it back.

Curious as to if the premium version being per-device is a licensing limitation or a personal decision?
[Google Pixel 3 Themes, Apps, and Mods] drocny87:
I only purchased it on my Pixel 3 and have the issue. Sometimes killing the app and restarting it will bring back premium
[Google Pixel 3 Themes, Apps, and Mods] j to the 4n:
Personal.

Put so much time into this app and also a lot into the magisk modules for the Pixel.

Unfortunately limited to a small userbase since it needs root and the app works just works just on a couple devices, since it is tied to the squeezable frame.

Just trying to fill the vacation saving for my family a bit and a new baby seat for our 2nd son.

I'm really not mad at anyone though pming me and asking for a free premium key if they bought it on the Pixel2 already.

Already did that a couple of times today.
[Google Pixel 3 Themes, Apps, and Mods] cambunch:
No need for justification, just curious as I am working on an app with some IAPs and wanted to know more about your setup. Wasn't sure if there was something different due to Magisk, etc.

Keep up the good work! Long squeeze for killing the foreground app and toggling the flashlight on screen off are enough to justify the purchase for me!
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Featured by:

XDA-Developers: Customize the Google Pixel 2’s Active Edge to do any action with Edge Sense Plus [XDA Spotlight]​

What is Edge Sense Plus?

Edge Sense Plus was initially just meant for the HTC U series. It let's you customize the squeeze action and adds some more squeeze gestures and features.

But with the Pixel2 and Pixel3 also coming with a squeezable frame I found a way to make it compatible too.

Since google locked active edge down to just only be able to start Assistant it will require a device rooted with magisk

Requirements

You need to run a STOCK based ROM, because Active Edge is broken on AOSP roms.

You need to be rooted with magisk to use it.

Install the Active Edge System Mod Magisk Module from the MagiskManager Repo and the EdgeSensePlus from the playstore and you are ready to go!

Telegram Group

Join Telegram Edge Sense Plus Group

How does it work

To make it working on the Pixel3 I had to modify the SystemUIGoogle.apk that runs the ElmyraService (Service that processes the squeeze gestures).

I intercept the events and pass them to the EdgeSensePlus Application that starts the appropriate action then that you selected.

Some more adjustments were made, so the squeezing also works when you are in immersive mode, camera or when Google Assistant is deactivated/uninstalled.
[Google Pixel 3 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 3 XL Themes, Apps, and Mods] j to the 4n:
Instructions

You must be on at least Oreo 8.1 to to be able to use it. 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 either in Magisk Manager or TWRP

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 3 XL Themes, Apps, and Mods] j to the 4n:
FAQ

Q: Will it also work on the Pixel 3?

A: Yes, it will. The Magisk module is multi device and version compatible. There is a separate thread on the Pixel 3 forum. though

Q: My device bootloops after flashing the magisk module.

A: Ensure you are on the latest Pixel 3 XL OTA. To get out of the bootloop, go to the magisk thread and install the magisk uninstaller and then reinstall magisk again.

Q: The magisk module zip is greyed out when I try to install it.

A: I have no explanation why it happens for some. Just flash it in TWRP instead of install it directly from the modules section in MagiskManager
[Google Pixel 3 XL Themes, Apps, and Mods] dipstik:
got long squeeze (300 ms) torch working on 3xl with short squeeze set to assistant. very nice work.
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Thanks for the feedback, much appreciated (-:
[Google Pixel 3 XL Themes, Apps, and Mods] pr0adam:
Thanks for the work, amazing app.
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
you are welcome (-:
[Google Pixel 3 XL Themes, Apps, and Mods] dipstik:
anyone get this working on november root? as soon as i installed the module i cant get the phone to boot.
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Can you upload the SystemUIGoogle.apk for me?
[Google Pixel 3 XL Themes, Apps, and Mods] dipstik:
where in the filesystem is that? didnt see it in /system/app

edit: found in system/priv-app uploading now
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
/system/priv-app/SystemUIGoogle/
[Google Pixel 3 XL Themes, Apps, and Mods] dipstik:
Link https://drive.google.com/file/d/1dz2IGHZEt0PnRvIPE-SgtaOnV8ExRaGO/view?usp=drivesdk
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Thx, just went to bed. Will update the module in the morning.
[Google Pixel 3 XL Themes, Apps, and Mods] dipstik:
many thanks!
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Flash in magisk manager and tell me if it works November Update compatible Active Edge Magisk Module
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
November Update compatible version available via the Magisk Manager Repo now.
[Google Pixel 3 XL Themes, Apps, and Mods] HellraiserNZ:
I updated and flashed via Magisk Repo and rebooted.

"Android System Corrupt"
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Just have confirmation about Pixel2XL and Pixel3 that it works so far.

But If it works on Pixel3 it should work on Pixel 3 XL too

But the magisk module does not modify system files, so your error message is weird.

If you flash the magisk uninstaller in TWRP and then flash magisk again, does the phone boot?
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
..also, you are on November update already, right?
[Google Pixel 3 XL Themes, Apps, and Mods] jiexi:
Came here to figure out why google assistant wasn't launching outside of the Edge Sense app. Root Toggle did it for me as well.
[Google Pixel 3 XL Themes, Apps, and Mods] chorton5816:
Will this work on the Pixel XL?
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
first gen pixel from 2016 has no squeeze sensor in the frame, so no.
[Google Pixel 3 XL Themes, Apps, and Mods] quinejh:
Can anyone tell me if this works with edxposed? I seem to have lost my app Bar but I see the sensor is still working
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
yes, [MENTION=4470081]topjohnwu[/MENTION] made and tested the module by himself and I integrated it into my app.
[Google Pixel 3 XL Themes, Apps, and Mods] quinejh:
Ummmmm, wonder why it stopped working? I'll try a complete new flash tomorrow if I don't get my new P4
[Google Pixel 3 XL Themes, Apps, and Mods] HellraiserNZ:
Hi guys [MENTION=4905624]j to the 4n[/MENTION] - Does it work on Pixel 4 XL yet?
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Since day one?
[Google Pixel 3 XL Themes, Apps, and Mods] KUSOsan:
[MENTION=4905624]j to the 4n[/MENTION]

This app is great. So much customization. Thanks for your work. The ability to play media when squeezing is the icing on the cake for me. I was actually just talking with my brother about how great it would be if you play the anaconda squeeze sound from Nacho Libre while squeezing my phone. ??
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Thanks for your feedback, much appreciated.

You can do that already. Under misc you can set an audio file to be played when you squeeze.
[Google Pixel 3 XL Themes, Apps, and Mods] ird0:
I noticed the app was gone from the play store and stopped working for me. Did something happen?
[Google Pixel 3 XL Themes, Apps, and Mods] KUSOsan:
App still works for me but can confirm it is gone from play store
[Google Pixel 3 XL Themes, Apps, and Mods] jcmm11:
https://twitter.com/j_to_the_4n/status/1205403200578314240?s=19
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
yeah, google pulled it from google playstore. I don't know the exact reason yet though...hope I can get it back only. chances are there that it won't come back.

https://twitter.com/j_to_the_4n/status/1205403200578314240

...that shouldn't cause though that it stopped working for you. Join our telegram channel and check the pinned message.
[Google Pixel 3 XL Themes, Apps, and Mods] ird0:
Thanks I'll check that out.
[Google Pixel 3 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 3 XL Themes, Apps, and Mods] brandonpa:
I apologize for the ignorance. But what is this telegram program that you are referring to? I just seem to have issues with the installation the magisk module it keeps saying that the zip file can't be extracted and fails installation. It's a bummer because I really like this program.
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
it is a chat app, optimized for groups. Like hangouts, just better.

It is easer to communicate and debug stuff there than here

https://play.google.com/store/apps/details?id=org.telegram.messenger

our group:

https://t.me/edgesenseplus
[Google Pixel 3 XL Themes, Apps, and Mods] newkydawg:
Back on Play Store!

Edge Sense Plus is back on Play Store! Yay! :good:
[Google Pixel 3 XL Themes, Apps, and Mods] wangdaning:
Unfortunately for me, I cannot join telegram. It rejects my phone number every time, probably because I am in China.
[Google Pixel 3 XL Themes, Apps, and Mods] chetqwerty:
Happy user of Edge Sense! Installed the January update today and tried to reinstall the module from the Magisk repo but I'm getting a failed MD5 error. Can't live without my squeeze flashlight! Thanks for your hard work.
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Be patient, it was bedtime for me when the patch got released
[Google Pixel 3 XL Themes, Apps, and Mods] chetqwerty:
haha! no problem, gotta have your rest! Thanks man!
[Google Pixel 3 XL Themes, Apps, and Mods] dirtyreturn:
Aha, so you have to update the module for the new year? Or something?
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
every month
[Google Pixel 3 XL Themes, Apps, and Mods] sliding_billy:
It is set to fail if the security date is newer than that of the module so that it doesn't bootloop if the module is not deactivated prior to the phone being updated. So even if the old one would work, J has to update the module to fix the security date issue.
[Google Pixel 3 XL Themes, Apps, and Mods] dirtyreturn:
Appreciate it! I saw patched for January in the notes on gplay. So it's good?
[Google Pixel 3 XL Themes, Apps, and Mods] pr0adam:
The module does not apply in Magisk when I set to turn it on and then reboot my phone like it instructs me to do. Is this because its not yet updated for the January security patch or is there something wrong on my end?
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
The module deactivates itself if the magisk module is not compatible with the security patch.

... so just update and reinstall the magisk module.
[Google Pixel 3 XL Themes, Apps, and Mods] pr0adam:
Ok I feel silly lol but that worked, thought I had to keep waiting. Thanks for your work with this module
[Google Pixel 3 XL Themes, Apps, and Mods] assassin10000:
I was on the August 9/Pie update until yesterday when I finally decided to move onto the Feb 10/Q and try this again.

So far seems to work good. I've missed having flashlight a simple squeeze away from use (on my old phone I could map a long press of a volume key for flashlight).

Here's to hoping I don't suffer the weird freezing during sleep I was getting when I had this on 9/Pie and had to uninstall it.
[Google Pixel 3 XL Themes, Apps, and Mods] KUSOsan:
Weird. Been running the August 2019 patch/Android 9 since I've gotten my Pixel 3 XL and never had a single issue with this app. Wonder what the issue is. Have you tried getting a log or does it never unfreeze and you have to hard reset?
[Google Pixel 3 XL Themes, Apps, and Mods] assassin10000:
Had to hard reset.

I isolated it to the magisk module for edge sense by disabling one at a time. So from August to now I haven't had this great addition. Took a couple days because it only happened when left alone charging for at least an hour or two.
[Google Pixel 3 XL Themes, Apps, and Mods] sliding_billy:
[MENTION=4905624]j to the 4n[/MENTION], what is the current status of the app and module for the couple of Android 10 custom ROMs that have active edge working?
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
The magisk module will always just be compatible for stock android.

There is no way that I could make it compatible for all kind of AOSP roms out there.

If those roms merged the commits from DU, this is the way to go: https://twitter.com/_DirtyUnicorns_/status/1100609244670365697

...making my xposed module compatible with AOSP roms could work too...would just make sense it could be a universal solution for all AOSP roms though.

I dont have any pixel device though, so I can't test or debug it.
[Google Pixel 3 XL Themes, Apps, and Mods] sliding_billy:
[MENTION=4905624]j to the 4n[/MENTION], I just noticed that was the Feb 2019 commit that was Tweeted about. This year is not working with the app. Once the short and long squeezes are assigned in settings (on DU itself), the app has no further impact on them.
[Google Pixel 3 XL Themes, Apps, and Mods] j to the 4n:
Well, I didn#t change a thing on my side.

I only provide the activities, If they get started the short/long squeeze actions mapped in my app get started.

You can test it by starting the appropriate additonal ESP shortcuts from your app drawer.

If DU really starts those actititvies it has to work, else it is a bug on DU's side. A logcat might bring some insight here too.
[Google Pixel 3 XL Themes, Apps, and Mods] sliding_billy:
I'll reinstall Edge Sense and grab a logcat after making changes in system and then with the app and using the squeeze each way. I have to assume they changed how they tapped into Active Edge this time.