FORUMS
Remove All Ads from XDA

[APP] 18. Feb ◦ Edge Sense Plus 1.22.0 ◦ Customize Active Edge on your Pixel 2 XL

15,395 posts
Thanks Meter: 44,999
 
Post Reply Email Thread



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 also coming with a squeezable frame I had the goal to make it compatible with it too.
..and after a couple of days debugging with @k4r70ng (I don't own the device, big thanks to him, was a great help) we are here now!


Requirements
  • You have to be on Oreo 8.1 or Android P.
  • 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!



How does it work

To make it working on the Pixel2 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.
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	11408
Size:	191.8 KB
ID:	4383495   Click image for larger version

Name:	2.png
Views:	10942
Size:	154.8 KB
ID:	4383496   Click image for larger version

Name:	3.png
Views:	10568
Size:	175.2 KB
ID:	4383497   Click image for larger version

Name:	4.png
Views:	9948
Size:	222.6 KB
ID:	4383498   Click image for larger version

Name:	5.png
Views:	9564
Size:	133.8 KB
ID:	4383499   Click image for larger version

Name:	6.png
Views:	9142
Size:	203.6 KB
ID:	4383500   Click image for larger version

Name:	7.jpg
Views:	8730
Size:	52.8 KB
ID:	4383501   Click image for larger version

Name:	8.png
Views:	8554
Size:	152.6 KB
ID:	4383502   Click image for larger version

Name:	9.png
Views:	8298
Size:	172.4 KB
ID:	4383503   Click image for larger version

Name:	10.png
Views:	8100
Size:	160.1 KB
ID:	4383504   Click image for larger version

Name:	11.png
Views:	8110
Size:	6.4 KB
ID:	4383505   Click image for larger version

Name:	12.png
Views:	7822
Size:	6.2 KB
ID:	4383506  
The Following 42 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
 
 
8th January 2018, 05:24 PM |#2  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 44,999
 
Donate to Me
More
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 Pixel2 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

The Following 14 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
8th January 2018, 05:25 PM |#3  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 44,999
 
Donate to Me
More
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

  1. Flash the Magisk Module either in Magisk Manager or TWRP
  2. Install Edge Sense Plus
  3. 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:
The Following 13 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
8th January 2018, 05:51 PM |#4  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 44,999
 
Donate to Me
More
FAQ

Q: Will it also work on the Pixel2?
A: No, it will bootloop your device. There is a separate thread on the Pixel 2 forum.

Q: My device bootloops after flashing the magisk module.
A: Ensure you are on the latest Pixel 2 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
The Following 5 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
8th January 2018, 05:55 PM |#5  
Senior Member
Flag Brooklyn
Thanks Meter: 362
 
Donate to Me
More
Quote:
Originally Posted by j to the 4n

You tried while locked or unlocked?

it worked.
i corrected my post.
will get the premium and support you for your hard work

thanks
The Following User Says Thank You to TheUndertaker21 For This Useful Post: [ View ] Gift TheUndertaker21 Ad-Free
8th January 2018, 05:56 PM |#6  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 44,999
 
Donate to Me
More
Quote:
Originally Posted by TheUndertaker21

it worked.
i corrected my post.
will get the premium and support you for your hard work

thanks

Much appreciated, thanks!
8th January 2018, 06:49 PM |#7  
Member
Thanks Meter: 5
 
More
im not seeing an option for a magisk uninstaller in the magisk thread and im stuck on a bootloop as it didnt say 8.1 required in the main post. mind pointing me in the right direction for the magisk uninstaller??
8th January 2018, 06:51 PM |#8  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 44,999
 
Donate to Me
More
Quote:
Originally Posted by razgriz1234

im not seeing an option for a magisk uninstaller in the magisk thread and im stuck on a bootloop as it didnt say 8.1 required in the main post. mind pointing me in the right direction for the magisk uninstaller??

Well it said latest OTA.

here it is: http://tiny.cc/latestuninstaller
8th January 2018, 07:03 PM |#9  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by j to the 4n

Well it said latest OTA.

here it is: http://tiny.cc/latestuninstaller

didnt catch that part i was looking for the numbers lol. and thanks for the quick response. just to make sure its the january update not the december one right? will reinstalling the factory image minus the -w bit fix it or will i need to to do a full wipe? i have all my stuff backed up thanks to [TIbu] so im not really worried.
8th January 2018, 07:09 PM |#10  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 44,999
 
Donate to Me
More
Quote:
Originally Posted by razgriz1234

didnt catch that part i was looking for the numbers lol. and thanks for the quick response. just to make sure its the january update not the december one right? will reinstalling the factory image minus the -w bit fix it or will i need to to do a full wipe? i have all my stuff backed up thanks to [TIbu] so im not really worried.

Think any 8.1 should be fine. you just need to install the magisk uninstaller, then reinstall magisk. after that you should be able to boot again.
Then update to 8.1 and you are ready to go.
8th January 2018, 07:19 PM |#11  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by j to the 4n

Think any 8.1 should be fine. you just need to install the magisk uninstaller, then reinstall magisk. after that you should be able to boot again.
Then update to 8.1 and you are ready to go.

awesome. and that zip i just fastboot? or flash through temp twrp?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes