yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Ken C:
Something I noticed. Just got assistant running using this magisk method and I noticed after first setting it up and charging that the assistant would unlock the screen like it's supposed to in a native situation and do its thing. Soon as I unplugged assistant wouldn't work unless the device was unlocked. Don't know if it helps anybody or if it's been mentioned before. Just throwing it out there for those smarter than me

---------- Post added at 01:59 AM ---------- Previous post was at 01:54 AM ----------

When I first set up assistant using the magisk method and after all the restarts and whatnot with the phone charging it would work as intended from screen off scenario. As soon as I unplugged it stopped working and would only work as it does now with chop installed. Even plugging back in it wouldn't replicate the behavior.

Running aicp 7.1.1 on a moto x pure

Sorry if this comes up twice not seeing it on my end
[Android Software Development] Sabissimo:
I've described what I've done here

As for how does it work - Assistant gives you training screen, when extra parameter "from_hotword" is given in the intent to start assistant activity, so I just trick it to think that it's not coming from hotword by returning false in the method that detects if it's started from hotword. So basically even when you start it from hotword, app thinks that you're starting it via screen interaction (for lock screen - swipe from left, from home screen - long-pressing home button). So you've got the same functionality as "OK Google" before assistant, you can trigger it via hotword with screen on, or with screen off when charging.

But since there's no detection of "OK Google" when phone is not charging (not on Pixels at least), it's not possible to activate if with screen off.

In my xposed module I've tricked Google App to think that it's always charging, so it's working (but with some hit on battery life), but that requires more then just changing one return value from true to false, so it's not possible to implement in smali (decompiled) code. At least for me :)

---------- Post added at 06:54 AM ---------- Previous post was at 06:50 AM ----------

I'm on Moto X Pure myself, got it working on CM 14.1 and AICP 12.1, and it works just like I've described above.

Have you enabled "Personal result" in voice search with assistant off?
[Android Software Development] Ken C:
Haven't tried the personal result deal yet no. I had just gotten done going through the fight everybody seems to with v4a. this is my first run with magisk itself. When I had assistant running last it was right when the chop app came out. Can't remember if it was charging or not but the very first go round with assistant worked exactly as it should. Nothing after though, just add it does on 7.0.

I'll look for that personal result deal and thanks for the info. Wife thought I was mental yelling at the phone.

Extra thought : disable the module in magisk, reboot, that personal result deal. Reboot, reenable and reboot again? Or is it flip this do that?
[Android Software Development] DeeZigneZ:
​

Is it possible that you can make that with Teamblackouts black Google app???? Please

I'm on a samsung device with nougat..

I don't really want to change my build.prop because some things like samsung store or GEAR manager won't work...

Thank you much appreciated...

(Ps ..yes I know TBO has still a older version online but it has the assistant in it already tested but like said with build.prop change)
[Android Software Development] Sudarshan Q700S:
Facing bootloop over moto x play

downloaded and flashed as said above then to stuck on bootloader warning.
[Android Software Development] manchitro:
How do I uninstall assistant and revert back to now on tap?
[Android Software Development] Crimshot:
I posted a way to revert back to now on tap about two pages back
[Android Software Development] Da_Gamer_pk:
Thanks a lot sabissimo... I was using chop assistant till now but using method 2 now OK Google is as fluid as ever.. I just flashed zip after uninstalling chop assistant and OK Google worked for me without disabling Google app..
[Android Software Development] sujit9894:
pls help

I am using RR 7.1

Asus zenfon 2 leser

Evry thing working fine but only problem is when i ask for sen an alarm or reminder it says to keep going please downloaad clock app from play store.

Even i have already clock app installed.
[Android Software Development] Gerard15799:
Is it working on Asus Zenfone 2 Laser ZE550KL??
[Android Software Development] mljh:
i used both methods but google assistant is still not available on my phone. im using a nexus 6p on NMF26F 7.1.1.

ive rebooted and cleared data multiple times
[Android Software Development] sujit9894:
Yupp !!! Its fully working exept (not set an alarm , it saying install cloack app)
[Android Software Development] Ken C:
Ok so I don't need chop after using the magisk method? Interesting.
[Android Software Development] SHABBA JOTS:
noob question, didn't find anything in the thread about it. I have the newer LG. When I change the build.prop i lose the LG stuff correct? will that affect my camera software? kind of like the manual mode.
[Android Software Development] Phrodini:
Just changes the name and makes your device eligible for assistant
[Android Software Development] Android2003:
U are the man.

Tried tons of things and nothing worked.

Then try your solution

And......

Exactly THIS make my assistant work.

"ok Google" works too.

Very fine. Thanks a lot bro.

I have a Redmi Note 3 SD with Android 7.1.1 AOSP
[Android Software Development] worgamerx:
Hi sujit, you need to install Google clock, download it from play store then it will work...i was facing the same issue after doing this it worked.

P.S: Google assistant don't use your device or rom clock for setting alarms, it uses google clock. Same case with contacts i guess. I hope it will help

---------- Post added at 10:34 PM ---------- Previous post was at 10:27 PM ----------

My pleasure buddy, same here bro it has taken alot of my time to know this. I was trying all things and successfully i found this.

Sorry for bad english
[Android Software Development] masterchop:
Very interesting, How did you get that? i am not getting any errors on mine. I already know a way to start assistant without voice wizard but 1st i need to find a way to programatically detect with someone say Ok Google, if i find that out. I will supply an update with no Voice Wizard screen. (no luck so far).:eek:
[Android Software Development] 2x4:
No sound at all on latest OnePlus 3 beta 9 build
[Android Software Development] Dualz:
Don't quote me this but it could be your Gapps file you flashed. I had the same thing before and it's cause I was using an old dynamic Gapps package.

Just something to think about.
[Android Software Development] thesm4rt1:
Confirmed working on OnePlus 3T running CM14 based Resurection Rom (using the manual build.prop edit and adding the two lines at the bottom)

Thank you!!
[Android Software Development] NLBeev:
One the annoying things is saying 'OK Google'. I prefer other sounds like snapping fingers or click or whistle.
[Android Software Development] forgottenhacker:
Hey auto input kinda works for me, it hits the do it later sometimes but if I try again. Immediately then it just stays there nothing​ g being run...
[Android Software Development] Akhilesh S V:
Hi thanks for the zip it works perfectly on Nexus 4 with Nitrogen OS 7.1.1
[Android Software Development] GDay21:
work on redmi 3 running cm 14.1
[Android Software Development] counterfeit187:
You haven't read anything in this thread, have you?
[Android Software Development] GDay21:
pardon me, 'cause now i'm reinstalling my system too

will search on this thread asap :)
[Android Software Development] Stud12376:
I have google clock latest version but assistant doesn't recognise it when online, it recognises it when offline.as you can see it works when wifi is not connected.What to do?i also tried unistalling all the updates and then again update it from playstore.
[Android Software Development] Djs333:
Here everything working fine with a small bug in my Moto g titan rr5.8, hot word is working fine both in normal screen and lock screen, but the problem is that after some hours it's not recognising ok Google word on lock screen but in unlocked condition it's working,
[Android Software Development] warlord1993:
I am on AOSP 7.1.1 latest build. I have assistant setting on Google App. But pressing home button long is not launching assistant and also "okay google" command is greyed out. What can I do now??
[Android Software Development] candra yudha tama:
Take a look in playstore new version in available....can you update please v6.9.37 ?
[Android Software Development] Sabissimo:
Will do that in a couple of hours
[Android Software Development] Stud12376:
Have you made your phone model Pixel or Pixel XL,when i made my phone pixel XL the ok google was grayed out but it started a with pixel.
[Android Software Development] Sabissimo:
6.9.37 is up!
[Android Software Development] candra yudha tama:
Thanks is work again my nexus 5 fake rom 7.1.1 :D
[Android Software Development] Stud12376:
Thanx for this,its awesome,only one thing,when using ok google in lock screen,the google assistant covers the whole screen which is not exactly how it should be, otherwise it works fine.
[Android Software Development] mrkoven:
how do i enable ok google in lock screen?
[Android Software Development] Stud12376:
After voice training the comes an option for trusted voice, enable it.
[Android Software Development] XSPuser:
Whenever I say 'play music' it gives me the playstore link to install google play music. Is there any other way to play in my phones default music player?
[Android Software Development] counterfeit187:
Maybe clear defaults
[Android Software Development] forgottenhacker:
It doesn't work for me, but I use open Spotify...
[Android Software Development] Stud12376:
The weather card is not showing pictures in your modded app
[Android Software Development] Stud12376:
Switched to original app, note it is showing pictures. Please fix it in your apk.
[Android Software Development] mvdi:
Had the same issue. So far have only managed to open the app by saying "open folder player"

