yashsingh1/xdaforums huggingface dataset:
[Android Software Development] sebasGST:
Thank you!! Works with my Moto G 2014 with AOSP 7.0, only the "OK Google" voice FC. All works good
[Android Software Development] bdwilk:
Well then you weren't "hard bricked" as you stated. A hard brick means nothing works. Screen won't even turn on. You were soft bricked.

ASUS Z00LD_LG f320s_Lenovo a328
[Android Software Development] AXelzero1:
Go back to your stock build prop, then only add the opa line. Don't change any other lines. Clear Google app data, then immediately open recovery and wipe cache/dalvik.
[Android Software Development] minhas729:
Yes i can confirm it from my g3

All u need is:

Latest Google app as system app

And

ro.opa.eligible_device=true
[Android Software Development] Augustin79:
I'm also on 6P Pure Nexus 7.0 and tried replacing my build.prop with this. After doing so I get an error message that I'm on the wrong vendor.img. Does this happen to you to?
[Android Software Development] michel sedgh:
So I added the opa line, cleared data and rebooted, google assistant came on for a second and vanished, then I cleared data and rebooted, nothing happened, I added the model Pixel XL line and again cleared data and I never saw the assistant again. I just saw it for a second :(
[Android Software Development] minhas729:
Make sure you have all permissions granted to Google app
[Android Software Development] michel sedgh:
yaaaaaaay
[Android Software Development] AXelzero1:
Just keep trying different combos. Iv'e had some issues but what ended up working was adding the ops line, wipe google data, boot into TWRP clear cache/dalvik, reboot, change model line, wipe google data again, reboot into TWRP and wipe cache/dalvik again.
[Android Software Development] showstopper1:
So u were altering only two lines?
[Android Software Development] michel sedgh:
So when you see Google Assistant setup, don't go to the OK Google voice setup, in my experience that reverted it back to google now.
[Android Software Development] AXelzero1:
I was, but I'm still experimenting on different ways so that I only need the one line.
[Android Software Development] showstopper1:
Do u have the OK google working?
[Android Software Development] AXelzero1:
Only with both lines. I can't get the assistant to show up with only one line.

Edit: The assistant showed up with one line after I manually uninstalled and reinstalled the google app.

Edit 2: OK google didn't work and it disappeared after a reboot. I'm just sticking with having the model line changed.
[Android Software Development] andrewhahalee:
Here's how I got it to work. Initially I kept getting Google Now-On-Tap Cards instead of Google Assistant and my 6P wouldn't trigger the Assistant:

Add the "device_eligible" config to build.prop

Change model to Pixel XL (IMPORTANT)

Google App - Clear all data

Clear all recents

Reboot device

Open Google App and do initial setup.

If NowOnTap still shows, then switch launcher, force stop Google App, clear data and switch back to GNL/PixelLauncher - (Google app probably preloaded something with your default launcher during boot)

Setup Google Now the second time.

Long press Home.

Should work now.

(And yes, as the OP stated, you need to be running 7.0 to do this. Which means you're either on stock rom, or a very early build of a Nougat custom ROM).
[Android Software Development] dario2106:
I used the first method, but after the first use, back Now on Tap

Some solution?
[Android Software Development] brianelv:
Try the old method.
[Android Software Development] AXelzero1:
Why are you awake? Go to bed. It's 5:00.
[Android Software Development] edwaine:
Trying this on my Nexus 5 with BOKROM AOSP Nougat ROM. It works. The only problem is when I am using the hotword, it keeps going to the start teaching google assistant with your voice.

When I try to go to the Google Assistant Settings>Voice or Google Assistant Settings>Voice , I get a Force Crash.
[Android Software Development] brianelv:
It's hard to sleep trying to port Pixel features with no success :silly:

Now I'm porting SystemUI.
[Android Software Development] AXelzero1:
Ooh, what's new in SystemUI?
[Android Software Development] mykenyc:
Yeah man tried everything too, have to Change ro.product.model to Pixel and add that new line, cleared search then pressed the home button to bring up Google Assistant.
[Android Software Development] minhas729:
OP please add a caution/warning that "Don't try try to unroot (removing SU) manually from a custom ROM after you have done this build prop edit for assistant) it bricks if someone mistakenly hits go back to stock recovery."

so when they try to push the recovery via PC.. it gets rejected..

"so build props must be reverted before doing an unroot thing"

I have seen three cases of this so far.. that's why i thought, it's important to tell others that please be careful of what you do to your phone.
[Android Software Development] oraned:
Problam google app

Hi it do all the time from beginning sed ok google why?
[Android Software Development] ketan.xda:
moto G xt1033

hi, Google Assistant working on my moto G xt1033 now, zip flash method worked for me.

After flashing zip i had to add one more line in build.prop i.e. ro.product.model=Pixel XL, and then it started working.

But Ok Google setup screen pops up every time i say Ok Google, even though i have done this setup already.

Any fix for this? Thanks :)
[Android Software Development] ebswift:
I got all this working on a GS4 I9505. As for getting rid of the train voice screen, the trick to configure Google Now first didn't work, I tried a number of times with/without the Pixel launcher etc. I also tried a number of times with Tasker which initially also didn't work, it would only run once if I pressed the play button. But, after uninstalling Tasker and its plugins, reinstalling, and setting up the task again, somehow it started working. I pressed a few things differently, but had a hard time getting it setup (had problems such as not being able to switch between tasks while selecting the screen for easy setup).

While none of this is particularly helpful, I suppose the one thing some people can get from it is that if the Tasker task only works once, try messing about uninstalling, reinstalling, and re-setting it up, it does eventually work (somehow). It's probably easier if you have already been working with Tasker for a while.
[Android Software Development] Xdevillived666:
Do you use chain fire auto root?
[Android Software Development] nima0003:
I just flashed this in a friend's phone and now it's stuck on Google splash screen, what do I do??? I can't risk loosing any data!
[Android Software Development] NLBeev:
When a custom recovery like TWRP-recovery is installed (hopefully) reflashing the previous system.img is a first try...
[Android Software Development] athultaj1:
Google assistant is working on zuk z1 (unofficial cm14)

But ok google enrolment is not working

Everytime i say ok google the google assistant asks me to add my voice.

And if I goto the settings of ok google detection then the google app is crashing.

Please help me
[Android Software Development] ert69:
I did everything but Google now shows up after seeing up assistant. How to get rid of Google now?

Edit: sick! Finally got it working.

1.Edited build prop manually, but used Pixel, not Pixel XL.

2. Uninstalled Google app

3. Flashed GoogleVelvet.zip

4. Booted back to system and held down home and voila!

Can add OnePlus 2 to working devices list.

Edit 2: OK Google brings up the voice training stuff. Accessing from settings gives an fc.

Edit3: dont even need the zip or uninstalling of google app. Changing build prop is enough. Ok google not working tho.
[Android Software Development] eyckenstein:
Google Assistant working on Moto G2. OK Google detection pops up training screen all the time. After trying I guess about all options of this thread. Not too bothered, because it's more a gimmick.

But, somehow it does work, because when I watch something on the iPlayer app, occasionally the Google Assistant pops up asking if she can help. As if the voices of the talkshow I'm listening to are triggering her. This is with headset plugged in. Press on home button shows microphone in the G of the Pixel Launcher. Then I say OK Google myself, and I get the training screen again and the microphone is gone.

Because I thought this was odd, I have tried it a couple of times and it is repetitive.

So hotwire detection works. Only not with my voice, but with Graham Norton on the BBC iPlayer ????
[Android Software Development] chirag2718:
hi bro

m using op2 CM14 can u pls tell me the steps for one plus 2 m trying since an hour
[Android Software Development] ert69:
The post you quoted literally has all the steps. In fact, you dont even need the zip file, I tried without and works. You can find the text to put in build prop from first post.
[Android Software Development] chirag2718:
pls confirm this
[Android Software Development] ert69:
Yes, looks correct. I just added these at the end.
[Android Software Development] chirag2718:
can u share googlevelvet.zip flashable file? pls
[Android Software Development] bdwilk:
Velvet zip is in the OP under flashable zip.

ASUS Z00LD_LG f320s_Lenovo a328
[Android Software Development] chirag2718:
dint require any zips

just added lines at the end

uninstalled the google app n google now

rebooted

hold the home bottom n yes der u go google assistant
[Android Software Development] Chetan.xda:
update to latest play services via APKMirror
[Android Software Development] Xdevillived666:
Another update. Apparently yesterday I did not have hotword working like I thought. I reverted to stock today and rooted but did not install twrp. Edited buildprop and cleared google data, rebooted, and now hotword works with assistant:)
[Android Software Development] Ntanwar:
a little help

