yashsingh1/xdaforums huggingface dataset:
[Android Software Development] naitik102322:
i have tried both ur methods but still didnt work..... i am on rom based on android 7.0 adn my device is nexus 5.....plzz help
[Android Software Development] ardonhs:
I flash the zip files.

Now were i can find Google Assistant?

Google Now its working
[Android Software Development] :
Yes I used CF Auto Root.
[Android Software Development] YoungJediCote:
So will this work with PureNexus?
[Android Software Development] jerethi:
Thanks. I am on the latest stock ROM. I followed the steps you outlined and while I do see the Google assistant setup screen when I first long press on my home button, it eventually reverts to Google now.

Are you using the Google now launcher? I've read elsewhere that it only seems to work with that launcher.
[Android Software Development] Xdevillived666:
I made sure it worked with it yes. Did you edit build prop, wipe Google data, reboot, wait, reboot again?
[Android Software Development] specialk00:
I'm on PureNexus 7.0 and yes, it works.
[Android Software Development] YoungJediCote:
Odd. I've flashed both the build prop and the velvet zip and I'm still not getting it
[Android Software Development] Xdevillived666:
What phone? The velvet is for arm devices, not arm 64
[Android Software Development] YoungJediCote:
6p
[Android Software Development] specialk00:
Did you flash velvet first, then buildprop? Also it says in the OP that if you still get Now on Tap you have to clear Google App's data. I did this and instantly got Assistant.
[Android Software Development] maxed4901:
What if I want to update google app? Or valvet?
[Android Software Development] drawde40599:
Now on tap

My search option is not working so forgive me if this has been asked already.

The mod worked great no issues but is this feature gone now ?

Stock Nexus 6P
[Android Software Development] dazeone:
What feature is that?
[Android Software Development] inprince:
Android Pay - Problem with Device Build?

I've successfully been able to get Google Assistant working on my Nexus 6P. In my 'About Phone' tab of Settings, I can see that the phone is seen as 'Pixel' instead of 'Nexus 6P'. I'm wondering if this is affecting my ability to add cards to my Android Pay even though I have systemless root and have changed permissions of /su/bin (like mentioned in http://xdaforums.com/nexus-6p/general/android-pay-root-t3309072). I keep getting error on my Android Pay app saying,

"Android Pay can't be used: Google is unable to verify that your device or the software running on it is Android compatible"

Is anyone else, who has gotten Google Assistant working on their Nexus 6P and is still rooted, facing this issue?

UPDATE: I think it is at least partly a problem with the system thinking it's a Pixel, when the device hardware is itself a Huawei Nexus 6P. I unrooted and rebooted (still with an unlocked bootloader with custom TWRP recovery, but I doubt that's the issue). While unrooted, Android Pay app still gave the same error. So, for now at least, you either enjoy the Google Assistant on your Nexus or forgo that to have AP. I've opted for the former. I reflashed the SuperSU using TWRP recovery and am back to root for the time being. If anyone else additional thoughts, please let me know. AP is such a nice feature and it's a shame that rooted/modified phones are unable to take advantage. I'm especially surprised that even Nexus owners have the same problem, given that the initial intent of the Nexus project was to improve the Android software by open source collaboration.
[Android Software Development] drawde40599:
http://www.androidauthority.com/google-now-on-tap-select-words-696013/
[Android Software Development] p1yus:
Enabled google assistant in nexus 5 running unofficial cyanogenmod nougat by santhosh

Here are the screen shots

[MENTION=5480061]Santhosh M[/MENTION]
[MENTION=5480061]Santhosh M[/MENTION]
[Android Software Development] YoungJediCote:
[/COLOR]

Yes I flashed velvet then build prop. I just cleared data on google app, still google now.
[Android Software Development] ardonhs:
Edit, its working on Pure Nexus 7.0!

