yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Ken C:
I think that was it. Assistant started showing up throughout the menus where it should be using Pixel launcher and setting the middle button long press for Google Now on tap

Edit :seems to be working. Got it working on launcher 3.haven't tried it on nova which is my preferred launcher. Check all your settings also I found some things that showed up after assistant started showing. Also I used the zip and manual versions to get it to work couldn't tell y'all which it was that actually worked. Also the first time I did it up it looked like Google now, only after pressing the microphone did it Start acting assistanty
[Android Software Development] thedark1979:
Thank you, Its work 100% by Method 1 on my Samsung Galaxy S4 with Android 7.1 (CM14.1)
[Android Software Development] Z.000:
Lost HDR+ on Nexus 5X

After enabling Google Assistant using build.prop edit, HDR+ option is gone from camera app.
[Android Software Development] Aldroid_97:
thanks for this tutorial

It works pretty good on the galaxy s4 mini with CM14

The only trouble is the "OK google" recognition it learns your voice but each time you say OK google ask you to train your voice again... Hoping google solve it in a future update ...
[Android Software Development] niki101:
Requirements

1. Android 7.0 or higher :good:

2. SuperSU or

kernel with dm-verity disabled

<---- :confused:

3. Latest Google app (6.5.35.21 or newer) :good:

4. build.prop tweaks (Just add or replace these lines on your build.prop: Code:

ro.product.model=Pixel XL

ro.opa.eligible_device=true) :rolleyes: But i get other commands. mentioned below.

My doubts:

2. What is "kernel with dm-verity disabled"?

I don't have supersu because my rom manages root by itself. So how to find dm-verity and disable it?

4. what exactly do I have to replace? I have these things written on my build.prop:

ro.build.flavor=cm_falcon-userdebug

ro.product.brand=motorola

ro.product.name=cm_falcon

ro.product.board=MSM8226

Device: Moto G (XT 1033) falcon.

ROM: CM 14.1 nightly 20161111;

Root: Yes

TWRP 3.2
[Android Software Development] Basem.syria:
Thanks a lot worked Like magic ... nexus 6p stock 7.1.1
[Android Software Development] mumboender:
There definitely is a way to use Tasker. I am on my OnePlus 2...it needs a Tasker plugin. Search this thread for Tasker and you will find it. I am using it exactly as someone posted it...it's a touch slow since Tasker has to close the input box but other than that works great...
[Android Software Development] diymike:
Mic Not working

On my LG G4 Assistant and Now has No Mikrophone Access.

Move to System/app also Not working .

Im on cm14.1....

Hope to fix soon :confused:f
[Android Software Development] neeraj121y:
Using cm 14.1 on moto g2 , there is no ro.product.model in build.prop ,also flashed build.prop zip doesn't works?
[Android Software Development] FU5 KONA:
Works great on my Nexus 6p running PureNexus with :eek:k Google" working Thank you for this!
[Android Software Development] Da_Gamer_pk:
It says that on tapping home button Assistant doesn't pop up after using the plugin. can u confirm it..?
[Android Software Development] eyckenstein:
Just add the 2 lines at the end of the build.prop. Empty the Google App data and voila, it works.

