yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Xdevillived666:
What language? I've read that only English UK works
[Android Software Development] Danvik87:
If you haven't made a system backup, you are pretty much screwed... You shoulf always make a backup before flashing anything. I guess you have to search on google how to flash stock os on your phone.
[Android Software Development] AXelzero1:
Use nova's novs action and select voice search.
[Android Software Development] NLBeev:
Same on my Nexus 6 - rooted.

After editing build.prop I see the two entries that will activate G Assistant.

After reboot G Assistant is working, but the entries are gone. Ro.product.model is 'Nexus 6' again. GA keeps working.
[Android Software Development] Bat-Maniac:
No, I don't.

Perhaps it isn't working for you because Substratum is not guaranteed to work on other devices than Nexus, and it will not work on many custom roms like cm.
[Android Software Development] stavros kelis:
I can confirm that the google assistant is working on my Nexus 4, rooted, with Pure Nexus Nougat without the need to train my voice every time... BUT the ok google command when the phone is locked, does not work. Any workaround this issue?
[Android Software Development] michel sedgh:
Ok so I was talking on /r/Android telegram group chat and I asked for some people who had the OK Google working to check something. They had an HotwordEnrollment.apk which I didn't had. I have tries to install it as a system app with proper permissions but I wasn't successful. So I will post everything I know here and hope someone could make it work :)

If you needed anything more that I could provide, reply to me here :)
[Android Software Development] stavros kelis:
I have the exact same issue with Nexus 4- Pure Nexus Nougat
[Android Software Development] xtremez:
I'm starting to think if this doesn't work on certain ROMs. I've tried all if not most of the instructions.

- Build Prop Edit to Pixel or Pixel XL

- Clear data from Google App

- Flashing the Zip files

- Clear Cache/Dalvik from TWRP

- Tried installing the beta apk

- Changing default language to English US

Not sure what else or what other combination that has been tried.
[Android Software Development] stangri:
Yeah, that's exactly what I saw. How did you manage to enable it and were you able to keep it with Google Assistant enabled?
[Android Software Development] gadgetroid:
Just to let you guys know, it works perfectly fine on Moto G (2014) on both CM 14 and AOSP
[Android Software Development] sebass89:
Hey guys, I don't know if someone said this yet but in my case I had my Nexus 6P on Spanish (my native language) and it just didn't work with changing the prop file.

I've changed to English, restart it an voilà! Works perfectly!!!
[Android Software Development] JaylanPHNX:
My setup is the same, 6p, ABCrom, theme ready apps, but editing build.prop and clearing Google App data does nothing for me. Strange.

From my Tab Pro 8.4
[Android Software Development] paeddi:
Did you use US-English or british?
[Android Software Development] sebass89:
US English
[Android Software Development] paeddi:
:( not workin for me.

Changed it to english system wide and also in Google Now.
[Android Software Development] ZaKaRia OuH:
hey !

as you see here in the screenshot.

i already have the HotwordEnrollement installed.

do you actually mean update it to work with google assistant ? if so,should uninstall this one or install it over in system?

and how can i instal it in system ? i've never done that before
[Android Software Development] Won't be druv:
You can also use action launcher if your widget with the microphone disappears. Action launcher allows selection of the widget.
[Android Software Development] Rochey13:
Need root for both methods

I’ve been trying for the last 2 days to get method #2 to work without root on a Nexus 6P (want to use barclays app) and I don’t think it can be done. After flashing the zips the build.prop shows the changes but never shows them in the “About Phone” area when you reboot. Could anyone confirm if you’ve done it or witnessed it done? If not could someone update the information above to say that root is required for both methods, just to save other peoples time.

Cheers
[Android Software Development] mbritten:
English US
[Android Software Development] ZaKaRia OuH:
i happened to me with method #1 and i'm rooted, after i have updated build.prop and went back to stock many times.

simply,after flashing the zips you need to wipe cashe and dalvik through recovery to make phone apply changes.
[Android Software Development] bdwilk:
The OP never says you don't need root for either method. I've read dang near every post the last 3 days and I can't remember one person saying they made it work without root. (I could be wrong, I've been wrong before) sure you can change the values but if you want them to stick after reboot you're gonna have to have root access.
[Android Software Development] Rochey13:
I was just requesting that root goes into the requirements section if it's needed - would save a few peoples time if they new that.

Lifehacker has an article about this and they specifically say that root isn't required for the flashable zips (I've asked them to update the requirements as well).

The only reason I attempted this is because I was hoping to have the Google Assistant without root so that I could still use the Barclays bank app. Now I need root for GA to work I've just sacrificed using the Barclays app.
[Android Software Development] stavros kelis:
I don't think is relevant in any way but google assistant is better than siri
[Android Software Development] bdwilk:
That's funny, about an hour ago I did a side by side with my wife's 6s and the assistant smoked siri on every question. Half the questions had to be repeated to siri and 3/4 of the answers weren't correct.
[Android Software Development] Phrodini:
Siri still sounds like a bot from the 80s?
[Android Software Development] brianelv:
I just tried modifying the build.prop of an unrooted AOSP ROM on TWRP and worked. Root is unnecessary having TWRP.
[Android Software Development] bdwilk:
I'm thinking that that's not even worth writing in words. It's like saying requirement.... cell phone. I'm just saying anybody who tweaks build.prop or any system changing app doesn't need to be told root is required.

---------- Post added at 01:01 PM ---------- Previous post was at 01:00 PM ----------

You're the first then. What phone and what ROM?
[Android Software Development] ZaKaRia OuH:
did anyone happen to encounter this problem ?

sync feature seems broken !
[Android Software Development] RokuP:
Nevermind.
[Android Software Development] Rahulraj943472:
Add redmi note 3 (kenzo) in list of working device.i am using it.
[Android Software Development] Kolmain:
I got it working with no noticeable issues so far, however, I had to root my Nexus 6P to get it the build.prop to stick, otherwise it reset with each reboot. So I rooted, made the changes, and unrooted. Now my Android Pay doesn't work :(

How can I get my AP working again?
[Android Software Development] bdwilk:
Did you just turn root access off or did you do a full unroot like with Supersu?
[Android Software Development] TakyBenk:
Same for me
[Android Software Development] drziddo:
Hello everyone, thanks for everything.

Simply not working after build.prop tweaks.

Google now appears instead of assistant.

Cache cleared, rooted, etc.

Flashing the files results in a boot loop.

Help required here.

Thanks in advance.
[Android Software Development] michel sedgh:
For me, it was not even installed so I thought installing it would fix the OK Google detection...
[Android Software Development] Kolmain:
I did a full unroot with SuperSU and answered no to the modifying the boot(?) image. If I said yes to repair the boot image it reset the build.prop....
[Android Software Development] buffal0b1ll:
This is horrible advice. All [MENTION=7680985]karan_nagrecha[/MENTION] has to do is dirty flash the rom and he's back in business.

Even if he was running stock and doesn't have a rom zip to flash, he should still be able to use TWRP file manager to find the build.prop.bak that the script should have made on flashing and restore it.
[Android Software Development] dinc2010:
Why is it that:

If I do adb pull /system/build.prop edit the file and push it back to system....then pull it back to see if it shows still edited, which it does....but when I reboot and check using BuildProp Editor app, my build.prop file shows un-edited thus Google Assistant wont work?
[Android Software Development] kinghu:
Got it working on my 6P stock rooted.

After a few tries wiping dalvik and Google app data, it kinda just started working. Trained OK Google prior and assistant just worked with it.

Device name is Pixel XL. I did, briefly add English-US as a language and the n deleted it again (setup as English-GB) - not sure if that has an effect.
[Android Software Development] brianelv:
Nexus 6P, "Just AOSP" ROM.
[Android Software Development] dazeone:
Did you get your device to boot again? If so, edit no manually.
[Android Software Development] RLBL:
Are you rooted? it does not stick if you aren't
[Android Software Development] NLBeev:
My Nexus 6 is rooted and I edited build.prop.

After reboot the added entry was gone and the changed product.model was Nexus 6 again.

But.....G Assistant keeps working.
[Android Software Development] JotaC19:
Hey [MENTION=5968460]brianelv[/MENTION], it works on Moto X 2014 (victara) | CM14
[Android Software Development] ParadingLunatic:
Not sure if you've implemented it yet. I have and unfortunately it doesn't work with my Nest thermostat like Ok Google/On Tap did. All it does is return a google search with results of the commands you can use from the Works With Nest page. I even went through the registration process again to see if that's what it needed. Still didn't work. I wouldn't say this is a show stopper for now but once the assistant is officially released, if it doesn't work, I'll most likely be rolling back to On Tap.
[Android Software Development] drziddo:
FINALLY

