yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Themes and Apps] Citizen_Snips:
If you read my previous posts, WETA ROM is modified images. No gapps, just flash and forget. I have OK Google working with screen off on this ROM. I could make a short video if you like. All i did was install the ROM. Set up a pattern & fingerprint. Set up Smart lock to stay unlocked at my home address. Then went to OK Google voice settings and made sure all 3 options were checked. "Say OK Google any time", "Trusted Voice" & "While Driving". Works for me from screen off, even if it's been off for a while.
[Nexus 6P Themes and Apps] manup456:
Does face unlock and voice unlock in smart lock options work in that rom?

If it does all work other roms need his secret sauce, I never tried that but tried a bunch and those same 3 things would not work.
[Nexus 6P Themes and Apps] Citizen_Snips:
Yes voice unlock works. The screen can be off and I say OK Google. It pops on real quick with the Assistant how can I help you. If I hit home after, it just opens. No fingerprint or pattern required. Not sure if that's due to voice or home location. Testing face unlock now.

OK. Just to be sure, after I wrote that i disabled home location from smart lock. OK Google on screen off still works reliably. I set up face lock with no problems. With home location turned off I power keyed the device and was met with the contact icon on the bottom of the screen (locked). As soon as I angled the phone to my face it turned to the unlocked padlock and I was able to access my home screen without further input.

So confirmed WETA ROM is able to use both OK Google with screen off as well as Face Unlock. Home location was disabled, so those are both definitely working.
[Nexus 6P Themes and Apps] manup456:
Wow that's great now I am wondering what part of the custom stuff a dev adds causes the issue, the other stock image based rom which is supposed to be more bare bones none of those work just like when I tried on aosp based roms.
[Nexus 6P Themes and Apps] The.Yield:
Ok got it working on Stock 90X with Flash Kernel + SuperSU & SU Hide + Systemless Adaway.

The "secret" was a full wipe of the Google app data (including losing the home screen layout).

Ok google works from any screen + screen off, had to go through the setup process for trusted voice
[Nexus 6P Themes and Apps] a1exus:
Do I really have to wipe my data??
[Nexus 6P Themes and Apps] Citizen_Snips:
Just a random, off topic heads up. As long as you install root in systemless mode, all you need to do is install the AdAway app and download and install host files. It handles it for you. No need to flash that systemless zip.

---------- Post added at 10:56 PM ---------- Previous post was at 10:55 PM ----------