whenever i say ok google it asks to retrain voice module
[Android Software Development] ert69:
This is weird af. When you only use

"ro.opa.eligible_device=true" then OK Google voice activation works and there's a mic icon in Pixel launcher, however assistant is not. When you use "ro.product.model=Pixel" too, then voice aint working but assistant is.
[Android Software Development] vignesh95:
is okay google voice activation working for properly for u ?

iam also on cm14 only
[Android Software Development] ert69:
I have the app and it still don't work.
[Android Software Development] chirag2718:
when i use voice retain app crashes

any solution for this?
[Android Software Development] cutmymeat:
Could you please elaborate? Steps perhaps? Ok Google Hotword working for you with what device/ROM/Google App version/Google Play Services version/Assistant language?
[Android Software Development] hooutoo:
Teach Boogle Assistant

Does this thing every stop asking for a lesson?????
[Android Software Development] ert69:
Ignore him. If you have auto updates enabled then you already have the latest Google play services.
[Android Software Development] cutmymeat:
Yeah that's what I thought. Cheers for the clarification anyways mate.
[Android Software Development] Chetan.xda:
it solved my problem that's why i suggested him to update play services.

i am just trying to help him.

and "ignore him" it feels disrespectful and rude.

no offense

---------- Post added at 02:11 PM ---------- Previous post was at 02:06 PM ----------

