yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Themes, Apps, and Mods] fengmubai:
This mod makes pixel 2 unable to start system UI after May update.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
before flashing the ota, always disable the magisk module.

Then wait for the compatibility update before flashing it again.

I alreay updated the module two days ago, so please redownload your module.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Due a 150 users limit in hangouts we created a telegram group: https://t.me/edgesenseplus
[Google Pixel 2 Themes, Apps, and Mods] optionalmgrr.la:
there no way to customize squeeze action without root right? thx.

i just want to make it open camera on squeeze

long squeeze to open flashlight
[Google Pixel 2 Themes, Apps, and Mods] stevexce:
Yes, you are right
[Google Pixel 2 Themes, Apps, and Mods] optionalmgrr.la:
can i root, change, then unroot?:confused:
[Google Pixel 2 Themes, Apps, and Mods] stevexce:
Nope
[Google Pixel 2 Themes, Apps, and Mods] optionalmgrr.la:
how about this?

https://www.androidauthority.com/android-q-active-edge-remap-966776/
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
That could work, I made it possible to set my app as assisstant.

But to run that command you would need root currently. After that you could unroot though and it will still work.

If Q is out of beta this setting might become changable natively without root.

Edit: We successfully made it working. Available here:

https://t.me/edgesenseplus
[Google Pixel 2 Themes, Apps, and Mods] optionalmgrr.la:
Great Thx.

What I going to do...

Short squeeze, camera

Long/double squeeze, flashlight

I want to do use fingerprint to lock phone too, can I?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Long squeeze not available.

My app customizes the squeeze action, why should it be able to customize the fingerprint action......
[Google Pixel 2 Themes, Apps, and Mods] optionalmgrr.la:
Sorry I was just too excited

So double squeeze is possible?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
yeah...why not just try it out?

you just need to run the adb command and then select edge sense plus as assistant. No root required.
[Google Pixel 2 Themes, Apps, and Mods] optionalmgrr.la:
I'm still awaiting my pixel device to arrive lol

Do you have any recommendations for finger print app?

Thx a lot
[Google Pixel 2 Themes, Apps, and Mods] gullkhan0:
Has anyone else manage to run it on August security patch?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
there shouldnt be any issues. no reports so far.

what exactly isnt working?
[Google Pixel 2 Themes, Apps, and Mods] gullkhan0:
Thanks for the reply. I just fixed it.

since I updating to August patch, I had trouble with Magisk so I moved to BETA w/ Magisk Manager 7.3.3 and it had (for some reasons) issues with downloading large files. Whenever I tried updating Active Edge module to v43, it would abruptly cancel the download in the middle.

So, I just removed it and installed the 7.3.2 version and it worked perfectly.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
you are welcome.

