yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] funkydude101:
I'm not entirely sure how Xposed modules are coded (I've only done res and smali coding in the past), but my understanding is that they replace certain values in user and system apps.

Can I make a suggestion for further exploration: Why not replace the target window of the Hotword Voice Model training window to the main Google Assistant window? It will not allow you to re-train your voice model, but it will prevent that window from popping up when you say "Ok Google", and should allow you to use it as it's intended.

---------- Post added at 04:20 PM ---------- Previous post was at 04:11 PM ----------

Can I ask what app you are using to edit this value locally on your android device? Or are you recompiling, signing and reinstalling?
[Xposed Framework Modules] knpk13:
If you're close to AOSP, the snapshot builds are stable in my experience. Probably because they're focusing on the snapshot build release schedule instead of "stable" releases in the xposed repo.
[Xposed Framework Modules] Indashio:
I used Mixplorer to edit xml in system data data
[Xposed Framework Modules] Stud12376:
I have downloaded android n-ify and assistant enabler. I am using latest version of google app. It is showing google assistant settings but when opened, "use screen context" option is blacked out. Any ideas how to solve it? Already tried clearing data and cache. I am using galaxy note 2 GT-N7100
[Xposed Framework Modules] Sabissimo:
There are two possible ways to implement this:

1. To trick google app into thinking you own a pixel device, and then everything would be working as intended

2. Exactly the thing you've said

But since google app is not open source, it requires decompilation, and lots of reading of heavily obfuscated code, which quite often doesn't make any sense at all

And that's exactly what I'm on right now, and more inclined to go with method 2.

So basically, what you've said is exactly the thing I'm working on right now, though it might take some time to figure out some hows and whys :)

Hopefully will have something new to share with you guys relatively soon :)
[Xposed Framework Modules] funkydude101:
Cool. Yeah I'm looking at it now. There's quite a few references in the obfuscated code where it's used.

I wonder if it would break if you just added a android:visibility="gone" tag to all of the hotword_enrollment layouts- edit: well I guess it would only work if the Assistant is underneath the hotword enrolment wizard. There's also some kind of function: "skipenrollmentintroscreen" which is in HotwordSettingsFragment.smali but I'm not sure if that's directly related to settings.
[Xposed Framework Modules] BlackStagea78:
Can anyone help with my issue of getting assistant running on note 4 aurora v3 please?

I can get assistant settings (not complete however) showing in the Google app settings. The Google app behaves like normal after pressing microphone button, not in proper assistant conversation mode.

I've had it running perfectly on nemesis rom and also on Norma v9 with the help of Google_Now_On_Tap_Assistant.1.apk but just can't manage to get it working on aurora doing the exact same thing.

I'm currently running Google app 6.7.21.21 and assistant enabler 2.0.1. I have tried enabler 1.2 and 1.3, Google app 6.7.17.21.

The following screen shot shows missing settings info.
[Xposed Framework Modules] ShuppaGail:
I have the settings for google assistant, I have enabled navbar because that worked last time I tried this, but now, when I hold down the middle button it just doesn't do anything, so I'm wondering which version is supported? I'm on 6.7.21.21 arm64
[Xposed Framework Modules] azar40147:
Hey sabissimo,

good work man...:svetius:

Works fine except for the hotword...
[Xposed Framework Modules] funkydude101:
Sabissimo, I did some research using inspeckage on xposed. This is what happens when saying the hot word:

startService: Intent { act=com.google.android.voiceinteraction.NEW_SPEAKER_ID_MODEL_AVAILABLE cmp=com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} (has extras) }

It also makes quite a few GET requests to this boolean value that I don't know what it does.