(I'm on Moto G2 CM 14.1 too)
[Android Software Development] mumboender:
I'm not sure what you are asking. If it is functioning right, saying OK Google will bring up the voice training screen momentarily and then Tasker and the plugin will close it automatically to the how can I help screen where you can verbalize your request..

---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------

And using the long press on the home button works as it always has displaying the how can I help screen.
[Android Software Development] JD154:
I finally get working in my moto G 2014 with Tesla ROM 7.0. and Google 6.7.21.21 Steps that I followed:

- Add manually tweaks in build.prop (ro.product.model=Pixel XL and ro.opa.eligible_device=true)

- Like [MENTION=7189179]Apad121[/MENTION] said here:

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!!!

10 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

- Rebooted and clear Google App cache.

- Added in navigation bar settings "Google now on Tap" Instead of "Search assistant".

- Rebooted and voila!
[Android Software Development] Apad121:
Do I get a like post I gave?

:laugh:
[Android Software Development] JD154:
I reached max thanks for daily, tomorrow I'll thank you!
[Android Software Development] Apad121:
:cowboy: Cheers mate!
[Android Software Development] In3rDm0RetHeNu:
Have you found a solution as to why it's not saving your voice?
[Android Software Development] nasibryanlee:
I tried editing and save but it just revert to the original name. Any insight on that?
[Android Software Development] Phrodini:
Moved,rebooted, and it now works. Thanks

---------- Post added at 03:09 AM ---------- Previous post was at 03:08 AM ----------

Have right to write via root?
[Android Software Development] nasibryanlee:
hm.. I managed to flash to CM 14 nougat 7.1... but not sure if my phone is rooted, is there anyway to check? Newbie here ><
[Android Software Development] Phrodini:
You can check your app drawer , go to settings to see if you have SuperSU or other root. You can also check the ROM thread to see if your ROM comes rooted and there's root checker app in play store. A file manager capable of accessing system will prompt your root app for permission.
[Android Software Development] nasibryanlee:
I just tried using root checker app, yes my phone is rooted.

I used the GetAssistant app in playstore to try installing Google Assistant (I believe the commands are the same as this thread) on my oneplus one, upon rebooting, there is a Mic appearing beside the Google search icon now, when I click on that mic and search for stuffs it just lead me to google cards.

Do you happen to have any insight on this?
[Android Software Development] Phrodini:
I'm not sure of a mic ,might be because of the launcher I'm using.

Did you successfully add the build prop? Google cards I think is there because you don't have google assistant mod completed
[Android Software Development] nasibryanlee:
Yea, I checked using buildprop app, info has already been updated to the following:

ro.product.model=Pixel XL

ro.opa.eligible_device=true

<--- this is the mic im referring to beside Google icon, it appear after i changed the buildprop information and reboot.

Currently using pixel launcher.
[Android Software Development] ingram10:
Add Galaxy note 3 to the list of working devices, CM14 BETA... THANKS OP
[Android Software Development] NLBeev:
Press and repeat saying 'Ok Google' until data appears.

Than long press the Home button....
[Android Software Development] nasibryanlee:
I changed my long press button setting previously, can you advice whether I should change the option to search assistant or voice search? Anyhow when I try changing to any of this, voice search will bring up the listening interface and waiting for my command before bringing me to the search results without going through any AI conversation. As for search assistant it will just bring me to the google home page.
[Android Software Development] NLBeev:
Google Assistant is activated by editing build.prop: ro.product.model=Pixel, and ro.opa.eligible_device=true. Nothing else.

After reboot Assistant will run by long pressing the Home button.

Another way to start Assistant is by voice. Saying 'OK Google'. That option needs voice training. That's in the settings of Google App.

That's all for getting GA to work.

EDIT: Language set to English UK/US.

There are many many issues with the voice training. After retraining the voice profile is not saved on many devices. We have to wait for a fix.
[Android Software Development] nasibryanlee:
I have found the issue, is with the language setting, once I set it to English (UK) from English (Singapore), Google assistant works!

But like what you have said, I have problem training my voice with the assistant, after registering my voice when I 'ok google' the system just pop out the training page asking me to re-register again.

Anyways, all good!
[Android Software Development] NLBeev:
Good point to mention. The language must be set to English UK or US.
[Android Software Development] Apad121:
Hi there

Check if the Google app is installed in the system/apps or system/priv-apps rather than the data/apps folder.

If it isn't in the folders i mentioned move it there, the file name should end in the quicksearchbox-1 or something similar using a recovery like TWRP to manually move it to the correct folder.

Please leave a like if this helped!:D
[Android Software Development] Da_Gamer_pk:
download root checker from the play store.
[Android Software Development] Apad121:
Hi there

I am running CM14.1 as well.

CyanogenMod comes with root.

To enable root you go into about phone in the settings and then press on build number or version a few times until developer options is enabled.

Then go into developer options on the settings page and scroll down until you see root and and, then enable it.

I have attached a screen below with the option in view on CM14.1

Please leave a like if this helped!:laugh:
[Android Software Development] niki101:
pls find my post on pg 166. i think u can help? i am having doubts about googl assistant. moto g 2014.
[Android Software Development] JD154:
I don't know what is it dm-verity, I didn't have to search anything about that.

I didn't replace nothing in the build.prop, just added the two lines below all other settings and it worked :D
[Android Software Development] Apad121:
Like I said in my other post with the guide in how to get Google assistant working on CM14.1 I said that moving the app to system/priv-apps is better than system/apps

Try that and see how it goes

Also try using a recovery such as TWRP to move it in the advanced settings rather than doing it in android.

Please leave a like if this helps:laugh:
[Android Software Development] nasibryanlee:
Hihi, the issue has been resolved, it is due to the language settings not being set to English (UK/US), once I set to the correct language everything work like a charm.
[Android Software Development] NLBeev:
It's the most forgotten setting ....[emoji1]
[Android Software Development] Monnolo:
Hi, I'm on Nexus 5 with Nougat 7.1 (build from 26/10) AOSP ROM. I manually modified the build.prop file and set the language to English (US), but no GA appearance after long press if the home button. Only the old Google search.

(Check attached images).

Can you please help me ?

Thanks !
[Android Software Development] mjasims:
Clear app data of Google from settings>apps>google

And it'll make Assistant show up
[Android Software Development] Monnolo:
Hi, thanks for your reply. Which settings have I to clear ? Please check attached images.
[Android Software Development] mjasims:
"clear all data"
[Android Software Development] Monnolo:
OK. Then reboot and GA will appear ?
[Android Software Development] mjasims:
Yes, it should
[Android Software Development] Monnolo:
It worked indeed. Thanks !
[Android Software Development] JaylanPHNX:
Also make sure you're enrolled in the Google app beta. I did everything right and nothing showed up until I remembered to do that.
[Android Software Development] Monnolo:
I am indeed ;) Now it works flawlessly
[Android Software Development] shahid221:
Try Clearing Cache and Temporary files