No just the Google app data.
[Nexus 6P Themes and Apps] Misfit77:
It's not working. After setup it goes straight to now on tap.
[Nexus 6P Themes and Apps] Benrap:
Can I know what changes you make to the build.prop file?
[Nexus 6P Themes and Apps] AXelzero1:
I think there might be an issue with the google beta updates. If you have google beta installed, you'll get more issues and a harder time setting up.
[Nexus 6P Themes and Apps] michaeldcoates:
Guessing there's no way for this to be done on a non rooted device? I use banking apps a lot that won't work on a rooted device :(
[Nexus 6P Themes and Apps] AXelzero1:
If you have an unlocked bootloader, you can fastboot boot TWRP and flash the zip without having to ever root. You can also use suhide to hide root from the banking apps.
[Nexus 6P Themes and Apps] michaeldcoates:
I'll look into that, I presume apps are unaffected and don't consider that a root? I'll have to find instructions for unlocking the bootloader and installing TWRP from a mac - I'm guessing there's no one click apps for that.

Thank you for the reply!
[Nexus 6P Themes and Apps] Misfit77:
I ended up just replacing my build.prop with the one in the OP. Then cleared Google app data and reboot. No matter what I do it goes back to Now on tap.
[Nexus 6P Themes and Apps] AXelzero1:
There should be one click apps for installing adb, but I'm not sure about bootloader and TWRP. Unlocking does wipe all data just so you're aware.
[Nexus 6P Themes and Apps] michaeldcoates:
That's probably no good for me, it took a long time to get everything set up how I like it with all my apps, folders and Nove Launcher exactly as I want it. Wiping it all seems like a step too far.
[Nexus 6P Themes and Apps] mweinbach:
You can't join any beta's
[Nexus 6P Themes and Apps] Tylog:
Flashed the Zips Directly after installing the Rom (SimpleAOSP) and works on an attack.
[Nexus 6P Themes and Apps] brianelv:
Don't do it then. Most people doesn't need to wipe data, just delete the data of the Google app.
[Nexus 6P Themes and Apps] michaeldcoates:
That's only if you have already unlocked your bootloader and installed TWRP - if not then you need unlock the bootloader and that wipes the phone entirely.

Not a problem anyway, can't get adb devices to give me anything other than 'offline' no matter I do anyway so I can't even unlock the bootloader even if I wanted to. My mac and android never played together well.
[Nexus 6P Themes and Apps] jusumgeezer:
Can't get this to work at all on stock unrooted. Tried flashing the zips via booting TWRP I get an error saying the app is for arm not arm64, after a reboot I'm back with now on tap.

Tried everything on here, I'm guessing it won't work without root. Has anyone on stock unrooted actually got this working? I've just wasted a good 4 hours on this & nothing.
[Nexus 6P Themes and Apps] dutchy716:
I got this to work on Simple ASOP with a clean install and flashing the zips in TWRP. The only thing that isn't working is voice detection.
[Nexus 6P Themes and Apps] bobbarker2:
Same though I'm on PN. Only place voice detection works is the home screen for me. Google app is v6.6.14.21. its a beta off apkmirror so wondering if that's the problem. I tried retraining voice after Initial setip of voice recognition and after I did that the settings for voice detection are greyed out.

Has anyone got voice detection working? And if so what version of Google app are you using?
[Nexus 6P Themes and Apps] dutchy716:
Same. I switched to WETA and now voice detection works even from lockscreen.
[Nexus 6P Themes and Apps] stanleyopar2000:
Works in moto x pure with true pure x

I can only assume Google is going to block everyone having access to their special goose in the future ¬_¬
[Nexus 6P Themes and Apps] dutchy716:
I was thinking the same thing.
[Nexus 6P Themes and Apps] bobbarker2:
What version of Google app are you using? The Zips in the original post give me no mirrors found response when I try to download them. I made the prop changes myself but I'm thinking a specific version is necessary.
[Nexus 6P Themes and Apps] dutchy716:
I used the zips in the original post.
[Nexus 6P Themes and Apps] HikingMoose:
They're not there for me either...
[Nexus 6P Themes and Apps] umarmasroor:
Does it work with touchwiz. Anyone tried?
[Nexus 6P Themes and Apps] bobbarker2:
There's definitely something wrong, a piece of the puzzle is missing. I've tried every method posted in the op except for flashing the zips because the links are dead. But the version everyone says they get after the zip is the same as what I installed do I think the point of moot.

Google Assistant is quasi working using these methods but voice recognition only works for me at the home screen of Nova Launcher I'm sure Google launcher would work as well.

This last go-around I did a full replace build prop with heavy build prop. After clearing Google app data and rebooting I was tempted to join Google Now and Then Google Assistant settings appeared. Tried to train my voice the first time and it crashed but then I tried again and it works.. but only in the places I mentioned above.

Never had a problem with pure Nexus voice recognition from anywhere previously. That includes lock screen and also face recognition , that was brought up earlier by someone who said neither of these ever worked with custom ROM . I'm using Su hide on the Google app and services as well. Maybe more needs to be hidden?

I'm a software engineer and know my way around the Android system but certainly I'm not an expert. So I'm doubting it's something I'm doing incorrectly but rather there's more requirements to getting Google Assistant 100% functional than we think.

Some people have reported hundred percent functionality including voice anywhere and unlocking their device. Could those people chime in and say if their device passes safety net helper test? And provide information on what ROM and kernel they are running and method used. That would help narrow down the possible cause of the issues that are affecting the majority of people.
[Nexus 6P Themes and Apps] Falitheman:
I have full functionality of Google assistant (voice works on lockscreen) and pass safetynet. I use phhs superuser hidesu and I'm using tupac4u's stock+ debloated ROM. I'm also running stock kernel.
[Nexus 6P Themes and Apps] kamesh_kraken:
Check the first link in this thread. Lot of people are getting this to work. And it's working. Only some or minimum are getting it to work.
[Nexus 6P Themes and Apps] NordomTT:
Just want to report that assistant and OK google from screen off both work for me after flashing the zip files. Thanks!
[Nexus 6P Themes and Apps] PabloCruzIII:
WETA?

---------- Post added at 10:42 PM ---------- Previous post was at 10:41 PM ----------
[Nexus 6P Themes and Apps] Citizen_Snips:
ROM: WETA ROM 9.2

Kernel: Stock

Root: SuperSU 2.78 SR1 (Baked into ROM)

Suhide: v0.55 (0.54 Baked in ROM, I manually flashed update)

SafetyNet Request: Success

Response Validation: Success

CTS Profile Match: True

BusyBox by [MENTION=4544860]osm0sis[/MENTION] (Baked into ROM)

Google App version: 6.6.14.21.arm64

Below I'll post literally every step taken to get where I am;

-Navigated to WETA ROM OP

-Downloaded bootloader & radio zip for new update & vendor IMG.

-Installed BL/Radio & Vendor

-Wiped /system, /data, /cache & /dalvik via TWRP

-Flashed WETA 9.2 & booted system.

-Downloaded SuperSU 2.78 SR1 & suhide 0.55

-Reboot recovery, flash suhide 0.55 followed by SuperSU 2.78 SR1

-Set up ROM. Pattern, fingerprint, Wifi, paired my Moto 360, allow unknown sources, dev options / USB debug, smart lock, OK Google voice recognition, etc.

-Installed suhide GUI from Play Store

-Side note: I did NOT add ANY extra apps to the GUI app. Flashing suhide will automatically hide any and all packages that currently identify root and trigger SafetyNet to fail.

-Downloaded SafetyNet Checker app, passed.

-Downloaded Snapchat. Was able to log in.

-Downloaded Pokemon GO, was able to play.

-Found this thread, lurked for a little to see how you all did first

-Added "ro.opa.eligible_device=true" to the bottom of my build.prop (no quotation marks)

-Changed "ro.product.model=Nexus 6P" to "ro.product.model=Pixel" in my build.prop (Again, no quotes)

-Went to Settings / Apps / Google. Selected Storage. Clear Cache. Manage Space. Erase Everything.

-Reboot. Voila! Assistant.

Notes: I edited my build.prop while booted into Android on the very same phone. I used Solid Explorer to make the edits. I only use "Pixel" and not "Pixel XL". I already set up Google voice detection before attempting to do this. All smart unlock options function 100% correctly and I've tested them each 1 by 1. Moto 360 as a trusted device. Trusted place, my home. Trusted face works. I can UNLOCK the phone by saying OK Google, which now triggers assistant. After I got Assistant the 1st time, I switched product model back to Nexus 6P. It remained for a while, but eventually reverted to Now On Tap. I changed it back to Pixel and wiped Google settings again, rebooted and it is back. OK Google works from literally any screen. In Spotify when the music is playing, I kinda have to yell OK GOOGLE so it can hear me over the music and it does. I can tell it to pause Spotify or turn the volume down. It'll do either. It works from screen off, even if it's been over an hour and it does not have to be plugged in for that to work. What else? Oh, I scratched my nose 3 times while editing the build.prop & I was wearing my lucky underwear when I gave this a shot. I recommend you doing the same... Your lucky underwear though, not mine.

That's all the relevant information I can think of now.
[Nexus 6P Themes and Apps] bobbarker2:
Thank you for the comprehensive post. I basically did the exact same thing except I'm on pure Nexus and not WETA. I added a bunch of stuff to the default blocklist SU hide through the GUI but I can't imagine that cause an issue. I'll try just using pixel instead of pixel XL.. just to be clear when you said you wiped Google data I assume that means the Google app?

Also what G apps package did you flash? Thanks again

And my device passes the safety-net test as well.
[Nexus 6P Themes and Apps] rajnallan:
I flashed the zip file and for some reason I still get only Google on Tap. And when I go to google app settings, i am not finding Google Assistant setting. I am on unlocked Nexus 6P with TWRP recovery and non-rooted. Can you help me resolve this issue.

Thanks
[Nexus 6P Themes and Apps] Citizen_Snips:
Yes, in my steps I mentioned going to Settings as in Device Settings. Then the "Apps" section. Scroll until you find "Google App". Now you'll see the app info page where the version is displayed and you can force close it. Select "Storage". Select "Clear Cache". Now, "Manage Space". I cleared all 3 of the options from top to bottom. Clear Google search data, clear launcher data, clear all data.

WETA ROM is not source built, it's modified system images. As such, there is no gapps package to flash. Many gapps which can be downloaded from the Play Store are removed. You only need to flash the ROM and you're done.
[Nexus 6P Themes and Apps] bobbarker2:
Yeah just wanted to be sure the Google app was the only app you wiped data for.
[Nexus 6P Themes and Apps] molanjami:
the wonders of open software :o
[Nexus 6P Themes and Apps] katinatez:
Followed [MENTION=4610119]RoyJ[/MENTION] build prop edits in Solid explorer, and only worked after going into Google app setting and unchecking all google apps, then going into TWRP recovery and wiping Cache & Dalvik.

Upon reboot went to Google app Settings and found Google Assistant!!

And it only took me 10-15 minutes, and camera works!!

Thanks everyone for this thread

running latest SAOSP-N with SuperSu & suhide-v0.54.
[Nexus 6P Themes and Apps] Eazii:
Okay so I finally got this working and I most say it was super easy once I figured it out. Everything works and survives reboots (voice commands both screen on and off)

1) Rooted Nexus 6p

