OK Google with Screen Off and locked - X Style (Pure) Q&A, Help & Troubleshooting

I am trying to setup OK Google so I can say OK Google while my phone is off and locked.
Is there anyway to make this work?
I know it works with Moto Voice but I want it to work with OK Google. I am rooted and have Xposed installed.
Some Google searching turned up no results
https://productforums.google.com/forum/m/#!topic/websearch/59Xf7mt-FQA

Related

Trusted Voice "OK Google" doesn't unlock the phone

Hello there, I've been trying make trusted voice work but it doesn't. When I say OK Google (screen is locked & off) google search appears and asks me what to search. When I say something it asks me to enter my pattern password and unlock it manually. Anyone knows the solution?
I'm running CM 13 6.0 in LG D802
Thank you for the help in advance.
Still have the problem
Okay somehow it's solved, here's what I did :
Make sure trusted voice and every screen setting is on
Switch to Google Launcher instead of CM's one
Unlock once with it, then switch to CM again and it all works smooth.
I hope this helps :^)

Moto voice

Hey guys
I like the moto voice trick but I find google app voice commands to be more responsive and especiallly working better offline I mean for exemple I wasn't able to set alarm offline in moto app while I could in google app
But "Ok google" won't work while the screen is locked so is there anyway to make it work while device is locked or to make moto app work better offline?? Thx in advance
the option is built into settinga to make google now work at the lock screen. If you meant screen off, googling for ok google screen off and installing the first result (the app) gets you there

Asking about Ok Google!! from all Grand Prime Users.

Hello all Grand Prime users out there. I am here to ask a few questions about ok google so lets start.
1. As we know that we cannot start google app by saying ok google from homescreen or lockscreen. (on Stock rom or without any app).
2. I want to know something from you all that how many of u can start google app by saying ok google from any screen. ( I am asking because tommorow when i wrongly said ok google from homescreen a setup came it said add your voice. Now my ok google can only activate if i said ok google not by others.)
3. I want to know if u guys can also do the same like above questions without any app or custom rom then it means now ok google command is available for all of us. If u cannot activate ok google like this then tell me I will help u how to do it.
See the screenshots in attachments.
Give answers soon. Dont forget to mention my name so i will be notified.
First
you can't ask questions in general section
Moving on
Well I can't get Ok Google everywhere. it just work on the Google app but I use assistant enabler xposed module which gives me option to enable ok Google everywhere and it also gets me an option to enable Google assistant
I don't know anything about ok Google, recognizing only one specific person it may be possible that the others person accent is not acceptable for the app or maybe the option really exist
Whatever ,just tell me how do you achieved this
Sent from my SM-G531F using Tapatalk
Hack House said:
First
you can't ask questions in general section
Moving on
Well I can't get Ok Google everywhere. it just work on the Google app but I use assistant enabler xposed module which gives me option to enable ok Google everywhere and it also gets me an option to enable Google assistant
I don't know anything about ok Google, recognizing only one specific person it may be possible that the others person accent is not acceptable for the app or maybe the option really exist
Whatever ,just tell me how do you achieved this
Sent from my SM-G531F using Tapatalk
Click to expand...
Click to collapse
Smg531f is lollipop and u using assistant enabler? Its for 6.0 and assistant cannot be enable in lollipop.
About how i get this:-
When i reboot my device i immodeatly said ok google and a new option cime to my screen whoch havent worked before but now i can say ok google from any screen. Only my voice is reconized by google.
If u need it i will upload a backup of my apk+data so u can restore it and get ok google app like me.
OWEN i uninstalled my google play service and all Now i wanted to used google service ,game and store for coc plaese helpppppp My phone Is SmG531f ......... pppppp

Google Assistant