Also tried "Play Deep Purple", which then prompts the assistant to ask with which app. There seems to be a standard command " play artist"
[Android Software Development] badduke18:
Sorry if the question has been answered earlier..since this thread contains 205 pages it is difficult for me to read the entire comments..

I have used build.prop method and Google assistant is working on my moto e2 3g.. the only issue i am facing is every time i try to open the lock via saying"ok Google" the phone unlocks and voice training appears again and again.. someone pls help!!
[Android Software Development] eris23:
Install ChopAssistant is one choice.
[Android Software Development] Alxoom33:
Didn't work on Pixel C 7.1.1 NMF26H. Bootloops.

When edited by hand, saved build.prop is blank. Deleted and restored backup build .Prop. I suspect that is what happens when installing the zip files.
[Android Software Development] BluPhant:
Worked nicely on Nexus 7 AOSP. Amazing. Used the install zips method.
[Android Software Development] zaibansari20:
Working perfect on Pantech Vega Iron A870L Running CM 14.1 (7.1.1)

VelvetwithOKgoogle
[Android Software Development] counterfeit187:
Latest Google beta app runs assistant without changing model to pixel or pixel xl! Still have to ad ro.opa_eligible.device, and the okay Google command still has the training problem that you can fix with chopassiat, but there's progress. ? OnePlus One on cm 14.1
[Android Software Development] counterfeit187:
So now it will complete voice training instead of starting over after you say it the first time but not saved and it just says my device is not eligible for Okay Google anywhere. We might be a couple updates away from it working on more phones the way it should.

Edit: moved from system / app to system / priv-app now it is available on my device but with the same old issues
[Android Software Development] phairway:
I have installed google assistant using the magisk module method but now my volume control is no longer working. Not sure what caused this. I am on Nexus 5x with stock 7.1.1.
[Android Software Development] harpin14789:
Once I get Google assistant working. I get video stuttering/freezing in youtube app which audio goes on. Anyone else have this problem. I have a Shamu.
[Android Software Development] kajsilander78:
Same problem for me... Im not sure if its my rom or GA. Im on crdroid, latest 7.1.1....
[Android Software Development] harpin14789:
I think tis GA, since I don't have the problem after I undo the build prop changes.
[Android Software Development] Alxoom33:
I can confirm that on the Pixel C running Android 7.1.1 NMF26H.
[Android Software Development] counterfeit187:
I don't have to use this step and it still works. OnePlus One cm14.1 nightly builds.
[Android Software Development] Terenu:
I followed the steps in my Xiaomi Mi5 with CM 14.1 and I'm not able to get Google Assistant. What could be happening?
[Android Software Development] shyamalgarg:
I v install google assistant bt i am nt able to use google voice hotword....!!!!

How do i use voice hotword???

Any suggestions
[Android Software Development] Apad121:
Please search this forum before asking questions.

This question is asked so much: DOWNLOAD CHOPASSISTANT FROM THE PLAY STORE
[Android Software Development] shonak24:
Latest beta google app runs assistant without using chop assistant for hotword or changing model name just have to do ro.opa. Eligible devices on nexus 5x pure nexus rom
[Android Software Development] Alxoom33:
I found Google Assistant works without name change or Chopassistant on the Pixel C running the latest 7.1.1 version. However it needs the name change and Chopassisstant on the Nexus 6 running the latest 7.0 release.
[Android Software Development] iamdarkyoshi:
After setting up the assistant, it reverts to google now. I've rebooted, nothing, deleted app data, works until I set it up. Any ideas?
[Android Software Development] Garner:
What build prop app and version of SU are people using? I'm using a vary of build prop apps and the latest SU build but am unable to change the build props? Nexus 5x 7.1.1
[Android Software Development] AndyCosmos:
May be check if the SE Linux is enforcing ? If it's ENFORCING you have to change it to PERMISSIVE in order to be able to change buildprop.
[Android Software Development] Garner:
Thanks that sorted it, enabled google assistant but hotword does not work, tried chopassistant to enable it but doesn't work either.
[Android Software Development] shyamalgarg:
When i say "ok google " the settings menu of voice detection open.....what should i do now...??????

