[GUIDE] [UPDATE 3] How to enable Google Assistant on your phone (Android 7.0+ only)

Search This thread

maamiradina

Senior Member
Feb 6, 2014
147
8
Peshawar
Requirements
  • Android 7.0 or higher
  • SuperSU or kernel with dm-verity disabled
  • Latest Google app (6.5.35.21 or newer)
  • build.prop tweaks

Method 1: Manual editing
Just add or replace these lines on your build.prop:
Code:
ro.product.model=Pixel XL
ro.opa.eligible_device=true


Method 2: Flashable ZIP by @FaserF
Link: http://forum.xda-developers.com/showpost.php?p=69074667&postcount=112
Flashing video guide by @mjp93


F.A.Q.
What languages are supported by Google Assistant?
Only English and German for now.

I'm still having Google Now, what can I do?
Go to the Google app info and wipe its data.

Now my phone model is Pixel or Pixel XL, is this a problem?
Maybe. Some manufacturers uses the build.prop data to offer their apps and updates on Google Play, so you can have problems updating those apps. Nexus owners won't have any problem.

My camera is crashing!
Restore your build.prop and use the new method.

The "Ok Google" hotword doesn't work!
Works only on Nexus stock ROMs.

What about Android Marshmallow?
Check this out (by @Maxr1998) https://plus.google.com/+MaxRumpfAliasMaxr1998/posts/P6ehUoPNp54


List of working devices
  • Google Nexus 6P | Stock NBD90X
  • Google Nexus 5X | OctoOS
  • Google Nexus 6 | OctoOS
  • Google Nexus 5 | AOSP 7.0 by Santhosh M | BOKROM
  • Google Nexus 4 | ???
  • Google Pixel C | ???
  • Moto G 2013 (falcon) | CM14 | AOSP
  • Moto G 2015 (osprey) | AICP 12.0 NRD90Z | AOSP-OMS 7.0 NRD90U
  • OnePlus One | LegendROM CM14
  • Lenovo VIBE K5 Plus | CM14
  • YU Yureka Plus | AICP 7.0.0_r14

Good luck! :highfive:

For more information check the Nexus 6P thread: http://forum.xda-developers.com/nexus-6p/development/mod-google-assistant-stock-nbd90x-t3477868
How i will get this app on grand prime lollipop 5.0 version
 

drmjp93

Senior Member
Jul 14, 2012
1,017
235
Gandhinagar
So after using it on 7.0, I updated to 7.1, Hoping that HotwordEnrollment 7.1 will fix the voice Recognition issues.

But to my surprise, even on 7.1 , its broken. Back to 7.0.
 

XRaiderxD

Member
Oct 22, 2016
9
0
I have done the above, how do I get the assistant to work. When I say "ok google" google now opens and not Google assistant, how do I fix it?
 
Last edited:

songs354

Senior Member
Feb 19, 2015
187
48
29
guwahati
Once you reboot go to google app in settings and clear app data

i guess it won't work that way for him either just saying cause i did everything i followed the instructions and google assistant only appears once in the initial setup after that it shows now on tap everytime, i then also changed the model to Pixel also i did it manually still it appears only once in the initial setup
tested on my moto g 2013 running CM14
 

XRaiderxD

Member
Oct 22, 2016
9
0
Once you reboot go to google app in settings and clear app data

By that you mean the cache in the apps section right?

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

i guess it won't work that way for him either just saying cause i did everything i followed the instructions and google assistant only appears once in the initial setup after that it shows now on tap everytime, i then also changed the model to Pixel also i did it manually still it appears only once in the initial setup
tested on my moto g 2013 running CM14

I rooted my device and changed the build.prop, rebooted and it never showed up.
 

NBAPwns

Senior Member
Nov 22, 2014
354
32
Toronto
Here
 

Attachments

  • Screenshot_20161022-124330.png
    Screenshot_20161022-124330.png
    154.1 KB · Views: 624

XRaiderxD

Member
Oct 22, 2016
9
0
Once you reboot go to google app in settings and clear app data
Alright I cleared all the data (including my homescreen layout), but I still have the google now thing. I use the Nexus 5x if that helps.

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

Alright I cleared all the data (including my homescreen layout), but I still have the google now thing. I use the Nexus 5x if that helps.

Oh, didn't read your post. deleting data rn.
 

XRaiderxD

Member
Oct 22, 2016
9
0

I have cleared the data the way you showed me on the image, but google now still seems to show instead of google assistant.

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

Try editing build prop? Not sure if your rooted. Thats what i did. Edit build prop save changes reboot clear data

I did root, I can check the build prop to check if it saved the changes.
 

XRaiderxD

Member
Oct 22, 2016
9
0
Does it matter in which order the "ro.opa..." line is placed?

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

For me i had to set up google now first before doing the procedure. Like "Im in" for google now

I have found the problem, it doesn't want to save the build.prop. Whenever I change it and save it, and then check back again the changes I made are gone.
 
Last edited:

jubster2591

New member
Sep 27, 2015
1
0
OK google detection not working

Anyone else having problems with OK google detection?.... I got the assistant working but my phone doesn't respond to OK google (the setting is greyed out and won't let me change it)
 

songs354

Senior Member
Feb 19, 2015
187
48
29
guwahati
Anyone else having problems with OK google detection?.... I got the assistant working but my phone doesn't respond to OK google (the setting is greyed out and won't let me change it)

voice recognition doesn't works for now

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

By that you mean the cache in the apps section right?

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



I rooted my device and changed the build.prop, rebooted and it never showed up.