Has anyone received the Google Assistant update yet? It was suppose to role out yesterday. Just wondering since the default for this phone is Moto assistant if we will get it or not.
Love the Nougat update
Gary
I installed the "Play Services Info" app by weberdo and used it to download Google Play Services version 10.2.99 (440-148249840) from APK Mirror. After a couple of reboots and disabling Moto Voice, Google Assistant became active. I had to touch the microphone icon, and after a couple of tries, it went into "configure" mode and learned my voice. Now working fine.
rhickers said:
I installed the "Play Services Info" app by weberdo and used it to download Google Play Services version 10.2.99 (440-148249840) from APK Mirror. After a couple of reboots and disabling Moto Voice, Google Assistant became active. I had to touch the microphone icon, and after a couple of tries, it went into "configure" mode and learned my voice. Now working fine.
Click to expand...
Click to collapse
Didn't work for me. Oh well, I guess I'll just have to wait.
Gary
Interestingly, for me, even while running on play services 10.2.98, I had all the assistant settings in the google app, and even paired it with my smartthings account, but alas, voice search is still going to the old style search. Updated to 10.2.99 and still seeing the same behavior. I didn't even know we were getting assistant, and was quite excited when I saw the settings, so when it didn't work, of course I got unreasonably upset. oh well
astephon88 said:
Interestingly, for me, even while running on play services 10.2.98, I had all the assistant settings in the google app, and even paired it with my smartthings account, but alas, voice search is still going to the old style search. Updated to 10.2.99 and still seeing the same behavior. I didn't even know we were getting assistant, and was quite excited when I saw the settings, so when it didn't work, of course I got unreasonably upset. oh well
Click to expand...
Click to collapse
Alright, I let it sit for a couple hours, and it's working now. Though, still can't launch it from the microphone button in the google app or the google search bars on the home screens. That still launches the old voice search. Have to long touch the home button or use the "ok google" launch phrase. It's a shame it can't use the always-on mic from moto voice though.
I'm seeing some similar things. Google Assistant came down to my phone automatically. Set up the OK Google voice command. Seems to work fine when launching from the mic button on the assistant, but will not respond to always on mic when the phone is idle.
You do have to disable Moto Voice, or change the voice phrase to something other than OK Google. Phone still responds to Moto Voice command on idle, but not OK Google.
Yea, so unless there's a software update for Moto Voice, we're likely not going to get the always-on mic to work with assistant. There's a dedicated processor on the SoC that handles the always-on mic, and it's tied directly to Moto Voice. Moto voice really doesn't do a whole lot other than listen for the launch phrase. Everything after that point is basically handed off to Google Voice search. It really should be quite a easy fix (pass the requests onto assistant instead of voice search), but I doubt that will happen.
smiley4017 said:
Has anyone received the Google Assistant update yet? It was suppose to role out yesterday. Just wondering since the default for this phone is Moto assistant if we will get it or not.
Love the Nougat update
Gary
Click to expand...
Click to collapse
I woke up this morning and I finally got the assistant. just an FYI
I got it too. However, while it unlocks the phone when locked and the screen being on, it will not wake the phone when saying ok google. You hear the sound prompt that it heard you, but nothing ever follows up and the screen stays black

Google Assistant?

