yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Themes and Apps] manup456:
What are we talking about?
[Nexus 6P Themes and Apps] PabloCruzIII:
Getting Google Assistant to work properly. I have it installed and working/sort of. Every time I give the "ok google" command I'm prompted to setup Google Assistant again unless I hit the dismiss button, once I've dismissed the setup I can communicate with Assistant but after I close it and use the phone normally then say "ok google" again I'm asked to setup.
[Nexus 6P Themes and Apps] Vatumb:
Enabled on Oneplus 3 Android 6.0.1

[YOUTUBE]xrQb9h5_5CI[/YOUTUBE]
[Nexus 6P Themes and Apps] bobbarker2:
Figured that's what you meant. Followed your steps exactly and Google assistant comes instead of Now, setup voice recognition and everything looks okay but now it doesn't respond to Okay Google at all. End up with a screen like this. If I try to talk with the first option it immediately goes back to off. What is your setup? I'm on pure Nexus with their G apps the latest SuperSU and hide SU. Also installed the GUI for hide hide SU and left it at its default settings. Also tried adding Google app and OK enrollment to The Blacklist I rebooted and still nothing. No other modifications have been made. I'll try using pixel XL in build.prop instead of pixel butt I'm doubtful that will make a difference.

Did you do anything with trusted voice? Occasionally I'll get the Google app hang for a bit or restart completely when it comes to verify my fingerprint or pattern.

I'm at a loss at why so many people seem to have this down with 100% functionality and I tried just about every approach suggested.

I've also dirty and clean flashed the system partition just to make sure that nothing was modified accidentally and my device passes the safety net helper test.

Could the SuperSU hide GUI be interfering I wonder? I've looked at the logcat and seen all types of errors.

And here's the logcat showing all the errors

http://pastebin.com/S4dRwYMk
[Nexus 6P Themes and Apps] arts711:
Nothing is effect

I was hoping someeone could shed some light on this, I've been trying for the past 4 hours editing the build.prop by booting into twrp (i'm non rooted and stock). it seems that the build.prop is sucessfully changed but when I restart the system, it still shows the phone model as 6P and not pixel. Consequently, i've tried wiping google app data, cache, art cache, etc in various combinations without any success in getting G.assistant activated. What am I doing wrong? Is it not possible to do this without root?

This did not work on g.app v 6.5 or 6.6.

Thanks in advanced.
[Nexus 6P Themes and Apps] katinatez:
Since my last post running saosp-n Oct 11 release, I have switched to uberrom self compiled rom on Oct 12 and followed the same steps I posted earlier, except I had to enter twrp twice to wipe cache and dalvik, and upon boot I pressed the home button and Google Assistant came up.

Running SuperSu only suhide keeps phone in bootloop, and this commit caught my interest here. So Thats two roms Google Assistant worked for me in less than 15 minutes.

https://github.com/UBERROMS/vendor_huawei/commit/771c6b1f53fb6ce4ef708168ee73aa1dcb59911f

Good luck

Edit: Running Google App 6.5.35.21

Also backed up the apk in Titanium in case there is an update that breaks this mod
[Nexus 6P Themes and Apps] SuperPenguinnx:
Checked my build and it is NRD90U will that affect the outcome of this mod and also do I need root to perform this mod?
[Nexus 6P Themes and Apps] frantic912:
work on latest Benzo Rom, Nova or google now launcher

"OK Google" also work

just edit built.prop
[Nexus 6P Themes and Apps] gordo_c_123:
Is there a way to get the Google Assistant on a Nexus 6P without rooting your phone? If so, is there a chance someone is working on an apk download that doesn't require your device to be rooted? Thanks!
[Nexus 6P Themes and Apps] Constrabus:
Always on and OK google detection aren't working in AOSP roms currently.
[Nexus 6P Themes and Apps] bobbarker2:
Not true, plenty of people have gotten to working in AOSP based ROMs.. PN, SAOSP, Uberrom..