2) Stock NBD90X w/ SU & Adblocker

3) Manually changed/added to build.prop file (pixel xl & ro.opa....)

*** MAKE SURE YOUR GOOGLE APP IS PUT IN THE SYSTEM FOLDER WITH THE PROPER PERMISSIONS (644) - THIS IS MUST ***

Steps if ROOTED:

1- install latest Google app from playstore or apk mirror (in my case it was the beta)

2- use a file manger to make sure it's in the system/priv app folder. If from apk mirror push it there yourself (what it's named doesn't matter)

3- set permissions (644)

4-edit build prop file and save it

5- go to settings -> apps -> Google app ->storage -> manage space and clear all data (then tap home button to get to home screen)

6- reboot phone

7- once booted back up hold home button

8- PROFIT!!!
[Nexus 6P Themes and Apps] glassofjuice22:
Show me a video

A video demonstrating it would be nice guys. I wanna see if it's worth erasing all my data.
[Nexus 6P Themes and Apps] Bijoypq:
Is this gonna work in KitKat.If not what the worse can happen...
[Nexus 6P Themes and Apps] jUsT2eXy:
Hey guys. Is anyone receiving the 'you're offline' message within Assistant?

Reboots don't work etc.

I flashed the zip files.

I'm using a VPN if that makes a difference.
[Nexus 6P Themes and Apps] mickyw1980:
KitKat? Now there's a name I've not heard in a long time
[Nexus 6P Themes and Apps] warri:
Attempted to make the manual Build.prop edits (on google app 6.6.21.14-arm64) Didn't work.

Flashed the two Zips, Cleared Google App Data, and i now have Google Assistant on Pure Nexus 7. However, everything seems to work, except voice detection.
[Nexus 6P Themes and Apps] igylan:
You don't need to erase all your data. All you need is to erase Google app data.
[Nexus 6P Themes and Apps] mukesh22584:
Working great with Resurrection Remix Rom.....
[Nexus 6P Themes and Apps] simonhenry:
You are only wiping the Google app data
[Nexus 6P Themes and Apps] ds8696:
Will the:

ro.opa.eligible_device=true

ro.product.model=Pixel

method work for other devices running android 7.0, like Samsung devices.
[Nexus 6P Themes and Apps] Citizen_Snips:
Only one way to find out. Be sure to make a backup of your current build.prop first and let us know how it goes!
[Nexus 6P Themes and Apps] ChavitoArg:
Thank you boludo, i'm gonna try this out

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Themes and Apps] stanleyopar2000:
I.... I can't use this...initially last night it was great but now.. I have to delete it

it is now constantly force closing my android.phone process when I summon it and it will kill my phone radio...and come back a few seconds later. I'm using the Android n-ify trick with xposed and suhide. I haven't flashed anything

Moto X Pure 2015
[Nexus 6P Themes and Apps] Tyler Joseph:
Can i Flash this Im in Pacrom Marshmallow not nexus device if not is there any other way i can get google assistant im rooted and i have xposed framework
[Nexus 6P Themes and Apps] ursupplyer:
So no one is bothered by the absurdly enormous amount of data Google collects from your phone and everything you do, in order for this to work?
[Nexus 6P Themes and Apps] NordomTT:
So download the three files. Go to TWRP and flash first GoogleAssistantVelvet.zip and then GoogleAssistantBuildProp.zip. Then wipe cache/Dalvik since it won't take a long time to boot now. Reboot. Clear all data for Google app. Then hold home button and hopefully you will see 'meet your new assistant' or something like that.

I'm using systemless root 2.78 and latest Elemental X, fwiw.
[Nexus 6P Themes and Apps] igylan:
I'm afraid google will find my nude pics :p:p:D
[Nexus 6P Themes and Apps] stanleyopar2000:
That's snapchat ( ͡° ͜ʖ ͡°)
[Nexus 6P Themes and Apps] igylan:
Ahh so you got caught then :laugh:
[Nexus 6P Themes and Apps] stanleyopar2000:
No I don't use it. :eek:
[Nexus 6P Themes and Apps] The.Yield:
Again, what got it working for me was flashing properly then:

Settings > Apps > Select 'Google App' > Storage > Manage Space > Clear All Data

Reboot phone

When it comes back up, I first started touching the search bar on the (now reset) home screen. It ended up launching the secure voice set up. I went through that and everything worked perfectly. Assistant, voice activation from screen off, etc - all working fine.
[Nexus 6P Themes and Apps] stanleyopar2000:
Anyone using for build.prop option.

Can you change assistant options? Does it force close your phone process?
[Nexus 6P Themes and Apps] 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.
[Nexus 6P Themes and Apps] Prey521:
I'm not that paranoid.
[Nexus 6P Themes and Apps] ursupplyer:
Because you don't care that they collect information? Or because you don't believe they actually collect it ( activity controls )?
[Nexus 6P Themes and Apps] Smallsmx3:
So flashing the zip changes the device to pixel....I thought I read that wasn't necessary. So after I flash can I just change the build id back to angler and have it work?
[Nexus 6P Themes and Apps] gordo_c_123:
Does anyone know if doing this is going to affect anything when the 7.1 developer preview is released at the end of this month? Seems kind of suspicious that on the same day this method of getting the pixel exclusive Google assistant is leaked, Google confirms that they are releasing the 7.1 developer preview.... is it possible that the 7.1 developer preview would have a patch for this......anyone? Or am I just paranoid?
[Nexus 6P Themes and Apps] dpalmer76:
Nothing on my phone they want that they don't have already. These companies and everyone else has access to all of your personal info these days. Put other protections or your identity and money.
[Nexus 6P Themes and Apps] rchtk:
You're paranoid :) by modifying your system, you lost the ability to have the ota installed automatically, you'll have to do that manually but you knew that.

