yashsingh1/xdaforums huggingface dataset:
[Android Software Development] pratyush997:
Works on Xiaomi Mi3W running AOSP 7.0
[Android Software Development] 690sid:
I installed it on CM13 on Moto X 2013 and its working properly. The "Ok Google" command isnt being set up though and thus dosnt work. Any help?
[Android Software Development] scoutconnor1:
TWRP indicates that the files flashed successfully but upon booting the phone, nothing has changed and no new apps are installed.

Any idea how I can get TWRP to correctly install the apks?
[Android Software Development] daveknights:
Is the "OK Google" voice activation broken for anyone else? I've wiped data 2 times now and I can't seem to get my device to wake up or respond from "OK Google" after training my voice.
[Android Software Development] Luke T. Kirk:
for some reason the ok, google voice detection settings page in the google app keeps on force closing, and whenever i train the assistant to respond to Ok, Google it just repeats the training process again and again. Any thoughts?
[Android Software Development] michel sedgh:
So is this bug that allows us to use assistant removed ? Because after 10th of October update, and after the setup, it reverted back to Google Now but when I uninstalled updates, I could have the Assistant back.

Edit: So I was wrong, the update didn't change anything xD something else must have been wrong.
[Android Software Development] lordsinasina:
Now is there a way of having a vibrate when triggering the assistant like it is on pixels ?
[Android Software Development] 8hammer84:
ARGGGG

Moved the build.prop, cleared data, been rebooting for 5 mins ? What do I do??