Got it working.

The issue was that assistant don't work in Spanish, only in english.

Thanks for your help.
[Android Software Development] thomasswan5547:
For me this fix works, yet still opens the google hotword enrollment panel, before jumping into google assistant everytime i say "ok google". Is this normal?
[Android Software Development] Xdevillived666:
What launcher? I get ok google working and then it doesnt once I close the app. Im using pure nexus 7 on my 5x with pixel launcher(I do setup on google launcher)...

---------- Post added at 08:15 PM ---------- Previous post was at 08:07 PM ----------

You need to be rooted and manually edit the buildprop.
[Android Software Development] Surplus:
Works on Moto G 2nd (2014) with [ROM][7.0.0_r6]AOSP+OMS/Substratum for Moto G 2014![28 SEPT] and gpl | abyss kernel 2.00 | nougat/cm-14.0 | marshmallow/cm-13.0
[Android Software Development] Xdevillived666:
You got Google hotwire working?

---------- Post added at 08:19 PM ---------- Previous post was at 08:12 PM ----------

What phone have you got.man?

---------- Post added at 08:22 PM ---------- Previous post was at 08:19 PM ----------

How did you get voice to work ??? I've tried everything noq
[Android Software Development] nycdiplomat:
You can add the nexus 9 to the list. Works on the stock ROM
[Android Software Development] Xdevillived666:
What launcher ? I seem to get gnl to work with hotword but then if I switch to pixel launcher it disappears
[Android Software Development] thomasswan5547:
When using this method I still get the hot-word enrollment screen for a split second until the "do it later" button is pressed by tasker, I found turning off transition animations helps a bit, however the screen still needs to be there correct? How about instead of using the hot word enrollment window, we just use an app like "commandr" in tandem with tasker and autoinput, listening for the "ok google" hot word (or whatever you like because its commandr)

Then triggering a tasker profile, in which autoinput long presses the homebutton.

I have tried this however for whatever reason commandr does not seem to want to work on my device, it just crashes, not even the built in hot words work. (I'm running the latest version of bokrom for the nexus 5)

This definitely seems as if it should work, maybe someone else could give it a try :)

Thanks a bunch and all the best Thomas.
[Android Software Development] Crix.Ful92:
How did you do? I'm trying to install files from the recovery but the phone goes into bootloop.

Help please :(

*Moto G 2014 CM 14 kernel stock*

Inviato dal mio Moto G 2014 utilizzando Tapatalk
[Android Software Development] BIade:
Hey mate. AutoVoice for tasker is what you are looking for. it has ok google integration and support for continous mode.

With the ok google integration I control everything here. (i.e. my self-built homeautomation).

With the continous mode, you dont have to say ok google anymore, and create own trigger words.

i.e.: Ok Jarvis -> opens the normal google now

OK Assistant -> opens the new assistant.

Downside: Continous mode of course drains battery.

Thats the reason, for me not to use continous mode and after playing a bit with the assistant I went back :)

Here is my Nexus 5 on AOSP 7 themed via substratum:

Cheers

Blade
[Android Software Development] Surplus:
Get the velvet.apk from elsewhere, don't flash any files in recovery.

Add the build.prop lines manually.

Even with those changes Google Assistant didn't work. It suddenly started working when I flashed the abyss kernel.
[Android Software Development] hibby50:
I've tried several times to set up the OK Google command before making the build.prop tweaks, however after making the tweaks I cannot get the assistant to work unless I clear the app data. I've tried several different methods. If anyone has any suggestions let me know
[Android Software Development] nycdiplomat:
Action launcher 3 is what I have installed on it currently.
[Android Software Development] zzwizard:
Stopped fully working for me

I recently go this working great. Then earlier today I installed AdAway and got that working as well. Then this afternoon I noticed that Google Assistant would no longer wake my phone and when I manually activate it and click on the settings from the menu, nothing happens. Any ideas?????

Ok, so like a few minutes after posting this it's all working now. Must be a Google "cloud" issue. :)

Sorry for the bother.
[Android Software Development] xtremez:
OnePlus One
[Android Software Development] whodatfan:
Pure Nexus 7.0

Franco kernel

SuperSU 2.78

Most current google app

build.prop tweak manual entry

Clear google data/cache

Reboot

........aaaaand nothing. Doesn't work.
[Android Software Development] jrk190:
Is there a way to do this without unlocking the bootloader? I'm trying to use nano to access it, through adb shell, can't seem to get adb working on stock recovery.
[Android Software Development] ScottFlysPlanes:
Works on Samsung Galaxy Tab S

After I installed http://xdaforums.com/galaxy-tab-s/development/rom-android-7-nougat-t3449078

I had to edit the build.prop via TWRP. I didnt see the line regarding the elegible thing so you actually have to ADD that line in. Have fun :)
[Android Software Development] BoostedSR20:
Exact same for me. Nexus 6P, Pure Nexus 7.0 (stock kernel)

most recent google app

build.prop edited

clear cache/date and reboot

Nothing. Still Google Now.
[Android Software Development] boswelja:
I just got assistant working by only adding ro.opa.eligible_device=true to my build.prop, time to add it to all my n builds XD
[Android Software Development] BoostedSR20:
I got mine working by adding a # I front of my my model nexus 6P line. Of course, it still won't respond to "okay Google" from anywhere.
[Android Software Development] bhanureddy:
Google assistant is working on Nexus4 with PureNexus Rom but one issue I am facing currently is when ever I say "ok google" it asks me to teach assistant to recognize your voice. Any solution to overcome this problem.

Thanks
[Android Software Development] pr11179:
Works on the Nexus 4, but crashes when i train my Voice. Also always ask me to train my voice when I say "OK Google"
[Android Software Development] mohamm3edadam:
Whenever I say ok Google it asks me to teach Google assistant to recognise my voice. I've done it like 10 times and it still says the same. Can anyone tell me a possible solution for this if it's not a known bug?
[Android Software Development] junioramboy:
Two days ago, I got Google Assistant + Ok Google working on my Nexus 6, rooted stock room. Yesterday morning, there was the latest update of Google App v6.6.21 from the Play Store. I also renamed my device from Pixel back to Nexus 6. It was working well. Then suddenly, last night, Google Assistant was gone. I didn't do anything to it. Lol.

Now, I'm struggling to make it work again in the same way I did. Google Assistant is not showing up. Could it the latest Google App update or could this be server-dependent thing? Hmmm...
[Android Software Development] mohamm3edadam:
Clear the data of the Google app and try again
[Android Software Development] whitesellkevin:
Hey i was just messing around with this and found i can open any app with it. Just say the name. Dont even have to say "open youtube. ". Just say " youtube." Good by app drawer hello assistant. Love this thing.

---------- Post added at 11:43 AM ---------- Previous post was at 11:37 AM ----------

I have google 6.6.14.21. and is working just fine. ??? On nexus 6 with nutty rom. Rooted. Dont know if thats the same as you said. Google 6.6.21
[Android Software Development] Xdevillived666:
Jist a quick heads up guys. I am on Nexus 5x , pure Nexus 7 ROM. I tried forever and a day to get Google hotword to run and couldn't do it. I went back to build prop, renamed my device to Nexus 5x, left the ro. opa.eligible_device=true ,wiped Google app data and rebooted and bam, hotword now works with assistant!! Not sure if this will help anyone, but I hope it does !
[Android Software Development] Mike Tran:
Didn't work with Nexus 5x 7.0 Got stucked at bootloop. I edited it manually
[Android Software Development] nieles90:
Any1 tested this on the NDB90M version?
[Android Software Development] buttasush:
Same here. Did you find any solution for it?
[Android Software Development] ItsVoXaR:
i tried this on a LG G3, the zip method hard bricked the phone...
[Android Software Development] piotrus22:
Kept it installed and not using my voice. :-/ long pressing the home button when I need the assistant.
[Android Software Development] VaniENES:
Edit. Nevermind should have searched first
[Android Software Development] :
So far I tried this on all the Android 7 roms for the Nexus 5x and ALL of them were buggy or had issues with both methods. The only one I found that so far works perfect with "ok google" was stock factory image, JUST rooting it and manually editing the build.prop file. No twrp or anything just flash factory, and root it then edit the .prop file.
[Android Software Development] Myrrhman:
Hey guys, so i got it working on N6P, but when i ask about the weather she gives me the answer in Fahrenheit. I want it to be Celsius. In Google now my settings are put to Metric. Is there any setting I maybe missing ? Or is it just maybe because my system language is set to English(US) ? Or.. ?
[Android Software Development] dazeone:
Ask her in Celsius
[Android Software Development] mbl1979:
OK, so I see on page 57, that the build-prop makes a back up after flashing the Google MOD. My thing is how do I use it to revert back? I dont really mess with build-prop much, so this is a little new to me. Do I make the file a .zip to flash or what lol. I usually make a back up before kernel and mods, this is what I get for not following my own rules. :( Again thanks y'all for the guidance. :)

Edit.. I found the instructions on how to do it.
[Android Software Development] ErfanGh:
Works

I can confirm it worked on the MotoG 2014 running cm14 just the ok google keyword seems to have stopped working. But this is great! Thanks
[Android Software Development] dark_knight_95:
Do u have a backup?I had tried flashing the zip too but the phone does not boots up .
[Android Software Development] ketan.xda:
Google Assistant, Help

hi, i have just re-installed the ROM v9.3 on moto G xt1033. i have not given root permission yet. i just want to know:

1. can i flash Goolgle Assistant 2 zip files thru TWRP without root?

2. will GA work if i manually install GoogleVelvet.apk and flash only that other one zip
[Android Software Development] rchtk:
What do people use GA for?
[Android Software Development] theRG:
This is my exact issue. It happens when trying to enable always on whether the build prop is modified or not (now or assistant). I'm also on a nexus 6 with pure nexus.
[Android Software Development] Mohsin Pathan:
Thnkx working :)
[Android Software Development] manpildo:
I trained her to call me God and when I feel like it, I ask her who I am.
[Android Software Development] m0ritz:
Can you describe how you made it work? does not work for me ...

