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

Search This thread


Jun 26, 2011
Got it working finally

Just came here to say:
On 6p, 7.1.1 developer, rooted, franco kernel.
Tried for ages with build.prop & deleting google app data with no luck.
From reading the recent posts prior to mine I changed two things:
1. I enrolled in the beta program at the bottom page for the google app in the play store
2. I change my search language setting in Google -> Search & Now to English UK
Restarted phone - deleted Google App data. Now it works.


Oct 17, 2016

Can confirm, The hotword detection works now. There is no more voice training needed. Had to train in Google Now, readd build.prop edits and waited like 5 days until GA where there. In The meantime there where 2 automatic updates for Google Apps (beta).
Phone: Nexus 6 (shamu) with stock 7.0


Senior Member
Aug 7, 2015
Doesn't seem to work still on CM14.1 still. Doesn't FC on on ok Google detection settings anymore but ok voice detection still brings up the detecting voice every time. Still cool to have it half working though.

Sent from my SM-G900F using Tapatalk


Senior Member
Mar 13, 2015
I am running CM 14.1 on my redmi note 3. Will the mod work in that device. I already have assistant on my nexus 5, searched various threads but couldnt find anything related to redmi note 3.


Senior Member
Mar 9, 2011
New Delhi
It works on my LG Nexus 5x android 7.1 and it should work on android 7.0.

Add the two lines in the build.prop file in /system folder. You will need to do it using adb and twrp recovery if you don't have root. The build.prop file has to be modified and it is easier if phone is rooted but not essential. If you search you will find how it is done without root. If you add the lines
ro.product.model=Pixel XL

then comment out the line ro.product.model=Nexus by adding # before the line as shown below. It worked for me.

# ro.product.model=Pixel XL


I'm with Lg Nexus 5x android 7.0.
Will this work on this phone?
Do I need root?
Will it bypass "not available in your country" thing?


Jun 28, 2010
I've been following this thread from the start. Have uprooted N6P running 7.1.1 beta unrooted.

If I root to install assistant then unroot to go back to normal, will it break android pay and others?


Senior Member
Mar 31, 2016
I've been following this thread from the start. Have uprooted N6P running 7.1.1 beta unrooted.

If I root to install assistant then unroot to go back to normal, will it break android pay and others?

You don't need root to gain Google assistant. Everything can be done in custom recovery but you do need unlocked bootloader which I think kills android pay on nexus devices. Although I do believe that relocking bootloader will allow Android pay to work again.

Top Liked Posts

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

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

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

    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
    [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)


    - @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.
    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.

    • -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:

    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.

    I think it will be better if voice setup wizard isn't showing up every time even it less than 0.5s?
    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.
    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
    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
    • 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