Any suggestions....!!!!
[Android Software Development] aouerfelli:
Reading this thread would be a good start.
[Android Software Development] shyamalgarg:
Is it stable for my oneplus x cm 14.1?????
[Android Software Development] Crimshot:
Did you try enabling the hotword detection in the Google assistant settings?

Also, did you train the voice model initially for Google assistant before you installed chopassistant?

---------- Post added at 02:06 AM ---------- Previous post was at 02:00 AM ----------

Use Chopassistant to fix this issue. For future reference actually SEARCH the thread for answers.

---------- Post added at 02:12 AM ---------- Previous post was at 02:06 AM ----------

The answer to your question is in the first post posted by the OP in this thread
[Android Software Development] Elanza_48:
Does this edits the build.prop and changes the device model globally?

The reason for asking this question is I'm using the one screen login prompt activated on my device, which might not work.
[Android Software Development] Garner:
Yes tried to enable it but it sort of jumps to the training screen for a split second then disappears then the selection screen Grey's out? Also it never allowed me to train the voice model.
[Android Software Development] Stud12376:
First turn off the accessibility for chop assistant then try to train voice module.
[Android Software Development] Garner:
That's brilliant! It worked 100% thank you!
[Android Software Development] Stud12376:
Good
[Android Software Development] vsot13:
After a long research I found, that open Gapps pico from 11/25/16 allow you to train Google assistant to stick. And it's working on any screen. Just do a clean flash. Of course you have to do build prop edit. On most ROM now ro.opa.blahblah.true is included, but you have to replace it with false, reboot and train the voice, than switch it back to true, reboot and enjoy.<br />

Test it on DU, ABC ROM and Nitrogen.<br />

Here is the link:https://github.com/opengapps/arm/releases/download/20161125/open_gapps-arm-7.1-pico-20161125.zip

I'm on Nexus 6
[Android Software Development] zswielder:
OK. I really would like some help here. I am on Moto X Pure, and I came to this thread by someone who recommended me to check it out. Basically, I'm looking for a way to change my phone's name/model to any of the phones supported by Project Fi so I can activate its sim. I've tried editing the build.prop. I've tried the flashing method. But, when I go to "about phone," it keeps displaying Moto X Pure and its model number. If anyone knows how I can accomplish this goal, I would really appreciate it. I am on CM14.
[Android Software Development] Crimshot:
After you changed the build.prop, did you restart your phone and/or clear cache and dalvik?
[Android Software Development] zswielder:
I restarted the phone, but I didn't clear cache and dalvik. Do I need to do that too?
[Android Software Development] Crimshot:
You should try it, if it doesn't work then maybe the lines of code wasn't changed correctly in the build.prop
[Android Software Development] zswielder:
I ended up trying Get Assistant - Root app from playstore, and it managed to change the device model to Pixel XL, but the device name remains Moto X Pure.
[Android Software Development] Stud12376:
The name can just be changed by clicking on it, device model matters not the device name.
[Android Software Development] minhnewpro:
worked on HTC One M9 stock 7.0
[Android Software Development] counterfeit187:
Name change may not be necessary any more. Lots of phones just need the ro.opa.eligible_device=true line to enable assistant, as long as you use the latest Google app.
[Android Software Development] ryuisnod:
Go through your build prop line by line and change every line that says moto to the device you want
[Android Software Development] Superraju:
Hello, i just follow the new up to date process....changed device id and opa manually and flash the velvet zip. Gave all the permission and clear data too.in google app settings i got the heading "Google Assistant settings" and i enabled it.but when i hold home button the chat bot is not comimg.its showing google voice search. And okgoogle crashing not even working. I have done others tricks too but cant solve. Any solution to solve it. Im using R2 Tesla7.1.1 rom.
[Android Software Development] DaKillaz98:
It seems that a lot of people are having problems with this. So I will try to help. Start off by modifying the build.prop yourself, flashable zips aren't a good idea. After modifying it, make sure you are subscribed to the Google app BETA here: Google App Beta. Then clear Google App's data and cache. Try it again and it should work. I got it working on a Note 3, Nexus 4, Nexus 5, Galaxy S5, Galaxy S3, and a Galaxy S4 by doing this, I could only get it to work with the beta app so make sure you do that. Hope this helps!
[Android Software Development] marco199609:
Working on Moto E 2015 LTE (Surnia), with CypherOS 3.1.4 :good: I only could get it working using manual mode, flashable zip and Get Assistant App did not work for me... On CM14.1 flashable zip works, on the same device. :highfive:
[Android Software Development] 2x4:
deleted
[Android Software Development] deepak3048:
I can't access ok Google setting in assistant it showing ....
[Android Software Development] counterfeit187:
It looks like you do not have it installed as a system app
[Android Software Development] deepak3048:
So what will i do
[Android Software Development] counterfeit187:
Actually it is a system app I'm wrong about that. What you need to do is switch back to Google Now train The Voice model and then change your build.prop. or you could try hitting the retrain voice model
[Android Software Development] kchristianc22:
What do all these locations mean when downloading the files? "Pennsylvania, Quebec, Texas..." Are there time/language differences between them?
[Android Software Development] counterfeit187:
Probably just site/file mirrors all the same file just different places to download from so you can get the file quicker
[Android Software Development] hooks024:
Works on moto g4 running Resurrection Remix N.
[Android Software Development] AndDiSa:
Works on Nexus 7 (2012) with Android 7.x AOSP ... ;)
[Android Software Development] Rameshwar Choudhary:
Working perfectly on redmi note 3 running global dev rom.
[Android Software Development] papacrazyfoot:
bootloop

