yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Hussainally:
Hi guys .I can't get pass the Google assistant screen..when it is supposed to learn my voice for OK Google ..there is a message saying can't detect microphone..and when I click do it later ,it revert to now on tap..please advice
[Android Software Development] htb2050:
It just says above your post.
[Android Software Development] Younex:
Is the wipe dalvik cache really needed ?
[Android Software Development] Dommage:
I dont have any setting for quality backup in my google photos app... does that mean... we'll see
[Android Software Development] FaserF:
[Flashable] Automatically Install new Assistant

I made 2 flashable zip files that will install and activate the new Google Assistant automatically. They will write "ro.opa.eligible_device=true" & change the modell to Pixel automatically + making a backup of your current build.prop and not touching your original build.prop settings.

These zip files will basically do everything mentioned in the new method of the OP and change your modell to "Pixel" to get the assistant work correctly.

1) Download the 3 Files below

2) Copy all 3 Files to your device

3) First flash GoogleAssistantVelvet.zip

4) Then flash GoogleAssistantBuildProp.zip (this will install the "tweak.prop" into your build.prop)

**Download**

Credits:

- [MENTION=5431257]kl3[/MENTION] for his Dynamic automated build.prop editing

Want the Full Google Pixel Experience incl Launcher, Dialer, Bootanimation and more?

Take a look HERE

More Details about the ZIP Files and what they do:

GoogleAssistantVelvet.zip will install the new Google Velvet (Google Search) app as an System App on your phone

GoogleAssistantBuildProp.zip will just search for the tweak.prop file, which contains the new lines for your build.prop means it has the information to add ro.opa.eligible_device=true to it and it should change your current modell to Pixel. Read more at the thread mentioned in my Credits!

Thats all.

______________________________________________________________

And btw its working on my LG G3 running Android 7 crdroid

I have flashed my files above, and afterwards I have changed the device modell to Pixel XL, otherwise the new assistant only appeared once.
[Android Software Development] v1c70r:
I tried everything and it didn't work. Maybe it's enabled only with EN-US language??
[Android Software Development] Yasharkhan:
did this and every time i say ok google it opens up the assistant recognize voice screen

also ok google setup in older version is not recognizing my voice for the 3 time setup, there is no noise in the background what so ever and my mic also works perfectly
[Android Software Development] albedebbi:
yes,it only works in english or Dutch
[Android Software Development] cris_webb:
I changed the model of the device in the line that is mentioned in the OP, added the other line (

ro.opa.eligible_device=true) , then I rebooted mi phone.

Wiped Google App data and rebooted again. That works for me
[Android Software Development] quaman:
That did the trick. It must be needed for shamu users. I'm running stock with root and elemental x kernel
[Android Software Development] blinkin:
English UK will work?
[Android Software Development] PunkOz:
I know it says 7.0+ but, has anyone tried to get it to work on MM? Maybe editing build prop even more
[Android Software Development] FaserF:
It needs some features of Android 7.0 to get it working correctly I think.

Android 7.0 has some enhanced features of Google Now on Tap. Thats why it wont work on Android 6.0 and on even lower android versions there is really no chance.
[Android Software Development] kodackx:
I've updated to 7.1 on a Nexus 5X and rooted immediately, installed the latest Pixel app (from APKMirror) as a system app and edited the build.prop according to this post. My Pixel launcher does change and now displays weather icon instead of date (as I really wanted it to) as well as a double icon up top for Google Search/Voice Search but the assistant does not show up. I'll try renaming my phone as a Pixel and not a Pixel XL for now and see if that works.
[Android Software Development] :
You also need Google App 6.5.35.21 or later installed. Check if it's there.
[Android Software Development] gjc:
Got this working last night on my Samsung Galaxy S3 running Unofficial CM14 ROM (see my signature), using the manual changes to build.prop method.

Have the issue with "ok google" voice train loop, will try [MENTION=4888215]hassanabid94[/MENTION] suggestion in post #647.
[Android Software Development] M7ammad.eb:
Add OnePlus 3 AICP 12.0 to working devices..
[Android Software Development] sethwalters:
Confirmed working on Nexus 6P with 7.1.1 (7.1 DP)

Device: Nexus 6P

Android version: 7.1.1

Build version: NPF10C

Google App version: 6.7.13.21.arm64

I decided to redo my phone then set this up, so here's what I did:

- Download and install 7.1 DP Factory Image for the Nexus 6P

- Setup device initially, and opened Google app for the first time.

- Flashed latest TWRP recovery (3.0.2-2) then installed latest SuperSu flashable zip. (SuperSU-v2.78-201609011115.zip)

- Used Method 2: Flashable ZIP by [MENTION=6105718]FaserF[/MENTION]

- Force Stopped the Google App, then cleared Google Search Data, Launcher Data, and (All Data) (just to make sure I got everything...)

- Tap and held home while on my homescreen and set up Google Assistant for the first time. And there you have it. :)

Thanks to everyone who made this possible! :good:
[Android Software Development] Won't be druv:
I flashed the zip and it was fine.

This!
[Android Software Development] iamaniff:
'OK Google' now work on Android 7.1
[Android Software Development] bdwilk:
It can be found in the link on post #1174

ASUS Z00LD_LG f320s_Lenovo a328
[Android Software Development] icaicm:
hi

i have manage to get google assistant to work on my nexus 6p which is running pure nexus nougat. when i hold the home button down google assistant comes up but on the top is show

OFFLINE

can anyone help.

thanks.
[Android Software Development] buffal0b1ll:
Is this surprising? It already worked on 7.0 stock, no? It was just custom ROMS that had the voice retraining loop.
[Android Software Development] endomatic:
If you get stuck on the Google splash, hold the power and volume buttons until you can get into the bootloader. Once there go to recovery and it will boot find from there.
[Android Software Development] Im_Mattgame:
Works on Oneplus X
[Android Software Development] Lumiphoton:
This worked perfectly on my LG G3 running Beanstalk 7.0 - thank you!

The only issue is that it keeps asking to go through the initial "OK Google" hotword setup every time you want to use it hands free, but I see that's a common problem at this point in time for people.
[Android Software Development] kodackx:
I just needed another "clear data" for tue Google app and behold, it worked!

Can confirm this works on:

Nexus 5X with ANDROID 7.1.1

Did the build.prop edit
[Android Software Development] Upstreammiami:
where do i copy the tweak file to?
[Android Software Development] NLBeev:
Works, but ...... with GA activated I changed the value of ro.product.model again. So Pixel XL -> Nexus 6.

GA keeps working [emoji1]
[Android Software Development] mjoecarroll:
Where did you pull the velvet.apk from? It was made for ARMv7 (32 bit) instead of ARM64. I don't understand why this would be in the velvet.apk since the Pixels are on the SD821, a 64-bit chip. Even your zip says to not use on 64 bit devices. I wonder if someone posted the wrong one (I found the same exact APK on a 5X forum post), but I need to see an apk dump for the Pixels.

If there is a ARM64 version somewhere, we could possibly use that. Based on what Google posted about the differences between API 24 and API 25, there doesn't seem to be any real API changes that the new velvet.apk should have.

Couldn't this be why the voice recognition could be broken? Or because according to APKMirror, there is a new OK Google Enrollment for Android 7.1?
[Android Software Development] GatorsUF:
OK I really want assistant, but I'm afraid of breaking something. I cannot get to a computer to reflash system images till tomorrow and I need my phone.

Can I flash the OTA file in twrp if something gets messed up?

What is the best method to get assistant so the"OK Google" command works?
[Android Software Development] bostonirishguy13:
Glad I read this post. I was about to give up and go back to 7.0 on the 5X. :good:
[Android Software Development] RoboJoe:
Do you run a VPN? I had this happen for me until I turned off my VPN.
[Android Software Development] Cadiducho:
Working on Moto G 2014 using CyanogenMod 14, thanks! :D
[Android Software Development] Vulse:
hello guys i have a little problem with the assistant and i thought maybe you guys can help me

so i flashed those zips with twrp and everything is working fine but if im saying "ok google"

its takes me to the first setup of the google assistant even though i already set the assistant up. (sorry for broken english)

thanks for help!
[Android Software Development] Prey521:
Yes, OK Google voice detection does not work on 7.0.

Read what I just wrote to Buffalo.
[Android Software Development] NLBeev:
In another thread about GA I read this.