Nexus 6
[Android Software Development] dazeone:
is this what you're referring to
[Android Software Development] drawde40599:
No . That's not it . I attached a pic and a video if what I'm taking about .
[Android Software Development] dazeone:
I only see a link to Android authority
[Android Software Development] cantona911:
"OK Google" enrollment on Nexus 5?
[Android Software Development] srdjanLeo:
Your main system language has to be English (I'm not sure if it has to be US though). Also Voice search has to be set on English.

I can confirm this working on LG G3, running Nougat. Everything works except OK Google. I have to learn it every time so I just tap on Do it later. Not a big deal when compared with Google assistant. :)
[Android Software Development] jrk190:
Nexus 5X, OK google enrollment works, but OK google everywhere is greyed out...
[Android Software Development] buffal0b1ll:
110 pages of "OK Google doesn't stick" Keep em coming. This horse isn't dead yet.
[Android Software Development] jrk190:
It's just odd. Seems that some people have it working and some don't.
[Android Software Development] kangta05:
I know right. I've tried just about everything.
[Android Software Development] jrk190:
Welcome to Android modding, bud. Gain a feature, lose a feature.
[Android Software Development] Rls4ever12:
If you update Google app assistant no longer works
[Android Software Development] shinnsan:
Working on my Nexus 6 Purenexus but Facebook on Chrome doesn't allow you to upload photos. It works again after reverting.
[Android Software Development] maxed4901:
Use suhide to hide your root
[Android Software Development] Sumaech:
No worky

not working on Nexus 5x it did nothing

Edit: it did change the build prop and the app but assistant does not work
[Android Software Development] sjavvaji:
another person with the okay google doesn't stick despite trying the method that reverted to google now and back. CrDroid LS990
[Android Software Development] ert69:
Yeah its gone. I reverted back to google now as it is more useful. I can read the news, i can see all my cards and i can select text and copy from images and places that dont allow copying. Plus, i dont like using voice anyway. Imagine giving commands to ur phone in the bus, at school or at work.. thats just dumb.
[Android Software Development] drawde40599:
Screen shots

I attached 2 screens
[Android Software Development] drawde40599:
I really like assistant but taking away some of the other new features from now on tap is crazy
[Android Software Development] Paxy:
Oh, Google Assistant stops working this morning on 6P. Only Google Now is loading on "OK Google" command.
[Android Software Development] NLBeev:
I got GA working on my Nexus 6,

But it's useless. GA only supports two languages - English and German.
[Android Software Development] dirlan2001:
Google assistant is working on LG G Pad 8.3 with AOSP Nougat from here : http://xdaforums.com/lg-g-pad-83/development/rom-android-7-0-nougat-20161008-r16-t3476750

Only hick'up was/is native language is changed in US. Waiting for NL_BE (flemish) to be recognized.... And 1 question remains : how does this get updated, as it doesn't show in drawer or PlayStore...

Cheers
[Android Software Development] Ferrari1976:
Clear Google App data, it works!!
[Android Software Development] Sumaech:
I did do that... no luck, still have on tap and stuff.

---------- Post added at 01:32 PM ---------- Previous post was at 01:25 PM ----------

Got it to work, I reflashed the zip and cleared the data and it worked this time.
[Android Software Development] RLBL:
Interesting. I still have access to everything (but I use nova launcher and I have things assigned to gestures and the nova launcher has the search so I do not have to use voice). I can also copy images and places...

I will admit, the news stories in my cards seem to be lacking
[Android Software Development] swa100:
So, are people still getting unlimited Google photo storage? I still don't have it while Google assistant works. Any way to trigger this?
[Android Software Development] moosc:
Will this work using nova launcher?
[Android Software Development] rajarshi.banerjee00:
My voice is not recognized.... I have to set it up over and over again
[Android Software Development] Pizzuto:
This works for me!
[Android Software Development] SixFourSix:
Method 2 from OP worked perfectly for me (6P on Pure Nexus 7.0 from 10th of Oct)

I don't know if all these steps are necessary, but this is how I did it:

1. Uninstall any updates for Google App.

2. TWRP: install velvet.zip followed by buildprop.zip. And have tweak.prop file in the same folder as the buildprop.zip.

3. After booting up, wipe Google App app-data.

4. Long press home for the Assistant.
[Android Software Development] hanschke:
dont work with cm14 on my nexus 6p :crying:
[Android Software Development] chykal:
Nobody has it working fully on the Nexus 5. I do wonder if anyone is working on a solution.
[Android Software Development] Prey521:
Yes, works fine on Nova.
[Android Software Development] larrougos:
This method works for enabling google assistant 100% but as many times i tried in the end it always asking me to train again "ok google"..Any ideas about that??
[Android Software Development] debasish.patra:
It searches but looks like it is not functioning as in pixel. Screen search is ignored in this ported assistant :rolleyes: can anyone else confirm this ?
[Android Software Development] jaibar:
As far I can tell, it doesn't appear to be grabbing anything from screen.

For me (n5 w/Bokrom) it seems to always open with microphone listening, and ignores screen context. Also, I couldn't find a way to change to keyboard input, so it's always voice input only.
[Android Software Development] swa100:
It's working here. When you long press home when you're on, for instance, a Google image result page, it will open assistant and at the bottom you'll notice a bouncing well.. box or something. Swipe that up and you'll have your results!

By the way, how's Google photo's working for you? Do you have unlimited storage because you have a "pixel"?
[Android Software Development] saiwala:
[MENTION=5968460]brianelv[/MENTION]

LegendROM, not legendary :o
[Android Software Development] sjavvaji:
tasker and autoinput workaround is fantastic. thanks
[Android Software Development] Shady282:
I thought of downgrading the google app.. then train the google voice search, the update the google app from the store maybe that way it will retain the voice model.. but i didn't know how to downgrade it .. i used titanium backup to uninstall it but it didn't uninstall.. any thought if that might work or how to ? maybe we can find the saved voice model of voice research and then restore it in the assistant ?
[Android Software Development] Myrrhman:
Sorry, wrong thread
[Android Software Development] shadowkay:
Does this work on PN?
[Android Software Development] Pixcop:
really cool
[Android Software Development] ZaKaRia OuH:
guys it's obvious there will be no workaround for ''ok google detection'' for Some custom Roms except Tasker.

It works only in stock nougat builds.

many guys here confirmed that the hot word and GA generally worked properly after they reverted to stock N.

it's obviously obvious :)
[Android Software Development] chykal:
Is it "obviously obvious" on the Nexus 5? I haven't heard anyone say that it works yet. I would try it if someone can confirm. Maybe I'll try it this weekend and report back if someone doesn't report before that.

---------- Post added at 07:06 PM ---------- Previous post was at 07:03 PM ----------

You can downgrade by using the Play Store app to uninstall Google app. It will then ask if you want to uninstall all updates to the Android system app.
[Android Software Development] brianelv:
The Nexus 5 doesn't have a stock Nougat ROM.
[Android Software Development] chykal:
I was mistaking Nougat AOSP for stock. Obviously you are correct.
[Android Software Development] brianelv:
On AOSP the voice recognition won't work. Looks like Google uses some closed-source libs.
[Android Software Development] troc240:
Is there any way to keep the voice model trained? Every time I say ok Google it takes me back to retrain the voice model
[Android Software Development] thomasswan5547:
Hey thanks for the response, i tried using auto voice, however i couldn't get it to work on my device, I'm probably doing it wrong. Would you mind telling me your tasker setup, or sharing your tasker profile?

Thanks a bunch Thomas :)
[Android Software Development] namquang93:
I usually get no internet connection when using it. Is there anyway to fix this ?
[Android Software Development] Supernova_6969:
works, but how do you uninstall it?

hi!

I have a nexus 5 with Nitrogen OS. got the GA installed using the 3 zip install from recovery. when I booted, ok google still gave me google now, but when I long pressed the home button, it kick started the assistant, and now that's the default.

except I get the "train the ok google" thing every time I say ok google. I find that annoying. I want to remove the assistant and go back to having my phone think it's a nexus 5. how do I do that.. do I have to re-flash my ROM or can I uninstall something, or delete some file, or flash a new file that reverts everything back?

thanks.

--edit: ok, i figured I could uninstall the assistant by going into recovery and re-flashing the gapps (which is a pain cause you have to update all of the gapps, and reinstall google now launcher, but it works). however, I'm still stuck with my phone thinking it's a pixel..

--re-edit: I figured out that if you open the tweak.prop with notepad (fromt he computer, not the one in the phone, or else the data appears all jumbled up), change the words pixel to nexus 5, then copy the new tweak.prop to the phone, reboot in recovery, then flash GoogleAssistantBuildProp.zip, it'll just revert your phone to whatever name you put in the tweak.prop file. sorry if this is easy for many people, it's new to me...
[Android Software Development] Shady282:
downgrading through the app store would only downgrade to a google app where the assistant would still work.. i want to downgrade to disable assistant so i can just access the old voice search so i can train my voice with the voice search and then update to the google app that supports the assistant.
[Android Software Development] Oscar Springtime:
Works - but lacks settings