Has anyone managed to get Assistant to work? I'm in the UK. I read on one of the OnePlus community forums that you need to change device language to English (USA), which I've done. Still no Assisstant. Anyone managed to get it to work/have any ideas?
It is only google now, not google assistant
I needed to clear all data after changing language to English (USA). But I've got it working now.
Here's YouTube video showing steps to setup Google Assistant on OP5. https://youtu.be/-bE8ORPID3U
Sent from my Pixel XL using XDA-Developers Legacy app
Ok Google
saccentekennedy said:
I needed to clear all data after changing language to English (USA). But I've got it working now.
Click to expand...
Click to collapse
After you got it working, did you have any issues in retraining your voice. I have a problem where it appears to be listening for me to say Ok Google 3 times but never recognises anything.?
dudiemaroodi said:
After you got it working, did you have any issues in retraining your voice. I have a problem where it appears to be listening for me to say Ok Google 3 times but never recognises anything.?
Click to expand...
Click to collapse
No... Haven't had a problem if I'm honest
saccentekennedy said:
No... Haven't had a problem if I'm honest
Click to expand...
Click to collapse
Thanks for replying. Must be in if the unlucky ones. :laugh:
i changed to English US, got google assistant started up, then changed the language back to English UK.
google does have issues properly understanding you with the wrong accent from my experience.
I am pretty sure I have google assistant
saccentekennedy said:
Has anyone managed to get Assistant to work? I'm in the UK. I read on one of the OnePlus community forums that you need to change device language to English (USA), which I've done. Still no Assisstant. Anyone managed to get it to work/have any ideas?
Click to expand...
Click to collapse
Doesn't work for me either. I have set the language to English USA. Tried to clear Google app cache and data to no avail.
swami.2580 said:
Doesn't work for me either. I have set the language to English USA. Tried to clear Google app cache and data to no avail.
Click to expand...
Click to collapse
I got Google Assistant working by following the instructions from the YouTube video in this thread's post #4. All was fine for a while and then GA no longer worked sometime after I applied one of the OTA's. I can't say that was the cause but the timing was coincidental. GA seemed to react but not fully engage. I tried a lot of things including re-training the "OK Google" but nothing worked.
Finally I followed the part of post #4's cache clearing of Google and Google services apps cache (remember there is more than one cache) and then went through the Google Assistant set up as if it had never been working. That fixed my issues and has been working ever since. I'll see if the same problems arise after the next OTA. So I'd trying clearing the cache of those two apps EXACTLY as shown in the video.
Edit: I've applied OTA for v4.5.5 and have not had any Google Assistant issue
swami.2580 said:
Doesn't work for me either. I have set the language to English USA. Tried to clear Google app cache and data to no avail.
Click to expand...
Click to collapse
You have to clear the data cache for play services as well.
For those that got Google Assistant working are you having any issues such as those described below?
Trusted voice which enables Google Assistant from the lock screen does not work despite the proper settings in place
Creating a Google Assistant shortcut not works
IFTTT doesn't seem to work as advertised (I'm still working on this one)
I've had no end of small issues trying to customize Google Assistant but the main built in functions (e.g. weather, search, Spotify commands, open app) work perfectly.
Just curious about other people's experience. It leaves me feeling Google Assistant is just a beta program/work-in-progress on a phone or a tease to get you to buy a Google Home despite always having a much more capable device in the palm of your hand (your phone). I don't want an ugly Google Home "air freshener" when I already have an Android SD835/8GB phone.
When you say Google Assistant... Do you mean ok Google from screen off?
loudog3114 said:
When you say Google Assistant... Do you mean ok Google from screen off?
Click to expand...
Click to collapse
Google Assistant works with the screen off as long as the OP5 is NOT locked. Working while locked is supposed to work only when Trusted Voice is turned on. Unfortunately I have turned on trusted voice but Google Assistant will not initiate (work) when the OP5 is locked.
OK Google has a different interactive screen than Google Assistant. The OP5 OOS comes with OK Google but you need to manually activate Google Assistant before experiencing its advanced AI features. You would also see new Google Assistant specific settings at the top of the Google app->Settings->Google Assistant->(Settings, What can you do?).
One of the early posts in this thread has the link to manually activate Google Assistant.
Yeah, I have Google Assistant but I am pretty let down by the fact it doesn't work with the screen off and locked. I have heard it's a license that has to be paid to googs
Mine worked with no fuss. What doesn't work is the trusted voice and waking the phone up when the screen is off. That one I can't figure out
loudog3114 said:
Yeah, I have Google Assistant but I am pretty let down by the fact it doesn't work with the screen off and locked. I have heard it's a license that has to be paid to googs
Click to expand...
Click to collapse
goingonstrong2 said:
Mine worked with no fuss. What doesn't work is the trusted voice and waking the phone up when the screen is off. That one I can't figure out
Click to expand...
Click to collapse
I've found a hacky workaround for this issue by using a combination of apps. First off I only use this method when I'm connected to the charger which is no different than the Trusted Voice limitations. Second my lock screen is only enabled when I'm not on a charger.
Use the Caffeine app to block the automatic lock screen. Check settings "Autoactive on USB", "Autoactive on USB type/AC charger", "Enable caffeine at boot".
Buy and install the app Screen Off (No Lock). I couldn't find a free app that turned off the screen but did not also lock it.
Then use the Google Assistant command "OK Google open screen off" to invoke turning the screen off but still having Google Assistant listening for my next command. I also use Tasker and it's Voice Assist plugin connection to Google Assistant so added the "start Screen off" as the last task in my Voice Assist profiles.
---------- Post added at 02:26 PM ---------- Previous post was at 01:51 PM ----------
goingonstrong2 said:
Mine worked with no fuss. What doesn't work is the trusted voice and waking the phone up when the screen is off. That one I can't figure out
Click to expand...
Click to collapse
For the most part Google Assistant works for me but important features either lack reliability or don't work at all.
Google Assistant macros don't work at all despite built in GA commands working (e.g. play on Spotify)
I can't seem to make a IFTTT connection work
The connection between GA and Tasker's VoiceAssist is unreliable. Too often GA intercepts a regular Tasker Event phrase and displays a google search screen but the Tasker event for the phrase does not trigger. This despite the Tasker VoiceAssist toast displaying the correct event phrase. I'll try it a second time and this time it'll work despite GA recognizing the exact same phrase (not a variation).
I've been able to create some cool home theater (Harmony Hub) automation profiles but the unreliability has me wondering if I'm wasting my time. I really like the whole Google Assistant and the Tasker extension but am not prepared to continue developing things unless I can increase the overall stability.
It may just be my OP5 which is running OOS 4.5.5, rooted with SuperSU with Viper4Android installed. Other than that I've not altered the stock OOS experience. I've not even removed any bloat ware.
Does anyone have the Google Assistant macros and/or IFTTT working on their OnePlus 5?
I've previously posted that Google Assistant's macros didn't work for me but I received an update to the Google app v7.7.14.21.arm64 (Beta) and Google Assistant's macros are suddenly working. Even macros I'd previous entered but had never worked. I also added new ones and they also worked.
What stopped working was Tasker receiving the OK Google spoken commands, (no VoiceAssist toasts). I need to explore further as the newly functioning macros may be a far better way to integrate with Tasker. I'll likely retry the recommended Google Assistant/IFTTT/Tasker integration which also didn't work prior to this latest update.
It's working perfectly
Just did as it was said on the video. Everything works perfectly, including the "OK Google" detection while the screen is off. No problems whatsoever.
To Note: Even i changed the language back to English(UK) after all was setup, and works like a charm. :good:

Categories

Resources