http://xdaforums.com/showthread.php?p=69190540/
[Android Software Development] unos21:
Working on Lenovo Zuk Z1 using unofficial CM14, thanks!
[Android Software Development] ctiantolentino:
can you share the flashable zip Pixel Launcher App you installed that makes the weather icon work. TIA! :)
[Android Software Development] kontroller:
We will love to hv that....?
[Android Software Development] boswelja:
It will only work if you have the 7.1 preview, if you do then you don't need a special zip, just google pixel launcher apk
[Android Software Development] yyz71:
Flashable zip and it updated in the play store
[Android Software Development] yyz71:
Nice
[Android Software Development] wenbei999:
7.1.1 Okay Google unable to turn on

Assistant still comes up with long press, but ok google will automatically switch off whenever you try to turn it on.

Before someone recommends me to some previous post, I've had it working on 7.0 so I'm quite sure the DP is the issue.

Edit: nvm found a fix :p

https:// code.google.com /p/android/issues/detail?id=225646
[Android Software Development] berry_lthird:
OTA

Are the folks saying OTA won't work saying it because it doesn't prompt for OTA? Or because it won't OTA properly after accepting the prompt?

My device is enrolled with the Android Beta Program and I got the OTA prompt yesterday for Android 7.1 Preview. I downloaded the system image and manually updated just to be sure. Just wondering if accepting the OTA prompt would have worked.
[Android Software Development] Xdevillived666:
I'd on stock, manually edit build prop, wipe Google , reboot, wait, reboot again, long press home.and.profit. I'm on stock7.1 beta and it's working beautifully using English us.
[Android Software Development] wicked1683:
IS there any valid fix for repeated enrollment of hotword "OK Google" and OK Google Settings force crash when trying to turn on Always on screen?
[Android Software Development] FaserF:
You can find an ARM64 on apkmirror
[Android Software Development] ZackWills:
Working great but..