How do I change the build.prop back?
[Android Software Development] tool46x:
To get the "ok google" voice prompt to work, you'll need to install the Google app 6.6.14.21 beta. had the same problem, after i installed the beta, it works like a charm. no issues so far. Running it on a Nexus 6 shamu with Skydragon nougat rom (the graveyard v3).
[Android Software Development] michel sedgh:
I have the same version but still no OK google :(
[Android Software Development] Skittles9823:
Okay so I tried this perfectly, my settings match with all the screenshots but I don't know how to activate the profile (the ongoing notification of tasker says "No active profiles" and when I say "Okay Google" the training window just opens.
[Android Software Development] tool46x:
What i did before that was unistall to default. setup google now/tap. then installed the beta. reboot, then assistant started working.

build prop. i used Pixel instead of pixel xl.
[Android Software Development] michel sedgh:
oh I will try that :D
[Android Software Development] Vipe838:
Got this working on Moto X 2014 (XT1092) running unofficial CM14
[Android Software Development] vignesh95:
is okay google working for non - nexus devices ???(only non - nexus)

my device is oneplus 2

if i say okay google every time it is asking me to train the voice.
[Android Software Development] michel sedgh:
You wiped Google app data right? How didn't it delete the voice ?
[Android Software Development] junioramboy:
Ok, I got it why Nexus 6 can't get "Ok Google" working.

The always on "Ok Google" hotword for Nexus 6 is actually handled by TriggerEnroll.apk, a Motorola app, not that HotwordEnrollment.apk as with other phones. I don't know if deleting Trigger Enroll apk and then installing/replacing it withHotword Enrollment apk will work. Maybe no. But I'm too lazy to try.
[Android Software Development] FaserF:
There wont be any new app. The zips are just flashing the new Google Search App and modifying your system to get the assistant to work.

Long press your home button to open the assistant.

Thats a known issue for every device. I think OK Google detection works only on Nexus devices
[Android Software Development] tool46x:
Try updating with Google app 6.6 beta it's in akpmirror

---------- Post added at 09:02 AM ---------- Previous post was at 08:59 AM ----------

it onlt started working when i updated the google app to 6.6 beta. before that it would keep taking me to the voice train screen.
[Android Software Development] blinkin:
Got it work using the provided flashable zips (use the new props version). Thanks a lot!

After installing them I went to Google app information - > storage - > manage space and did "clear Google search data" as well as "clear cache". After force stop it and press and hold home button.

I'm on 5x worth Uberstock rom.
[Android Software Development] michel sedgh:
can you send the TriggerEnroll.apk here? Maybe it would work on other devices as well? IDK
[Android Software Development] tool46x:
Wiped data and uninstalled it from the playstore, so it reverts back to an earlier version with google now/tap.

i dont know if it helped but i used google launcher to set everything up, i usually use nova. but once everything got setup and the voice prompt started working. i went back to nova.
[Android Software Development] Rohanrox02:
Would this work on oneplus x, cm 14 by sarthak?? Thanks
[Android Software Development] michel sedgh:
No after that, when you wanted to switch back to the Assistant, did you wipe its data again?
[Android Software Development] vignesh95:
even after updating the google app to 6.6 its not working

i even wiped the data
[Android Software Development] manpildo:
What got me Assistant working was wiping Google data, rebooting, after boot NOT launching Google App but directly long-pressing home. When I went to Google App first and opted in to Google Now, then I only got Now on Tap instead of Assistant.
[Android Software Development] Uzuchiha:
Even after setting up google assistant, google now on tap shows up.
[Android Software Development] tool46x:
No i didnt. after the update, it went straight to assistant. so set everything up with the old app, update. reboot. then cross your fingers. i think thats what i did. hahahaha. i just got so frustrate at one point i just did random combinations of wipes and reboots. everything just came to place when i updated to beta. if it helps i got the beta arm no dpi apk.
[Android Software Development] michel sedgh:
hm, because until I don't wipe data, I can't get assistant. Can I ask what version did you revert back for google now?
[Android Software Development] tool46x:
let me check my build.props.

model: Pixel

Brand: google

Manufacturer: Google

---------- Post added at 09:32 AM ---------- Previous post was at 09:26 AM ----------

Uninstall it from google play.
[Android Software Development] ishantgupta777@gmail.com:
Guys,, how to make it work in arm64 devices.. I'm using cm14 in Yureka plus.... Can't find velvet apk for arm64 devices....
[Android Software Development] chikess:
6p is arm64.... Pixel aslo

Gesendet von meinem Pixel mit Tapatalk
[Android Software Development] chsaiteja98:
Is there a way for cm13 devices

I tried editing and using google now launcher but no use
[Android Software Development] tool46x:
There's an arm64 version in apkmirror.
[Android Software Development] ishantgupta777@gmail.com:
But that's not working.. In the guide,, written Google app (velvet),, what is velvet means?? I tried with Google apk,, but that's not working.....

---------- Post added at 10:57 AM ---------- Previous post was at 10:56 AM ----------

But the flashable zip of Google velvet apk is only for arm devices,, not for arm64,, now what to do??
[Android Software Development] Hita98:
I don't use it.
[Android Software Development] RagedElimanator:
One thing wrong is what I have gotten. The animation is still the same not the actual Google Assistant animation, would be nice if it was.
[Android Software Development] najit97:
This is much simpler!

For all the devices (arm64, arm) with root:

Install Xposed Framework

Install this Xposed Module called Android N-ify

https://ci.paphonb.xyz/jenkins/job/.../app/tk.wasdennnoch.androidn_ify_Build697.apk

Grant all permissions for Google app, reboot!

You have the assistant working. You don't need any edition to build.prop!

Thank me if I helped you!
[Android Software Development] drmjp93:
Yes , working on my Nexus, but same , it goes to training mode.
[Android Software Development] chris.k00:
It Is working on Nexus 5X fine! No Problems, only using the Simple build.prop edit.
[Android Software Development] chsaiteja98:
Did but stillnot working
[Android Software Development] drmjp93:
Working Perfectly!! Thanks | Nexus 5
[Android Software Development] 1and1get2:
how did you get it working?

I have oneplus2 too, latest cm14, followed the instruction and added that two lines in build.prop files. android app updated to the 6.6 beta from play store, still no luck. google now every time
[Android Software Development] michel sedgh:
Clear all of the Google apps data, give all permissions to it and reboot.
[Android Software Development] 1and1get2:
which i did, i even tried wiping cache from the recovery, but still behaive all the same.

do i need to force close google app before clearing the data? cuz it seems more data generated right after clearing it
[Android Software Development] blaizze:
Thanks, brianelv!

Works on Nexus 5X OctOs :D
[Android Software Development] Ahmedmatter:
ok google doesn't work for me
[Android Software Development] tool46x:
am i the only one that has everything working?
[Android Software Development] bijju123:
Which device and how???
[Android Software Development] Daedulus Minion:
Can you please tell which tasker version you are on? I have been using tasker since a long time and making such autoinput tasks for everything but this time the task is just not running at all. I set the apps as device admins as well. It's just not running the task and I am unable to think of any possible reasons
[Android Software Development] drmjp93:
I'm also newbie for Tasker. You don't need to run task , just create the profile and let it stay as it is. We don't have to run anything.
[Android Software Development] Ascended3301:
yeah
[Android Software Development] rchtk:
And make sure your system language is English or German. Otherwise, no Assistant.
[Android Software Development] stanleyopar2000:
This is now happening every time at launch Google Assistant or use voice text. Any ideas why? It kills my phone radio for a second and then it comes back

Im also using the pixel dialer. The night I did this it was fine.
[Android Software Development] sjhotwings:
flash the prop zip via twrp but failed,now my phone stuck at google logo. tried to wipe / factory reset didnt' work. ..still stuck at the google logo. help ?
[Android Software Development] aouerfelli:
Anyone try updating to the latest Play Services on apkmirror and testing it again?
[Android Software Development] RobAce98:
Great! Only a question: will my Nexus 5X receive OTA updates after having modified the build.prop file? I can't understand if it will blocks updates also on Nexus devices... Thanks in advance!
[Android Software Development] Zakkwylde01:
Thank you so much. I tried everything, from dalvik cache to factory reset, from Open micro mini to Banks.

I thought OK google detection just wont work.

And here we are are with tasker, things working. Me happy.
[Android Software Development] abooooood:
Add Samsung galaxy grand prime CM14

WORKING
[Android Software Development] Skittles9823:
Ignore my stupidity, you simply need the premium version of AutoInput.

Now I also tried updating google app to the most recent beta and the trainer still appears every time. So for now everyone must simply fork out a couple of bucks if they wish to use the voice activation, otherwise just hold the home button.
[Android Software Development] NaqiKiller:
Isn't there any way to run it on marshmallow 6.0.1??
[Android Software Development] edwaine:
There's a dedicated page for that:

http://xdaforums.com/showthread.php?t=3478450
[Android Software Development] tool46x:
No OTA once anything is modified. May it be root or custom recovery.
[Android Software Development] drmjp93:
Restore the buildprop file via adb
[Android Software Development] edwaine:
You can also just flash the update zip via TWRP. Then flash modified files again.
[Android Software Development] RobAce98:
Yes, it's a good idea! I always sideload, so nothing changes! Thanks
[Android Software Development] TheSpaceManatee:
It works but everytime I use the hotword ok google it asks me to relearn my voice, after that it works fine. A little annoying, and I also realised how useless the google assistant is but this guide works great haha
[Android Software Development] TenNewt:
Not working on Moto G 2014. It installed successfully, I holded the home button, it showed me google assistant , but after I am done with the setup, it still shows Now On Tap ! Pls help to solve !!
[Android Software Development] Zakkwylde01:
No you don't need premium
[Android Software Development] chsaiteja98:
I tried it in mm in lenovo it doesnt work any suggestions
[Android Software Development] MrMiami81:
What are u supposed to see when it's done correctly? I added the build prop lines in method one. When I hold the home button I see Google assistant and my search bar has a microphones by it. Is that what I'm supposed to see or is there more to it?
[Android Software Development] sjhotwings:
how to do that ? mind giving me instruction ?
[Android Software Development] dazeone:
After build prop edit wipe Google app data then restart phone.

sent from my Modded Moto G3
[Android Software Development] chsaiteja98:
When i added in build prop and rebooted and cleaned google app data and opened this appeared but assistant doesn't appear only now on tap starts

Help here
[Android Software Development] scoutconnor1:
I flashed the zips as well as the pixel launcher. The Pixel Launcher cannot be found to be installed and my Model Number is still the N6p in settings.
[Android Software Development] MrMiami81:
I edited the lines, restarted, then cleared cache in the Google app. It worked perfectly. Thanks!
[Android Software Development] RoboJoe:
Re: Hotword detection

I am running Pure Nexus 7.0 on a Nexus 6P, and have altered/added the two lines in the Build.prop file to get Google Assistant working. I am using Action Launcher, moved to a system file for the Google Now integration. (not sure if that matters.)

I can get hotword detection to work by performing the following steps:

Goto Google Search App

Tap the Hamburger Menu and select "Settings"

Select "Voice"

Select "Languages"

Select "English (UK)" and THEN LONG PRESS IT to make it the primary language

Press "Save"

Go back to the main Google Search Settings screen (Press back)

Press "Settings" at the top

Press "Assistant Language"

A popup will appear; press "Go to language preferences"

Press "Add a language"

Select "English (United Kingdom)

Reorder the languages such that "English (United Kingdom)" is first

Reboot Phone

Setup hotword detection

You'll lose the options to select news sources and to select what is said during your "Daily" message. Telling assistant "Good morning" will still run down the time, weather, and traffic, but won't switch over to the news.

Undoing any part of the above breaks hotword detection, and redoing it brings it back.

For people with actual coding skills (aka not me):

under /data/data/com.google.android.googlequicksearchbox/files there is a folder called "en-GB" with a file "hotword.data" in it. There is noticeably NOT a folder named "en-US" with a file "hotword.data" in it. (No, making the folder and copying the file doesn't work.) It is probably a red herring, but something I noticed.

I'm interested to see if following these steps gives people hotword detection, or if it's just a fluke.
[Android Software Development] chsaiteja98:
Which dwvice are u using and i didthe same but it didnt work for me iam using lenovo k4 note
[Android Software Development] MrMiami81:
Nexus 6
[Android Software Development] chsaiteja98:
I think its only for nexus but not any other brands
[Android Software Development] Tyrany:
not working for me sadly
[Android Software Development] RoboJoe:
If you're up for trying one more thing: in addition to what I listed above, go ahead and download the "English (UK)" offline voice recognition. It didn't look like it was needed when I was playing around, but maybe because I'd already done it once, it didn't matter.
[Android Software Development] brucewayne10101:
Working perfectly on Moto G 2014 running unofficial CM14.

Flashed files as mentioned, updated Google app to the beta version from Play Store. (6.6.14.21.arm)
[Android Software Development] Chetan.xda:
i got it working on android m (6.0)

Cm 13 Nuclea rom

Device - Zuk z1
[Android Software Development] dazeone:
How?

sent from my Modded Moto G3
[Android Software Development] Tyrany:
still nothing always the training button =(
[Android Software Development] ChristiaanP:
Works perfectly on Galaxy S5! :)
[Android Software Development] jai krishna:
Pls add zuk z1 in that working list

I tested in my zuk z1

It is working pretty nice....

Google assistant is far better and pretty responsive than google now..
[Android Software Development] PeterImmel:
Did the steps yesterday on my OnePlus 2. Nothing changed. Still had the on tap thing.

But this morning the Assistant was here, even in my language (german).

(I miss fast(/without saving) screen shot sharing fron on tap :silly: )
[Android Software Development] hriship_1999:
how can I revert back to normal?
[Android Software Development] stanleyopar2000:
Should have had a TWRP backup
[Android Software Development] ghettopops:
This may be a game changer for me. Got it working on Rooted Stock 7 on my N5x. Have preordered Pixel 5 but think I may cancel and head back to Best Buy and grab the Axon 7 and save myself 3 bills.
[Android Software Development] dazeone:
Un edit your build prop and clear Google app data

sent from my Modded Moto G3
[Android Software Development] ROM eater:
Just download all three files and flash them.... The google assailant velvet.zip first....
[Android Software Development] rchtk:
The prop zip creates a backup of your prop file in the same directory where the zips were downloaded.
[Android Software Development] rockmash:
Why does "Teach the assistant to Recognize your voice" keeps Popping up again & Again

This happens when ever i say "OK google" to bring up assistant
[Android Software Development] banccalif:
Thanks but I've got assistant working but the retraining pops up. Using the Tasker and autoinput steps provided aren't working for me so I was hoping to load someone's Tasker profile instead. I'm a Tasker noob and am probably not doing it correctly
[Android Software Development] nobreak1970:
I noticed if you are using Google Now Launcher it will keep doing that. I flashed Pixel Launcher and the problem was solved.

Using CM14 on Moto X Pure.

UPDATE: this does not fix said issue. :(
[Android Software Development] Prinjal Dave:
Yes sir we want tasker profile please upload...
[Android Software Development] guskok21:
I confirm that this is working on Galaxy Nexus(!!) with method 2 in latest OMAP4 ROM. The only problem is setting OK Google that every time I say it it keeps telling me to set up the recognition of my voice even with Pixel launcher.
[Android Software Development] anoobie:
I'm not able to select "ok google" any time. Is there any way to make it work?
[Android Software Development] bechard:
Not working here on stock.

Mounted system and vendor in TWRP, flashed valet zip first, then the build prop zip. Rebooted, cleared Google App Data. Still On Tap / Now. Rebooted again, same. Wiped Google App data again, same.

Any suggestions?
[Android Software Development] nobreak1970:
Same here but it all works well. I just hit Do It later. :)
[Android Software Development] Uzuchiha:
After i set up assistant now on tap comes up on holding home button
[Android Software Development] Chetan.xda:
using N-ify

install latest n-ify xposed module

install latest google app beta

than reboot
[Android Software Development] friendofoblivious:
Same on the OPO...no change
[Android Software Development] Fupri:
I still had to add ro.product.model=Pixel XL after I flashed those files. It wasn't working so I looked in my Build.prop and saw it wasn't there.
[Android Software Development] kawibby:
Yes.
[Android Software Development] dazeone:
Works fine. Tried on the s5 running RR5.7.4 ANDROID 6.0.1

sent from my Modded Moto G3
[Android Software Development] ghettopops:
I came from Unrooted Stock N5x. Downloaded Superuser,TWRP and the 3 files. Installed TWRP through ADB, booted in to TWRP and installed SU. Cleared Cache and installed the 2 files and cleared Cache again and rebooted. Cleared data from Google App and all was good.

I have a 32 Pixel on order but honestly this was a major reason I was wanting it. Yeah dumb but it's the little stuff they sell us on. I am probably going to cancel order and go to Best Buy and grab a 64 Axon 7 for $300 cheaper. Maybe buy a new tablet with the extra dough ;)
[Android Software Development] DECEiFER:
Working on Stock Nexus 6 (NBD90Z)

It took a bit of doing but it's working with full OK Google support.

I was having issues with OK Google working and installing the OK Google Enrollment app (HotwordEnrollment.apk) did nothing to help. I couldn't get it to work outside of the launcher or when the phone was sleeping, and even when it did work, it always wanted to retain the voice model (as I've seen here, I'm not the only one with the problem), though clicking Not Now would dismiss it and bring the assistant up - but it was still an inconvenience.

What I ended up doing was just reverting my build.prop and setting up Google Now with a voice model and telling it to work across the OS and when sleeping, as you do. Then I redid the build.prop as specified in the OP (only I replaced Pixel XL with just Pixel - not sure if that was any help or not) and I cleared nothing in the Google App's data. When I rebooted, OK Google was working perfectly with the Google Assistant, even when the phone is sleeping (as per how I configured Google Now before redoing the build.prop), and it's not asking me to retrain every time it's invoked anymore.

If ever I lose the configuration, I will simply revert my build.prop again and repeat the above. Hope this helps anyone in the same situation as me.
[Android Software Development] Seion:
I've gone through the trusted voice setup a couple times now. Still saying OK Google at anytime does not work.

EDIT: not sure if there is a fix that is not as complicated as DECEiFER posted above.
[Android Software Development] G4 Man2:
Yep, I'm using a build of CM14 for my Moto X 2014 and all other values are stock besides those. Funny enough I've been running this since the system images were released and just now realized that I had assistant when I saw this thread.
[Android Software Development] AXelzero1:
Can you upload your buildprop so I can compare and see if CM has anything in their's that might change it
[Android Software Development] mykenyc:
I'm thinking maybe you have to give it time to show up. I know in a thread on Reddit a guy with a Pixel XL said Assistant just "showed up" after he restarted his phone, so i'm just going to give it a day and see what happens.
[Android Software Development] AXelzero1:
Now that I think about it, the first time I did it, I didn't have the assistant. I waited about 5-10 minutes and a restart and it was there.
[Android Software Development] G4 Man2:
Sure thing, here's the link http://pastebin.com/raw/Y4qVrw8a

I was able to remove the two google lines and now I just have

ro.product.model=Pixel

I did notice I had a few lines left over that are from the leak like

ro.opa.eligible_device=true
ro.build.system_root_image=true

which may have something to do with it (I'll try removing those). Anything else I've tested without and it still works.

EDIT: Looks like you do need the opa line or it won't work

---------- Post added at 11:48 PM ---------- Previous post was at 11:42 PM ----------

Okay, after further experimenting and finding a line I forgot I added, I'm able to delete all lines and have assistant work by just adding

ro.opa.eligible_device=true

I assume the "a" in opa stands for assistant?