GET[[GEL.GSAPrefs.xml] Boolean(GSAPrefs.enable_lite_switch , false)
[Xposed Framework Modules] eskoczech:
So how did you link it? Im having problem with multitasking which is connected to my long press home button. Tried mapping it to Google app, voice search but non of it works.
[Xposed Framework Modules] snovvman:
I'm on Google app 6.8.19.21 (beta) on both S7 and S7 Edge. On both phones, I toggled

off

"Say 'OK Google' any time" and Trusted Voice. However, when the screen is on and unlocked, unlocked or locked, Assistant (Teach the Assistant...) pops up when I say "OK Google". My expectation and desire is that Assistant only activates when I long-press the home button. I have toggled off everything I can, but it does not seem to deactivate the screen-on detection.

I am using Assistant Enabler 2.0.1. Any ideas?
[Xposed Framework Modules] madkiran:
I think "ok google anywhere" is activated in this module. In earlier versions of google app it used to force close when the settings touched, so the developer had activated ok google detection from any screen.
[Xposed Framework Modules] Eleo:
Nope, I disabled it from three places and I dont have that feature. If I say ok google there is nothing going on. But if I enable them back it opens training as expected. I disabled it from these options (because I dont use it for now):

- google/settings/voice

- google/google assistant settings/ok google detection

- nova launcher settings/gestures and inputs/ok google detection

Module version 2.0.1

Google version 6.8.19.21.arm
[Xposed Framework Modules] Leoxur:
[MENTION=5860549]Sabissimo[/MENTION] can you add a gestire to switch back to Now On Tap? I find it so much better for when i need that and don't or can't talk.. or for example when I need to analyze or translate apage /screenshot
[Xposed Framework Modules] snovvman:
Interesting.

I am running the same versions as you, and have also (and previous to installing the module) disabled those settings. I checked again, and they are all disabled. I have noted that the google/settings/voice and google/google assistant settings/ok google detection seem to now be the same page. In any event, when I say "OK Google" with the screen on, it responds...

Same behavior on the S7 and S7 Edge.
[Xposed Framework Modules] madkiran:
Did u try wiping the data of google app?

If not , wipe data and disable the option ok google detection and see if it worked ...
[Xposed Framework Modules] Sabissimo:
New version is out, and it's a big one!

Fixed "OK Google" hotword.

For now, "OK Google" detection and voice patter has to be configured with assistant turned off in module.

1. Disable assistant in module

2. Configure "OK Google" detection and voice pattern

3. Enable assistant in module

4. Say "OK Google"

5. ....

6. Profit!
[Xposed Framework Modules] madkiran:
Wow thanks

Gonna try now
[Xposed Framework Modules] bungadudu:
Google 6.7.21.21 still opens the voice configuration when saying "OK Google"

Must we use an older version?

Long menu pressing works good though.
[Xposed Framework Modules] snovvman:
This tip also fixed my issue quoted above. What I find is that ANY config should be done with the module toggled off. So the procedure is to 1) toggle module off, make your configs (enable/disable hotword detection, train, etc.) and 2) toggle module back on. This way, the settings stick and I was able to disable hotword detection this way.

[MENTION=5860549]Sabissimo[/MENTION], excellent work!
[Xposed Framework Modules] Sabissimo:
Hmm, that's strange, I'll look into that problem. Meanwhile you can install Google App beta 6.8.*, it's definitely working in it.
[Xposed Framework Modules] bungadudu:
Indeed it works with latest, 6.8.19.21

Who's the best? You are!
[Xposed Framework Modules] madkiran:
I'm on latest google beta.

Installed module 3.0

Turned off ok google from any screen

Turned on ok google from any screen

Trained google with my voice

Turned on assistant from module

...

..

Said ok google...

Nothing happening

.........

Press and hold options button bringing now on tap

:mad:

What am I missing ?

---------- Post added at 08:00 AM ---------- Previous post was at 07:34 AM ----------

Edit : delete voice modal and trained it again. Assistant is back with hotword

:laugh:

---------- Post added at 12:59 PM ---------- Previous post was at 12:30 PM ----------

Is it working while the device is locked for anyone?

for me, it is asking for my pattern to unlock the device. After I unlocked the device assistant is there.

It is not working if the screen is off (locked)...
[Xposed Framework Modules] bungadudu:
For me it's working with even the screen off.

It will automatically unlock to the assistant activity.

Would be great if u could ask it something and then lock the device again. All by voice. Somebody knows a method for this?
[Xposed Framework Modules] Sabissimo:
Fixed it in version 3.0.1
[Xposed Framework Modules] Sabissimo:
Don't have answer for you question yet, but I have another question: which device are you using?
[Xposed Framework Modules] bungadudu:
Sony z5, Android 6.0.1

There is option to listen to voice commands even with screen off
[Xposed Framework Modules] Sabissimo:
Yes, but that option shouldn't work.

Without my mod, you can use OK Google with screen on anytime, and with screen off only when charging. With my mod, same functionality should be maintained, and should work exactly like that.

On new Pixels you can use OK Google even with screen off without charging (I think that might require some additional battery-friendly hardware implementation, like the one on Moto X).

But since I haven't implemented this in this module, and not sure if it's doable due to the hardware, I'm pretty curious about how is it working for you :)

Is OK Google working for you with screen off even when you're not charging the device?
[Xposed Framework Modules] Indashio:
Ok Google works but Google Assistant does not work. No answer. Xperia Z2
[Xposed Framework Modules] bungadudu:
Indeed, only works while charging :(

Well, it must check somewhere if the device is charging or not, and you could always send true, right?
[Xposed Framework Modules] Araltd:
Working great for me. No retrain dialog. N910T MM6.0.1 Aurora v3.1 latest Google app.

Sent from my Note 6
[Xposed Framework Modules] Sabissimo:
That would cause some HEAVY battery draining without proper hardware implementation (if it's possible at all)
[Xposed Framework Modules] kornty:
Updated to 3.0.1 and I'm still having the voice training pop up issue.
[Xposed Framework Modules] Sabissimo:
New version is out!

Added option to 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

P.S. Enabling this might result in increased battery usage (some feedback on this matter would be appreciated)
[Xposed Framework Modules] Sabissimo:
There you go :)
[Xposed Framework Modules] Sabissimo:
Try 3.1, added some fixes
[Xposed Framework Modules] SetiroN:
Is there any way to enable the keyboard in the assistant screen? Or did Google actually disable it themselves, forcing people trying to search for something to look like morons?
[Xposed Framework Modules] Indashio:
OMG Love this update. Finally :)
[Xposed Framework Modules] madkiran:
After updated to 3.0.1, option of showing personal results was gone in google app..

Assistant was not activated even if it was enabled though, I'm just telling.

Did u remove that for battery sake ?
[Xposed Framework Modules] Indashio:
I have question. In Nougat is available Multilanguage system. In this way ,,Now On Tap '' work in Polish and other languages. At Marshmallow not work those languages. It is possible to include in your module other languages for Now On tap? I try xposed APP LOCALE and edit xml in data data applocale and change language settings from en_US to pl_Pl, en_US and other ways but after the change.I had 2 languages ​​in the settings system, but Now On Tap is still not working in Polish language only in english. Do you have any idea?
[Xposed Framework Modules] Phrodini:
Thanks for the update
[Xposed Framework Modules] madkiran:
When locked and screen off assistant is asking me for pattern ....

(I have enabled finger print on my resmi note 3)

What can I do to get over it ?

Really loved the update.

a billion thanks for u

:laugh:
[Xposed Framework Modules] BlackStagea78:
Can you please tell me exactly what you did to get it working on aurora 3.1? I'm on aurora 3 and it doesn't seem to be hooking in properly. I get assistant settings in the Google app settings and have the module enabled (obviously) but pressing the mic button just gives me normal Google app results not assistant conversation. I had it running perfectly on nemesis rom and also on Norma v9, so I know what it should be doing.

I assume you have 3 options in assistant settings where I have none in the following screen shot?

Thanks.
[Xposed Framework Modules] madkiran:
Is it working for u when screen id off?

I'm being asked for pattern :(

It used to ask for pattern while training the voice for the first time. But now it didn't . I don't know why. I'm on latest beta
[Xposed Framework Modules] Sabissimo:
Disable assistant in module settings.

Go to voice settings.

Delete voice model.

Retrain voice model.

Enable assistant in module settings.

Should help :)
[Xposed Framework Modules] Ambious:
Ok, so using Google App 6.7.21.21 and module version 3.1, I still can't get rid of the damn training dialog.

I tried training with the module off - which works fine and dandy, until I turn it back on when it'll show the dialog again when I say "Ok Google".

I tried deleting voice data while the module was disabled, retraining through the voice settings, then making sure "ok google" works fine with just the "regular" search (which it does), but as soon as I turn on the assistant module, boom - retraining dialog.

What am I missing? What am I doing wrong?

Thanks!
[Xposed Framework Modules] Sabissimo:
It's weird, 6.7 should be working fine, will look into it again, meanwhile you can update your google app to beta 6.8
[Xposed Framework Modules] Ambious:
Updating to 6.8 beta seems to have solved it, thank you :)
[Xposed Framework Modules] madkiran:
Did as u said , but no luck.

Still asking for pattern

FYI , I didn't give my pattern anywhere (I wasn't asked)

---------- Post added at 02:04 PM ---------- Previous post was at 02:03 PM ----------

Edit : tried wiping the data of google app. Still same
[Xposed Framework Modules] Sabissimo:
Are you on 6.8 or 6.7?
[Xposed Framework Modules] madkiran:
6.8
[Xposed Framework Modules] moto1022:
A huge thanks to the developers for this amazing module. Recent update fixed everything.[emoji122] [emoji122] [emoji106]
[Xposed Framework Modules] funkydude101:
Had 6.7, upgraded to beta, and it worked. Thanks [MENTION=5860549]Sabissimo[/MENTION] - I hope I was able to help in some small way lol
[Xposed Framework Modules] DawoodSahi:
Works perfectly.