You can try restarting phone and try clearing cache of the app. Grant access to the app for root again.

repeat the process. I hope it helps. :P
[Android Software Development] dazeone:
How did you try editing it?

sent from my Pixelated OSPREY
[Android Software Development] nasibryanlee:
I downloaded an app call getassistant via Playstore, followed the instructions and the app amended the build prop info automatically.
[Android Software Development] dazeone:
Build prop still showing original model as if it didn't save it?

sent from my Pixelated OSPREY
[Android Software Development] nasibryanlee:
Is not showing in this buildprop app from Playstore, but from settings the device has changed to pixel xl after I used getassistant.
[Android Software Development] dazeone:
Is google assistant working now. Btw what version of Android is being used?

sent from my Pixelated OSPREY
[Android Software Development] nasibryanlee:
Mine is working now, the issue was with the language settings, must be in English (us/uk) for the assistant to work.
[Android Software Development] dazeone:
Oh OK. Well it's good to know it's working now?

sent from my Pixelated OSPREY
[Android Software Development] mpces:
I don't have the option of Us / UK in language settings I do have just US or just UK any help would be appreciated
[Android Software Development] wildboarhog0:
Works om HTC M7! other than ok google wanting to retrain voice every time. anyone found a fix to that yet? tia
[Android Software Development] nasibryanlee:
My apologies if I convey the wrong message, I mean either English (US) or English (UK) will just be fine.
[Android Software Development] NLBeev:
Get Assistant writes two lines at the bottom of build.prop.
[Android Software Development] nasibryanlee:
Yep, my problem is already resolved, just waiting updates to solve voice recognition problem :laugh:
[Android Software Development] nightwalker:
I don't know why but i followed the same steps on nougat and whenever i press and hold the home button it never shows me the assistant configuration screen, but only shows me the recent apps list. Don't know why it's not opening :(
[Android Software Development] Moto X Brick:
saying OK Google restarts Assistant from square 1

EVERY SINGLE TIME I say "Ok google", it responds as if I'm saying it for the first time- "Teach the assistant to recognise your voice"

and then when I select "do it later", it opens Assistant the way it was supposed to in the first place.

So screen-off Ok Google doesn't work either.

If i press and hold the home button, it opens Assistant without hassle.

I tried wiping all google app data but that didn't work.

EDIT: I'm on Moto X Style XT1572 running AICP 12.1
[Android Software Development] Phrodini:
That's normal
[Android Software Development] Moto X Brick:
NO man come on

You mean to say everytime a pixel user says OK google, he has to start over with Assistant? Coz that's what's happening to me
[Android Software Development] bdwilk:
No he's saying in this mod for non pixel users it's a bug that's existed since the beginning. Read first....ask questions later.
[Android Software Development] NLBeev:
There are many many issues with the voice training. After retraining the voice profile is not saved on many devices. We have to wait for a fix.