i have auto update enabled.

waited for 2 days finally updated via APKMirror mirror and google assistant started working.

#Device - Zuk z1, Nuclearom (MM)

google app 6.6.16.21.arm

play services 9.8.77

---------- Post added at 02:11 PM ---------- Previous post was at 02:11 PM ----------

i have auto update enabled.

waited for 2 days finally updated via APKMirror mirror and google assistant started working.

#Device - Zuk z1, Nuclearom (MM)

google app 6.6.16.21.arm

play services 9.8.77
[Android Software Development] ert69:
I apologize. I was going to follow your suggestion and then realized that my GP Services version is the same as it is on APKMirror.
[Android Software Development] bobo_15:
When I try to flash the zip the installation aborts, it says that it hasn't found the tweak.prop file

I'm on PureNexus for Nexus 5
[Android Software Development] Rls4ever12:
Download all 3 files. If you don't get this working there is another method.
[Android Software Development] Oinkers:
Just tested this on my 6P running Pure Nexus (the first Nougat release), and it works perfectly!
[Android Software Development] Xdevillived666:
Better to do manual edit man. That zip is more miss than hit.
[Android Software Development] ert69:
This should answer the question if using this method will give you unlimited cloud storage.
[Android Software Development] Just Anton:
working on S6 yet anyone?
[Android Software Development] andrei_poliakov:
How did you turn on this ability?
[Android Software Development] ert69:
When you get assistant working then it will automatically do this.
[Android Software Development] orcgoblinsupply:
Don't know if it was reported. When saying Ok Google I get voice setup screen everytime, even if I just made it. Nexus 4, SAOSP.
[Android Software Development] Harsha Raj:
You have edited the model line to Pixel or Pixel XL?
[Android Software Development] ert69:
Pixel. Pixel XL didnt work for me.
[Android Software Development] bdwilk:
[MENTION=7636239]Chetan.xda[/MENTION] #Device - Zuk z1, Nuclearom (MM)

google app 6.6.16.21.arm

play services 9.8.77

You got it working on MM? I know you can with xposed and N-ify but you did it with the OP method? Do tell.

ASUS Z00LD_LG f320s_Lenovo a328
[Android Software Development] junioramboy:
For those who have a working Ok Google, try saying..

"Can you sing?"

Hahahaha! Fun stuff.
[Android Software Development] droidappsreviewer:
Working on Yu Yureka Plus with crDroid 7.0.1 r_14
[Android Software Development] andrei_poliakov:
Very strange, but I haven't got this feature. Can it be disabled because of it is a system app, and I activated it before changing build.prop?
[Android Software Development] junioramboy:
Look at this! Lol
[Android Software Development] ert69:
Idk, its a system app for me. All i did was add the two lines to build prop, reboot, wiped google app.
[Android Software Development] andrei_poliakov:
Thanks, but it did'nt work for me now:(

I replaced two lines and cleared data, I've no idea how to enable this
[Android Software Development] ert69:
Maybe takes some time. I only discovered the photos app thing a few hours after I got assistant to work.
[Android Software Development] andrei_poliakov:
Ok,I will wait.Thanks a lot!
[Android Software Development] Just Anton:
how does one enable this on 6.0.1?
[Android Software Development] dazeone:
Xposed and N-ify
[Android Software Development] Just Anton:
can you help me with working link for a guide?
[Android Software Development] dazeone:
http://xdaforums.com/showthread.php?t=3345091
[Android Software Development] Chetan.xda:
it's ok.

no problem ☺️

---------- Post added at 07:26 PM ---------- Previous post was at 07:24 PM ----------

You got it working on MM? I know you can with xposed and N-ify but you did it with the OP method? Do tell.

ASUS Z00LD_LG f320s_Lenovo a328[/QUOTE]

n-ify
[Android Software Development] Shady282:
Thank you for your discovery, but is there a way to modify the build.prop not manually? because i m afraid to do that since a lot say it is a very important file and you should not mess with it :/

maybe something that does a backup?

Thanks again
[Android Software Development] Nex23:
Works like charm (N5x). However, when i have "ok google" disabled, but i still say "ok google" he asks me for permission to use ok google-command. So this mean, the micro of the phone is always listening even if i have ok google-acivation disabled. This is creepy...
[Android Software Development] JaylanPHNX:
I finally figured out why it wasn't working for me. Even though I had the latest beta Google app, it was because I flashed the theme ready zip, not because I'd signed up for the beta program. I signed up for the beta and a couple days later Assistant magically showed up. Hopefully that helps someone else. Now if only I could nail down this Okay, Google business...

I have to 6p.
[Android Software Development] Midomad:
Appreciated.
[Android Software Development] jerethi:
Trying to get this working on a 5X. It didn't seem to work. Do I need to delete my existing device info in my build.prop?
[Android Software Development] mohdfahad47:
How did you edit those two lines(using which file explorer)? Im on PN7 and tried editing the prop but it just doesn't change
[Android Software Development] helix512:
I get this line when I try to install the zip file GoogleAssistantVelvet.zip. this app was made for arm not arm64. Is there a 64 bit version?
[Android Software Development] kontroller:
I wanna know if I can flash the 3 files and get it to work on my AOSP ROM Marshmallow...
[Android Software Development] dazeone:
Xposed works on mm
[Android Software Development] kontroller:
Saying I should just install the assistant enabler via xposed?
[Android Software Development] jmaclean62:
I got this to work by editing my build.prop. I also got voice to work by following this helpful post. I would credit who wrote it, but I lost track of that. I thank you for sharing whoever you are. I really need to learn to bookmark or tag certain posts so I won't loose them. I copy and paste the info and then e-mail to myself now.

Ok google detection fixed finally

I can confirm the "okay google" detection gets fixed, once you revert to google now and train the voice model and again revert to the google assistant.

Here iss exactly what i did.