regards, Piefke
[Google Pixel 2 Themes, Apps, and Mods] ssjwiggy:
This stopped working for me today on my Pixel 2. I've made no changes. It says "Application not found" whenever I squeeze my phone now. I've tried reinstalling both the app and module but it still doesn't work!
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
That's resolved? You posted in two threads (don't do that).
[Google Pixel 2 Themes, Apps, and Mods] ssjwiggy:
I realized I posted in the Pixel 3 thread before it was too late (couldn't find the delete option).

I literally just started having this issue and as I said, I reinstalled both so they should be current.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
What action you got mapped. Also please do a logcat of some squeezes. Of possible join our telegram Edge Sense Plus for Pixel Devices

https://t.me/edgesenseplus
[Google Pixel 2 Themes, Apps, and Mods] Dunge2:
Hey j to the 4n !

On a Pixel 2, I had the October update and Magisk 20.1and Active Edge Mod v55 with no issue.

After flashing the December firmware and then flashing back Magisk, the phone ended up crashing on boot and booting into recovery instead.

I disabled every Magisk modules manually (by creating a "disable" file in the module folders), and found out Active Edge Mod is the one causing the issue.

As soon as I enable it, the phone stop booting.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
mhh, can you take a logcat? Pretty sure I have beta tester though on walleye
[Google Pixel 2 Themes, Apps, and Mods] jallenhayslett:
Can't say it's the exact same issue, but it sounds like what happened to me when I applied the December update. I fixed it by booting into TWRP from the bootloader, deleting the Edge module, rebooting the system, then installing the Edge module again.

Correct me if I am wrong, but by the looks of the stuff happening during the module installation, it applies a SystemUI apk based on the currently installed system version. It seems possible that there is a significant difference between the SystemUI apk of the November and December update, and that difference is significant enough so as to cause a boot error if it tries booting the December update with November's SystemUI apk.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
After each patch the magisk module needs to be updated. If the supported patch version is lower than the one with gets installed, the module will be disabled then.

Now that I write I think there is an issue with that procedure... because when you update the module before installing the patch you would indeed run the Nov file with the December patch.

So currently you neee to flash the patch first, then the new magisk module.

There might have been also an issue with the bootloop protection script in v54. So when you installed the December patch on that's version the module might have been not disabled.
[Google Pixel 2 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 2 Themes, Apps, and Mods] jallenhayslett:
No worries. I figured it was something like that. I probably should've notified you about the issue when it happened but, since I was able to fix it so easily, it sort of rolled off my to-do list.
[Google Pixel 2 Themes, Apps, and Mods] Dunge2:
I confirm flashing it again (instead of just re-enabling it) seems to fix it. (well at the same time I got the updated version 56).
[Google Pixel 2 Themes, Apps, and Mods] jallenhayslett:
Consistently getting an MD5 mismatch during latest module installation. Will try on another network later to confirm error.

Edit:

Also tried on mobile network, same result.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Still?

Sometimes Githubs servers are a bit dodgy.

can you show me your install log?
[Google Pixel 2 Themes, Apps, and Mods] jallenhayslett:
Pardon my ignorance, but I'm not sure how to capture the install log. Here's a screenshot of the module install process, if that helps.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Did tha ever work for you?

The security patch version you are having is not supported on Android 10:

https://github.com/Magisk-Modules-Repo/active_edge_system_mod/tree/Files/10

The first security patch for Android 10 is September. You should really update your device (-:
[Google Pixel 2 Themes, Apps, and Mods] jallenhayslett:
I'm running the latest update, but I think I know what the problem is. I'm running MagiskProps and spoofing a 9.0 fingerprint to keep GPay working.

Let me revert that and see if that helps.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Ah, yeah, that's it.

I think there are other ways now to get gpay working. [MENTION=4987085]xunholyx[/MENTION] ?
[Google Pixel 2 Themes, Apps, and Mods] jallenhayslett:
That got it.

GPay has been finicky lately with EdXposed and the new GMS update mechanism. It's turned back into a bit of the old cat and mouse game it used to be.
[Google Pixel 2 Themes, Apps, and Mods] dove9213:
Is it correct behaviour that with short squeeze is opened the camera but when I squeeze it again, it won't take a picture? (That's what I thought it should do)
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
If you are rooted it will work like that. On unrooted devices it is not possible to take a picture. Simulating the camera action keypress requires root.

Ensure you have the root toggle enabled if you use the rooted version.
[Google Pixel 2 Themes, Apps, and Mods] dove9213:
Actually I have rooted phone, also the toggle for root is set on, I can use f.e. squeeze to listen another track or rotate screen, but not for taking a pic when camera is on.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Then your default camera action is borked. Please pull a loggcat from a few failed squeeze actions while in the camera app.
[Google Pixel 2 Themes, Apps, and Mods] dove9213:
Sorry for my late reply. Is it enough to post log from camera, like this? I used long squeeze to start camera and then hold it for few times (nothing happened) and closed it. Thank you.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Nope, definetely not.

adb logcat > log.txt

then squeeze while in camera

send me the log
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
11 compatible module is in the magisk repo.

Updated ESP from playstore should be installed to, else you get a missleading message about the module not being installed.

No sargo and crosshatch support, because no one provided me the files yet.
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Hi! Thanks for your good great work! :highfive:
[Google Pixel 2 Themes, Apps, and Mods] lwagenl:
It says "MD5 of downloaded file does not match the remote file" ?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
yeah, I pulled the file, because one walleye user in our telegram had a bootloop when flashing the module.

We need to confirm first that it works.
[Google Pixel 2 Themes, Apps, and Mods] SoloMid Hazard:
Any news on Android 11 compatibility?
[Google Pixel 2 Themes, Apps, and Mods] joetheshmo:
4 posts above yours [emoji106]
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Playstore compatibility for Pixel2/XL

Finally made required adjustments to Edge Sense Plus, so I can provide it via playstore.

Added some info dialogs and links, so people know that it just works on rooted devices with magisk.

Let's hope some stupid people won't downrate the app.

Would greatly appreciate to get some good ratings from you guys here.
[Google Pixel 2 Themes, Apps, and Mods] btreu1:
It just becomes nonresponsive.

On another note, would it be possible to add a function that would allow you to make active edge function while in a phonecall? That way, you could use it to toggle speakerphone or another useful in-call function?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
mhhh, I let some pixel2 users test it. It works for them. Maybe you should check with some proximity tester form playstore if it works right.
[Google Pixel 2 Themes, Apps, and Mods] btreu1:
It's probably my screen protector. I don't want to remove it to test though- at least not right now. Great app!
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Ah, yeah, that must be it.
[Google Pixel 2 Themes, Apps, and Mods] AZImmortal:
I can confirm that it did fix the premium notification issue (I'm assuming that's what you were referring to).
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Cool (-:

Better go to the playstore and update it there though.
[Google Pixel 2 Themes, Apps, and Mods] nucher:
Thanks for creating the app! I have a Pixel 2 and have it working with the long squeeze option (Screen off). The short and double squeeze options don't seem to work. I have tried different options but can't get the single squeeze or double squeeze to do anything. I still bought the premium because having the ability to turn the screen on & off by squeezing is really cool. Thanks again, Pete.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
You need enable google assistant in the native active edge settings.
[Google Pixel 2 Themes, Apps, and Mods] btreu1:
You didn't address my in-call question, so I'm going to ask again. I hope this doesn't bother you. I noticed that there are options to 'answer' or 'end call' in your app, but neither of those seem to work for Pixel 2. Is this something you could enable, in-call active edge? Thanks!
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
weird, thought I replied to you.

It is on my to do list. Need to find the right hook to disable it and also make it optional.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
try to flash this: https://www.dropbox.com/s/l0hzk18nu0wrqnz/pixel2_active_edge_mod_allow_incall.zip?dl=0
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Where are all your playstore ratings? Over 700 downloads from pixel users and not even 10 ratings :P
[Google Pixel 2 Themes, Apps, and Mods] btreu1:
Flash via recovery or Magisk? Magisk doesn't seem to recognize it as a module.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
should actually also work via magisk manager, but twrp will work too.

Ensure you have a TWRP backup, in case I messed up.
[Google Pixel 2 Themes, Apps, and Mods] PuffDaddy_d:
Not only this, but the screen does not turn on when squeezing for Google Assistant. Is there any way to get the screen to turn on for this?

Pixel 2 running 8.1
[Google Pixel 2 Themes, Apps, and Mods] bigruss:
I could flash it in magisk but I had to rename it first, I just trimmed the file name and then Magisk recognised it as a module and it works fine. I trimmed to active_edge_mod.zip using root explorer but i have no explanation why that worked :D
[Google Pixel 2 Themes, Apps, and Mods] btreu1:
Thanks for the tip. I removed "_mod" from the name and Magisk recognized it.

It works! I can now set a shortcut for the phone app. Thank you! I will be sure to leave a positive review in the Play Store as soon as I can!

Out of curiosity- will you be rolling this into the main app in the future?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
rolling what into the main app? you mean the installation of the module?

That is the case on the U11..but there the Edge Sensor Service is in a seperate app. Means if something goes wrong just that app force closes. On the Pixel2 that service is integrated into SystemUI. Means when something goes wrong statusbar, lockscreen and more will crash and you won't be able to access your device. That is why I just provide it outside the app with some more information, like having a TWRP backup etc.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Can you try this? https://www.dropbox.com/s/ne71yz74fh0tyxa/app-release.apk?dl=0

should turn the screen on now. The other glitch was fixed in previous playstore update.
[Google Pixel 2 Themes, Apps, and Mods] joetheshmo:
It turns the screen on but you still have to unlock the screen to get to assistant, although it does hear you from the lock screen
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
urg, seems my tester does not have a screen lock.

Can't unlock the device, even with root. at least I don't know any way.

Seems I need to look into modding the magisk module again to get it properly working.
[Google Pixel 2 Themes, Apps, and Mods] PuffDaddy_d:
Strange, I just downloaded from the play store last night. I should've had the latest version. But I'll try the link and report back. Thank you!

Hmm, just saw the other posts about it not unlocking the device. I'll probably experience the same result.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
K, we got it working it seems. Needs a new magisk module version though:

Try flashing that and report back if it works now: https://www.dropbox.com/s/v66leqb3m7dqe9c/pixel2_active_edge_mod.zip?dl=0
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Changelog

Version 1.13.1:

Fixed Pixel2/XL Google Assistant not working when device is off and locked (Active Edge Magisk Module v2 required)

For people using Google Assistant install the new Magisk v2 Mod from the 3rd post and Edge Sense Plus from the Attachment.
[Google Pixel 2 Themes, Apps, and Mods] expose_it:
Upon playing with Assistant more after the update, it launches Assistant on short press, but won't allow you to ask a question.

---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------

NVM, didn't install the magisk v2 mod yet. I bet that's the problem
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Yepp, you need both updates to get it to work.
[Google Pixel 2 Themes, Apps, and Mods] joetheshmo:
Works perfectly! Sorry I went to bed before seeing your reply before. Big thanks!
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Glad to hear that it's working now.

Would appreciate a rating in the playstore (:
[Google Pixel 2 Themes, Apps, and Mods] mikeprius:
I havent tried this year as my phone is stock, but I have a question. Is there a reason why Magisk needs to be used instead of being root only ? Is there something in the safetynet that does not allow this active edge for customization ?
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
I'm coming from HTC devices and there it was harder to get a stock image for a lot of carriers. Means once you have modified /system you were basically screwed.

So modifiying /system was a bad thing to do. I know it is easier on the Pixel. Still I think magisk has it advantages, you can unload the magisk module anytime and have a stock /system or at least stock SystemUIGoogle.apk-

It think everyone that is rooted on the Pixel2 is using magisk as root anyway? In case you want to use SuperSU...you could simple download the magisk module, pull the SystemUIGoogle.apk and replace it directly on your /system partition...but yeah that is breaking SafetyNet...but even if it wouldn't having root only would trigger SafetyNet already without Magisk.
[Google Pixel 2 Themes, Apps, and Mods] expose_it:
I noticed that short squeeze sound doesn't work when you have Assistant enabled as well as next track. BTW, I gave the rating and purchased premium
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Will check. thanks for the purchase and the rating, much appreciated.
[Google Pixel 2 Themes, Apps, and Mods] PuffDaddy_d:
Bug confirmed on pixel 2, but I kinda like it. However, it is nice to hear in case if accidental trigger.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Probably nothing I can about anyway.

Seems GA is stealing the audio focus.
[Google Pixel 2 Themes, Apps, and Mods] expose_it:
Can someone please tell me how to enable sidebar? For the life of me I can't figure it out

---------- Post added at 09:54 AM ---------- Previous post was at 09:42 AM ----------

If I could make a request, could you please add flashlight as an option for long press during media play? I just want to be able to use flashlight on long press whether I'm listening to music or not. It won't turn on even when set to none if the media is playing
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
longpess is handled a bit different. Somehow it does not work when the screen is off..

I asked for logcats in our hangouts, but didn't get one one.

For the sidebar you need to set the action "sidebar", grant all permissions and you should be ready to go.
[Google Pixel 2 Themes, Apps, and Mods] expose_it:
The flashlight is working now during media play when screen is off and action is explicitly set. It is working as intended. Only thing I can find now is that short squeeze sound doesn't work when Assistant is enabled. Might not be fixable.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Edge Sense Plus 1.14.0 in playstore

Changelog

Version 1.14.0:

Custom long squeeze interval

Thanks for the guys suggesting that feature, using it myself on my U11 now. Much more handy having a lower interval!

Can take a little more time till the update is available in every location.

For the ones that can't wait, the version is attached here. Installation of new Magisk Module version will be required too.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
anyone getting crashes on latest Edge Sense Plus version and can upload a logcat?
[Google Pixel 2 Themes, Apps, and Mods] jascolli:
Hey Jan. I installed the latest version this morning with zero issues so far. It was a fresh install of both the Magisk module and the app you posted.

I haven't tested all of the app features yet though. Right now I only have it set up for short squeeze to turn off and thats working fine.

Thanks

Edit: Ok hang on a minute. When I first installed everything this morning the install and opening up the app to set up my squeeze function worked just fine. I just tried to open the app again and got the force close. I'll get you a log in just a bit.
[Google Pixel 2 Themes, Apps, and Mods] jascolli:
Here is a screenshot
[Google Pixel 2 Themes, Apps, and Mods] jascolli:
Here is another log

I'm new at capturing logs so let me know if I got it right. Thanks Jan.
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Thanks a lot, that helped! FIxed version will be in playstore in a few minutes.

Attached also below.
[Google Pixel 2 Themes, Apps, and Mods] jascolli:
Awesome, thanks! Glad I got it right for you.
[Google Pixel 2 Themes, Apps, and Mods] jascolli:
App opens fine now.
[Google Pixel 2 Themes, Apps, and Mods] bbeanss:
Is there any way that you'd be able to add a an option to change the amount of time it takes to between squeezing the phone and starting the scroll up/down action? I do love using this feature but I'd love for it to scroll up/down immediately after I've squeezed the phone!

I'm also facing a problem with the app while the screen is off while playing music, I have pocket detection turned off in the app settings and squeeze on lock screen turned on in phone settings but if I try to squeeze the phone while it's in my pocket nothing happens, sometimes when I then take the phone out the action will happen from when I squeezed it in my pocket but there doesn't seem to be any set conditions for that to happen! When the phone isn't in my pocket the action is triggered every time without fail so I'm rather confused and any help would be appreciated

Apart from that I'm loving having the expanded functionality from what was (in my opinion) essentially just a gimmicky feature in squeezing for google search, thank you for bringing this to the Pixel 2 :)

*edit* Just looked through the thread and saw another user had issues that may have been down to their screen protector but I don't currently have one on mine (waiting for more user reviews before I throw any cash at one)
[Google Pixel 2 Themes, Apps, and Mods] j to the 4n:
Doubt i can improve the responsiveness of the scroll action.

Executing an su shellcommand for it, that's why the small delay.

About pocket detection. Mine just works when the screen is on. There is a native pocket detection that works while the screen is off. Could add an Option to disable it..will result in a lot of accidental squeezes though imo.

You could try mapping it to long squeeze. That's an own implementation and I didn't add the native restrictions to it.

That's more an undocumented feature, also called bug though, lol.

Edit: You have the root switch enabled in Edge Sense Plus? Else the accessibility service is used to execute swipes..and those are not that smooth as the ones generated with root rights.
[Google Pixel 2 Themes, Apps, and Mods] bbeanss:
That's fine, like I say I'd like it but it's more a QOL type of thing than a necessity!

I would really like it if you could add that as an option but it's your creation so there's no need for it if you don't want it. I have long squeeze for prev. track and short for next track but I'll swap them over and see how it goes, thanks for the suggestion

I have the root switch enabled AND accessibility service enabled, should I disable accessibility?

Thanks!