yashsingh1/xdaforums huggingface dataset:
[Android Software Development] dan_delaney:
Correction - Voice Detection training keeps popping up every time I say 'OK Google'. Skipping the training works fine and I can talk to it no problems. I'd use it via the home button long press anyway.
[Android Software Development] Akilesh Akil:
followed this step..But didn't worked for me.Still google Now On Tap exist
[Android Software Development] neilrl79:
*Nevermind
[Android Software Development] gerciolisz:
Same thing and if i enter ok google detection settings google app is fc'ing.. have it all permissions it have... Hmm
[Android Software Development] FaserF:
Sorry that it didnt worked for you. Which device?

But there stands you have free unlimited for high quality? What about original quality?
[Android Software Development] zzman31:
Hi, I have a Nexus 6P Build X! Does it work with this 3 files? And what must I do with the tweak.props? Must I flash it too?
[Android Software Development] FaserF:
I dont know what you mean with build X but if it is running Android 7.0 it will work.

you have to download tweak.prop.zip and then rename it to tweak.prop and copy it to your phone thats all.

I had to name it to .prop.zip as neather xda nor androidfilehost have allowed to upload .prop files. Thats all.

The tweak.prop file is needed for the other 2 files that you have to flash.
[Android Software Development] neilrl79:
Ah.. too early in the morning for me it seems... Nothing to see here...
[Android Software Development] gerciolisz:
I did build prop changes manually because your zip backing build prop didnt have updater script in metainf and it didn't flash.. GA is working but only OK Google is still problem
[Android Software Development] zzman31:
Oh sorry, I mean Build Number NBD90X with Baseband :

angler-03.72
[Android Software Development] FaserF:
Thanks for the feedback.

That the BuildProp.zip no updater-script has is okay and should be like this. Take a look in the zip in the folder called "a". Most of the magic is happen there.

If you got an error what did it said? Are you sure you have copied tweak.prop and named it like this, not tweak.prop.zip ?
[Android Software Development] mochamoo:
delete
[Android Software Development] Demonoid_i_am:
Steps to make google assistant work on any screen

Decided to make a mini guide again for people too lazy to scroll earlier posts :p

Make sure Google app is v6.6.14.21

Make sure that build.prop doesn't have the two lines from OP.

ro.product.model=

should be your default.

Clear google app data.

Set the default language to English(UK).

Set up google now the good ol' way with detection from any screen. Make sure it works from any screen. Also remember that anytime you change your input language or speech output language, the always on google now option resets! Make sure to tongle it back on.

Reboot Once.

Add this line at the bottom of build.prop

ro.opa.eligible_device=true

Modify or add the below line

ro.product.model=Pixel XL

Do not wipe google app cache after the above steps as that will clear your hotword detection.

Also make sure that there is no hotword enrolment apk pushed into system from other 'fix'

If your google app still starts google now, wait for a few minutes, restart and you will have the new google assistant with hotword detection from any screen. May require a 1-2 reboots.

Hope it helps.:)

All credits to http://xdaforums.com/member.php?u=4894658 for steps and guide.
[Android Software Development] krolla03:
Weird. I had it working on the 1st version of PN7 using the flashable zip files. Then PN came out with a small update the other day i updated and had to reflash the files and i cant get it to work again.
[Android Software Development] vsoma:
Great job. Off people will be too lazy there like a billion pages. Back when he thread first started I posted a simple solution and it looks like people forgo about it... Maybe the OP should include it in the post. That way a ton of people don't repeat questions.
[Android Software Development] PieOfJustice:
Anyone who is using the Auto Zip files to do this will need to manually change the build.prop anyways because it changes model to "Pixel" instead of "Pixel XL"
[Android Software Development] BruceWayne54:
Works on Moto G 2014 XT1064 running unofficial cm14
[Android Software Development] counterfeit187:
Does it have to be English (UK) to work or was this a matter of preference? My default language is English (US).
[Android Software Development] raunaqseth:
It also has google on tab with it just long press home n swipe uo
[Android Software Development] cidxtc:
If you edit tweak.prop to Pixel XL then the building.prop mod zip will work properly.
[Android Software Development] Demonoid_i_am:
Someone posted in this thread (or maybe it was some other thread??) that hotword enrolment for the google assistant works with English(UK) only and not the other English variants. I decided to keep it English(UK) only and it works perfectly.
[Android Software Development] knox_wade:
Grant permissions