Like, read directly above you, there are several posts of people running AOSP ROMs with assistant 100% working
[Nexus 6P Themes and Apps] manup456:
He is correct it's a known issue with aosp roms at the moment.
[Nexus 6P Themes and Apps] bobbarker2:
...So how are benzorom, SAOSP, Uberrom users reporting otherwise? Literally 4 posts before the one you just made.

[MENTION=3814731]katinatez[/MENTION] tested it on two AOSP ROMs and it worked.

Also katinatez thanks for the edit, it gives me something to look into. Interesting you tested with a slightly older version of Google app, maybe they put in more checks for 6 6.

If you have time to take a look at my logcat and give input, I'd appreciate that. It shows me training my voice and it's saving it but then something kicks in and it deletes the model and returns with error - 22 whenever it tries to do voice recognition. There's even a line in there that says something like "not allowed". I filtered the logcat on the word "voice" which is probably too narrow. I'll do a more comprehensive one today.

I've done some cursory research and haven't been able to find that error code documented. But it was just some quick Googling.

Also OP, how did you come by these build.prop changes? Reversed the Google app? I ask out of curiosity and it could help point me in a direction to look fot what google is checking for besides what we already know of.
[Nexus 6P Themes and Apps] jhlinka86:
I haven't been able to get method #2 to work. I'm non-rooted but have an unlocked bootloader. I flashed the zip files via TWRP using Nexus Root Toolkit, then wipes cache/dalvik & Google App data. I checked the build.prop file by pulling it via the Nexus Root Toolkit and have 'ro.opa.eligible_device=true' and 'ro.product.model=Pixel'. I checked this separately after I rebooted from flashing the zip files. I'd rather not root because I want to keep AndroidPay - does any one have any suggestions?

Edit: I'm running NBD90X
[Nexus 6P Themes and Apps] mitchellcairns:
You need root or a custom kernel to do this; extra security measures in Android N require it. You may be able to use suhide to use Android Pay after rooting but I'm not sure.
[Nexus 6P Themes and Apps] Citizen_Snips:
Not after yesterdays update to SafetyNet. Chainfire will need to update suhide again.. If he chooses to.
[Nexus 6P Themes and Apps] justein:
Assistant working but OK google hotword not working

OK Google is grayed out in Google app settings, attempting to flick it on results in the switch rapidly going back to the off position. Works the first time I turn my phone on and asks me to set it up but after setup the hotword does not do anything. On Pure Nexus nougat, edited build.prop with the two edits in OP and flashed Pixel Launcher. Steps to get the hotword working would be much appreciated.
[Nexus 6P Themes and Apps] manup456:
This is a problem with aosp trust when I tell you this because people want to hear it's working by a few people and go off that when 10x as many say it doesn't work.
[Nexus 6P Themes and Apps] eRajesh:
I get an Error 1 while flashing the build.prop file in TWRP. Any help?
[Nexus 6P Themes and Apps] rchtk:
http://m.tech.firstpost.com/news-an...id-marshmallow-and-nougat-devices-340646.html
[Nexus 6P Themes and Apps] ctrekd:
I assume you mean the zip file and not the build.prop file itself.

I ran into that Error 1 too but I realized I never setup google on tap (long hold home.) After I ran it and tried flashing it worked. Fail on my end lol
[Nexus 6P Themes and Apps] rchtk:
Sorry if that was nonsense. Rather than pointing to a link or zipfiles I wanted to explain the root cause of your problem.

Google has tighten up a lot the security in N for our safety. They also have big bucks banks who want to make certain no malware gets installed while their banking apps are running.

Yes information is rather hard to find on XDA, it's now become more a place to discuss ROM and apps. And as you said you often get contradicting information for complicated aspects like the one you ran into (from what I understand rooting was not required but.. on MM but that changed).

It's up to everyone to decide if they want to sacrifice AP for root and GA.. I personally have a need for root but neither AP nor GA. Nowadays ROM on nexus are so good that most people just stay stock.

Blue pill, it looks like you might still be able to use your banking app by using further tricks (suhide still OK for AP but not anymore for PoGo). You'll need time patience and reading and it might break from one week to the other.

It's a cat and mouse game and the mouse will be eaten at some point due to Android Pay security requirements.

Red pill, you should be able to revert root and get back AP without loosing anything (well GA..) You could even flash again factory recovery and have further OTAs being automatically installed.

Don't get too disappointed, it's a freaking phone after all :)

Cheers
[Nexus 6P Themes and Apps] mbl1979:
So I flashed the zips, just like when I was on pure Nexus ROM. I still have the older Google on tap, don't see the Google assistant. It worked perfectly on PN ROM. I have cleared catch and data for Google as well. I'm assuming it's ROM related. Any one else have it working on Benzo's newest build?

Edit, build prop is showing the right changes. at least I have it working on my backup of PN.
[Nexus 6P Themes and Apps] Prey521:
Manually edited Build Prop and it's working like a charm! I'm on Octo N ROM with Flash kernel.
[Nexus 6P Themes and Apps] ryan1977:
This was really simple to do. I went in to the build prop with root explorer, changed the device name to pixel xl, and added the opa line to the build prop, and it started working perfectly after reboot. Didn't have to do anything else at all
[Nexus 6P Themes and Apps] bobbarker2:
Yeeeaaah I'll take a developer likie katinatez's experience and detailed post describing how it worked for him on two different AOSP ROMs over "trusting you".

[MENTION=5968460]brianelv[/MENTION] how did you come by the build.prop changes? I'd like to know so I can further investigate and try and make a more universal/stable way to get Assistant working.
[Nexus 6P Themes and Apps] brianelv:
Looking for libraries and decompiling the framework and apps of the dump like crazy, looking for the code of Google Assistant. When I saw on the SystemUI code the call of a method to return the Intent of an Assistant installed on the device, I supposed that it wasn't deeply implemented on the ROM, maybe inside Velvet. So I found the code of Google Assistant on Velvet, modified it, compiled and signed. But Android checks the signature of the system apps, so to make things easy I just modified the build.prop.
[Nexus 6P Themes and Apps] bobbarker2:
Thanks, so you traced back to the source and saw it was just Velvet responsible for the Google Assistant/Google Now check, decompiled it and found the props it checks for. If you look back a couple posts you'll see a logcat of mine where Google Assistant is working but Voice Recognition is completely non-functional. There's more interaction with Velvet and the system though, I posted this logcat a few pages back http://pastebin.com/S4dRwYMk

the important parts:

D/02:11:02.077 SoundTriggerHelper( 3128)
Sound model loaded with handle:4
E/02:11:01.991 SoundTriggerHelper( 3128)
No model exists for given keyphrase Id.
W/02:10:35.485 SoundTriggerHelper( 3128)
startRecognition failed with -22
W/02:10:30.470 SoundTriggerHelper( 3128)
startRecognition failed with -22
W/02:10:25.701 SoundTriggerHelper( 3128)
startRecognition requested but not allowed.

Then the same thing except Sound model loaded with handle:3 and then Sound model loaded with handle:2. The activity taking place is training assistant for my voice. Time to dive into more google code.
[Nexus 6P Themes and Apps] suprithh18:
I tried Google Assistant by flashing the given files with TWRP. Now the Google app is stopping continuously. Any solution?
[Nexus 6P Themes and Apps] manup456:
Try going into recovery and clear cache and dalvik cache
[Nexus 6P Themes and Apps] suprithh18:
Thank you [MENTION=1407738]manup456[/MENTION] . And Yes I tried it. But, It is still crashing (Nexus 6).
[Nexus 6P Themes and Apps] brianelv:
Avoid using the ZIP. Restore your system partition (or the Velvet apk) and edit the build.prop manually.
[Nexus 6P Themes and Apps] suprithh18:
Sure, Thank you. I tried to change it manually with root browser application and it is saying that operation failed. So, Can you suggest me any other application to edit build.prop manually?
[Nexus 6P Themes and Apps] mbl1979:
Anyone else having issues with not being able to use voice with Google assistant? It says English isn't a supported language lol.
[Nexus 6P Themes and Apps] brianelv:
Two ways to do it:

1. Download a Terminal and run:

$ su

# mount -o rw,remount /system

Then try modifying the build.prop again.

2. Boot on TWRP, mount system, open Terminal, run "vi /system/build.prop", edit the file, save, reboot.
[Nexus 6P Themes and Apps] jUsT2eXy:
Hi all. Sorry to bump my message. I'm still having this problem.

Any solutions? Is anyone else seeing You're offline' within assistant? It all works fine but its weird that I receive the message.
[Nexus 6P Themes and Apps] rchtk:
Can you try without VPN?
[Nexus 6P Themes and Apps] jUsT2eXy:
Hey buddy. I tried that and I still get the same message (see attached picture).
[Nexus 6P Themes and Apps] suprithh18:
I tried to change manually with ES File Explorer after root. It worked perfectly. Thank you
[Nexus 6P Themes and Apps] eRajesh:
No, I get that error while flashing the build.prop.
[Nexus 6P Themes and Apps] dratsablive:
Trying to accomplish without root, but it appears any changes made to build.prop get overwritten on boot. What I did.

Flashed TWRP

Mounted System

pushed modified build.prop with changes

adb shell

chmod 644 /system/build.prop

cat /system/build.prop (To verify changes.)

On boot the changes are gone.
[Nexus 6P Themes and Apps] jaben2:
I was having same problem. Only way I could get it to stay was having su installed.

I don't think it works unless rooted.
[Nexus 6P Themes and Apps] dratsablive:
What's bizarre is if I flash TWRP then check build.prop through terminal it has the changes. But when I reboot phone and check through adb shell then cat /system/build.prop changes gone.

But changes are there any time I check through TWRP
[Nexus 6P Themes and Apps] david279:
Gotta root for the changes to take effect

Sent from my Nexus 6P
[Nexus 6P Themes and Apps] r3ix:
What s the Best way to have Google assistance? I prefer flashing but there are 3 files there... What should i flash? I am on pure nexus 7.0

Enviado do meu Nexus 6P através de Tapatalk
[Nexus 6P Themes and Apps] popper668:
read the 1st post, it has a couple options
[Nexus 6P Themes and Apps] ExceterM:
I read someone briefly mentioned this issue but I saw no solutions so maybe it was glossed over. If it's been asked and solved and I missed it, I apologize but I seemed to have gotten it to install and work, but any time you trigger the Ok Google voice activation, it keeps bringing me to the Google Assistant Train Voice Command window prompt? I have to hit the "Not Now" to dismiss the prompt before Google Assistant activates. I tried turning off and on the Google app, in search and assistant, the "Ok Google" voice settings, deleted and retrained voice model, but it keeps going back to the Google Assistant Train Voice prompt. Anyone encounter this and found a solution?

Phone info:

Nexus 6, running on Nougat 7.0 Build NBD90Z, Google App version 6.6.16.21.arm.
[Nexus 6P Themes and Apps] Prey521:
No fix for it yet. Just don't use the OK Google trigger for now.
[Nexus 6P Themes and Apps] ExceterM:
Damn... Well, does anyone use Nova Launcher? I'm trying to program the double tap gesture to activate Google Assistant but can't seem to find the Google App activity to trigger it. I find it quicker than the Home long press trigger.
[Nexus 6P Themes and Apps] eric082684:
Anyone having trouble with Snapchat after doing this? When I try to login, after putting my password in its says verifying device and fails. Been this way every since I flash to two files
[Nexus 6P Themes and Apps] weirdingway:
[delete]
[Nexus 6P Themes and Apps] Guessphx:
Do I have to be on stock nougat or can I be on a custom nougat rom to use the mod?
[Nexus 6P Themes and Apps] ViperXvenom8888:
Are you rooted?
[Nexus 6P Themes and Apps] Citizen_Snips:
That's because of root, not Assistant. Snapchat detects root, that's why you can't login.
[Nexus 6P Themes and Apps] eric082684:
Yes I'm rooted been rooted for the last 6 months and it's worked fine
[Nexus 6P Themes and Apps] ViperXvenom8888:
Open SuperSU, choose full unroot, login to Snapchat, flash SuperSU through TWRP, profit. :laugh:
[Nexus 6P Themes and Apps] rchtk:
Twrp's kernel has dm-verity disabled while your ROM (or stock) has it enabled. Dm-verity detects and patches modified block on the system partition. So what you see from the rom is not the same as what is on the emmc..

---------- Post added at 00:46 ---------- Previous post was at 00:44 ----------

Or install a kernel with dm-verity disabled
[Nexus 6P Themes and Apps] Citizen_Snips:
It works fine once you're logged in, but if you log out with root, you can't log back in. Been like that for a while now. Been flashing pre rooted ROMs and it's been something I've had to deal with every time. Only login is a problem.
[Nexus 6P Themes and Apps] jesssiii:
Does that twrp edit work if you're not rooted?

Nexus 6P
[Nexus 6P Themes and Apps] mazz0310:
The first method would not work without root.

The second method would work.

-Reminder : when using vi. "i" is to insert (so you can type). "esc" exits "insert mode", and the typing ":" "w" "q" "return" would save/quit vi
[Nexus 6P Themes and Apps] GroovyGeek:
Google really screwed this up. Google assistant installs effectively effectively on top of Google Search, taking over the home button shortcut. A d takes the way the opportunity to interact with Google search via the keyboard. Thanks but no thanks, only weirdos talk to their phone in public.
[Nexus 6P Themes and Apps] efee123:
Hi,

I'm with 6P and I tried to flash both of the files and at another time manually change build.prop (with/without delete app data or remove it).

I'm on NBD90X with root.

Am I missing something?
[Nexus 6P Themes and Apps] gordo_c_123:
Can anyone confirm if doing this before the 7.1 developer preview will screw up your phone? Any thoughts or recommendations?
[Nexus 6P Themes and Apps] Tower1972:
I rooted my 6p last night, manually added the information in the build.prop (after making a backup of course), cleared out all the data for the Google app, rebooted, and it worked fine. It doesnt seem like you missed anything. Is your phone showing as the Pixel XL in the about section in settings?
[Nexus 6P Themes and Apps] efee123:
Yes, and the version of Google app is the latest beta. I'm thinking I'll just give up on this.

Thanks anyway.
[Nexus 6P Themes and Apps] Mikey:
How did Google screw this up? Lol
[Nexus 6P Themes and Apps] HooeyBooey:
Has anyone had any success getting assistant to read text messages? I was able to do it with Google Now, but the Assistant now tells me "I can't read text messages yet."
[Nexus 6P Themes and Apps] Citizen_Snips:
I'd imagine that if assistant is telling you it is a feature that is not available yet, no one else would have any luck either. Guess it just needs to be updated.
[Nexus 6P Themes and Apps] HooeyBooey:
I appreciate you taking the time to answer my question, however the question was intended to have someone with the new Assistant attempt the same action to see if they too would have the same result. If they did then it would confirm that you are in fact correct and it is not available yet; if they were successful it would indicate that the feature is available and I have in fact missed something.
[Nexus 6P Themes and Apps] Citizen_Snips:
OK to humor you I tried. Sorry, I can't read text messages yet. Pretty straightforward..
[Nexus 6P Themes and Apps] GroovyGeek:
By not allowing me to choose when to launch Now vs Assistant and not allowing me to interact with assistant via the keyboard. If you want to ALWAYS talk to your phone be my guest, I find that weird at best.
[Nexus 6P Themes and Apps] tweeny80:
This may come as a surprise to some of you -

Once you're on the Assistant screen ... Swipe-up from the bottom ---> It reveals the Google Now options.
[Nexus 6P Themes and Apps] AndroidPurity:
I would like to have Google Assistant built in. But to me its not worth the potential issues of changing the phone model. I can wait. But thanks for this! Options are always great!
[Nexus 6P Themes and Apps] bhavstech:
Yeah it works but hotword detection doesn't work for me
[Nexus 6P Themes and Apps] Citizen_Snips:
Doesn't for me. Swiping up from the bottom does absolutely nothing. Swiping up from the top of the assistant makes the assistant page full screen, but nothing else shows up. Even swiping up again when full screen, nothing.
[Nexus 6P Themes and Apps] tweeny80:
Here is what I get when swiping up from the bottom
[Nexus 6P Themes and Apps] Citizen_Snips:
OK I see. I was trying from the home screen. Nothing there. You need to do it from a screen with some info on it. I just tried in the Battlefield 4 Intel app and it popped up for BF4 and PS4. Cool, thanks!
[Nexus 6P Themes and Apps] tweeny80:
To get Assistant working, I added the two lines to my build prop. I got Assistant working. Then I had a few issues with other apps (Immediate FC). Hmm

Then I changed my model back to Nexus 6p from Pixel and left intact the other line.... Assistant still works after multiple reboots!
[Nexus 6P Themes and Apps] Citizen_Snips:
I see this post is only an hour old. I did the same thing twice. Took about 2-3 hours but it reverted back (no reboot, just stopped working). Expect it to stop and switch back to Now on Tap if you don't leave it set to Pixel(XL). I think once Google servers sync up and show it as 6P again it removes assistant. It isn't immediate and I don't think reboots matter (i.e. it doesn't force a sync with Google).
[Nexus 6P Themes and Apps] GroovyGeek:
You had me hoping there for a second that there is a convenient way to call up plain old Google search from within this abomination. Alas no, so it will remain disabled on my 6P for as long as Google chooses to force voice interaction down my throat.
[Nexus 6P Themes and Apps] jesssiii:
I was hoping the same. But using the pixel launcher and swiping ? I get the regular Google Now page.

If you hate the assistant, why not just go back to being 6P, why disable it instead? Just wondering.
[Nexus 6P Themes and Apps] skw5115:
You could also just use the Google search bar. Thats what I do when I don't want to talk to it. Not a big deal to me. To each his own though I suppose.
[Nexus 6P Themes and Apps] sjandroiddeveloper:
Are you guys able to get assistant to read emails on gmail ?

When I ask it, it says it can't read emails yet

Another thing it doesn't show me my photos , it says can't find photos ( I haven't backed up and synced photos on photos app , is this the reason )
[Nexus 6P Themes and Apps] DimICE:
Same for me.. couldn't find any photo
[Nexus 6P Themes and Apps] sjandroiddeveloper:
Have you synced your photos ?
[Nexus 6P Themes and Apps] jesssiii:
Pretty sure you must for it to work, at least at this point. Can't wait for this to get updated and fleshed out. Should be really nice for the next pixel iteration.
[Nexus 6P Themes and Apps] dratsablive:
Yes I have.
[Nexus 6P Themes and Apps] gordo_c_123:
Yeah I'm with you on this. But I can't wait to see how this interacts with Google home. I pre-order three :victory:
[Nexus 6P Themes and Apps] Zetsubou Sensei:
I find it annoying that currently "Now on Tap" features don't work properly on Assistant such as changing temperature through nest
[Nexus 6P Themes and Apps] tejaskadaskar:
Hey guys,whenever I go into google assistant settings voice detection the Google app crashes.. please help me.
[Nexus 6P Themes and Apps] Zetsubou Sensei:
Have you wiped app data and restarted?