Recently flashed velvet and build prop and got the google assistant and is working fine, but whenever i say "OK GOOGLE" hotword, i have to set up the voice from the start configuring Ok google 3 times, Everytime i say ok google. If you could help bud.:(
[Android Software Development] NLBeev:
http://xdaforums.com/nexus-6/general/google-assistant-dear-shamu-t3478029/post69190540#post69190540/
[Android Software Development] wicked1683:
Not working on Nexus 5
[Android Software Development] BRFNGRNBWS:
How do you restore the build.prop, or get rid of assistant?
[Android Software Development] bostonirishguy13:
This worked for me:

http://xdaforums.com/showpost.php?p=69223855&postcount=1200
[Android Software Development] pavelcheto:
delete
[Android Software Development] argraur:
Working on Android 7.1.1 (Nexus 5X)
[Android Software Development] gaurav5696:
Does method 2 work on all android 7 devices?
[Android Software Development] akaSStalkALEX:
How can I revert those changes without root back? I mean the second way of editing props
[Android Software Development] kodackx:
You don't need to flash anything. After installing 7.1 you simply download the latest Pixel Launcher APK from APKMirror. In order to have the google now slide work I used "Root Essentials" to move the app to /system.

Hope that helps!
[Android Software Development] NLBeev:
With rootexplorer or a build.prop-editor.

Remove 'ro.opa.eligible_device=true' from build.prop. Reboot.
[Android Software Development] akaSStalkALEX:
You're talking about root way? Second way is working without rooting anything as I understand.
[Android Software Development] mike9976:
Hello is anybody eles having resets after saying OK google done the build prop and data reset but it still does it
[Android Software Development] Lumiphoton:
Yes, almost everybody on 7.0 is having this issue, don't worry. It's still early days, just have to wait it out for the time being
[Android Software Development] bdwilk:
Have you got it to work without root? I've read every comment since day one and I can't remember one person saying it works without root.
[Android Software Development] akaSStalkALEX:
No. I understood it already. I'm just too lazy to backup before rooting procedures:)
[Android Software Development] bdwilk:
No I was actually asking because there were people a couple days ago saying that its supposed to work without root. No one has shown proof yet though. Stop being lazy, when your doing stuff like flashing and changing build.prop values you're gonna be real sad when something messes up and you were too lazy to take precautions. Trust me, something will mess up along the way.
[Android Software Development] akaSStalkALEX:
Yeah, thanks. I mean it's not worth it to root phone only to make one app working especially when one have a real chance to mess things up. I think l'll wait for a non-root solution.
[Android Software Development] bdwilk:
I'd wait till at least its stable. Personally I prefer Google on tap (screen search they call it now)
[Android Software Development] Won't be druv:
Google on tap is still there with assistant.
[Android Software Development] 1112ee:
I'm on nexus 6p 7.1.1 and build.prop editor isn't letting me edit this value

ro.product.model=

It's giving me this error

Any ideas? I'm sure I have root

EDIT:

Think I got it, had to setenforce 0 then save
[Android Software Development] piotrus22:
What exactly do you mean? I have been doing this by adb from TWRP and my ROM is not rooted. So basically all my build.prop changes are done before the ROM boots and I can confirm assist works perfectly that way. (except for the OK Google keyword but that's a known bug). I'm one OnePlus 3 running cm14.
[Android Software Development] primod808:
Thanks for this! Running fine on my old galaxy s2 skyrocket running CM14. CAN'T BELIEVE MY S2 IS ON 7.0 AND MY S6 ISNT!! ????
[Android Software Development] bdwilk:
Well you're the only one. Kudos
[Android Software Development] salim0786:
will this work on nexus 5x but with 7.1.1 please reply

---------- Post added at 04:30 AM ---------- Previous post was at 04:08 AM ----------

this is for arm devices. what about arm 64?
[Android Software Development] JNewms:
Yes, it works without root. But, you'll need a laptop or PC to do it. You can use ADB to pull your build.prop to your PC, edit it there, and then push the edited build.prop back to your device.
[Android Software Development] bdwilk:
OK. BTW I'm not a fool. I'm rooted on all my devices. This was just a discussion from earlier. What's funny is the article these people are referring to that says you don't need root implies the only method you don't need root for is method 2 with the zip files, not the manual method. I believe you 100% if you say you can push a file with modified build.prop to an unrooted phone, but I guess that's just not the case with my devices I've modified over the years.
[Android Software Development] JNewms:
I never said you were a fool, or thought that you were. I was just trying to answer your question. I used ADB to refit none when I was enabling Google Assistant.
[Android Software Development] Instinct89:
Great job!
[Android Software Development] NLBeev:
Same on my N6; build.prop editor did not work. But with rootexplorer I could edit build.prop.

Probably not enough space in the system partition or bp-editor needs an update.

Read more http://xdaforums.com/showpost.php?p=64208563&postcount=3393/
[Android Software Development] JNewms:
How many lines did you edit to get it to work? I've changed both ro.product.model to Pixel XL, and I added ro.opa.eligible_device=true

But I still don't have assistant. I've cleared the Google app date as well. Not sure what I'm messing up here.

---------- Post added at 07:34 AM ---------- Previous post was at 07:34 AM ----------

I have a build.prop on my laptop I could push, but I'm trying it through root explorer, and I can't get this method working
[Android Software Development] angel_boulevard:
great.working on my redmi3 cm14
[Android Software Development] NLBeev:
First trained OK Google and backed up build.prop to sdcard; Reboot.

Build.prop: one line edited. ro.product.model=Pixel.

Added ro.opa.eligible_device=true, between two empty lines. Reboot. GA works!

Than edited the value of ro.product.model, back to Nexus 6.

GA keeps working.
[Android Software Development] JaylanPHNX:
Are you also enrolled in as a beta tester for the Google App? I've found this is a critical part of the equation that's not often mentioned.

From my Tab Pro 8.4
[Android Software Development] JNewms:
Yes, I've been a beta member for a long time now
[Android Software Development] Flipz77:
It does, but you won't get "OK Google" detection unless your ROM supports it. Nexus stock ones do, and the Google now exploits work, but any other device (such as my Moto X) will have to stick to long-pressing home.
[Android Software Development] songs354:
can you please help me up with this, i did everything i followed your instructions and google assistant only appears once in the initial setup after that it shows now on tap everytime, i then also changed the model to Pixel also i did it manually still it appears only once in the initial setup

tested on my moto g 2013 running CM14

nevermind its working flawless with voice recognition now
[Android Software Development] yeroc1982:
im on 7.0, rooted stock rom. I want to flash the zip, is there any issues with this?
[Android Software Development] vladtdr:
My google app constantly force closes... How can I remove this?
[Android Software Development] songs354:
update google app to 6.5.35.21 then copy all the files in you internal storage and flash the zip files as mentioned or you can use the manual method, once rebooted now head to your internal storage, i suggest es file explorer and allow root explorer now head to root directory and select system now the build.prop file and open it, scroll down and make sure it says ro.product.model=Pixel XL &

ro.opa.eligible_device=true now go to google app info and wipe its data
[Android Software Development] vladtdr:
Dude i did this and my google app constant constantly force closees... I was asking how can I remove Google assistant and go back.to.google now?
[Android Software Development] Flowwwie:
Remove the 2 lines from the build.prop that you are inititally changed (see OP) and clear cache/data from Google app and reboot
[Android Software Development] M Asad Khilji:
How to enable Google Assistant in 7.1 ?

Thanks
[Android Software Development] PKFR4Life:
I was trying out Benzo earlier this week. Didn't work for me either. It gets through with PureNexus and WETA.
[Android Software Development] songs354:
oh okay...just delete the current build.prop first and then copy the backed up build.prop (its probably in your internal storage) paste it in system and give root permission rw-r-r now reboot and you're done
[Android Software Development] genti.b:
Just tried it on my Nexus 6. It worked perfectly. Kudos to all the guys who made this
[Android Software Development] maamiradina:
How i will get this app on grand prime lollipop 5.0 version
[Android Software Development] bdwilk:
For God's sake don't quote the entire OP.
[Android Software Development] lucasdeeiroz:
You won't.
[Android Software Development] alex7171:
Nevermind. I was in the wrong thread
[Android Software Development] drmjp93:
So after using it on 7.0, I updated to 7.1, Hoping that HotwordEnrollment 7.1 will fix the voice Recognition issues.

But to my surprise, even on 7.1 , its broken. Back to 7.0.
[Android Software Development] XRaiderxD:
I have done the above, how do I get the assistant to work. When I say "ok google" google now opens and not Google assistant, how do I fix it?
[Android Software Development] NBAPwns:
Once you reboot go to google app in settings and clear app data
[Android Software Development] songs354:
i guess it won't work that way for him either just saying cause i did everything i followed the instructions and google assistant only appears once in the initial setup after that it shows now on tap everytime, i then also changed the model to Pixel also i did it manually still it appears only once in the initial setup

tested on my moto g 2013 running CM14
[Android Software Development] XRaiderxD:
By that you mean the cache in the apps section right?

---------- Post added at 06:42 PM ---------- Previous post was at 06:39 PM ----------

I rooted my device and changed the build.prop, rebooted and it never showed up.
[Android Software Development] NBAPwns:
Here
[Android Software Development] XRaiderxD:
Alright I cleared all the data (including my homescreen layout), but I still have the google now thing. I use the Nexus 5x if that helps.

---------- Post added at 06:55 PM ---------- Previous post was at 06:53 PM ----------

Oh, didn't read your post. deleting data rn.
[Android Software Development] NBAPwns:
Try editing build prop? Not sure if your rooted. Thats what i did. Edit build prop save changes reboot clear data
[Android Software Development] XRaiderxD:
I have cleared the data the way you showed me on the image, but google now still seems to show instead of google assistant.

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

I did root, I can check the build prop to check if it saved the changes.
[Android Software Development] NBAPwns:
For me i had to set up google now first before doing the procedure. Like "Im in" for google now
[Android Software Development] XRaiderxD:
Does it matter in which order the "ro.opa..." line is placed?

---------- Post added at 07:14 PM ---------- Previous post was at 07:04 PM ----------

I have found the problem, it doesn't want to save the build.prop. Whenever I change it and save it, and then check back again the changes I made are gone.
[Android Software Development] jubster2591:
OK google detection not working

Anyone else having problems with OK google detection?.... I got the assistant working but my phone doesn't respond to OK google (the setting is greyed out and won't let me change it)
[Android Software Development] songs354:
voice recognition doesn't works for now

---------- Post added at 05:50 PM ---------- Previous post was at 05:47 PM ----------

so i guess it won't work, i've tried various methods but google assistant only showed up once at the initial setup after that it shows now on tap, so wiped google app's data then again it shows up on the initial setup
[Android Software Development] mushfiqsaif:
Whenever I say ok Google. it takes me to the setup menu again and again! How to fix it?
[Android Software Development] MZO:
What can you not install?
[Android Software Development] Ronak Chandak:
Isn't working for me on aicp builds.. which process did u follow? :confused:
[Android Software Development] counterfeit187:
For now voice activation using "OK Google" only works on Nexus devices with stock Roms. Hopefully updates to the Google app will fix soon, but in the meantime you have to use long press home button.