---------- Post added at 07:51 PM ---------- Previous post was at 07:47 PM ----------

Can you describe how you made it work? does not work for me ...
[Android Software Development] NLBeev:
Just trying to get it to work because Google did hide it.
[Android Software Development] ZaKaRia OuH:
That's what we all intend to do.

make the impossible possible :p

Go against google :D

Act illegal.
[Android Software Development] ItsVoXaR:
Nah i had to completely reinstall the factory rom even backup was bricked... Terrible
[Android Software Development] Xdevillived666:
Yeah, I avoided the zip after I saw it wasn't for arm 64 devices

---------- Post added at 07:43 PM ---------- Previous post was at 07:41 PM ----------

I had the same issue.... I changed all languages to English UK, wiped Google data , then left my model as Nexus 5x in build prop, added the "ro.opa.elgilble_device=true" line, rebooted, and now even the hotword works. Before, I couldn't toggle the switch on unless I wiped data and rebooted, and even then it kept prompting me to train voice .

---------- Post added at 07:49 PM ---------- Previous post was at 07:43 PM ----------

Probably us English man
[Android Software Development] m0ritz:
I think I love you - after 4 hours of trying your post worked!!!:fingers-crossed::fingers-crossed:
[Android Software Development] Myrrhman:
Thanks all. Yeah, i thought so (language setting). But [MENTION=4620656]dazeone[/MENTION] advise worked like a charm.

Wish there was a setting for it though
[Android Software Development] aouerfelli:
There is, look in the settings. It's in the section where you can set your Nickname.
[Android Software Development] Myrrhman:
Oh my, you're right. :highfive: Thank you !

The ''forever noob'' has been helped out once again :o (and thats it, it's going in my signature now)
[Android Software Development] bhavstech:
Okay google detection doesnt work
[Android Software Development] :
First, uninstall Google App. Then, install this version.

Edit your build.prop so

ro.product.model=Redmi Note 3

becomes

ro.product.model=Pixel XL

. Then, leaving a blank line after ro.product.model, add

ro.opa.eligible_device=true

and put another blank line under it.

Save that, reboot.

Make sure all google app data has been wiped, and all permissions are set.

Open the Google app and make sure screen search is enabled, you should also see Assistant settings there.

Set your assist app in settings to Google app.

Reboot

Hold home button

????

Profit
[Android Software Development] m0ritz:
[MENTION=7447728]Benjimaestro[/MENTION] thank you. I learned that my mistake was not to wait. I waited about 5 minutes after every step and then it worked. Another user gave that advice.,
[Android Software Development] Golf c:
I cleaned flashed Nexus 6, Uberstock 7.0, open gapps nano, set up my google assistant and now I have unlimited original Google photos storage with my Pixel phone. Very strange!
[Android Software Development] brianelv:
Open the Assistant settings and change it.