I have tried this a number of times but I keep getting stuck in a bootloop and having to recover from nandroid. The phone freezes at the Google Logo before the boot animation. Is there any other instances of this reported and if so solutions?
[Android Software Development] Alxoom33:
You may have saved a defective or even blank build.prop. To get out of the bootloops you will need to restore your System from a Nandroid and check your build.prop after editing and saving. If it is blank, then restore the backup. You are probably out of space in your system partition. You will need to delete some apps.
[Android Software Development] fhLan:
Is that only specific countries can enable assistant?
[Android Software Development] yusseiin:
I managed to get the google assistant on my Nexus 6, but i can't check the "OK Google Detection" someone can help me?

Thanks :D
[Android Software Development] Akhilesh S V:
Flash Google velvet... Hotword works only when Google app is installed in system partition ;)
[Android Software Development] yusseiin:
Hotword is working on the home screen, but i can't check the " OK GOOGLE detection" from the google assistant settings the one that say " Say "OK Google" any time.
[Android Software Development] xT-g-K:
On my OnePlus 3 OOS4 Nougat, after flashing the files the assistant opens on the first try but never again. Is there anything i can do to make it more consistent?
[Android Software Development] dmoses1969:
Just installed Nougat on my OP3 and was wondering if your Google Assistant is working now or are you still having issues.?
[Android Software Development] RobbeSneyders:
I got it working on my OP3 with Nougat by manually adding ro.opa.eligible_device = true to the build.prop file. However, "Ok Google" detection does not work. I am now waiting on the beta version of the google app to see if that fixes the problem.
[Android Software Development] xT-g-K:
Still having issues, I uninstalled by restoring to my NANDroid backup in the end, but now Nougat OOS4 is giving me dreadful battery life. I lost 30% when I went to sleep.
[Android Software Development] papacrazyfoot:
bootloop

Oh I just noticed that TWRP says unable to mount storage. Could that be the cause?
[Android Software Development] dmoses1969:
What's the beta version of the Google app?
[Android Software Development] RobbeSneyders:
You can subscribe to the beta program of the google app. The link was mentioned in this comment. (I can't post off-site links yet)

However, I couldn't get the "ok google" detection to work with the beta version either (on my Oneplus 3 with Nougat).
[Android Software Development] candra yudha tama:
Waiting for new version 6.10.31 :D
[Android Software Development] counterfeit187:
Chopassistant not needed with latest beta! Tested on OPO.
[Android Software Development] Sabissimo:
Yes, indeed, with latest beta (6.10) retraining bug was fixed and it's working without any workaround! Hurray!