Enable Google Assistant in Marshmallow ROMs.

This is stand-alone Google Assistant enabler from AndroidN-ify, in case you excplicitly do not want to use other features from AndroidN-ify.

Works for Google App 6.6.14.21 and later

Credits go to:

- Maxr1998

- wasdennnoch

- Exalm

- rodriguezst

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.