How to guide: Enable 'ok Google' to work from ANY screen - Fire HD 8 and HD 10 General

This guide will work on both the HD 8 and HD 7. **EDIT, NOTE:** It will probably be better to make sure you have all the core Google Apps and services updated to the latest versions BEFORE you start this guide. Please see this post before you start the guide.
First download and install the Google App, which is required. Also download and install Gboard (this is only required for voice typing).
From the Google app , tap the three bars at the upper left > settings > voice. Set your default language, set speech output to on and download an offline speech set. Then tap 'ok Google' detection and switch ON 'from the Google app'. You can try to turn on 'from any screen', but you won't be able to...yet. Now open the Gboard app and tap voice typing. Select your languages and decide if you don't like bad words. Then go to settings > keyboard and languages > show/hide keyboards > make sure Google voice typing is set to automatic. Now swipe everything closed.
1) Now you need to download and install Activity Launcher. Open it and tap the three bars at the top left and select 'all activities.'
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2) Scroll down until you see settings. Tap it and scroll until you see 'voice input'. Then tap it.
3) After tapping 'voice input' a screen will pop up with two settings; 'Basic Google recognition' and 'Enhanced Google services.' You need to select 'Enhanced Google services.'
4) When you completed that, stay on that screen and tap the gear to the right of Enhanced Services. Now it brings you back into the voice settings screen.
5) Tap the 'ok Google' detection. Now tap 'from any screen.' Another screen will come up which will allow you to train the Google App with your own voice. Tap next at the bottom right.
6) Now all you need to do is follow the onscreen instructions. You''ll be asked to say 'ok Google' three times. It's best to be in a quiet area so your microphone doesn't record and weird sounds, aside from your voice.
If you use Nova Launcher, go into Nova Settings > gestures and input > and turn on 'ok Google' hot word. Now you should be able to do a voice Google search from ANY screen on your tablet...except the lock screen The app will detect your voice, but the screen has to be unlocked unfortunately. You should also download Google text-to-speech as well. Though you will have to access it using Activity Launcher which will allow you to create a shortcut to it. First you need to bind 'appwidget' to your custom launcher using the steps here. Once you've done that, go into Activity Launcher > all activities > scroll to Google text-to-speech and tap it. Then tap on 'Google TTS voice data' to select your languages. When done, long press on that same item and create shortcut. Yay you're done

I rebooted to recovery, wiped cache, powered down and powered back on. I had to go back into Activity Launcher and re-select 'Enhanced Google services.' This might be due to Amazon apps: SpeechInteractionManager or SpeechUI. Maybe both, but I haven't tried to uninstall them yet because I'm not ready for a reset. If someone could kindly test this for me?
I cannot uninstall or disable Amazon's text-to-speech as it's inside settings and not an APK/package, unless I missed it.

Thanks for this. You are single handedly making this tablet better and better.
When I select 'from any screen' I get the progress wheel then 'problem while connecting', 'try again/dismiss'.
Netguard is installed but toggled off. Strange...

obvious said:
Thanks for this. You are single handedly making this tablet better and better.
When I select 'from any screen' I get the progress wheel then 'problem while connecting', 'try again/dismiss'.
Netguard is installed but toggled off. Strange...
Click to expand...
Click to collapse
Try this. In Activity Launcher, scroll to the Google App. Tap it and scroll until you see Google Assistant. Tap the second and third one until they both load. Pick one of those windows, tap 3 dots upper right. Make sure the same account is listed that's attached to your tablet. That was one step I messed with while troubleshooting, before I found 'voice input' in settings.
Also, while troubleshooting, I read that you need to have the same voice settings set up for each device that is signed in with the account on your tablet. So if using the account on two or three devices, you'd have to have the same settings across all three.

Hmm, like you I enjoy digging a bit deeper into things. Account location on my Android devices is set to English uk. I have swapped and changed Google play location to US from time to time in order to get better app prices but that is also set to uk now. Can't troubleshoot further right now but interesting stuff. Will try again later

obvious said:
Hmm, like you I enjoy digging a bit deeper into things. Account location on my Android devices is set to English uk. I have swapped and changed Google play location to US from time to time in order to get better app prices but that is also set to uk now. Can't troubleshoot further right now but interesting stuff. Will try again later
Click to expand...
Click to collapse
I've sporadically been having the same issue, though not being exclusive to just the tablets. My phone was weirding out too. I think it could be something to do with syncing. I'm not sure yet. I am going to try something today that might fix it.
I also uninstalled both of the Amazon Speech apps. I haven't rebooted yet, since uninstalling the second one. So I am still not sure if that was causing the confusion.

So this fixes the issue, but I haven't rebooted as of this posting so I don't know if it all holds. Please see this post to make sure ALL core Google apps are updated to their latest versions before you go through the guide.

Is this enabling google now or google assistant?

eldonantonio said:
Is this enabling google now or google assistant?
Click to expand...
Click to collapse
"Ok Google" Assistant. You have download the Nova Google Companion for Nova launcher if you want to use that.

Thanks for this guide. I've got voice recognition working on my Fire 7, but should I also be getting voice output i.e. google assistant verbally answering my questions?
I've also tried setting up personalized results in 'Voice Match' in google home, but it hangs on 'Please wait...' after pressing Continue

DragonFire1024 said:
So this fixes the issue, but I haven't rebooted as of this posting so I don't know if it all holds. Please see this post to make sure ALL core Google apps are updated to their latest versions before you go through the guide.
Click to expand...
Click to collapse
Have you been able to get this to survive a reboot? I've gotten it to work, but after a reboot I have to re-do all the steps again to get it to work again.

wcarlson40 said:
Have you been able to get this to survive a reboot? I've gotten it to work, but after a reboot I have to re-do all the steps again to get it to work again.
Click to expand...
Click to collapse
Actually I think I just figured out how to get this to survive a reboot. I have powered off and or rebooted at least 8 times now and the settings have held each time. I'll write a guide tomorrow.

So I stumbled upon what is likely to be a major fix with this. It was actually by mistake I had discovered it. I have some more work to do though as this appears to be a big breakthrough. I'll have to write a new guide for sure.

I am eagerly awaiting. Any update?

evbenev said:
I am eagerly awaiting. Any update?
Click to expand...
Click to collapse
Yup. Please see here
[GUIDE] [NO ROOT]: Enable Google Assistant and 'ok Google'

Is it possible for Hands free access to both... Google Asst/ Ok Google and Alex? Or Easily switch between both?

crashnburnMDA said:
Is it possible for Hands free access to both... Google Asst/ Ok Google and Alex? Or Easily switch between both?
Click to expand...
Click to collapse
Yes. I have both enabled on my mom's HD8 and my dad's HD10. I followed all the directions with the exception of changing Alexa's setting

Also Some of you might have noticed OK Google may have stopped working after updating your Google app. It is possible though I haven't been able to say for sure, that updating the Google app at one point may have changed something inside secure settings which causes some of the assistant functionality to stop. if this is happened to you and OK Google has stopped working, go back to the OP at the link provided at the end of this post and make sure the secure settings settings are correct. When updating a Google app on another device one of the lines was deleted specifically the 'assistant' line on my HD 10 and the voice interaction line on another device. any one of these lines being removed from secure settings will cause a assistant to lose some of its functionality. make sure when updating your Google app that you're still in beta and that those three lines do not get removed or changed. https://forum.xda-developers.com/hd8-hd10/general/guide-enable-google-assistant-ok-google-t3740145
Sent from my Amazon KFSUWI using XDA Labs

do you know if there is a way to get it to work on fire 7 2015 with root and custom rom and xposed on it?
how much ram do these newer fire 7 ,and 8 have ?
i think the 2015 only has 1gb and i thought i read somewhere that it won't run with less than 1.5 gb of ram
so just wondering if there is any way for the 2015 fire 7 with root, rom to run it

dondraper23 said:
Yes. I have both enabled on my mom's HD8 and my dad's HD10. I followed all the directions with the exception of changing Alexa's setting
Click to expand...
Click to collapse
I posted the same reply on: https://forum.xda-developers.com/showpost.php?p=78231156&postcount=114
So changing this FLAG/ Setting allows you to switch between HANDSFREE access to "Ok Google" and "Alexa" key words?
Could we do this via? :
- Some UI Button to trigger the SWITCH between G & A - Some App/ Script? - To start off.. without having to change "code/ text" allowing anyone non techie to do it.
- Could it be done using Voice Commands from G > A and A to G?

Related

Disable Explore by Touch

I just accidentally enabled explore by touch as I enabled talk back. According to Google support pages there's no way to turn it off independently of talkback without a factory reset. I figured somebody here could probably come up with a more reasonable solution.
Thanks in advance
Sent from my Nexus S (JB) using xda app-developers app
SomeoneNotQuite said:
I just accidentally enabled explore by touch as I enabled talk back. According to Google support pages there's no way to turn it off independently of talkback without a factory reset. I figured somebody here could probably come up with a more reasonable solution.
Click to expand...
Click to collapse
So Explore by Touch is enabled (sort of) as long as ANY program is listed under Accessibility > Services set to ON
So either Talkback, or any app.
In my case I get accouncements of "The Folder is Open" even with everything off and Talkback uninstalled.
Doesn't look like anyone will help.
joederp said:
So Explore by Touch is enabled (sort of) as long as ANY program is listed under Accessibility > Services set to ON
So either Talkback, or any app.
In my case I get accouncements of "The Folder is Open" even with everything off and Talkback uninstalled.
Doesn't look like anyone will help.
Click to expand...
Click to collapse
I see the same thing on my Note II. For me it was using the Light Flow App... It turns on a service in accessibility. turning that off gets rid of the talkback announcements. So it seems that the bottom line is: stop using whatever installed/enabled the service, or live with the announcements

Touchless Control

Is anyone else having a problem with their touch less controls. I can say OK google now and the phone will make a noise. But when google now opens it says " Sorry can't reach google right now ". Same goes for any other kind of voice driven function , texting by voice in the stock messaging app, search in the maps app. They all hive me the same reply. I've checked all my setting. Im at a complete loss
Rooted & unlocked. Otherwise stock .
Have you updated your google search app?
I used HOM and fxz'd my phone . The google vioce app now works but the Moto touchless controls still don't
Google Now needs an active internet connection.
I have tried everything. I've spoken to Verizon who then refered me to Moto. Who had clear partition caches to no avail. Any and all voice recognition on my phone has ceased to work. Sometimes Google will open up to say " Can't reach google at the moment ". However if I manually open the search box Google now and all my cards are there. If I then hit the microphone icon It will again say "Can't reach google at the moment ". I'm at my wits end here. This will happen weather Im using my wifi or 4G signal.
I've fxz'd and that didn't work. I will entertain any and all ideas.
Any resolution with the voice control problem? I am having the same problem with my Droid Maxx running 4.4.4. It just started this week and I have reset it, but that didn't solve the problem. I figured the old apps wouldn't have the same problem as the newer versions. Guess I was wrong. I am trying Verizon Repair assistant to see what it can do for me. We will see.
tombaldwin6 said:
I have tried everything. I've spoken to Verizon who then refered me to Moto. Who had clear partition caches to no avail. Any and all voice recognition on my phone has ceased to work. Sometimes Google will open up to say " Can't reach google at the moment ". However if I manually open the search box Google now and all my cards are there. If I then hit the microphone icon It will again say "Can't reach google at the moment ". I'm at my wits end here. This will happen weather Im using my wifi or 4G signal.
I've fxz'd and that didn't work. I will entertain any and all ideas.
Click to expand...
Click to collapse
Post your touchless/moto voice version from settings/app. They are interchangeable in name now. If you have the newest you must uninstall updates & retrain touchless voice.
I ended up FDRing the phone twice. The first time I let my apps reload automatically and my touchless control still didn't work. So I did it again, but the time I reloaded each app individually. Testing the touchless controls between each install. I ended up reinstalling every app but the one I thought was the culprit. This is no knock on the app I used it and I wish I could put it back in. Elixor2 has a setting where you can control and or turn on/off each of the sensors including the microphone. When I was having the problem I would go into elixir and see that my microphone was off and inaccessible. With out elixor2 on my phone I've had no more problems.
I have done the same type thing as Tom Baldwin6. I "redid" my phone using the Verizon software installation assistant and did a "repair". I then rooted it using TWRP, and started adding stuff. I have not had the problem again as of now.
I was thinking it was the experimental app that was allowing me to mirror my phone using Chromecast, but I am using version 4 of that app and it is still working. I used version 5 before.
My phone hasn't had a problem again after 24 hours, but as I continue to add apps and check, eventually I may find another culprit. I will post here if I get it tracked down.
jmaclean62 said:
I have done the same type thing as Tom Baldwin6. I "redid" my phone using the Verizon software installation assistant and did a "repair". I then rooted it using TWRP, and started adding stuff. I have not had the problem again as of now.
I was thinking it was the experimental app that was allowing me to mirror my phone using Chromecast, but I am using version 4 of that app and it is still working. I used version 5 before.
My phone hasn't had a problem again after 24 hours, but as I continue to add apps and check, eventually I may find another culprit. I will post here if I get it tracked down.
Click to expand...
Click to collapse
I suspected the the chromecast mirror as well It was one of the 1st apps I reloaded. But it wasn't it. I'm certain it has something to do with the microphone
Same issue here. Been a week since I FDR'd (NOT rooted or unlocked). The apps restored, touchless control no longer allows to register voice (does not recognize sound ONLY for Touchless Control).
Saw that Touchless Control has been updated to "Moto Voice",
Uninstalled Moto Voice to return to previous version. No luck. Again updated to Moto Voice.
Wipe Cache Partition, no luck.
I've installed Open Mic+, which works for the most part (never got it to work from lock screen)
Stopped Open Mic+.
I then went in Language & input ---> Google voice typing settings (or Voice Search), disabled/re-enabled Speech Output. Clicked on "Ok Google Detection" and did the standard Google Now/OK Google setup again.
Went back to Touchless Control and this time it recognized my voice and allowed me to setup Touchless Control and all is working again.
Although the new "Moto Voice" on the "1st Gen [2013] Ultra/Maxx etc.., you cannot customize the "OK Google Now" at this time (coming feature for Gen 1's).
Rebooting now to ensure operation. Will updated/verify 'fix' in a moment.
Upon restart, my Open Mic+ restarted, and the "OK Google Now" was not working. Stopped the Open Mic+ and touchless control working again. Went in and re-trained to verify. Unintalling Open Mic+ and rebooting now.
Now again working 100%, now just awaiting Moto Voice update to allow additional features for 1st gen's.
i have got mine working gain too. I still haven't reinstalled everything though. I will reinstall x tether this weekend. I am hoping that it isn't cuseing any problems. Can't imagine why it would, but we will see. Do you guys have it installed?
Did you happen to open the Google app, scroll to the bottom, tap the three dot menu control on the bottom right, tap settings, voice, OK Google detection, and turn off the setting "On any screen"?
If that is on, I think it block touchless controls, maddeningly. I know it stops the Assist driving feature from being able to capture voice when it prompts you.
doogald said:
Did you happen to open the Google app, scroll to the bottom, tap the three dot menu control on the bottom right, tap settings, voice, OK Google detection, and turn off the setting "On any screen"?
If that is on, I think it block touchless controls, maddeningly. I know it stops the Assist driving feature from being able to capture voice when it prompts you.
Click to expand...
Click to collapse
I set "on any screen" option and touchless controls does work from any screen, needing only "OK Google".
I am not driving now but will check Assist in about 2 hours.
iamtek7 said:
I set "on any screen" option and touchless controls does work from any screen, needing only "OK Google".
I am not driving now but will check Assist in about 2 hours.
Click to expand...
Click to collapse
I don't think that's touchless controls - I think that's the Google search app listening and responding to ok Google , and, with that setting on, that's probably why you couldn't train in the Touchless controls settings (though I haven't tested that myself, since my phone is already trained.)
I know it's a subtle difference, but Touchless controls is a front end to google search most of the time, though sometimes it does its own thing (ok Google now, what's up?)
I do know that the any screen setting screws up some other things, like preventing the camera app from capturing video (because the microphone is in use).
I'm all set now. If this is still an issue for anyone, let me know.
Sent from my XT1080 Developer Edition using Tapatalk

