FORUMS
Remove All Ads from XDA

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

15,398 posts
Thanks Meter: 45,004
 
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:	6422
Size:	191.8 KB
ID:	4383445   Click image for larger version

Name:	2.png
Views:	6042
Size:	154.8 KB
ID:	4383446   Click image for larger version

Name:	3.png
Views:	5856
Size:	175.2 KB
ID:	4383447   Click image for larger version

Name:	4.png
Views:	5368
Size:	222.6 KB
ID:	4383448   Click image for larger version

Name:	5.png
Views:	5212
Size:	133.8 KB
ID:	4383449   Click image for larger version

Name:	6.png
Views:	4978
Size:	203.6 KB
ID:	4383450   Click image for larger version

Name:	7.jpg
Views:	4782
Size:	52.8 KB
ID:	4383451   Click image for larger version

Name:	8.png
Views:	4716
Size:	152.6 KB
ID:	4383452   Click image for larger version

Name:	9.png
Views:	4570
Size:	172.4 KB
ID:	4383457   Click image for larger version

Name:	10.png
Views:	4444
Size:	160.1 KB
ID:	4383458   Click image for larger version

Name:	11.png
Views:	4440
Size:	6.4 KB
ID:	4383459   Click image for larger version

Name:	12.png
Views:	4272
Size:	6.2 KB
ID:	4383460  
The Following 16 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
 
 
8th January 2018, 04:55 PM |#2  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 45,004
 
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 5 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
8th January 2018, 04:55 PM |#3  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 45,004
 
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 7 Users Say Thank You to j to the 4n For This Useful Post: [ View ]
9th January 2018, 05:02 PM |#4  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 45,004
 
Donate to Me
More
FAQ

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

Q: My device bootloops after flashing the magisk module.
A: Ensure you are on the latest Pixel2 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 User Says Thank You to j to the 4n For This Useful Post: [ View ]
9th January 2018, 05:12 PM |#5  
jascolli's Avatar
Senior Member
Thanks Meter: 177
 
More
Thanks. Yeah Pixel 2 on the latest January update with TWRP and Magisk 15.2.
9th January 2018, 07:55 PM |#6  
jascolli's Avatar
Senior Member
Thanks Meter: 177
 
More
Yep it was a bad download. Thanks for the Md5. I'm all set now
9th January 2018, 08:35 PM |#7  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 45,004
 
Donate to Me
More
Quote:
Originally Posted by jascolli

Yep it was a bad download. Thanks for the Md5. I'm all set now

great, glad to hear.
10th January 2018, 02:45 AM |#8  
SuperSmashedBro's Avatar
Senior Member
Flag New York City
Thanks Meter: 244
 
Donate to Me
More
Love the app so far! One thing that bothers me is that when I launch google assistant, it makes the beeping noise twice. Is there anyway to change that?
10th January 2018, 04:08 AM |#9  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 45,004
 
Donate to Me
More
Quote:
Originally Posted by SuperSmashedBro

Love the app so far! One thing that bothers me is that when I launch google assistant, it makes the beeping noise twice. Is there anyway to change that?

Aware of that. Will look into this today. Does not happen on my U11... so debugging will take a bit longer.
10th January 2018, 10:19 PM |#10  
Senior Member
Thanks Meter: 74
 
More
Are there any plans to distribute the app through the Play Store? And is it normal for the app to constantly ask me to upgrade to premium? By constantly, I literally mean constantly. It seems to be tied to scrolling down the settings page, and it pops up 2-3 times before I reach the bottom.

Also, will squeezing still silence an incoming call? Are there any settings that might prevent the squeeze from silencing an incoming call?
The Following User Says Thank You to AZImmortal For This Useful Post: [ View ] Gift AZImmortal Ad-Free
11th January 2018, 02:38 AM |#11  
j to the 4n's Avatar
OP Recognized Developer
Flag apktool d -b -f Freetime.apk xda
Thanks Meter: 45,004
 
Donate to Me
More
Quote:
Originally Posted by AZImmortal

Are there any plans to distribute the app through the Play Store? And is it normal for the app to constantly ask me to upgrade to premium? By constantly, I literally mean constantly. It seems to be tied to scrolling down the settings page, and it pops up 2-3 times before I reach the bottom.

Also, will squeezing still silence an incoming call? Are there any settings that might prevent the squeeze from silencing an incoming call?

Currently the app is just visibible for HTC U Devices.
Im afraid of bad ratings from pixel users, since it does just work with root. On the U11 it works without.

Will try improve the scrolling issue.

I just override the google assistant action. So the other native squeeze actions should still work.
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