1. Enolled in the google app beta (you do this by going in to the playstore, browsing to the google app screen, scrolling down and select i'm in for beta testing)

2. Added the "ro.opa.eligible_device=true" line to the build.prop

-changed product model to Pixel XlL

3.cleared the app data of the google app. Go to settings >apps >google app > manage storage > clear all data and click ok.

4.rebooted and waited a few minutes.

Presss and hold the home button the google assistant comes up, but the train voice screen continuously comes up when you say "okay google" so..

5. Go the build.prop again

-delete the "ro.opa.eligible_device=true" line

-renamed the product model to what ever it was before

Save and reboot.

6. Once it reboots you should have google now again, go to settings of the google app, go in to "okay google detection" tap always on and train your voice model.

7. Go in to build.prop again add "ro.opa.eligible_device=true" line

Change the product model to Pixel XL.

Save and reboot

DONE ! (Once you reboot, i would suggest waiting 5 minutes so it again recognizes the build prop changes) it should now trigger the assistant when you say okay google.

He was using a Nexus 6. I have a Nexus 6P. I installed the Nexus Launcher and I lost the assistant, but I reset it and went back to the Google Now Launcher and all is well so far.
[Android Software Development] specialk00:
What the hell? Tried flashing the zip, it says "ERROR: Personal file tweak.prop not found or empty, script aborted!" And "Updater process ended with ERROR: 1"

It doesn't boot past the Google logo now. How do I unbrick my phone without restoring from an ancient backup?

edit: I'm specifically interested in how to undo the damage. I manually edited the build.prop afterwards but it did nothing? What the hell did the .zip do to softbrick my phone like that? Help?
[Android Software Development] smoothopera:
Sucess

I was able to get "Ok Google" detection working by following post #1037.

Enrolling as a beta tester for the Google App seems to be critically important.

I have a Nexus 6 with rooted stock Nougat.
[Android Software Development] edwaine:
Fix for the "OK Google" enrollment?
[Android Software Development] nontheoretical:
It probably modified your build prop to a nonsense value. If you just reflash your system or restore a backup you should be fine.
[Android Software Development] tejaskadaskar:
Hi guys... Whenever I go into google assistant settings voice detection the app crashes.. Please help me.
[Android Software Development] Nex23:
Did none of this. Edited the two lines. Cleared cache of the Google app and voice as well as ok Google works. I'm not on the google beta app.
[Android Software Development] Rofltropter:
Help!

Freshly rooted Nexus 6, stock. I changed the build.prop and cleared the data but it was to no avail, as I still have google now. Some people were saying it takes a bit of time for the system to detect the changed build.prop. I am going to wait 15 and try clearing the settings and cache again but I am not too sure that this is working :/

EDIT:

Got it. Just took some time
[Android Software Development] FaserF:
[MENTION=5968460]brianelv[/MENTION]

Hi Brian,

you have linked the wrong link to my download, downloading only this file doesnt work. You need at least the the GoogleAssistantBuildProp.zip AND the tweak.prop

Could you be so kind and link my whole instruction on the OP (http://xdaforums.com/showpost.php?p=69074667&postcount=112)

Or the correct download link? (https://www.androidfilehost.com/?w=files&flid=121914)

Thanks :)
[Android Software Development] hassanabid94:
Actually not doing it manually is more dangerous.

The editing is simple if you are rooted, just download a good free file explorer, i used es file explorer. Enable root explorer from the menu

Go in to your root directory then system then tap on build prop and open it with es note editor and make the edits and press back to save.
[Android Software Development] ert69:
Doesnt work for Oneplus 2
[Android Software Development] swa100:
Manually editing those lines in huis build.prop editor didn't work for me (build.prop editor gave me an unknown error and told me to check the root access, which was ok). But achter flashing the flashable zip, I got assistant working. Everything is working, even ok Google detection. The only thing that isn't working here is the unlimited storage on Google photos. Anyone has any idea how to get this?
[Android Software Development] Oscar Springtime:
Administrator issues

Hi,

First to say I'm a complete newbie to both android and fiddling with it.( Until Saturday i was on blackberry).

So i rooted my Nexus 6p on android nougat and used method one. In the Google app the settings for the assisting appeared after reboot. However when I try using it it tells me that the assistant won't work due to limitations of my activity controls by the administrator. This must be fire to the work email which I added to my phone.

Due you have a suggestion for i can get around this. Ideally I imagine a way that the phone fakes the rights to either my company or the assistant.

Many thanks for your ideas.
[Android Software Development] specialk00:
I now realize why flashing the file in the OP bricked my phone. I flashed the two you linked and no longer get any errors and everything works! Thank you so much!
[Android Software Development] annas_muslih:
just want to report, it works on xiaomi mi3w (AICP 12.0 Nougat)
[Android Software Development] Xdevillived666:
Not sure which rom you're on, but I eventually reverted from pure Nexus to stock and rooted. Edited build prop, cleared Google data and rebooted and now I've got hotword and assistant working.

---------- Post added at 12:43 PM ---------- Previous post was at 12:39 PM ----------

What phone have you got?

Rom?

Best option is to dirty flash your current rom as that usually restores build prop to normal.
[Android Software Development] specialk00:
Read my post above on this page. It got bricked because OP only linked 1 file instead of 3 and I fixed it by getting all 3.
[Android Software Development] OnkeIM:
Got it working (with all 3 files) on Nexus 6 (shamu)

however, 1'st try google now and assistant worked and i could ask how the assistant could help me.

couple minutes later the Google App will crash every time i say OK Google, or touch the search box.

i tried deleting the data from the Google App but it did not help. :crying:

any suggestions? :confused:

hat do enable all permission to "Google App", now it works

ps: im on Stock