Thank you so much!
[Xposed Framework Modules] madkiran:
Is it working in screen off state ?
[Xposed Framework Modules] al345464:
Google Assistant works well on Samsung Tab A with Evervolv (ASOP) + Google App 6.8.20 beta. Had previously deleted trained voice model, unchecked xposed module, cleared app cache, and then reactivate. Thanks [MENTION=5860549]Sabissimo[/MENTION]
[Xposed Framework Modules] Eleo:
Yes. It works. But it is a battery drainer (as Sabissimo said earlier). Checked it hours ago
[Xposed Framework Modules] madkiran:
Did u set any pattern or fingerprint ?

Can u please tell me how can I make it work?
[Xposed Framework Modules] Eleo:
Hmm I normally just use swipe. Let me check. I will update this post after checking.

Edit: interestingly 3 out of 10 times I was able to open assistant and talk to it without entering pin while screen was turned off; 5 times it opened pin enter page while assistant wasnt listening to commands after ok google (but made the sound when it heard ok google); and other 2 times it made the sound but didnt open the screen.
[Xposed Framework Modules] Eleo:
Forgot to mention. I already enabled trusted voice
[Xposed Framework Modules] miko75:
Ok Google on S6

Ok Google with Screen on works perfect for me, but not with screen off or on Lockscreen. When i disable the Asistant then Standard Ok Google unlocks my Phone, but not when Asistant is enabled. Everything else works like a charme
[Xposed Framework Modules] 1DvsBstrd:
+1
[Xposed Framework Modules] madkiran:
Yup. Same thing is happening to me . It notifies a sound when it listens ok google (on lock screen, not screen off) if I unlock the screen by entering pattern or fingerprint assistant is ready to help. But it is unable to unlock the screen. When the screen is off, assistant is not listening to me at all.

It used to unlock while I was on nougat.

What I have understand is,

Actually google has to ask for pin or pattern while we training our voice. But unfortunately it is not asking for that now. On older version of google it used to ask for pattern after successful completion of voice training .

Is it a bug or something from Google app ?

Hope [MENTION=5860549]Sabissimo[/MENTION] can fix this..
[Xposed Framework Modules] RaptyHD:
Hello,

So I downloaded bluetoth to Google now from xpose , in order to activate Google now from car voice command redial, remap of the bluetoth car.

It is possible to modified the assitant module to start when you use redial on the car Bluetooth or when you use command OK Google to start the mic from the car bluetoth .

From my knowledge siri and cortana are working with the Bluetooth of the machine when you say the command.

I am using an galaxy s7 and the car is a Mitsubishi Lancer 2008
[Xposed Framework Modules] jsalame:
Post video for Steps

Hello,

Maybe this is too much for someone. But it will be great to avoid many questions that someone can post a video of the steps so that everybody can reproduce them, and that way installed it correctly.
[Xposed Framework Modules] AtrixHDMan:
Every time I reboot phone Android is optimizing 1 app.Anyway to fix.I'm sure it's related to this.
[Xposed Framework Modules] Eleo:
Nope. It does not in my phone.

Read the posts by the dev, Sabissimo only. It will be easier
[Xposed Framework Modules] jsalame:
Which version

Hello, quick question. I'm about to give it a go, until i went right now to apkmirror and saw that there is a new version of the google app

Google App 6.8.20 in APK Mirror.

Without the BETA, this means that we can use this one, or stick with the BETA version?

Thanks,
[Xposed Framework Modules] Eleo:
I am using this one and it works
[Xposed Framework Modules] jsalame:
Oh ok, so you are using the non BETA version of Google App released today in APK mirror. Ok, i will try that one then.

Thanks,
[Xposed Framework Modules] Eleo:
Dont hesitate for installing new version of an app. You can always downgrade by installing on top of newer version even if newer version would not work with the module.

Cheers
[Xposed Framework Modules] AtrixHDMan:
Well it does on my LG G3 with Fulmics G5 Rom installed.
[Xposed Framework Modules] DAS82:
Exact same problem here, also running Google v6.7.21.21. None of the last 3 Assistant Enabler builds made any difference regarding the training dialog.

Edit: just tried the new v6.8.20.21 and it works without showing the training dialog! Thanks!
[Xposed Framework Modules] dogotcat:
Bootloop :(

Hi, Ive just tried to activate the module, and everytime I go to restart the device to activate the module my phone gets stuck in bootloop. Im running the latest nightly from cyanogenmod 13 Gemini for Mi 5. I have to delete the module.list in twrp everytime to stop the module. Any suggestions ?
[Xposed Framework Modules] knpk13:
If your CM build has the November Security patches merged in, it won't work with xposed. (Bootloop)

Rovo89 is working on it. Check the xposed marshmallow discussion thread for more details.

If you want to use xposed use a nightly build that is from October (security patch).
[Xposed Framework Modules] dogotcat:
Thanks for that, Ill keep my eye out then :)
[Xposed Framework Modules] Doomlord12:
Is there any way to add a search bar to the top of screen? Right now in my device its only accepting voice commands .it'd be great to have a search bar where we can type cause I live in a very noisy environments:D
[Xposed Framework Modules] Berong:
i think when playing Mad Libs... and say stop. it will no longer detect ok google
[Xposed Framework Modules] madkiran:
I think it's a no. Because google assistant in pixel devices is also voice-only..
[Xposed Framework Modules] FreddJr:
Issues

Hey guys,

I'm trying to get this module working but I don't know if this is an issue with an unsupported device or I'm doing something wrong.

I'm running a Note 4 with the AICP ROM 6.

I have updated the Google app to 6.8.17.16 arm.

However, when I disable the Xposed module -> Reboot -> Google -> Settings -> Voice -> "Ok Google" detection all I see is "From the google app". I don't see the retrain voice pattern dialog box. When I enable the Xposed module the voice from anywhere is ticked off and when I say "Ok Google" all I see is a blank white screen.

------------EDIT-------------

Found the issue. For all Cyanogenmod based ROMS you need to enable the assistant.

Here is what I did from top to bottom.

1. Download Google App 6.8 +

2. Install Xposed Module

3. Enable/Reboot

4. Make sure Google Assistant is enabled in the google settings.

3. Setting -> Apps -> 3dots OR cog (Depending on ROM) -> Default apps -> Assist app -> Google

4. Long press home .. profit?

5. If not, settings -> Buttons -> Long press action -> Search assistant.

6. PROFIT? Hopefully.

------------EDIT-------------

Darn

"Say "Ok Google" any time" . . . . "The feature is currently unavailable on this device " is still an issue. Anyone know a fix?
[Xposed Framework Modules] PokemonTotalWar:
For some reason, when I record my voice, it doesn't keep it, and every time I say 'Okay Google,' a message pops up telling me to train Assistant to understand my voice. I have Wanam's Xposed for Samsung on Phroneses N7 for the Sprint Note 3, with LSSKernel 3.7ux.
[Xposed Framework Modules] Eleo:
Well you are the only one having it. Either you are doing smth wrong or it is not due to this module
[Xposed Framework Modules] madkiran:
Guys ,

You need to enable trusted voice in smart Lock to make google assistant work. However I couldn't make it unlock my device though, it is asking for pattern from locked device. But atleast it is listening to my voice while the device is locked. If u didn't set any pattern or password u can use it without any issue.

To enable trusted voice ,

First, open the Smart Lock menu

On your device, open the?*Settings app.Under "Personal," tap?*Security.?*Under "Advanced,"?*tap?*Trust agents.?*Make sure that "Smart Lock" is switched on.Tap Back?*.Under "Device security,"?*tap?*Smart Lock.Enter your PIN, pattern, or password. If you don't already have one set up, follow the on-screen?*prompts. You'll need to enter it?*any time that you want to change your?*Smart Locksettings.
[Xposed Framework Modules] Dynaguy:
ok google at anywhere is not working for me
[Xposed Framework Modules] Eleo:
Do you mind telling us about your device? Android OS, custom/official ROM name, kernel, phone model, xposed modules or any apps that could be relevant? It is hard to guess all of those from one screenshot.

Cheers
[Xposed Framework Modules] Dynaguy:
Oneplus X using Offical CM13 with Boeffla Kernal.

Updated to latest Google Beta and Module
[Xposed Framework Modules] Doomlord12:
Oh..thats sad..no assistant for me I guess :D..thanks for the info
[Xposed Framework Modules] akshay2shah:
Deleted
[Xposed Framework Modules] Eleo:
This is not a valid report. You did not mention anything about your device, software; and all steps is a wrong description. You should specify the steps you have done.

Try again