FORUMS
Remove All Ads from XDA

[XPOSED] Assistant Enabler-Enable Assistant for any locale(with OK Google everywhere)

151 posts
Thanks Meter: 592
 
By Sabissimo, Senior Member on 13th October 2016, 01:01 PM
Post Reply Email Thread
This module is based on feature, introduced in great AndroidN-ify module and enables Google Assistant on Marshmallow ROMs.

I decided to create this module, because some features of AndroidN-ify on my device were causing SystemUI to crash, due to my rom not being close to AOSP. If your ROM supports all features of AndroidN-ify - I highly suggest to use it! It's awesome!

But in case you have the same problems as I do, but still want to use Google Assistant - you can meanwhile use this module.

Supports Google App 6.6.14.21 and later

All credits go to MrWasdennnoch, Maxr1998, Exalm and other contributors to his great module!

Known bugs:
  • OK Google hotword not working (goes to voice training everytime) Working with 6.10 update!
  • "OK Google" detection settings crash Working with 6.10 update!

After 6.10 update "OK Google" detection is working as intended without any interference, so just go ahead in google settings and configure voice there, it works now!
For versions below 6.10 use following guide

To use "OK Google" hotword you need to do following:
1. Update Google App to the latest version (at least 6.8 beta)
2. Disable assistant in module
3. Configure "OK Google" detection and voice pattern
4. Enable assistant in module
5. Say "OK Google"
6. ....
7. Profit!


Enable "OK Google" with screen off (even when not charging)
After enabling it in module settings, plug/unplug your charger for settings to kick in

Bonus feature: Enable Google Now (feed) in unsupported countries
In order to enable Google Now in unsupported country, these steps are required:

1) Enable Assistant Enabler module in Xposed Installer
2) In Assistant Enabler settings, enable "Enable Google Now"
3) Reboot (after rebooting your phone carrier will be identified as US Verizon)
4) Either remove your sim, or put your phone in airplane mode
5) Enable Wifi
6) If google account is added to the phone already - remove it
7) Launch google app and login to your google account
8) Opt-in to Google Now
9) PROFIT!

P.S. After these steps you can disable "Enable Google Now" setting in Assistant Enabler module, if you don't want your carrier to be identified as VZW. Google Now will continue working.

New feature!
Broadcast receiver to allow other apps (for example: Tasker) to toggle module settings
Reference Tasker profile using feature to automatically enable/disable "OK Google Everywhere" when entering/leaving home WiFi: Tasker.zip

NOTE: When enabling/disabling "Ok Google Everywhere" a broadcast intent with action ACTION.POWER.DISCONNECTED must be sent to avoid having to manually plug/unplug the device.

Download:
http://repo.xposed.info/module/com.s...sistantenabler

XDA:DevDB Information
Assistant Enabler, Xposed for all devices (see above for details)

Contributors
Sabissimo, MrWasdennnoch, Maxr1998, Exalm, rodriguezst
Source Code: https://github.com/Sabissimo/AssistantEnabler

Xposed Package Name: com.sabik.assistantenabler

Version Information
Status: Stable
Current Stable Version: 5.1
Stable Release Date: 2017-03-15

Created 2016-10-13
Last Updated 2017-03-16
The Following 132 Users Say Thank You to Sabissimo For This Useful Post: [ View ] Gift Sabissimo Ad-Free
 
 
13th October 2016, 01:39 PM |#2  
SyCoREAPER's Avatar
Senior Member
Here and There
Thanks Meter: 432
 
More
Since there is no interface (at the time of this post), I assume it integrates itself seamlessly?
The Following User Says Thank You to SyCoREAPER For This Useful Post: [ View ] Gift SyCoREAPER Ad-Free
13th October 2016, 01:45 PM |#3  
Sabissimo's Avatar
OP Senior Member
Flag Tbilisi
Thanks Meter: 592
 
Donate to Me
More
Quote:
Originally Posted by SyCoREAPER

Since there is no interface (at the time of this post), I assume it integrates itself seamlessly?

Yes, it does integrate seamlessly. Long-press home button on your navigation bar to access Assistant.
"OK Google" hotword is not yet working correctly though. If you had "OK Google" detection configured before installing this module - hotword will bring up voice model retraining interface each time use say it, and pressint "Do it later" will give you access to assistant.
The Following 5 Users Say Thank You to Sabissimo For This Useful Post: [ View ] Gift Sabissimo Ad-Free
13th October 2016, 01:46 PM |#4  
LOL9988's Avatar
Senior Member
Flag -:- City 0f Flyovers -:-
Thanks Meter: 53
 
More
Installed the module. But how to activate it? Holding home bottom pops Now on tap as usual.

Sent from my ONE A2003 using Tapatalk
13th October 2016, 01:50 PM |#5  
SyCoREAPER's Avatar
Senior Member
Here and There
Thanks Meter: 432
 
More
Quote:
Originally Posted by Sabissimo

Yes, it does integrate seamlessly. Long-press home button on your navigation bar to access Assistant.
"OK Google" hotword is not yet working correctly though. If you had "OK Google" detection configured before installing this module - hotword will bring up voice model retraining interface each time use say it, and pressint "Do it later" will give you access to assistant.

Thanks a lot for clarifying. Working as described.
The Following User Says Thank You to SyCoREAPER For This Useful Post: [ View ] Gift SyCoREAPER Ad-Free
13th October 2016, 01:59 PM |#6  
Sabissimo's Avatar
OP Senior Member
Flag Tbilisi
Thanks Meter: 592
 
Donate to Me
More
Quote:
Originally Posted by LOL9988

Installed the module. But how to activate it? Holding home bottom pops Now on tap as usual.

Sent from my ONE A2003 using Tapatalk

It's activated if module is activated.
In some cases you might have to clear Google App data for it to work. And make sure you are using latest Google App (here's apkmirror link to the working version)
The Following User Says Thank You to Sabissimo For This Useful Post: [ View ] Gift Sabissimo Ad-Free
13th October 2016, 01:59 PM |#7  
Sabissimo's Avatar
OP Senior Member
Flag Tbilisi
Thanks Meter: 592
 
Donate to Me
More
Quote:
Originally Posted by SyCoREAPER

Thanks a lot for clarifying. Working as described.

You're welcome
13th October 2016, 03:42 PM |#8  
donky kong 017's Avatar
Senior Member
Flag Vienna
Thanks Meter: 157
 
More
Hi thanks for the module. I tried installing on s7e with note 7 port rom m 6.0.1 Wanam xposed 86.1
It seems to work but when I longpress to go to the assistance it says that I might be offline.
Google app 6.6.14.21.arm64 installed. Cleared cache and data already.

Edit : think I found the problem. It had something to do with my synapse doze and battery settings I think.

Now works perfect.



Sent from my SM-N930F using Tapatalk
13th October 2016, 04:10 PM |#9  
SyCoREAPER's Avatar
Senior Member
Here and There
Thanks Meter: 432
 
More
Mine appears to activate via OK Google (at least the interface) as well FYI.

Pure Nexus 6
Nexus 6P
The Following User Says Thank You to SyCoREAPER For This Useful Post: [ View ] Gift SyCoREAPER Ad-Free
13th October 2016, 04:14 PM |#10  
Nothing mentioned about it working on lollipop ROMs so I dunno if I should try it. Can I?
And hotword really not going to work anymore? I got an MXPE.

Sent from my XT1575 using Tapatalk
The Following User Says Thank You to frankie1220 For This Useful Post: [ View ] Gift frankie1220 Ad-Free
13th October 2016, 05:06 PM |#11  
Sabissimo's Avatar
OP Senior Member
Flag Tbilisi
Thanks Meter: 592
 
Donate to Me
More
Quote:
Originally Posted by SyCoREAPER

Mine appears to activate via OK Google (at least the interface) as well FYI.

Pure Nexus 6
Nexus 6P

It does activate via hotword, but always brings up voice training activity, even when you've already did train it. At least for me. Working on a workaround for that.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes