yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Ken C:
Hi guys running moto X pure with aicp 7.1 got assistant working on the button press no problem and ok Google with the screen on . Did notice something. The very first time I ok Google hotword the phone with the screen being off assistant did its thing,where it unlocks the phone and all that, but only that one time.

A setting maybe somewhere?

Got chop assistant on it (think I was like the 5th download. Thanks again [MENTION=5092399]Mr. C[/MENTION]hop) just curious if I missed something, went through the thread didn't really see anything. Could be blind though too.

Edit update :looked at that "Get assistant" app in the play store but unless I'm mistaken its just automatically doing the build prop mod.
[Android Software Development] K.Raptor:
tested and working on Xperia Z1 AOSP 7.1 :) nice work keep it up
[Android Software Development] Ultimategeppie:
Working on Nougat 7.1.1 dp2 on nexus6p
[Android Software Development] Epedemic:
Hmm i am experiencing something strange. I flash this on my Nexus 6P (clean image, dosen't matter if 7.0 og 7.1.1dp2) with supersu first, and then the 2 files from OP. And then assistant and everything works at first... But after <1 hour assistant will say "something went wrong, please try again" on every question, and play store opens a blank page, and google now cards says "sign in error".

If i clean flash again, it works for some time, but stops again, and so on and so on. Any ideas?
[Android Software Development] Annunneo:
Try posting a log.
[Android Software Development] Apad121:
Hi there I had a similar problem of my Galaxy S4 on CM14.1.

After about two weeks I couldn't sign into my Google accounts anymore.....

So then I did a clean install for the third time and flashed an updated gapps...

Sent fine a of now.:laugh:
[Android Software Development] Mateusz_gameplay:
Hi, when i tap on the mic icon i have normal google voice seach, byt when i say "ok google" or hold the home button it happens

http://imgur.com/RYy6oVk

(my navbar turns black and the status bar gray)

i can talk to assistant but i dosnt see anything, only white panel.
[Android Software Development] ZerosMadness:
I probably shouldn't have to say this but don't add the model name line to build.prop. just change the already existing line. That should help a few peoples issues haha.
[Android Software Development] Mateusz_gameplay:
i've done it :)
[Android Software Development] lollyjay:
True. If you want to keep the original device model name you can insert a # ahead of it also.

Also sometimes the device model name appears more than once. You should do a search.
[Android Software Development] ryuisnod:
Yeh I had a few lines that needed changed for this to work
[Android Software Development] zaibansari20:
I flashed the zip and now the Assistant is working but always shows me to teach the assistant with my voice

How can I solve this?

I also updated the app but still facing the problem.

(Screenshots)
[Android Software Development] coffee-turtle:
ChopAssistant app.
[Android Software Development] ecsnead69:
I flashed the zips and Assistant is working, but OK Google anytime will not turn on. Anyone else have this issue and fixed it? Thanks
[Android Software Development] Sreerag ag:
That's a known problem. Use ChopAssistant app to solve the problem, to a limit.

G3 D855---ROM : Tesla N
[Android Software Development] Ken C:
I noticed something the other day, not sure if I posted it here or not.

When I first get assistant all set up and launch it the first time it'll do the turn on the screen and unlock the phone part of what its supposed to do.

But only that one time.

Not going to pretend I could make it work correctly like that but thought it'd be worth it for Mr. Chop or somebody with more skill than I that could figure it out. Just hadn't seen it mentioned so I though I'd bring it up.

If I remember correctly Google Now will do that with the hotword? Yes?
[Android Software Development] coffee-turtle:
Are you saying that it is a known problem that Assistant anytime/anywhere doesn't always work?

If this is true you just saved me from endless tinkering!
[Android Software Development] pianoman102:
I'm using chop assistant. Works great for a work around.
[Android Software Development] Sreerag ag:
Yes, it is a known problem. You have to use ChopAssistant app to enable it, even though it's not perfect.

G3 D855---ROM : Tesla N
[Android Software Development] -INU-:
i cant activate the "ok google anywhere" function in google options, is this the known bug or ?
[Android Software Development] coffee-turtle:
It says working for me about a month and a half ago without ChopAssistant. Maybe because I modified my build prop to reflect Pixel?

And the post right above this one, yes you should try ChopAssistant for an easy work around. Known bug is What I am hearing.
[Android Software Development] ZerosMadness:
I actually found bigger success using the GA app in Google play. I'm not sure why as it does the exact same thing as this mod but it just worked the first try. Plus you can delete the app at the end. Also using the flash zip would probably make it work better too.
[Android Software Development] lollyjay:
I'm curious... has anyone had any success activating GA on Marshmallow?
[Android Software Development] sgloki77:
there's an xposed module called "assistant enabler" no need to flash anything else or do any buildprop modifications, works out of the box for marshmallow roms
[Android Software Development] zaibansari20:
Can you please give me the link for the app
[Android Software Development] Sreerag ag:
Just search on playstore.

https://play.google.com/store/apps/...ant&pcampaignid=APPU_1_yxU5WPiYKcXwvgTMkp3gCA

G3 D855---ROM : Tesla N
[Android Software Development] zaibansari20:
Thanks for the link
[Android Software Development] Parneet41:
Here is the video for OK google hot word solution using tasker https://youtu.be/AQKUaoRayvA
[Android Software Development] Censto:
Thanks. Works great on LG G3 (D855) CM 14
[Android Software Development] Salman Al-Badgail:
[MENTION=5968460]brianelv[/MENTION] [MENTION=6105718]FaserF[/MENTION] I tried to install flashable.zip on LG Optimus 4X-HD running on AOSP Android-7.1.0_r7 (NDE63X) , Installation is successful, however Developer option and notification bar is not working after installation. Can you tell me how I can revert it back to normal, Google Assistant is working great on this device with that build.
[Android Software Development] thedark1979:
thank you ... confirmed to work on my mobile:

Samsung Galaxy S4 with android 7.1 AOSP
[Android Software Development] lollyjay:
Confirmed working on my:

Nexus 7 3013 with AOSP 7.1.0

Asus TF300T with KatKiss Nougatella 13 7.1.0

Moto G4+ with XPerience 11.1.0 7.1.0
[Android Software Development] HaoZeke:
Any hope of this becoming a Magisk Module?
[Android Software Development] Sreyaz01:
is there anyway i can use google assistant and ok google detection without changing my device model
[Android Software Development] Bajanman:
Look here>

http://xdaforums.com/xposed/modules/xposed-assistant-enabler-enable-google-t3479587/post69109649

It works prefect fyi.

You can use the above module if you use Xposed. If not I got this working on my device without messing with my build prop. But you might need the additional app to make assistant work right ok.
[Android Software Development] Sreyaz01:
well i forgot to write

nougat here ðŸ˜­ðŸ˜­
[Android Software Development] 007blackmamba:
Hii how to use google assistant without using hands from any screen.Now, every tym i have to press home button and voice icon to use it any suggestions ?.it should popup when i say ok google how can that be done?
[Android Software Development] Sreerag ag:
Use ChopAssistant app from playstore. It works to an extent. This is notified some posts before.

Do a quick search before you post. You could get answers faster.

G3 D855---ROM : Resurrection Remix-N
[Android Software Development] HaoZeke:
Yeah I know that works... I asked about a Magisk module cuz xposed isn't there for nougat...
[Android Software Development] loveyoulovemetn:
I'm Using redmi note 3 running RR rom 5.8 Android 7.1, I flashed google assistant 2 zip files, cleared data & cache but the google app still is the old one?

There is GAssistant in Allo but when I run Google App for voice search it's still the old one
[Android Software Development] Bajanman:
Ok.

Gotcha.

I'm happy with my set-up so no need for nougat for me right now.:cool:
[Android Software Development] FaserF:
Sry I would recommend a clean flash or try editing build.prop
[Android Software Development] nikhilbhalwankar:
Thanks. The Chop Assistant works great
[Android Software Development] Bajanman:
Test reply to see if everything is ok. Using crappatalk app...[emoji33]
[Android Software Development] axiion:
No luck with Nexus 6P on Android 7.0 with build number NBD91K. Tried wiping Google App cache. Any ideas?
[Android Software Development] soder:
I'm running CM14.1 and the vendor file is already in that ROM. Do I still have to flash GoogleAssistantVelvet.zip then?

I tried it without it, and I still got Google Now and not Google Assistant.

/Söder
[Android Software Development] Sreerag ag:
If you tried without it and still got Google now, why hesitate to flash GoogleAssistantVelvet.zip?

G3 D855---ROM : Resurrection Remix-N
[Android Software Development] soder:
True, but I thought that the CM guys had it right... but I flashed it and it worked..

/Söder
[Android Software Development] rayzor666:
Anyone else not have the news option in settings.. Or know how to get the options to show up.. Cm14.1 and latest Google beta thanks
[Android Software Development] SGE_DEW:
Has anybody successfully installed assistant on Resurrection Remix Rom 7.1? I could only get it to work with the screen on. Same when I was on Nitrogen. Even google now only works when the phone is unlocked.
[Android Software Development] onlyOne2016:
Thanks!

That is really nice!
[Android Software Development] lonemen:
awesome

I like this google assistant.
[Android Software Development] vegaman:
I've been using this for a while and noticed issues playing HD youtube videos (720P+ especially 60fps) on my phone, thought it was my custom kernel but decided to investigate today.

With this enabled youtube is serving VP9 videos, without it I get H.264, and the Nexus 6P (and most other phones) can't handle decoding VP9. Has anyone found a way to force youtube to use H.264 with this enabled?

Thanks
[Android Software Development] Tenome7:
Hello guys help me out here...I haven't experienced any major problems but when I say OK google......each and every time I get the voice recognition message....even after I say OK google three times....and when I go to Assistant settings and then to OK google detection.....the app crashes...pls guide me
[Android Software Development] aliusman999:
Can anyone please tell me if the OK GOOGLE voice command works and do you have to do anything special to make it work?
[Android Software Development] jchisena:
I think i have the most success shutting off chop assistant, revert back to google now and run setup with OK google command. Then setting up the trusted voice.

Next I turn on google assistant and set that up.

Finally turn on chop assist.

Also make sure google app has permissions for microphone after all of this. Wiping data I think destroys permissions
[Android Software Development] devilman30:
Aloha group,

Has anyone been able to get the assistant to work with the HTC 10 on stock rooted nougat? If so can you help me get this done? I have had no success.

Mahalo
[Android Software Development] lollyjay:
Thanks it worked perfectly. Also I got Pixel Launcher working
[Android Software Development] DenBukki:
works moto x play running AICP android 7.1

works moto x play running AICP android 7.1
[Android Software Development] SlackingVeteran:
[MENTION=5968460]brianelv[/MENTION] [MENTION=4100203]masterchop[/MENTION] I am not sure if these logs are any helpful to you guys. I think I might have found a possible reason why assistant thinks voice data model is not saved. I was able to gather some logs. It looks like its invoking a boolean interface

com.googlr.android.apps.gsa.speech.microdetection.adapter.a.atP()

but it cant find it. I was in a rush but I was able to take screenshots of event log and stack trace
[Android Software Development] harpin14789:
I finally got Google assistant working with ok Google detection everywhere!!
[Android Software Development] Alessandrotischer:
How?
[Android Software Development] r00t4rd3d:
I am having the same issue. Did you figure out a fix yet?
[Android Software Development] aliusman999:
Did you setup OK GOOGLE before changing Build Prop or after?

You might have a different issue but as per my personal experience, you have to setup OK GOOGLE detection "before" you enable the assistant.
[Android Software Development] deepak3048:
Plz any one help me i had flash that 2 file but still not working in my oneplus 3 open beta 8 android 7

---------- Post added at 07:12 AM ---------- Previous post was at 07:10 AM ----------

I had flash these file still not working in my oneplus 3 android 7
[Android Software Development] coolstoneapurva:
Works perfectly with Redmi Note 3 on RR by Abhishek 7.1

---------- Post added at 08:05 AM ---------- Previous post was at 08:02 AM ----------

Go to build.prop and change Pixel to Pixel XL, reboot you will get Google Assistant.
[Android Software Development] mmcdex:
Is your system language set to English (US)? German also works it seems.
[Android Software Development] deepak3048:
Yes english us

---------- Post added at 08:14 AM ---------- Previous post was at 08:13 AM ----------

The downloaded build.prop or any other
[Android Software Development] coolstoneapurva:
The build.prop which is inside root folder under system.
[Android Software Development] deepak3048:
Here showing ro.build.product=OnePlus3 not ro.product.model and another line show ro.product.brand=OnePlus the screenshot is in the next page
[Android Software Development] deepak3048:
Here the screenshot
[Android Software Development] coolstoneapurva:
Replace:

ro.product.model=Pixel XL

and add this line:

ro.opa.eligible_device=true
[Android Software Development] deepak3048:
Thanks bro i got but in ok google detection it showing this feature is currently unavalable for this language what i do in language i have english us plz help
[Android Software Development] supertoast92:
I'm trying to retain the device model on my 6P. It seems to work for a couple of hours, but then Assistant reverts back to Now On Tap. Changing the device model back to Pixel XL and rebooting fixes it of course.

Does the hash sign (#) precede the Pixel XL model name line? Here's what I currently have in my build.prop, in order relative to each other:

...stuff...

ro.product.model=Nexus 6P

...other stuff...

ro.opa.eligible_device=true

# ro.product.model=Pixel XL

Would the comment hash need to go elsewhere?

Thanks in advance!
[Android Software Development] lollyjay:
Hash goes ahead of 6P line

No hash ahead of Pixel XL line
[Android Software Development] supertoast92:
Ah OK, thanks! I thought maybe I could manage somehow keeping Assistant with the phone still thinking it was a 6P rather than the Pixel. Ah well.
[Android Software Development] worgamerx:
Hi there, i tried every way but google assistant is not working...always google now opens...I tried all the ways execpt xposed framwork....i have cm14.1 rooted...before that i tried on stock htc one m8 gpe marshmallow rom but i didn't worked. Device is Htc One m8
[Android Software Development] Apad121:
Hi there

Have you tried my guide:

[/COLOR]GUIDE: [UPDATED December, WITH [MENTION=4100203]masterchop[/MENTION] APP "OK GOOGLE" AND GOOGLE ASSISTANT FULLY WORKING ON ANDROID 7.x]

Hi everyone

Just wanted to say that I got Google Assistant working on this ROM and it seems fast to work really well! :)

BTW the bug above happens to all devices that aren't pixel or nexus.

THE BUG WITH OK GOOGLE IS WORKING NOW..... SEE BELOW IN STEP 9:

GUIDE ---- I had to find lots of articles and looked through many guides because CM14.1 was slightly different to CM14 and android nougat. Because of how we flashed different Gapps it made the installation quite difficult. However after a bit of problem solving and determination I succeeded in getting Google Assistant on this great ROM.

1 Go to build.prop (I just used BuildProp Editor from the Play store, once in the app I pressed the edit button on the top right)

2 I changed "ro.product.name=cm_jflte" to "ro.product.name=Pixel XL" (I am not convinced this is neccassary but I did it anyway and it works)

3 Add "ro.product.model=Pixel XL" at the bottom (the ROM didn't have the ro.product.model bit that most phones seem to have...)

4 Add ro.opa.eligible_device=true after the above (Add this underneath the 3rd step)

5 Save the build prop then Reboot phone (Almost there)

6 Clear Google app data (This is to help ensure the process works)

7 Launch Google assistant as if you would launch now on tap so go to settings>functions> select home button >long press >select search assistant (OR SET IT TO ANY OTHER BUTTON YOU WANT)

8 Go to Google app settings and check you have enabled Google assistant

9Install the application and setup (credit to [MENTION=4100203]masterchop[/MENTION] for making this app :D) ChopAssistant https://play.google.com/store/apps/details?id=choplabalagun.blogspot.com.chopassistant&hl=en or you can use XDA Labs here: https://labs.xda-developers.com/stor....chopassistant

10 FINISHED! :laugh: (Please read the rest below)

IF IT STILL DOESN'T WORK DO NOT WORRY ---- IF YOU FLASHED A SMALL GAPPS SUCH AS PICO GAPPS THEN THERE IS STILL 1 MORE STEP!!!

11 Now if you had to install the google app when you first setup the phone, then you need to move the file "com.google.android.googlequicksearchbox-1" from data/app to system/priv-app

Google Assistant for CM14.1, this guide covers most errors and problems you will face for installing it on any device including CM14 and Android 7.x

Reboot and NOW GOOGLE ASSISTANT should work with "OK Google" working too!

PLEASE LEAVE A LIKE IF THIS HELPED! :laugh:

[IMG="Google Assistant on CM14.1"]http://i.imgur.com/trMSqcg.png[/IMG]
[Android Software Development] counterfeit187:
Step 9 is more of a glitched workaround, shouldn't claim things work perfectly. Waiting for Google to officially release updates on hotword enrollment
[Android Software Development] lollyjay:
And your point is...?
[Android Software Development] counterfeit187:
People need to stop saying that it works now. It's lies! I'm using it. It suffices for now, but all the hype is misleading.
[Android Software Development] wildboarhog0:
Agree it's a work around not a fix.
[Android Software Development] aliusman999:
Hey man, OK GOOGLE is working for me and it did not work previously but now it is working for me. I didn't use any lengthy workarounds or anything , I only did one step.

"After fresh flashing my ROM, I setup OK GOOGLE for GOOGLE NOW "before" I enabled GOOGLE ASSISTANT"

Google assistant automatically picked up OK GOOGLE command from Google Now after you modify build.prop

Hope this helps
[Android Software Development] counterfeit187:
On a nexus phone I assume.
[Android Software Development] aliusman999:
Yes , on Nexus 6
[Android Software Development] worgamerx:
Hi, i have done everything you said. There is google assistant option in google settings its already enabled but still google now is opening. I have latest google app, its directory is now system/priv-app as you said. build.prop file is edited as you said. Cleared all the app data, restarted my phone several times but still not working. Any idea what to do now? I am using cm14.1, changed to home button setting to search assistant but its not working.
[Android Software Development] iXaidyiu:
You need latest Google App Beta. And please DO NOT quote OP.
[Android Software Development] worgamerx:
Sorry for that. I already have latest beta version but again i downloaded the latest beta one from apk mirror. Still same issue. Seems like i am unlucky :(
[Android Software Development] Link_of_Hyrule:
So I was thinking that maybe the Pixel phones have a newer version of the hot word enrollment app than is currently out for arm so maybe once the Nexus 6 gets 7.1.1 officially that'll get updated and fix the need to have the work around for OK Google when using the Google Assistant. I guess we'll see.
[Android Software Development] AbhiFromXtraZ:
I'm also having the same problem. I'm using RR 5.8.0. Any fix?
[Android Software Development] 2x4:
Edited, can confirm it works on OnePlus 3 running android 7.0.x (open beta 8)

Flashable zips don't add the pixel XL product line, so it's simplest to do the build prop edits yourself, and then clear Google app data (not just cache - clear all data under settings - apps - Google - manage space - clear all data)
[Android Software Development] worgamerx:
I got a fix. Go to settings>apps. Now tap on setting icon on top right corner and select assist app as none then again select assist app as google then it will work.

Special thanks to the developers here.
[Android Software Development] AbhiFromXtraZ:
How do you launch Assistant? Even when I set assist app to "None", long pressing Home button starts Google Now.
[Android Software Development] worgamerx:
​

I start it by pressing home button. Just follow the guide again and go to google in settings then tap on search and now. Of there is an option for google assistant on top then it means you have it but the issue is from device settings. Clear app cache and data if you found google assistant option then manually grant it permission then do what i said previously set it to none then again google. This might help you
[Android Software Development] harpin14789:
I used a magisk module to get it to work. Editing build prop and stuff never gave me for results, they would always kill ok Google. But the magisk way worked.
[Android Software Development] AbhiFromXtraZ:
Thanks brother... Got it fixed :P

Actually I set "Search Assistant" for long pressing Home button. Now set "Google Now on Tap" for that and follwed your guide.
[Android Software Development] worgamerx:
You welcome buddy, btw my device don't have option for google now on tap,home button setting is set to search assistant it still working with that.
[Android Software Development] Crimshot:
Google Photo Storage

Just curious, has anyone checked if unlimited photo and video storage actually works with Google Photos?

Theoretically it should since Android thinks the device I am using is a Pixel phone, but for some reason it is not working for me.
[Android Software Development] Apad121:
Not working for me either.

I don't think it is as easy to trick Google Photos for the uploads.

I think there are some more checks in the servers.
[Android Software Development] madskillz281999:
Do work beautifully on Xiaomi Redmi 3 running Resurrection Remix 5.8.0
[Android Software Development] fxcatalyst:
Does this automatically unlock phone through 'Ok Google' because it is not unlocking for me while the phone is screen off.
[Android Software Development] JaylanPHNX:
This shouldn't effect that either way. If everything is properly set up for OK Google and Trusted Voice prior to changing the build.prop, it should still work after.
[Android Software Development] Crimshot:
If it is not working then you have to go into the Google Assistant settings and click on "OK Google Detection" then toggle the "Say 'OK Google' any time" to on.

If it doesn't work after this, then it could be because you are not using a Pixel or Nexus device.
[Android Software Development] MdNfr0211:
many sensor are not working
[Android Software Development] worgamerx:
Google assistant stopped working in CM 14.1. In last three days it was fine my phone name was Pixel XL because of build.prop changing. Now its again showing m8 instead of Pixel XL. I have check build.prop file,its fine like before. Again i changed to m8 then pixel xl but not working. Does anybody facing the same problem?