How do you turn off Google Assistant?

With Google Now there was an option to turn it off. I haven't been able to find that option for Google Assistant.
Edit: To be clear, I selected "No Thanks" in the Assistant settings screen. However, if I say "OK, Google" it still takes me to the settings screen, indicating it's still listening.
VonMoltke said:
With Google Now there was an option to turn it off. I haven't been able to find that option for Google Assistant.
Edit: To be clear, I selected "No Thanks" in the Assistant settings screen. However, if I say "OK, Google" it still takes me to the settings screen, indicating it's still listening.
Click to expand...
Click to collapse
Check out these screenshots. Hopefully this helps you. One turns off the okay Google thing and one turns off the whole Google assistant.
Bruce Lee said:
Check out these screenshots. Hopefully this helps you. One turns off the okay Google thing and one turns off the whole Google assistant.
Click to expand...
Click to collapse
Either I don't have those screens or I'm looking in the wrong place. Where did you find those options?
VonMoltke said:
Either I don't have those screens or I'm looking in the wrong place. Where did you find those options?
Click to expand...
Click to collapse
How about this one.
Go to settings.
Bruce Lee said:
How about this one.
Go to settings.
Click to expand...
Click to collapse
No. The closest I can get to is a screen saying "Meet your personal Google Assistant" with a "Continue" button. If I tap continue, I get a list of permissions and the options "Yes I'm In" or "No Thanks"
VonMoltke said:
No. The closest I can get to is a screen saying "Meet your personal Google Assistant" with a "Continue" button. If I tap continue, I get a list of permissions and the options "Yes I'm In" or "No Thanks"
Click to expand...
Click to collapse
Ooooh. You never turned it on in the first place. You are still on the setup. I set mine up. From there you can turn it off.
Bruce Lee said:
Ooooh. You never turned it on in the first place. You are still on the setup. I set mine up. From there you can turn it off.
Click to expand...
Click to collapse
Bruce Lee said:
How about this one.
Go to settings.
Click to expand...
Click to collapse
Don't feel bad VM--I'm in the same boat with you. I have zero interest in/desire for Google Assistant. This may sound weird, hut speaking interrupts my thought process. When I type, I can continue to think. So, more. often than not, I'd much rather type than speak.
So, when I finally got around to the installing it for the second time, (The first time was a big fail because I wanted NO part of it.) I got yo a point where it wanted to link to my other devices. (I think. It's been a while, but I think that's what it wanted to do. For some reason, I keep thinking that it wanted to turn on Google Assistant on all of my devices. ) That got a big fat "No thanks". (I knew I should have registered that device with a new account!) "No thanks" was a legitimate option, at that point. I thought the installation would proceed on that device--the one where it was being installed. Instead, the installation process terminated.
Apparently, my installation isn't completed either, so I cannot turn it off. To make matters worse, it's occupying a ton of space on a device that has little to spare.
There are at least a couple ways to get to the Google settings, and the following is one way.
Settings > Google > Search
My notes suggest Settings in that area previously went to the first screen posted, without first setting up Assistant, but the v8.0 version from November 2017 kept going to Assistant setup on my phone. After installing the v8.1 update from December 2017, it's again possible to turn off Assistant, without first setting it up.
Settings > Google > Search > Settings (only first time went to Assistant setup) > Pixel > Google Assistant - Off
The second screen posted is located here.
Settings > Google > Search > Voice > "OK Google" detection
Assistant needs a bunch of settings to run, so if the items in the following are turned off or paused Assistant can't be used. My phone seemed to use a bit less battery in standby with Assistant turned off and these items disabled, but it's rather minimal, maybe around 3% less battery per day on Android v7.
Settings > Google > Search > Accounts & privacy > Google activity controls
Changing the following will alter what happens when holding the home button. I have mine set to call android.intent.action.VOICE_ASSIST using Tasker.
Settings > Apps & notifications > Default apps > Assist & voice input > Assist app
rxc_OCD said:
I have zero interest in/desire for Google Assistant. This may sound weird, hut speaking interrupts my thought process. When I type, I can continue to think. So, more. often than not, I'd much rather type than speak.
Click to expand...
Click to collapse
Just in case you don't know, when you invoke Google Assistant you can hit the little keyboard icon (rectangle with six dots) on the left and then type into it instead of speaking. Just FYI in case the speaking thing is the only reason you don't want to use it.

