How to get Google Assistant on LineageOs - LineageOS Questions & Answers

Why am i not getting Google Assistant on my OnePlus2 LOS 14.1? I have enrolled myself in the Google beta program, cleared cache, changed search and voice language to English(US). But I still didn't get Google Assistant. Any flashable files for that?

having the same issue :/

Its very easy to get google assistant on your phone by following steps:-
1)download velvet zip file from google
2)use buildprop application and add 2 commands at the end ro.product.model=pixel XL and ro.opa.eligible_device=true
3)boot into any custom recovery and install the velvet.zip file
Now you are all good to go!!!!!!!!
Sent from my Redmi Note 3 using XDA Free mobile app

Here's how I got it working on a JDCteam Lineage OS Nougat 14.1 ROM. I can't guarantee it will work, but give it a try, since you don't have to use any mods to get it working.
Note: You might not need to install the Google Now Launcher, so if you want, you can skip that. If The Assistant doesn't work, then try installing the Google Now launcher.
If you have Google Assistant and Google Now Launcher installed. Uninstall them, and reinstall both of them. If you want, clear their cache for good measure.
Now, set the Google Now Launcher as your default launcher, and launch a couple of apps. Then switch back to your preferred launcher. You can set the Google Now Launcher as your default launcher by going into System Settings > Apps > Tap the Gear Icon > under Home App (tap that to change the launcher). If the Google Now Launcher does not appear as a choice, then make sure you have it installed.
Next, open the Google Assistant by clicking its icon in the app drawer. Click the microphone icon in Google Assistants search box. This should prompt you to grant permissions for the microphone.
Next, in the Google Assistant app, tap the hamburger button (top left corner) and make sure your Google account appears. Now, tap Settings and tap the other settings that appears. This should open Google Assistants settings menu.
Exit the setting menu, and test Google Assistant with a voice command to see if it responds. Hopefully it works.
This is what got me working, but it's sometimes a bit buggy. For instance, sometimes after I say OK Google, the Google Assistant screen does not pop up, but it still accepts a voice command. If that happens, try these steps over again. Also, the Say "OK Google" any time setting is greyed out, and I can't get that setting to activate, though Google Assistant works when the screen is active.

Related

[Q] Google Search 3.5.14 Google Now anywhere

Is anyone successfully using this new Google Now functionality on their S3 where you can activate Google Now from your lock screen, screen shut off or inside any app? I installed it via another users instructions at Android Police:
You can force OK Google everywhere to be enabled. Enable debug/dogfood settings by using UnleashtheGoogle, found here. http://coggy.euroskank.com/APK...
Force stop Google Search once UTG has ran, then go into search settings, then config flags. Enable both e300 toggles, add your country code(en-US for USA) in "speaker_id_supported_locales". Save the config by tapping save config settings at the bottom.
But after doing so, it's not activating except from the home screen.
I second this question. Updated both Google Play Services and Google Search APK to the latest (manually, wouldn't show up the updates un the Play Store) but nothing new. The only setting I have is still to enable it from the home screen or Google Apps...
I'm on CM11 M7, if that matters.
Ive also got an s3 running cm11. I manually installed the google services and google search but nothing has changed
Now, I've never run this on CM11, but I use Home2 Shortcut. Once setup it brings up google search just by double pressing the home button. Hope it helps.
https://play.google.com/store/apps/details?id=com.eikatou0.appspot.home2shortcut

OK Google anywhere detection after 5.0.1 update

I could have sworn that before the update I could use the ok google detection anywhere (after I enabled it search settings). I tried it again, and it's grayed out in the Search, Voice settings in Google Search. Only the top main option to enable OK google voice allows me to toggle it on or off.
Are you sure you weren't using Google Now launcher?
efishta said:
I could have sworn that before the update I could use the ok google detection anywhere (after I enabled it search settings). I tried it again, and it's grayed out in the Search, Voice settings in Google Search. Only the top main option to enable OK google voice allows me to toggle it on or off.
Click to expand...
Click to collapse
Disable S Voice in app management, reboot, then go back to Google Now settings. It shouldn't be grayed out anymore.
Woot! Your response led me on the right path. I am and was using the Google now launcher, but the reason I kept referring to Google Search (which is actually just called Google in the app store) is because I thought it was a separate app responsible for the search functionality and that it hooked into the Now launcher. So I uninstalled the standalone Google app, rebooted phone, and now the option is no longer grayed out in the voice detection section of the Now launcher settings.
I think it's strange that Google allows the Google search app to coexist and override the built in Now launcher search functionality (or at the very least seems to pull the standalone Google search app's settings when I try and configure them through the Now launcher)
I'm sooo confused right now. What I uninstalled was just an update. The "Google" search app is still installed and asking me to update it, which means it came built in to the firmware. Aarrghh!
I updated it, and the option for OK Google functionality anywhere in the phone (different apps, screen off, etc) now became grayed out again. So its' at least linked to that it seems. I also don't get the ability to train the OK Google voice recognition (also grayed out) with the updated Google (search) app. The stock, original firmware version of the app does allow it. Aggravating!
Yup I noticed the same thing, the ability seems broken after the update.
Sent from my SAMSUNG-SM-N910A using Tapatalk
I followed the advice to disable the s voice app through the application manager, rebooted... And forgot to check it till today. Yes! Its working. I'm 99% sure it was disabling s voice that did it, and 1% possibility it was an a background google update... So I'm leaning toward the s voice fix.
Thank you to the 2nd poster above with the recommendation. Fixed it.
Hmm. My svoice is enabled and I am able 'ok google' from anywhere. Including the lock screen. I haven't actually used svoice since the update so I will try it and then see if ok google still works from everywhere.
I can 't force stop or disable S-Voice and OK Google options are grayed out. Any ideas?
In the past I was not able to disable s voice through the application manager, but this time I was.
A couple of possibilities I can think of. In the s voice settings, disable any available options that may be enabled, such as activating it via home button, etc. (Don't recall all the various settings now because it's gone completely from my application settings section)
Also, go into the Security settings of the phone and make sure s voice is not listed as a Device Administrator. I've noticed that apps can't be disabled or uninstalled as long as they're listed in this section as device admins. As usual reboot after just in case, and check if you can disable it then.
I haven't modified anything on the phone other than manually disabling a bunch of apps through application manager and replacing touchwiz with the Google Now home screen.
efishta said:
In the past I was not able to disable s voice through the application manager, but this time I was.
A couple of possibilities I can think of. In the s voice settings, disable any available options that may be enabled, such as activating it via home button, etc. (Don't recall all the various settings now because it's gone completely from my application settings section)
Also, go into the Security settings of the phone and make sure s voice is not listed as a Device Administrator. I've noticed that apps can't be disabled or uninstalled as long as they're listed in this section as device admins. As usual reboot after just in case, and check if you can disable it then.
I haven't modified anything on the phone other than manually disabling a bunch of apps through application manager and replacing touchwiz with the Google Now home screen.
Click to expand...
Click to collapse
it was a device administrator. once removed, i was ale to force stop/disable s-voice

Google Assistant - Trouble with microphone. Try again in a few seconds.

