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

Search This thread

brianelv

Senior Member
Jul 30, 2014
115
488
22
Buenos Aires
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
 

Attachments

  • device-2016-10-10-162148.png
    device-2016-10-10-162148.png
    78.2 KB · Views: 130,216
  • device-2016-10-10-200928.png
    device-2016-10-10-200928.png
    97.8 KB · Views: 129,247
  • device-2016-10-10-200958.png
    device-2016-10-10-200958.png
    89.4 KB · Views: 121,914
  • device-2016-10-10-201008.png
    device-2016-10-10-201008.png
    195.8 KB · Views: 113,224
Last edited:

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