Some get voice training to work. The voice is trained BEFORE Assistant is active, using the settings of Google App.
[Android Software Development] dschense:
maybe this can help?

Its a logcat after trying to register the "OK Google" Hotword for the Assistant:

11-16 12:08:54.033 E/AssistDataManager(5521): Exception when retrieving AssistData.
11-16 12:08:54.033 E/AssistDataManager(5521): java.util.concurrent.CancellationException: Task was cancelled.
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.common.util.concurrent.c.ct(SourceFile:2112)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.common.util.concurrent.c.get(SourceFile:479)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.common.util.concurrent.k.get(SourceFile:76)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.assist.AssistDataManager.g(SourceFile:180)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.search.core.j.d.a(SourceFile:1252)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.n.b.u$1.run(SourceFile:2190)
11-16 12:08:54.033 E/AssistDataManager(5521):	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
11-16 12:08:54.033 E/AssistDataManager(5521):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.shared.util.concurrent.a.aj.run(SourceFile:66)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.shared.util.concurrent.a.aw.run(SourceFile:139)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.shared.util.concurrent.a.aw.run(SourceFile:139)
11-16 12:08:54.033 E/AssistDataManager(5521):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-16 12:08:54.033 E/AssistDataManager(5521):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-16 12:08:54.033 E/AssistDataManager(5521):	at java.lang.Thread.run(Thread.java:761)
11-16 12:08:54.033 E/AssistDataManager(5521):	at com.google.android.apps.gsa.shared.util.concurrent.a.ac$1.run(SourceFile:65)
[Android Software Development] gjc:
Settings -> Buttons -> Home Button -> Long Press Action

Set it to "Search Assistant" instead of "Recent Apps"
[Android Software Development] bluetigger68:
Change your build.prop line ro.opa.eligible_device=true back to false, reboot, train voice model in Google App, change build.prop line back to true and reboot again.

Works for me

Gesendet von meinem Nexus 6 mit Tapatalk
[Android Software Development] fygonzalo:
I think its working for you because its a nexus. The "ok google" only works on nexus..
[Android Software Development] bluetigger68:
Ah, ok didn't see the device.

Gesendet von meinem Nexus 6 mit Tapatalk
[Android Software Development] Link_of_Hyrule:
Sadly even after trying this on my Nexus 7 2013 it still wants me to train every time I say OK Google.
[Android Software Development] bluetigger68:
You are using a custom rom, asfaik it has to be stock nexus Android.

Gesendet von meinem Nexus 6 mit Tapatalk
[Android Software Development] Rud09:
What's the Update 3?
[Android Software Development] ninetailedfox63:
Should I try this?

So I just got an s7edge. Should I try this out?? I wanted the pixel, but with no expandable storage, and no water resistance, it was a turn off for me. But I love the inside of the pixel. So many cool features, and also Google Assistant, which is what I really want. Sooo.... yeah. So should I try to flash this once 7.0 comes out, root my phone, or not do this?
[Android Software Development] Ksv Prasad:
The Google assistant is setting up everytime I say "OK Google"
[Android Software Development] DuskXtremeX:
Build.prop

Hello everyone. I've successfully enables Assistant on my OP 2. I'm sharing my build.prop with you, Try that if needed. I've attached it.
[Android Software Development] DuskXtremeX:
Exactly! I have that problem too.
[Android Software Development] dschense:
[MENTION=6111955]DuskXtremeX[/MENTION] but "OK Google" ist still not working?! I think getting the assistant is no problem at all. Getting the "Ok Google" hotword with the assistant working is what is not working.. every time say "Ok Google" you have to setup the Hotword again and again.. It stays not saved in system. Till now there is noch fix.

"Ok Google" Problem only for no Nexus devices

There is a xposed modul to fix this issue (on android MM) - but as long android N has no xposedFramework no fix with xposed ;)
[Android Software Development] NLBeev:
#1713 and #1716
[Android Software Development] DuskXtremeX:
[MENTION=2049297]dschense[/MENTION] That's the problem. Whenever I say "Ok Google" I should set it up to use it. :( Is there a fix for this?
[Android Software Development] NLBeev:
#1713 and #1716

http://xdaforums.com/showthread.php?t=3477879/
[Android Software Development] dschense:
Yeah, this works for nexus devices maybe. but not for NO-NEXUS-DEVICES ;)
[Android Software Development] NLBeev:
Some managed. But many 'voice issues' reported here; also with Nexus devices.

We have to wait for a fix.

For now saying 'Not OK Google' ... [emoji1]
[Android Software Development] jerzyd:
Hi, after installing the files on my phone appears nameless application, which displays ads.
[Android Software Development] fatski:
Fingerprint sensor issues ZUK Z1

Just for info if anyone else is going to try this on the ZUK Z1, the build.prop edit enabled Assistant as expected but seemed to break the fingerprint sensor after a certain mount of time. I was getting "Fingerprint hardware not available" when trying to unlock the phone. Reverting the build.prop to the original fixed the sensor. Guess I'm sticking with Google Now for the moment.
[Android Software Development] BlackHoleOS Dev:
I did it it say pixel xl but the Google now pops up I did both methods
[Android Software Development] CNDow:
did you clear google app data?
[Android Software Development] BlackHoleOS Dev:
Yes I did
[Android Software Development] madakun:
Go to Setting->button->home button long press->search assistant
[Android Software Development] masterchop:
Hello Guys, I just want to let you know that i created a very simple app to fix the hotword command "OK Google" for the Google Assistant I will post it today after work. Please stay tune :)

So far so good and working as expected :)

Update:

http://xdaforums.com/showpost.php?p=69690275&postcount=1749
[Android Software Development] ranaxda200:
Will it work for non nexus devices too? :fingers-crossed:
[Android Software Development] masterchop:
I created specifically for non-nexus devices!! :fingers-crossed: my device its a One Plus One

So far so good!! :victory: not perfect but good enough!!
[Android Software Development] Prinjal Dave:
Post it fast:D
[Android Software Development] KrisztianK:
will you post a link with the app here?
[Android Software Development] BlackHoleOS Dev:
Thank you I have assistant now thank you

---------- Post added at 04:48 PM ---------- Previous post was at 04:47 PM ----------

Can u update this add moto e 2015 suruna on cm14.1 to the list
[Android Software Development] madakun:
I'll be glad to see your app
[Android Software Development] Deeco7:
Probably asked million times, but does editing the 'build.prop' to Pixel XL, have any implications on updates, ota's, dev updates, etc?
[Android Software Development] Anubhav1996:
Yes it does have effect(s) on your updates/OTAs etc! You won't be receiving further updates/OTAs!
[Android Software Development] diymike:
Problem was cm14.1

The Mic Not worked anywhere. Switched to older nightly -

Everything running.
[Android Software Development] Instien:
Phone continues to force close after giving all permissions. Any ideas?
[Android Software Development] masterchop:
Fix for Google Assistant hotword Ok Google Issue

Hello Guys,

Sorry for the delay, work its been crazy. I just uploaded my app to the Google Playstore and its call ChopAssistant.

INSTRUCTIONS:

-Run through the steps of upper post.

-Run through the Voice Wizard a couple of times

-Open ChopAssistant and enable Accessibility Access just like in the Video. :fingers-crossed:

-Say Ok Google :highfive:

This is a sample video of how it works:

https://www.youtube.com/watch?v=3yQf2Useuxc

[YOUTUBE]https://www.youtube.com/watch?v=3yQf2Useuxc[/YOUTUBE]

This is the Application Link: https://play.google.com/store/apps/details?id=choplabalagun.blogspot.com.chopassistant

This app was tested for a whole day with no issues or battery drain, its not even show up under battery consumption.

I only have 1 device (OPO) with Nugat so I need your input to know if it works on your device or not.

Not sure if Post owner would like this instructions on main post to make it simpler and not jumping through multiple post.

PS: Tested on Android 6.x and fully working. I just pushed the 1.3 update to playstore to make it visible on 6.x devices.

FAQ:

Q/

I think it will be better if voice setup wizard isn't showing up every time even it less than 0.5s?

A/

Unfortunately , I need the pop up to get created so i can identify it and then remove it. The speed of this action depends on your device. Try removing all your background apps and try again.

If you see my video, you barely see the popup.