[APP] 10th Aug. ◦ Edge Sense Plus 1.8.0 ◦ Customize Active Edge on your Pixel 2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 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!
Telegram Group
Join Telegram Edge Sense Plus Group
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.
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
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:
Ok lol I am blind, thanks for app!
This looks great and more powerful than other options to intercept the squeeze gesture. Thanks for taking the time to port it!
Would it be possible to provide a module download with an Md5? I downloaded and flashed the module, wound up in a bootloop and had to restore a backup. I'd like to try this, but really want to be careful. Thanks
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. Install a FileManager like SolidExplorer or FX File Explorer, then Select that File Browser in the System File Explorer to select the path
Thanks. Yeah Pixel 2 on the latest January update with TWRP and Magisk 15.2.
Yep it was a bad download. Thanks for the Md5. I'm all set now :good:
jascolli said:
Yep it was a bad download. Thanks for the Md5. I'm all set now :good:
Click to expand...
Click to collapse
great, glad to hear.
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?
SuperSmashedBro said:
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?
Click to expand...
Click to collapse
Aware of that. Will look into this today. Does not happen on my U11... so debugging will take a bit longer.
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?
AZImmortal said:
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?
Click to expand...
Click to collapse
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.
AZImmortal said:
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?
Click to expand...
Click to collapse
Can you check if that fixes the scrolling issue?
https://www.dropbox.com/s/1rs8vn24o27vrxb/app-release.apk?dl=0
j to the 4n said:
Can you check if that fixes the scrolling issue?
https://www.dropbox.com/s/1rs8vn24o27vrxb/app-release.apk?dl=0
Click to expand...
Click to collapse
Your update seems to have fixed the constant update pop-up for me. Thanks! Just bought pro for the additional features. Awesome work!
Sent from my Pixel 2 using Tapatalk
btreu1 said:
Your update seems to have fixed the constant update pop-up for me. Thanks! Just bought pro for the additional features. Awesome work!
Sent from my Pixel 2 using Tapatalk
Click to expand...
Click to collapse
Much appreciated (-:
I've noticed that pocket detection makes active edge misbehave. I don't know if this is a known issue, but I thought I'd share my experience.
The other thing I thought was an issue was with setting a shortcut to a Tasker task. For anyone who may not understand how it works, you have to open Tasker and choose "exit" from the menu at the top right of the app before you can set the task shortcut in Edge Sense Plus.
Sent from my Pixel 2 using Tapatalk
btreu1 said:
I've noticed that pocket detection makes active edge misbehave. I don't know if this is a known issue, but I thought I'd share my experience.
The other thing I thought was an issue was with setting a shortcut to a Tasker task. For anyone who may not understand how it works, you have to open Tasker and choose "exit" from the menu at the top right of the app before you can set the task shortcut in Edge Sense Plus.
Sent from my Pixel 2 using Tapatalk
Click to expand...
Click to collapse
In what way misbehave? No issues reported yet on the u11 for half a year
Playstore compatibility for Pixel2/XL
burp

P20 Pro Power Menu [★ROOT★] app/Tasker scene + other useful Tasker stuff

★★★Hey all! I'll start by assuming anyone reading this post is using a P20 Pro, on stock ROM, already familiar with Tasker AND rooted. If you have a P20 Pro and you're rooted, but have no experience with Tasker, I may still be able to lend some experience. But if you are not using a P20 Pro, or you are not already rooted, even if you're down with Tasker you'll have to figure out the first two somewhere else then come back here.★★★
Okay then. I love this phone. I mean [email protected]#king love it. My previous 2 phones were the unrootable Canadian variant LG G5 and the fragile as glass Sony Z2. Needless to say it's been a while since I've enjoyed all the splendors that come with a rooted phone and had a lot of catching up to do. You may have seen me recently poking around elsewhere asking questions like a noob as lots has changed since Chainfire dominated the su scene lol. Magisk is absolutely amazing once figured out, and as always I've been forever grateful to the helpful community here at XDA and wishing I had more to give back. So here's a small offering, however useful it may be to any of you. It's a simple app, built in Tasker, that allows to restart the system ui, perform a software reboot (fast reboot), full hardware reboot, shutdown, enable/disable ADB, enable/disable WIFI scanning even when off, and enable/disable the high volume headphone warning. I even included light and dark themes! Please keep in mind this was built in Tasker App Factory and I am not a programmer, so while I may be able to take requests to add more switches for hidden features I have no designs on improving the interface. I am also sharing the Tasker files for the task and scene I built for anyone ambitious enough that may want to modify them for themselves. You MUST be rooted for any of this app/task to work, but you do not need to install any additional plugins. All the commands are native in Tasker thanks to recent updates. Without further ado, may I present to you a very simple P20 Pro power/hidden features menu:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The downloads are below. If you install the APK you don't need the Tasker files and vice versa. One or the other. I've also included my Tasker task for closing all recent apps with one touch. Again it requires no outside plugins, only root and the latest version of Tasker. I'm going to reserve the first few posts, I've got other Tasker profiles that are peculiar to this phone others may find useful such as Smart Unlock at home. I'll post that soon and maybe a few others. If anyone has useful Tasker tricks for the P20 they'd like to share please do so! I'll move the best ones up here to the first post. (if anyone actually reads this hahaha....)
Please uninstall any old versions before installing the update.
[UPDATE: App and Tasker files have been updated with options to reboot into bootloader or whichever recovery you currently have installed.]
[UPDATE 2: Improved the UI and cleaned up the routines, runs smoother and more reliable]
[UPDATE 3: Fixed broken reboot command, please install latest version from below]
[UPDATE 4: MAJOR UPDATE: Overhauled the UI, cleaned up more commands, added Model, Build Version and Uptime to main screen]
Smart Unlock via Tasker ★No Root★
As you've probably noticed, Smart Unlock is severely limited to only bluetooth pairings on the P20. I miss having the option to keep my phone unlocked when my WiFi is near so here it is, re-created in Tasker. How is this different from any other Tasker based Smart Unlock tutorials? It's not, but our P20 keeps track of time in milliseconds rather than seconds, so if you try entering 7200 for a 6 hour unlock your screen will still lock in less than 10 seconds. I went mad for a week trying to figure out why it wasn't working before I noticed the stock values had an extra three digits behind them. So for a 6 hour unlock, for instance, you would need to enter 7200000 not 7200. The files included below will default to instant locking when Smart Unlock is disabled or 12 hour unlocking when enabled. You can easily change this by changing the values in the appropriate task.
To make this work there are 3 profiles and 4 tasks to install. The first profile is simply a switch to determine if you are home or not. I use a separate profile for this as I also have other profiles that trigger when %HOME is set and it makes more sense to only have one profile active at a time than several lagging on system resources. There is a loitering time of 60 seconds in both the enter and exit tasks to ensure if you are on the edge of your connection the other profiles won't trigger erratically. Once the profile is imported you will have to replace 'Your WiFi goes here' in the WiFi field with your SSID(s). The next two profiles simply monitor the %HOME value for change and react accordingly.
The four task profiles are straight forward. Lock the phone instantly, lock in 12 hours, Smart Unlock on (with notification) and Smart Unlock off. You will need all 4 installed initially, though it is possible to migrate the lock commands into the Smart Unlock tasks if you wish. I keep them separate for simplicity in changing the times or to link them to other tasks.
To install simply import ALL of the files below into Tasker, replace the placeholder with YOUR WiFi, and enable the profiles. Use the Power Menu app from above to activate wifi scanning when turned off or the At Home profile will not work when your wifi is off. Alternatively you can enable 'toggle wifi' in the profile context but I've found that to interfere with downloads when using data connection. In Tasker preferences set the following:
- make sure to check the box for 'Run in Foreground'
- 'Use Reliable Alarms' should read 'when off'
- set 'Wifi Scan Seconds' to 90 or less (lower values eat more battery)
- and lastly set 'All Check Seconds' to 180 or less
I've found values above those numbers will result in slow Wifi polling and your phone may not lock for a long time when you leave home. With these preferences I find my phone usually locks within 3 minutes of leaving 'home' area.
That's it, enjoy wifi context based Smart Unlock on your new P20 Pro.
[UPDATE: I've consolidated all tasks into a single project file. Install this, set your wifi and it's ready to go]
More Tasker fun
Flick for Smart Remote
A very simple profile linked to the %HOME variable used in Smart Unlock. I use the remote function on this phone while I'm at home A LOT. This makes it convenient and fun. Whenever you're at home, the display is on and in portrait orientation simply flick your wrist in a crack the whip motion and you'll instantly switch to Smart Remote. The addition of the extra variables keeps this from triggering when you don't want it to, ie: not at home, it's in your pocket, or even if you drop it you won't lose your foreground screen unintentionally. If you want to use it differently simply switch the variables to your liking. I personally don't use Smart Remote, Anymote Smart Remote from the Play store has many more features and works fine with the P20 we just aren't a supported device. Also here's a link to the whip sound referenced in the task:
https://www.zedge.net/ringtone/99dd...tm_campaign=sharing#ZEDGE #notification_sound
Turn your P20 into a gaming console without switching your default launcher
Needed apps: GameBox Launcher, Ultimate Rotation Control (or any other rotation app that has a Tasker plugin), QuickTask, TouchTask
This is a bit of a hack that can really be done on any phone but works AMAZINGLY well on the P20. GameBox Launcher default is portrait orientation for the UI which annoys me, especially when I have my phone anchored in my gaming controller. This task will force sensor landscape using root, then load GameBox. You lose a bit of functionality in the apps menu, but the gaming menu turns into a proper banner style game launcher with gamepad navigation controls. It takes a few minutes to set up but makes my P20 feel as close to a handheld console as it gets. QuickTask is used to create a custom toggle in the Quick Settings menu, although the native Tasker toggle could be used...it just isn't as pretty. The toggle allows to switch between game mode and normal launcher mode. You could also place shortcuts for the launch and exit tasks on your home screen, same effect. Now why do I call this Game Mode instead of just a launcher hack?.....
The home button override profile will intercept home button presses, kill your home launcher (default in the profile is Nova Launcher) using root, and relaunch a fresh copy of GameBox Launcher as long as you are in Game Mode. It's essentially impossible to access your home launcher the normal way so keep that Exit Game Mode task or toggle handy, and this setting theoretically could survive a reboot so ALWAYS make sure to use the proper exit task. With the override profile enabled GameBox becomes your 'default' launcher without having to actually change your default, making it super simple to switch between games on the fly. When you're done activate the exit task; rotation will be restored to auto, GameBox is killed with root and your home launcher (again, the default in the task is Nova) is launched.
To Use:
- install all of the necessary apps and grant permissions
- import all of the 'Game Mode' profiles and tasks into Tasker.
- in QuickTask create a new tile called 'gamemode' and choose gamepad as the icon. Set this new tile somewhere accessible in your Quick Settings menu.
- create Tasker widgets linked to the launch and exit tasks on your home page.
If everything imported properly the new tile will become your Game Mode toggle and will enable/disable along with Game Mode. The links on the home screen are simply for secondary access. A screenshot of my P20 in 'Game Mode' is below:
Hello I did not succeed to install the app directly
I m rooted and I allowed the apk to be installed
Could you help please
xn3m said:
Hello I did not succeed to install the app directly
I m rooted and I allowed the apk to be installed
Could you help please
Click to expand...
Click to collapse
it install fine. what is the error message when it failed to install ?
otonieru said:
it install fine. what is the error message when it failed to install ?
Click to expand...
Click to collapse
Application not installed
xn3m said:
Application not installed
Click to expand...
Click to collapse
Try this version, I renamed the apk so it may have messed with the signature. If this doesn't work you'll have to try the Tasker files until I can rebuild the app. Cheers!
[EDIT: This is older version without bootloader or recovery but I will leave it up as an option]
otonieru said:
it install fine. what is the error message when it failed to install ?
Click to expand...
Click to collapse
Does it work fine for you after the install? Unfortunately I was only able to test the app on my phone but it should work properly for any P20 Pro on stock ROM. Thanks for trying it!
djparent said:
Does it work fine for you after the install? Unfortunately I was only able to test the app on my phone but it should work properly for any P20 Pro on stock ROM. Thanks for trying it!
Click to expand...
Click to collapse
I havent found the need to use it. Would be good if it actually offer to reboot into : recovery, bootloader, erecovery, etcetera.
System UI restart is useful though. Sometimes there's glitch with app UI and i dont want to do full reboot, and system UI restart is the option
otonieru said:
I havent found the need to use it. Would be good if it actually offer to reboot into : recovery, bootloader, erecovery, etcetera.
System UI restart is useful though. Sometimes there's glitch with app UI and i dont want to do full reboot, and system UI restart is the option
Click to expand...
Click to collapse
I didn't bother with recovery, bootloader etc as I use ADB for those. The intention for this was just a simple power off/reboot app without clutter or advertising but I'll consider adding those options soon as they may be useful. The Wifi scanning toggle should be particularly useful to anyone using Tasker with 'WiFi near' contexts. I couldn't find that switch anywhere in the Settings UI and with WiFi turned off the context won't trigger. So maybe that'll be helpful at some point lol? Also the 'high volume' headphone warning is annoying as hell, tap this once after each reboot and you'll see it no more.
otonieru said:
I havent found the need to use it. Would be good if it actually offer to reboot into : recovery, bootloader, erecovery, etcetera.
System UI restart is useful though. Sometimes there's glitch with app UI and i dont want to do full reboot, and system UI restart is the option
Click to expand...
Click to collapse
I've updated the app in the OP to include bootloader and recovery options. Thanks for the suggestion
Update: Power Menu V3
Major update! V3 is ready for daily use. I've cleaned up the godawful UI and added some information tidbits that may be useful to anyone experimenting with updates or rebranding and wants to easily check their current version. System uptime is also posted front and center so you know if it's time for a reboot. I'm not sure if this app needs anything else but if you'd like to see a new switch or button added please request in the thread and I'll give it consideration. Thanks to everyone who has dl'd and given feedback.
Remember to uninstall the old version before updating!
P20 pro unrooted
Is there any way to use tasker to disable mobile data? It used to work just fine on my old nexus 6p,but with my p20 pro when I try using the mobile data action, it shows it worked in tasker with the green dot, but mobile data status did not change.

Categories

Resources