The two lines will need to be modified again once the update is installed. It may or may not work again but I'm confident the assistant won't be pixel specific.

---------- Post added at 16:56 ---------- Previous post was at 16:51 ----------

Depends how much info you put into your phone. By using the assistant you give a lot of info. Just seeing the logs of your questions is rather frightening to me. And that's the visible part.

Everyone's free to opt in or not...

We will see in ten years when you'll order a salami pizza and they'll tell you, from your information, that's not possible because you have too much cholesterol [emoji33]
[Nexus 6P Themes and Apps] fystrified:
how about the prop file included in the link?
[Nexus 6P Themes and Apps] manup456:
No you don't have to wipe data
[Nexus 6P Themes and Apps] cheami:
google assistant works great, followed the steps just as you said. thanks.

but my swipe from left on pixel launcher no longer works
[Nexus 6P Themes and Apps] brianelv:
Open the Google App and enable Google Now, or check if the Pixel launcher is installed as a system app on /system/priv-app/
[Nexus 6P Themes and Apps] puertorecon:
Not to sound like a new guy at this. But,...what is you need to do this. Does your device have to be rooted? Stock ROM? Do you need Pixel Launcher installed and where? Just asking.
[Nexus 6P Themes and Apps] hpagliettini:
ok... im dumb, i change the file and do the 644 permission, i check with the http://xdaforums.com/android/software/guide-how-to-enable-google-assistant-t3477879 and the file have all this things but and i have the last version of google apk, but still now on tap. and i have this messege when reboot "there's is an internal problem with your device. Contact your manufacturer for details"
[Nexus 6P Themes and Apps] cheami:
forgot about that, thanks. it all works great.
[Nexus 6P Themes and Apps] abbz123:
I want this on pure nexus rom. Anyone test? Also does this only work only on pixel launcher?
[Nexus 6P Themes and Apps] vladniko:
How can I get the fingerprint notification swipe? Or is that not available yet?
[Nexus 6P Themes and Apps] cheami:
works on any launcher. its just google app
[Nexus 6P Themes and Apps] crackmulah:
so really all this takes is a modified build prop and no apk installs from the pixel system image dump? i must be missing something...is the Velvet.apk version he referenced only in the pixel dump?
[Nexus 6P Themes and Apps] DarK_DemoN:
Worked great on OctOS (NBD90X) ROM!

After reboot it was still set to Now On Tap. All I did was open the Google app, go to Settings, and then Google Assistant Settings and toggled "Use screen context". After that it took me through the Assistant setup process and it's now working great! Thanks for this!
[Nexus 6P Themes and Apps] cheami:
no, normal google play store update.
[Nexus 6P Themes and Apps] crackmulah:
wow, thanks. that really impresses me
[Nexus 6P Themes and Apps] RootNerd:
[MENTION=5358413]brainelv[/MENTION] the camera app keeps crashing after this?
[Nexus 6P Themes and Apps] cheami:
noticing this too now. ummmm.....big issue
[Nexus 6P Themes and Apps] brianelv:
Just noticed this too. Use another camera app as a workaround.
[Nexus 6P Themes and Apps] david279:
Werks!
[Nexus 6P Themes and Apps] darabo:
Does the Pixel Launcher or anything else need to be installed?
[Nexus 6P Themes and Apps] manup456:
I want to see if the new camera from pixel dump will work now
[Nexus 6P Themes and Apps] brasewel:
Is it possible to do this without root? I have twrp installed but no root.
[Nexus 6P Themes and Apps] gordo_c_123:
So do you recommend that I wait for the 7.1 developer preview? I don't want to screw up my phone but I also want both the assistant and 7.1 dp.