Now that Google Assistant is now available on the Pixel C, when I try to train my voice, I always get: Trouble with microphone. Try again in a few seconds.
Anybody is having the same issue?
Android 8.1 Stock with the Google App 7.17.28.21
Yeah, sadly I think it's because the Pixel C still doesn't have Google Assistant, as evidenced by the "Screen Search" option and lack of a "Google Assistant" option. To further back this position, Google's official statement announcing Assistant for tablets only mentioned Marshmallow and Nougat.
Yes, I have this problem. Google app update wanted to initially train my voice for "Hey Google" and then flashes up a screen for a micro-second as though to go through the set-up and then a toast error Trouble with Microphone.
Also Google Assistant isn't available. The roll-out of Assistant is only for US English at the moment and I don't think this app update was achieving that.
Same here. I'd been using the build.prop edit, and it was working great for months. Recently I started getting this flash of a screen for a micro-second (like m+a+r+k). So I tried toggling the setting off and back on. Now I cannot re-enable the "OK Google" voice detection at all, and it says "not available for this language" (English-US). So I did a factory reset, re-configured everything, and tried enabling it... Nope. Still grayed out.
So I disabled the build.prop edit (set it back to false), and rebooted again. This time I tried something a little different, I tried changing the language settings to "English-Generic". Going back into the "OK Google" detection screen, I can now toggle it on, and train my voice.
So rather than train it without the "Hey Google" option, I thought I'd skip that and re-enable Google Assistant through the build.prop edit. Going back into that setting, it's grayed out again. So I toggled back and forth from English-US and English-Generic, but if Google Assistant is enabled, they forcibly disable the "OK Google" detection, even though the device is clearly capable and compatible, since I've been using it this way for a year now....
Anybody got any ideas? Maybe some ADB commands to toggle some settings we don't have GUI access to?
**Edit**
After making these changes, I uninstalled the Google app (since it's a system app, you just revert to the original version released with this ROM). Now I can re-train my voice, minus the "Hey Google" that this latest update includes. So, I'm turning off all auto-updates until they get this figured out. I'll just update all other apps manually.
Note for those who want to use Google Assistant: It's really easy now if you're rooted. Just use a root file explorer (I use ES File Explorer Pro) and go to /system. Now open up the build.prop file with the editor of your choice (I use the ES Note Editor, since it already has root permissions), and find the line that says ro.opa.eligible_device=false, and delete the word false and replace it with true, save and reboot.
michaave said:
Note for those who want to use Google Assistant: It's really easy now if you're rooted. Just use a root file explorer (I use ES File Explorer Pro) and go to /system. Now open up the build.prop file with the editor of your choice (I use the ES Note Editor, since it already has root permissions), and find the line that says ro.opa.eligible_device=false, and delete the word false and replace it with true, save and reboot.
Click to expand...
Click to collapse
Thanks for that. Tried it and when I say "OK Google" the screen turns to portrait mode. Google Assistant will only work in Portrait mode? Unbelievable!
Opened the Google app and finally got it to set up "Hey Google". Then it immediately switched off 'Say "OK Google" any time' and 'Unlock with Voice match' - both greyed out!
However Assistant is working just in Portrait mode. I knew Google didn't really give a damn about tablets but this really is quite unbelievable.
They seem to be deliberately holding us back for some reason... I can't imagine what. But as far as the "Hey Google" thing, that appears to be a feature of the updated version of the Google app, so if you see the option for "Hey Google", your options will be grayed out. My solution is holding for now, with applying updates manually to avoid the auto-update of the Google app that deliberately sabotages us. I think I can use TitaniumBackup to break the market link of that one app, that's another option.
Confirmed, using TitaniumBackup you can locate the Google app and detach from the market. In doing so, all your other upates will go through fine, but the sabotaging update won't even show up.
Oh, and like you've observed, it only runs in portrait mode... That annoys me too.
TRY THIS - Go to Settings> Apps >Google >Storage >Manage Space >Clear Google Search Data & Clear ALL DATA . Then Open Google app >Settings >ON "OK GOOGLE >Retrain Voice model. Thanks.

Guide to activating google app's features in countries where it's unavailable.

This is an easy guide to making all of the normal features of google feed, assistant and stuff work properly on any android 7+ phone (haven't tested below 7) in any country that doesn't allow these features.
this is not for everyone, read this in full before starting so that you know what you are getting into.
so far, there has been no danger to my phone's software doing these stuff.
however im not responsible if you do something wrong. follow the steps properly.
DO NOT DELETE GOOGLE FRAMEWORK DATA ON ANDROID 9. THERE SEEMS TO BE A PROBLEM
1. first of all download a VPN app from the play store, I personally used the CM VPN but use whatever you want. only important thing is that your vpn must have USA connection.
2. update your google app to the latest version, or even go all the way to the latest beta (I prefer the normal because feed looks nicer)
3. turn on the VPN and go to your location settings, and select GPS Only mode.
4. go to your apps in the settings, press "show system apps" and go to the G letter and find Google Services Framework.
delete all of the cache and data for that app. then find the google app. do the same but it happens in a different window, you gotta press manage data and then delete it from inside the google app.
5. open the google app, wait a few seconds and the google feed shows up. weather is missing and most of the features dont work yet, we will get back to them.
6. disconnect and close the vpn. then restart your device.
7. start by activating the assistant. first i suggest that you pause voice activity in google account settings.then activate the voice assistant step by step to the finish.
8. go to the google app, the 3 lines to the right( settings and stuff) go to assistant settings, in the 2nd tab find "phone" and activate voice unlock (this is just to test if the assistant is working properly) if the voice unlock gets activated properly then you're good, if it doesnt, try deactivating voice and audio activity and try again.
you can disable voice unlock after.
9. so now the assistant is activated, google feed is working, you also need to install a launcher that supports google feed page(i am using lawnchair 2 which is in alpha currently, you can use Nova, Rootless Pixel, or CPL or any other that supports it)
10. in order to get google at a glance on screen if your launcher doesn't have it, there is a widget in your widgets screen, from google themselves.
11. in order to activate the weather, go to location settings, select high accuracy, turn on google location history, and then go to the google feed page in your home screen, on the search bar type "weather" and search for it, open the weather page (the google weather app thingy) and close it. refresh the page and its up and running as the top card.
common problem: disappears after a while
do the search bar thing again and it works.
12. the last thing is reminders. type "reminder" in the search bar of the google feed page, make a reminder, then close the whole thing. open assistant, say show me my reminders, it will tell you the reminder you just set up. delete it using voice commands. then make another reminder using voice commands, go to the google app, open the 3 lines page (bottom right) then open reminders. if you have done everything properly, the reminder you set up in search is gone, and the voice reminder is there. if you don't need it, delete the reminder.
Thats all. I'm living in iran so i know all of this works 100%
Good Luck. ill be answering questions if there is any, whenever i check this again.

Assistance & Voice input - google getting suspended always

Assistance & Voice input - google getting suspended always
default apps - > Assistance & Voice input->
after selecting google, it automatically suspended ( reset's to below )
app assistant -> becomes none
voice inout -> basic google recognition
any steps/idea to make google as default app assistant?
Yogi.G said:
Assistance & Voice input - google getting suspended always
default apps - > Assistance & Voice input->
after selecting google, it automatically suspended ( reset's to below )
app assistant -> becomes none
voice inout -> basic google recognition
any steps/idea to make google as default app assistant?
Click to expand...
Click to collapse
First, get rid of hivoice via adb. Then make sure that you have all necessary settings under Google account. Go through it one by one.
Make sure that you have the latest Google app installed. Give it all permissions and check settings.
Do not install any additional assistant app. It's under Google. Set it as a default assistant.
Now go to the Google apk and set under battery usage details App launch manually for all 3 counts.
Finally, go to open apps and lock both settings and google apps as you see on the attached picture (the lock sign is in a void place on the right above the window- push until locked).
Now you'll have your assistant always on when the screen is on if you don't kill it manually.
The Google assistant is not a native app for Chinese phone. Therefore Huawei aggressive app killer kills it after certain inactive time. Basically, locking it prevents that action.
piskr said:
First, get rid of hivoice via adb. Then make sure that you have all necessary settings under Google account. Go through it one by one.
Make sure that you have the latest Google app installed. Give it all permissions and check settings.
Do not install any additional assistant app. It's under Google. Set it as a default assistant.
Now go to the Google apk and set under battery usage details App launch manually for all 3 counts.
Finally, go to open apps and lock both settings and google apps as you see on the attached picture (the lock sign is in a void place on the right above the window- push until locked).
Now you'll have your assistant always on when the screen is on if you don't kill it manually.
The Google assistant is not a native app for Chinese phone. Therefore Huawei aggressive app killer kills it after certain inactive time. Basically, locking it prevents that action.
Click to expand...
Click to collapse
so, you mean the google app has to be running in the background to keep assistant operative.
Exactly. I have it in background and since then it is always operative.

Categories

Resources