Hi,

I use a 6p with stock nougat. And had no issues at all to install the assistant with method one (just the two changes in build.prop, nothing else).

However for the first two days the assistant's seetings were incomplete (no myday setting etc.), and for whatever reason that I cant comprehend - the settigns for my day, news and notes just popped up a moment ago (without me doing anything to it).

However it still doesnt really execute them properly.

Examples:

- Asking for my day, will tell me about the weather in Brussels (it usually sucks and rains) and it will open the news that I chose. However it wont tell me about my commute or (more importantly) about my next meeting.

- Asking for "What do I have today", will however right away show me my agenda of the day.

Integration to apps is also still working not as expected:

- asking to take a photo, will open the photo app, but not take one

- asking to show photos, will tell me that there are none in my google photo app

- it will open whatsapp but not sent a message in whatsapp

- it will open spotify but not play somethign on spotify

- the whole streaming music to your connected devices also doesnt work for me

- but it does tell you good jokes!

Any of you have similar experiences so far?

Thanks,

OS
[Android Software Development] piotrus22:
Remove the build.prop edits and will go back to normal
[Android Software Development] thirteen_20:
I'm having to retrain my voice for "ok google" everytime I say it. What can I do to fix this? Or how do I revert back to using Google Now? Nexus 6 running official Android 7, rooted with twrp.
[Android Software Development] Prey521:
There is no fix for that at the moment. Undo the changes to build prop and wipe the Data/Cache in the Google App to go back to the regular Google Now.
[Android Software Development] thirteen_20:
Is there a way to edit the build.prop from the device?
[Android Software Development] Prey521:
Yes, just use an app like Root Explorer to open it as a text document. If you flashed the zip files, it would have created a backup of your original build prop, so just restore that back to the System folder.
[Android Software Development] sebasGST:
I need help to place lines of text in build.prop please
[Android Software Development] thirteen_20:
i simply moved the backup to the system partition and deleted the tweaked build prop, then renamed the backup to build.prop

now i rebooted, and im stuck at the google screen. what now?
[Android Software Development] Prey521:
Retraining your voice in the old Google Voice Search will not fix the issue when you upgrade to the new one. You will still get prompted to retrain every time you "OK Google" in the new assistant.
[Android Software Development] thirteen_20:
i guess i'm going to reflash the stock Nougat again. still stuck at google screen after restoring the buildprop backup.
[Android Software Development] roofrider:
My feeling exactly . I miss being able to select text and search. The new assistant barely picks up the text I want. Guess I'll be reverting to Google Now.
[Android Software Development] thirteen_20:
just reflashed stock image using nexus root toolkit, no wipe mode. quickest way to return to normal.
[Android Software Development] tommy255:
Did anyone ever fix the bug where the voice setup comes up every time you say ok google?
[Android Software Development] thirteen_20:
i haven't seen a comment about it yet. been monitoring this thread all morning...

---------- Post added at 12:03 PM ---------- Previous post was at 12:00 PM ----------

try looking at comment number 647
[Android Software Development] bdwilk:
Hey everybody here's a quick tip for you. Read at least the last 3 pages before asking the same questions over and over and over. That goes for whatever thread you're in. Don't be lazy and try to find answers on your own so you can help out other people. Good talk. Carry on. :rolleyes:
[Android Software Development] tommy255:
Thank you very much, trying this now :)
[Android Software Development] NLBeev:
Adding or changing files in the system partition of Nougat may cause bootloop.

When TWRP-recovery is installed you can try to remove unused system apps etc. . To make some more free space.

Then try to boot again.
[Android Software Development] thirteen_20:
well, i reflashed the stock image and rooted using the "no wipe" method in nexus root toolkit. i'm good now.
[Android Software Development] ZaKaRia OuH:
hey.

i'm wondering if reflashing stock image using NRT and no wipe mode, does that wipe your internal storage ?
[Android Software Development] thirteen_20:
no sir. not that ive noticed, but you WILL need to root again
[Android Software Development] ZaKaRia OuH:
i know that i will need to re-root again.

i'm just wondering if that method ( restore stock with no wipe mode ticked) will it wipe my internal storage ?

since i'm not able to copy my files to my pc i have a problem with data transfer in my pc.
[Android Software Development] thirteen_20:
confirmed, it DOES NOT wipe storage.
[Android Software Development] vinura kithmal:
Wiped data

But still google assistant not appearing :(

(SGS5 running unofficial cm14)
[Android Software Development] GatorsUF:
I have tried this mod a few times when I was running Pure Nexus and I couldn't get it to work with the OK Google command. I am now running stock android N, will this mod work on the stock images? I currently have google now working great, but I would like the assistant if I know it will work as well.
[Android Software Development] no6969el:
https://play.google.com/store/apps/details?id=com.trivisionzero.getassistant#details-reviews

This app made it much easier to do , undo then re do again.
[Android Software Development] Prey521:
We should sticky this at the top of this thread.....

"OK Google" voice detection does not work yet.
[Android Software Development] piotrus22:
+1 lol
[Android Software Development] GreyCelt:
This app isn't gonna last long on the Google PlayStore. Get it while you can kids!
[Android Software Development] GatorsUF:
Granted you were replying to my post, I agree with you.

I always look at the OP when looking to install a mod or rom. Many times it lists the "known bugs", this one does not. Obviously that is an extra bit of work for the OP to do so it cannot be expected, but it certainly helps cut down on repeat questions.
[Android Software Development] RagedElimanator:
Um well I went to the build.prop today and noticed a new line of code I know I didn't write. It goes like

"persist.service.lgospd.enable=0

persist.service.pcsync.enable=0

touch.pressure.scale=0.001

ro.min.fling_velocity=8000

ro.min.fling_velocity=8000"

It appears right after the code the OP told to enter and appeared just today. I'm guessing the Google App wrote it and looks like it is supposed to build.prop code for the quick shortcuts first seen on the Pixel and Pixel XL phones.
[Android Software Development] buffal0b1ll:
Already gone
[Android Software Development] Rls4ever12:
I grabbed it but don't even need it. Still on du 10.6 using Xposed module so I would suggest looking for it on zippyshare.

http://www63.zippyshare.com/v/9J5IP3c9/file.html
[Android Software Development] :
You're a boss. Thank you
[Android Software Development] Rls4ever12:
No problem
[Android Software Development] AchillesTheGod:
I'm on the 7.1 beta Nexus 6P. And modifying the build prop caused the Nexus 6P to stay stuck at the boot screen. Anyone else?

Edit. It worked just fine on 7.0.
[Android Software Development] kibmikey1:
The edit worked on 7.1.1 beta, but I had to retrain the OK Google voice prompt 3 times to get it to stick. It was stuck in the off position in settings after I enabled assistant, but everything is working smooth now.
[Android Software Development] zeezz:
Yes, I got stuck there... reflashed the OTA to go back to stock-ish. Not sure why it didn't work.
[Android Software Development] NLBeev:
Maybe Get Assistant is still in the cache. Open it in a browser.

https://play.google.com/store/apps/details?id=com.trivisionzero.getassistant#details-reviews
[Android Software Development] Oscar Springtime:
Will updating to beta change smithing significantly? Currently on nougat and the assistant runs OK ish.
[Android Software Development] edwaine:
That navbar....
[Android Software Development] AXelzero1:
Other than the navbar, i'm not sure what else is new.
[Android Software Development] Yasharkhan:
Is your Google assistant opening from on screen when you say ok Google or do you have to tap the home button to bring it up? Mine is working fine except it doesn't launch with ok Google command
[Android Software Development] AXelzero1:
Mine took a lot of work to get ok Google to work. I got it to work by reverting the build prop to stock, rebooting, uninstalling Google app updates from the playstore, setting up ok Google commands there, changing build prop, wiping cache/dalvik from twrp, rebooting, updating Google, and the Google assistant should show up and you should be able to turn on ok Google and it should work.
[Android Software Development] edwaine:
Did you try to go to the Google Assistant Settings>Voice or Google Assistant Settings>Ok Google Detection and get a Force Crash?
[Android Software Development] PunkOz:
[GUIDE] [UPDATED] How to enable Google Assistant on your phone (Android 7.0+ only)

Edit: I made it work in landscape mode too by using "Set orientation" app from the Play Store, I decided to use it in landscape mode because I have a keyboard attached to my Galaxy Tab S 10.5 and it only works in portrait without this app.
[Android Software Development] quaman:
What did you do to get it running?