I've success installed google assistant on my phone (xiaomi mi3 - Nitrogen OS 7.0) but i can't granted permissions on google apps..

i've flash new gapps (pico & banks new update) but still have no solutions..

please help my problems.

Thank you.
[Android Software Development] ert69:
No, it only works on Nexus devices. I have been using UK English all my life and it doesnt work on OP2.
[Android Software Development] NLBeev:
To everyone flashing GoogleAssistentVelvet.zip.

I noticed that the Velvet.apk is no longer in system/priv-app/Velvet.

It's in data/app/com.google.android.quicksearchbox-1 and named 'base.apk'.

(Nexus 6, N70, 6.5.35.21)

So flashing Velvet may have caused Google App is 2x on your phone.

Check the folders first before flashing.
[Android Software Development] mohitvshah123:
Cant get google assistant to work on moto g xt1033 cm14 unofficial rooted. Only now on tap is working. Tried everything...
[Android Software Development] zxaryo:
Working, Redmi 1s armani cm14 :fingers-crossed:
[Android Software Development] Annunneo:
I dirty flashed an update and lost everything..
[Android Software Development] cutmylifein2:
Can u explain step by step.. How to use tasker to enable Kk Google detection
[Android Software Development] tiger100:
I can't get this to work on my moto x 2014 running [ROM][7.0.0_r14] AOSP-OMS [BETA][18/10/2016]. Any ideas? I followed the steps and I have root access.
[Android Software Development] foosion:
I have both after updating to 7.1.1 on my 6P.
[Android Software Development] songs354:
you need to create a profile, in order to do that you need to install both tasker and autovoice now open tasker and head to tasks and tap on the + sign (insert action) and name it as Assistant now tap one the + sign again now select plugin and select autoinput now select action, once done now tap on configuration and select action now select click again, next is field type select it and now select text, next is field id select it and type there Do it later and hit ok and save it and now reduce the timeout i've set it to 0 second now hit back. Now head to profiles and tap on the + sign again and select event and type new window on the filter section and select it now hit back it will show new task and assistant just select assistant, now rename the upper one that says new window*, any rename it as New Window Google App, Any and now tap and hold on the trophy symbol that says New Window*, Any right next to it and select add now select application then tap on all you'll that on the bottom right corner tap on all now select the google app and hit back and you're done

i've attached two screenshots as well
[Android Software Development] songs354:
see post #1401
[Android Software Development] tiger100:
Thanks - I got it working.
[Android Software Development] tHset-01:
Done everything as you said but can't get hotword to work. Still there is either a hotword or assistant. Aosp 7.1,nexus 5.
[Android Software Development] whodatfan:
Clean flash of PN 7.0 update is what is necessary. I tried everything under the sun to get this working while dirty flashed and had no success. Clean flashed last night, ran the Google Now voice setup, made sure it worked from everywhere (screen off, apps, etc). Making sure I had no substratum themes applied, I used the Google Assistant app from playstore that seamlessly auto edits the build.prop. Cleared google app data/cache (someone said don't, but you have to in order for Google Assistant to take over cached Google Now). Reboot. Hold down home button to prompt the assistant and set up voice. Check and confirm voice is triggering the assistant and sticking. It should as mine finally did. Hope this works for everyone.

EDIT- Full PN Gapps
[Android Software Development] quaman:
What Gapps did you use when you clean flashed?
[Android Software Development] whodatfan:
Full PN gapps. Sorry
[Android Software Development] quaman:
No problem. I'm going to try your method when I get home. I've stayed on stock on stock dp 7.1.1 because they'd the only ROM I can get it working on
[Android Software Development] eqbirvin:
PN = Pure Nexus?
[Android Software Development] whodatfan:
Yep
[Android Software Development] Blaiser47:
I just posted this in the pure nexus shamu thread but thought it might help for other roms and phones. Please let us know if it does!

For those that are having trouble with ok google anywhere and or trying to get assistance working with hot word detection try this:

1) clear all data from Google app.

2) revoke microphone permissions from Google play services

4) Reboot

5) go into Google app and change language to a different English (may need to do this a few times) and try to turn on ok Google anywhere until you get the old prompt to record. You will know it did it correctly if it tells you go to a quiet place, etc...and then you hit something to begin. This is the old mm prompt. If it immediately jumps past this screen to the newer nougat white screen asking you to talk it won't work. Once you train with the old prompt it should stick!

6) reboot

7) turn back on microphone permissions to play services

8) reboot

Ok google anywhere should work.

If you want google assistant then between steps 5 and 6 do this:

5.1) edit build prop for assistant (I used play store app, get assistant)

5.2) clear ALL Google app data

5.3) reboot

5.4) clear ALL google app data again for good measure

5.5) reboot

5.6) hold home and train google a assistant

5.7) go into Google settings to make sure ok google anywhere was turned on

5.8) complete steps 7 and 8 above

Please report back if this works for you so I can confirm this wasn't a fluke. I have ok anywhere with assistant and hot word detection running perfectly. I am thinking it has something to do with a conflict between play services and the google app handling the hot word detection for Google now vs assistant. If this regularly works, maybe it will give someone smarter than me an idea of how to find a real fix.

Edit: this is on clean flash of 10.25.16 build of PN and beans' full dynamic gapps
[Android Software Development] tiger100:
Anyone know how to get the mic to show in the pill? I had it showing before but can't remember how I did it.
[Android Software Development] NLBeev:
Than it's possible that you have problems with Google App and/or Assistant.
[Android Software Development] mushfiqsaif:
Even after wiping google apps data, assistant doest appear! Still google now appears! Flashed the 2 files and tried the manual system as well!
[Android Software Development] JaylanPHNX:
Are you signed up for the Google App beta? It didn't work for me until I did.

From my Tab Pro 8.4
[Android Software Development] NLBeev:
The version seems to be important.

On my Nexus 6 Assistant only works with Google Apps version 6.5.35.21.

EDIT

The blacked out version of Google App 6.3.36.12 also works with Assistant.

More....in the thread of the TBO team,

http://xdaforums.com/showthread.php?p=69364868/
[Android Software Development] mushfiqsaif:
I,m also a beta user but still!
[Android Software Development] Amarrrtya:
It's not for ARM64

Here's the log file

Flashed the zip files successfully but nothing changed
[Android Software Development] songs354:
redo the process again flash the zip and change your device model to pixel XL manually in build.prop and add the line ro.opa.eligible_device=true right below it, now head to recovery mode and wipe dalvik cache only, now reboot to system and hold your home button and GA will appear on your screen

for voice detection you can use tasker
[Android Software Development] Cenkay:
Working

General Mobile 5 Plus (android one 3 gen), Android 7, CM 14.1 Working, thanks.
[Android Software Development] Shady282:
step 5. how are you going to train the old prompt if the microphone is turned off ?

i tried multiple times, once you change the language, the voice module is not sticking and so the assistant is asking to retrain :/
[Android Software Development] Blaiser47:
So I only turned off permissions to play services not Google app. If you don't get it to stick BEFORE assistant mods it won't work. All I can say is keeping changing primary language and cleaning data until you get old prompt. That is when I worked for me.
[Android Software Development] PaKii94:
So I semi followed your guide, I got ok google detected but it always takes me to the new voice trainer... I had it trained before I switched the build prop but I guess ill try to do your thing again
[Android Software Development] drew_t:
Can anyone confirm that unlimited original photo backup is working?

Does it work with either method?

Thanks.
[Android Software Development] Blaiser47:
OK pm me if you need more help. Again not sure that this will work for everyone but worked for me.
[Android Software Development] PaKii94:
sigh ive tried both methods, with clearing data and without clearing data. neither works. It crashes if I try going voice settings and keeps going to the voice trainer if I use Ok google. I am kinda too cheap to get tasker for the troubles lol. Thanks anyway

btw what phone do you have?
[Android Software Development] PaKii94:
So I was too cheap to get tasker. I decided to do it in the free "MacroDroid" app.

Here are the steps for it for others to take advantage.

1) It also uses Autoinput so install that + Macrodroid.

2) open up macro droid

3) add macro

4) select trigger -> application launched-> Google App

5)add actions -> locale/tasker plugin-> autoinput action

6)Action-> click, Field type->text, field text -> "Do it later"

*Note: you might have to give accessibility access to autoinput or something like that

7) check mark to save autoinput action, check mark to save add action, checkmark again to pass constraints, and then name it what you want

8) make sure the macro is activated. I got annoyed by the icon in the notification bar but you can turn it off in settings by setting priority to minimum.

extra: I tested it on multiple screens and stuff but sometimes it hangs on the voice training screen. I am not too sure why but my guess is since it is looking for the launching of the google app, if it is already launched it won't do anything. If you wanna foolproof this you can add another action of "voice search" the only downside to this is it adds more time because it initiates voice search x2. It also dings 2x but this way it always starts up.

Hopefully this helps!

Also, just for reference purposes, I am running unofficial Pure Nexus 7.0 on OPO and now everything is working great!
[Android Software Development] drsandeshdahal:
teach your assistant your voice dialogue box coming all time i say ok google..........
[Android Software Development] boswelja:
Bro.. Use the search thread option
[Android Software Development] Blaiser47:
Nexus 6
[Android Software Development] dipstik:
But it is missing the screen share and ocr options.
[Android Software Development] NLBeev:
For everyone with a dark theme.

Nexus 6, Nougat 7.0.

Black Google App 6.3.36.21

Assistant working !

http://xdaforums.com/showthread.php?p=69364868/
[Android Software Development] PaKii94:
oh well I thought working hotword detection was already confirmed on Nexus devices...
[Android Software Development] harpin14789:
Well it only works on stock nexus Roms. It works on Octo ROM but not on screwd, etc.

---------- Post added at 09:13 PM ---------- Previous post was at 09:13 PM ----------

What ROM are you using?
[Android Software Development] foosion:
Both appear to be functioning properly.
[Android Software Development] tiger100:
Anyone able to figure this out.
[Android Software Development] kailas6:
When ever i say ok google... Its popup and say teach the assistant to recognize your voice--> get started - - > 3 times ok google--> confirm your pattern.. Then assistant popup after it closed..

These above steps again asks. When i again say ok google. :rolleyes:

Model: Oneplus2

Rom: cm-14.1-20161029-UNOFFICIAL (7.1)
[Android Software Development] NLBeev:
http://xdaforums.com/showthread.php?p=59561445/

Prerooted lite stock rom of Danvdh.
[Android Software Development] ketan.xda:
Google Assistant on cm14.1, xt1033

Long press on Home button seems not working on new build CM14.1 on MotoG XT1033, Google Now is not getting triggered, instead it is showing Recent Apps. Is it happening to you all?

On previous version of cm14 Google Assistant was working fine for me with Method 2... Any fix for it? Thanks :)
[Android Software Development] nappingbeam7:
Is Google search assistant working in Moto G2 2014?

---------- Post added at 09:25 AM ---------- Previous post was at 09:24 AM ----------

Go on settings->buttons->home button.
[Android Software Development] Fir3lordZuk0:
Yes, if u are on cm14.0 it works properly.

On cm 14.1, assistant is working but messages are not visible. Voice is audible. For e.g ur question is visible on screen but the response is not cmg on the screen (voice works fine)
[Android Software Development] nappingbeam7:
Okay!
[Android Software Development] BobbyCurry:
I'm on CM14.1 for i9300 and I flashed the nano gapps for 7.1, and then I flash the zips here http://xdaforums.com/showpost.php?p=69074667&postcount=112%22, but long click the home button will still trigger the Google Search instead of Google Assistant. I read the build.prop carefully and confirm the "ro.opa.eligible_device=true" is added and "ro.product.model" becomes "Pixel". Any solution?
[Android Software Development] Fir3lordZuk0:
Wipe Google app data and try again
[Android Software Development] BobbyCurry:
Actually I start over again and flash the CM, gapps, the zips above. After wiping and rebooting, the assistant menu occurs! Thanks bro! But now I am facing the same problem as is mentioned in #1437:

Do you have any suggestion to avoid this teaching process whenever I said OK Google?
[Android Software Development] Fir3lordZuk0:
Even I am facing the same problem..the OK Google settings also keeps crashing. I think that's y it's not saving the voice...I will let u know if any solution works
[Android Software Development] nappingbeam7:
How to solve this thing?
[Android Software Development] Prinjal Dave:
First enable airplane mode then try
[Android Software Development] ru11er:
Care to elaborate?
[Android Software Development] cescof:
it doesn't work on galaxy s2 i9100 CM14, any solution?
[Android Software Development] bgon04:
Google Assistant is working on CrDroid 7.1 d851 (LG G3) builds. The only problem is it keeps prompting me to setup my voice when I say "OK Google" (even though it is already programmed). It does open by holding the home button.
[Android Software Development] viktorfe:
It is working on opo pure Nexus
[Android Software Development] wormbaby11:
Anyone got it working with their Nest? All it says after telling it to turn the temperature to 68 is "Looks like there is a problem". It used to work with the normal Google Now. Thanks.
[Android Software Development] nappingbeam7:
No change. This is what I'm having in my device.

Same problem with airplane mode.
[Android Software Development] Prinjal Dave:
Google was crashing when you enter ok google section right? Thats what you showed in your screen shot so i was saying that first try airplane mode then enter the ok google option in settings it will not crash
[Android Software Development] eranyanay:
When I click the phone button on my Bluetooth headset it opens up the Google search voice input, is it possible to automate it to open the Google assistant instead?
[Android Software Development] nappingbeam7:
It is crashing in airplane mode too..
[Android Software Development] NLBeev:
OK Google does the same as long pressing home.

I did the following to end Voice prompting.

Setup Google Now first.

Than activate Assistant.

Google Now:

- disable microphone (Google App);

- set up voice Google Now;

- when ask to allow audio -> yes allow.

- reboot.
[Android Software Development] Stylix:
Thanks...Working Fine !!
[Android Software Development] nappingbeam7:
Pls help me out I'm not able to use Google assistant in cm14.1.
[Android Software Development] mgeranimus:
i dont get it to work nor i get any asking dialog to activate microphone. cm14.1
[Android Software Development] whitesellkevin:
Depends on your Bluetooth. I have Plantronics 5200. And I get assistance by holding the ex "Google now button." Nothing was done to the Bluetooth itself. Just the build edit on the phone to get assistant in the first place. My suggestion try another Bluetooth. Or perhaps bluetooth launch its an app. That I use to use a while back. Don't use it anymore but maybe it work for you.
[Android Software Development] Prinjal Dave:
Battery drains even after turning off 'ok google'
[Android Software Development] ytgbg:
On CM 14.1 holding home button doesn't bring the Google Assistant as it was on 7.0 or even MM. I checked the buttons section in Settings, but noting happens.

I am not the only one reporting this. I guess it is CM14.1 problem.

As I stated I got Google Assistant working on 7.0 and even MM without a problem following the instructions in OP - It is not the cas anymore on CM 14.1.

Does anyone got Google Assistant working properly on CM 14.1?
[Android Software Development] pieriv59:
Everything works fine for me exept okay Google issue
[Android Software Development] Prasad98:
How did you activate Assistant on cm14.1 on a OnePlus 2 ??

I tried the first method here but it did nothing...So tried the second method but it just showed me assistant only once and then I never saw assistant again,only google now :(

help me!
[Android Software Development] pieriv59:
Modify build.prop (picture) reboot flash velvet.zip. wipe Google app data and cache then reboot.
[Android Software Development] DaKoin:
Awesome mod!!

[YOUTUBE] https://www.youtube.com/watch?v=6v...mment_id=z13mgp1onsvowvnhs04cihyznwvltdi5l20 [/YOUTUBE]

This is really awesome!! I didn't think the Pixel was a worthy upgrade from my nexus 6p and now i have the best of both worlds!! I'm a tech girl and I was so excited I did a video on how i did it!! Kudos to all you guys!!
[Android Software Development] NLBeev:
The screen shot shows voice setting of Google Assistant.

In my previous post I wrote to set OK Google before activating Assistant.

Than the 'OK Google' will be set in Google Now.
[Android Software Development] Prasad98:
Still doesn't work... :confused:

Always showing Google now on tap...

Even wiped cache and Dalvik/ART

And wiped several times google app's data...

Damn.....

I had activated this before but it was a cm14 ROM and now I'm trying on cm14.1...

Is this the reason that its not working ?
[Android Software Development] pieriv59:
Be sure to have the very last version of Google app
[Android Software Development] Prasad98:
[

QUOTE=pieriv59;69393262]Modify build.prop (picture) reboot flash velvet.zip. wipe Google app data and cache then reboot.

Same here ....

Got it working on cm14 but it ain't working any way on cm14.1
[Android Software Development] NLBeev:
The screenshot shows you are voice training in Assistant.

Try voice training before Assistant is activated.
[Android Software Development] Mar-cel:
Google assistant does not save 'Ok Google!' how to fix that?
[Android Software Development] elandroido:
Cannot be fixed afaik :( correct me if I am wrong.