so i guess it won't work, i've tried various methods but google assistant only showed up once at the initial setup after that it shows now on tap, so wiped google app's data then again it shows up on the initial setup
 
  • Like
Reactions: jubster2591

Top Liked Posts

  • There are no posts matching your filters.
  • 266
    Requirements
    • Android 7.0 or higher
    • SuperSU or kernel with dm-verity disabled
    • Latest Google app (6.5.35.21 or newer)
    • build.prop tweaks

    Method 1: Manual editing
    Just add or replace these lines on your build.prop:
    Code:
    ro.product.model=Pixel XL
    ro.opa.eligible_device=true


    Method 2: Flashable ZIP by @FaserF
    Link: http://forum.xda-developers.com/showpost.php?p=69074667&postcount=112
    Flashing video guide by @mjp93


    F.A.Q.
    What languages are supported by Google Assistant?
    Only English and German for now.

    I'm still having Google Now, what can I do?
    Go to the Google app info and wipe its data.

    Now my phone model is Pixel or Pixel XL, is this a problem?
    Maybe. Some manufacturers uses the build.prop data to offer their apps and updates on Google Play, so you can have problems updating those apps. Nexus owners won't have any problem.

    My camera is crashing!
    Restore your build.prop and use the new method.

    The "Ok Google" hotword doesn't work!
    Works only on Nexus stock ROMs.

    What about Android Marshmallow?
    Check this out (by @Maxr1998) https://plus.google.com/+MaxRumpfAliasMaxr1998/posts/P6ehUoPNp54


    List of working devices
    • Google Nexus 6P | Stock NBD90X
    • Google Nexus 5X | OctoOS
    • Google Nexus 6 | OctoOS
    • Google Nexus 5 | AOSP 7.0 by Santhosh M | BOKROM
    • Google Nexus 4 | ???
    • Google Pixel C | ???
    • Moto G 2013 (falcon) | CM14 | AOSP
    • Moto G 2015 (osprey) | AICP 12.0 NRD90Z | AOSP-OMS 7.0 NRD90U
    • OnePlus One | LegendROM CM14
    • Lenovo VIBE K5 Plus | CM14
    • YU Yureka Plus | AICP 7.0.0_r14
    • Samsung Galaxy S5 | CM14 Beta
    • Nextbit Robin

    Good luck! :highfive:

    For more information check the Nexus 6P thread: http://forum.xda-developers.com/nexus-6p/development/mod-google-assistant-stock-nbd90x-t3477868
    169
    [Flashable] Automatically Install new Assistant

    I made 2 flashable zip files that will install and activate the new Google Assistant automatically. They will write "ro.opa.eligible_device=true" & change the modell to Pixel automatically + making a backup of your current build.prop and not touching your original build.prop settings.
    These zip files will basically do everything mentioned in the new method of the OP and change your modell to "Pixel" to get the assistant work correctly.

    1) Download the 3 Files below
    2) Copy all 3 Files to your device
    3) First flash GoogleAssistantVelvet.zip
    4) Then flash GoogleAssistantBuildProp.zip (this will install the "tweak.prop" into your build.prop)

    **Download**

    Credits:
    - @kl3 for his Dynamic automated build.prop editing

    Want the Full Google Pixel Experience incl Launcher, Dialer, Bootanimation and more?
    Take a look HERE

    More Details about the ZIP Files and what they do:
    GoogleAssistantVelvet.zip will install the new Google Velvet (Google Search) app as an System App on your phone
    GoogleAssistantBuildProp.zip will just search for the tweak.prop file, which contains the new lines for your build.prop means it has the information to add ro.opa.eligible_device=true to it and it should change your current modell to Pixel. Read more at the thread mentioned in my Credits!
    Thats all.
    ______________________________________________________________
    And btw its working on my LG G3 running Android 7 crdroid

    I have flashed my files above, and afterwards I have changed the device modell to Pixel XL, otherwise the new assistant only appeared once.
    37
    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


    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.
    17
    Tasker QuickGuide for auto skip Training:

    1) Install Tasker and AutoInput
    2)Start tasker
    3)Press + Button -> choose Event -> UI -> NewWindow
    4)Type in the Name "Google App" (Could be different in your language)
    5)press back button
    6)Let Tasker force you to create a new task
    7)Plugin->AutoInput->Action->Configuration->Easy Setup->press "close on notification
    8)Say "ok Google"->Expand AutiInput Notification->click the "add button"
    9)Press on "Later"
    10)Confirm all and save all with pressing "back" several times
    15
    Steps to make google assistant work on any screen

    Decided to make a mini guide again for people too lazy to scroll earlier posts :p

    • Make sure Google app is v6.6.14.21
    • Make sure that build.prop doesn't have the two lines from OP. ro.product.model= should be your default.
    • Clear google app data.
    • Set the default language to English(UK).
    • Set up google now the good ol' way with detection from any screen. Make sure it works from any screen. Also remember that anytime you change your input language or speech output language, the always on google now option resets! Make sure to tongle it back on.
    • Reboot Once.
    • Add this line at the bottom of build.prop
      ro.opa.eligible_device=true
    • Modify or add the below line
      ro.product.model=Pixel XL

    Do not wipe google app cache after the above steps as that will clear your hotword detection.
    Also make sure that there is no hotword enrolment apk pushed into system from other 'fix'

    If your google app still starts google now, wait for a few minutes, restart and you will have the new google assistant with hotword detection from any screen. May require a 1-2 reboots.

    Hope it helps.:)

    All credits to http://forum.xda-developers.com/member.php?u=4894658 for steps and guide.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone