yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] chrisnash:
We certainly do!
[Xposed Framework Modules] flash3d:
I'm testing a working version now! If no problem arises iHelp will post that version tomorrow.

Only small drawback is due to the complexity of the Google code, in this version you are unable to run the same command one after the other. Different commands are working.

This mod was one of the reasons I bought an Android Wear watch, so I'm very happy that iHelp managed to get it working again.
[Xposed Framework Modules] chrisnash:
Do you mean you can't use the same voice phrase twice in a row or the same tasker command?

What about if you have another phrase or command in between?
[Xposed Framework Modules] flash3d:
Same voice phrase twice in a row, if you give another command no problem. After that different second phrase you can say the first also again.
[Xposed Framework Modules] chrisnash:
That's not too much of a pain and a lot better than the current situation. I assume if it doesn't translate the original command correctly you can then repeat it? I do find this happens quite a bit with some commands. 'Right lamp on' always comes out as 'white lamp on' or bizarrely 'Rightmove lamp on'! Where does that come from??!!
[Xposed Framework Modules] flash3d:
In Tasker you can assign multiple command filters to the same profile. You have to enable "use regex" and seperate the command with a "|".

This way you can add all phrases wich come up on your watch to one profile.
[Xposed Framework Modules] iHelp101:
This should fix the issues with the latest Google Search version. After updating please update your hooks as well. Implemented in this update is a duplicate prevention method. Since the hook we use is called about fifty times for a single voice command we have to prevent duplicates. Otherwise your light is going to be told to turn on fifty times for example.

This prevention method allows the same command (Example: Turn on light) to be used once and then put on a 35 second time out. During this 35 seconds the same command is ignored. After the 35 seconds the command will go through and restart the timer. If you for example say "Turn on light", "Turn on TV", "Turn on light" everything goes through perfectly. The timer only occurs when the current command is the same as the previous command. Enjoy the module!
[Xposed Framework Modules] flash3d:
Haha, who would imagine this. New google search out today. Anybody tested it already?
[Xposed Framework Modules] iHelp101:
I just looked into it, the hooks appear the same. Everything should be working fine.
[Xposed Framework Modules] flash3d:
I'm almost afraid to say ?, but after today's update of Google search the api is not working.

Installed posted version of api and updated hooks. Did reboot but no go.
[Xposed Framework Modules] chrisnash:
OK. This hasn't worked for me either. Installed latest version, updated hooks, rebooted and nothing. Any help appreciated. I seem to remember in the past it was a bit finicky about the order you installed/activated the api and autovoice but have forgotten the details. Is it to do with today's Google update?
[Xposed Framework Modules] flash3d:
Probably Google changed something again so the hooks need to be altered again. You can revert to previous Google search apk or we have to be patient and wait for IHelp to fix it again.
[Xposed Framework Modules] flash3d:
Update your hooks and reboot! IHelp fixed it again ?
[Xposed Framework Modules] chrisnash:
Great stuff! All working again! I was worried Google were trying to restrict the ability to intercept voice search but I shouldn't have had my cynical Apple head on!

Thanks iHelp!
[Xposed Framework Modules] iHelp101:
The hooks have been updated for 5.4.24.19. Google is just pushing updates out it seems.
[Xposed Framework Modules] EnIXmA:
How do i upate hooks? Cant see any button to update it in xposed... The Google api is not working from my watch..any help?

Thnx
[Xposed Framework Modules] iHelp101:
Open the Google Search API app (Xposed -> Modules -> Google Search API), click the three dot icon, and click update hooks.
[Xposed Framework Modules] EnIXmA:
I don't see that option when I press the 3 dots... I am on the version 1.2.1
[Xposed Framework Modules] flash3d:
Another new Google search again. I'm gonna test it ?

Update: installed new Google search, updated hooks and rebooted. Everything works!
[Xposed Framework Modules] flash3d:
Today's Google search update breaks the api. So we have to be patient (IHelp to tha rescue ?).

Update: update hooks and you're good to go! (thx to IHelp ?).
[Xposed Framework Modules] chrisnash:
I've not had the new update yet. Guess they're rolling it out. What version number is it?
[Xposed Framework Modules] Phaeton82:
I installed the plugin. I choose 'voice' in the select type option in the plugin. Now when i type a searchquery in the google now screen still i get messages about possible recognised commands. Is there a different setting I should change? Or is it a small bug. I want to control stuf through my watch, but voice only. When typing in Google now I do not want to trigger commands. And the toast is then to prominent to ignore. Can someone help me? Did some googleing but could find anybody with this issue.
[Xposed Framework Modules] jjl468:
If you are using autovoice, the toast message is just there to let you know what it's entering into the plugin to trigger your commands. There should be an option in the settings to turn if off.
[Xposed Framework Modules] Phaeton82:
Thanks I found that option. But I like it for voice. Isn't there an option to not send written text to the plugin? I thought the search type option voice would prevent written text to be send to the plugin?
[Xposed Framework Modules] flash3d:
Again new version (5.4.27.19) of Google Search , I think they are just doing it to nag iHelp.

Did a hooks update but not working, so we have to wait for an update.

Update: update hooks and you're good to go again. Thx to IHelp.
[Xposed Framework Modules] chrisnash:
I've not seen either of the last two updates. I'm still on 5.3.26.19

I wonder if the updates are localised?
[Xposed Framework Modules] iHelp101:
The updates are via hooks updates. I apologize for not posting about them.
[Xposed Framework Modules] catchjeff:
Download the 1.6.1 download link a few posts before yours and install it. You will not get an auto update if you downloaded this from github or xposed app. Once you download the 1.6.1 update you will get the update hooks option. I just did it and it worked.
[Xposed Framework Modules] flash3d:
Another new Google Search: 5.4.28.19

IHelp is looking into it.

Update your hooks and it's working again.

Thx IHelp!
[Xposed Framework Modules] arne182:
I am using autovoice and having it flash the received command and now everything that is written, letter by letter is being recognised as a sent command.
[Xposed Framework Modules] flash3d:
5.5.29.19 Google search is out, anybody tested it?

Just tried and we need the new hooks again.

Update: update your hooks and it's working again! Thx to IHelp!
[Xposed Framework Modules] thenewmalcolm:
I just installed xposed on the n6 running marshmallow. Autovoice commands through Google on the device are working fine. I tested the music controls plugin and that works on the phone too. In unable to get android wear to work with the stock settings so I'll try tweaking.
[Xposed Framework Modules] abuttino:
This will be great when it works for 6
[Xposed Framework Modules] iHelp101:
I am looking into Marshmallow compatibility.
[Xposed Framework Modules] abuttino:
[MENTION=5712278]iHelp101[/MENTION] looking forward to it! Thanks again for your continued work on this module
[Xposed Framework Modules] iHelp101:
Can you provide a Xposed log of your issue? I have tested the module on Marshmallow and it works.
[Xposed Framework Modules] abuttino:
Oh.. I hadn't tried it yet after you said you were working on it. I'll try it right now.
[Xposed Framework Modules] abuttino:
[MENTION=5712278]iHelp101[/MENTION] .. The commands I issue to Google, are going in the toast 5 times.
[Xposed Framework Modules] Finalbrez:
Hey I'm on chroma marshmallow and it comes with a gapps package that has the google app version 5.6.22.19. Google api currently not working. Any assistance would be appreciated.
[Xposed Framework Modules] marco2012:
Does this work on Android Marshmallow with Google Search 5.7 ? Thanks
[Xposed Framework Modules] RoxAbout:
ok google search

not sure if this is off topic or not....

Since I've upgraded to v6.xx My "ok Google" hot word no longer works. The menu options just have a toggle for "ok google" but the retraining option is missing. Did MM break this feature? Google search works manually and once I'm in there it will listen to the hot word but not unless I do it manually like I said.

Maybe someone knows how to fix this..

Thanks in advance

Info:

Nexus 5 16g

Chroma 12-10
[Xposed Framework Modules] XfooYen:
Settings /Google /Search & Now/Voice /"Google Now" detection
[Xposed Framework Modules] RoxAbout:
yes that’s where I go.

But again there’s no retrain button, and the ok google voice detection only works manually by pushing the microphone icon in the search bar.

Thank you for your help
[Xposed Framework Modules] minimanimo:
Hi!

I trying to use this on Oneplus One with CM13 but it doesn't work. I want to use this with autovoice,but in plugin section there isn't.

How can i solve it?

Thank you
[Xposed Framework Modules] atom_jack:
I'm running into something really weird with this module. My app, Voice Control for Plex, has been using this module for integration into Google Search, although I haven't really used the integration all that much myself. A user of my app, however, does use it, and alerted me to something weird. The way the problem surfaced in my app is outside the scope of this thread, but upon examining it, it seems that the Google Search API is continuously rebroadcasting the Intent that contains the voice search from Google Now. So, the BroadcastReceiver keeps receiving the voice command over and over again.

I even verified that this happens with the GNAPI-MusicControls app that Muhammad wrote. In GoogleSearchReceiver.onReceive(), I simply added a line (at the very beginning of that method) that logs out some text saying that the voice search intent was received, and after installing that module and doing a voice search in Google Now (which was just some random words),I was seeing the Intent being received over and over in my logs, every 30-60 seconds.
[Xposed Framework Modules] cih997:
Hi,

I configured everything based on this: https://m.reddit.com/r/AndroidWear/comments/2imp22/how_to_custom_voice_commands_on_android_wear/

All apps are installed, active and working fine on device. However the voice commands via wear device do not work. I see default google search results on my watch.

My google app version is 5.9.33.19, google api for xposed 1.6.1, android 6.

Any ideas?
[Xposed Framework Modules] iHelp101:
I apologize for the delay in updates on this module. I have fixed a majority of the issue reported in the attached version. I have decided to prevent commands from running one after another. So you can say "Turn off lights", "Turn off TV", and "Turn off lights". You however can't say "Turn off lights" and then once again immediately say "Turn off lights." The command will be ignored to prevent duplicate commands. This version also has handle hooks better in terms of fetching them. Enjoy the module!
[Xposed Framework Modules] cih997:
I'm trying to install 1.6.2 APK but I'm getting error "Application not installed". Any ideas?
[Xposed Framework Modules] flash3d:
Remove old version first.
[Xposed Framework Modules] cih997:
Thanks. I've been able to install 1.6.2. Unfortunately tasker action does not run on custom voice command on my wear device.

Moreover, the Services -> AutoVoice Google Now Integration option, disables itself on each restart. Is it normal? After reboot I need to turn it On. Anyway, voice commands still don't work for me.
[Xposed Framework Modules] iHelp101:
Have you opened Google Search API -> Three Dot Icon -> Update Hooks? In terms of AutoVoice I have no control over that. I have never faced this issue with AutoVoice, but it may be a known issue.
[Xposed Framework Modules] cih997:
Yes, I updated hooks, few times.

Thanks.
[Xposed Framework Modules] iHelp101:
Alright, can you PM me your Xposed log? Thank might help figure things out.
[Xposed Framework Modules] stinkytoes:
Hi there, I was wondering if it is possible to get google now to recognise alternative messaging apps in the context of:

"send a telegram message to [contact name]"

I have an alternative telegram app installed which google now doesn't recognise so it asks me to install the official version.

I know that this module is not designed to do this but prlerhas the community who use this module would know of a way to get google now to recognise an alternative telegram messaging app (or for that matter point google now to any other messaging app, for the different messaging intents).

Here's hoping that you may know of a solution to my little problem.

Cheers Phil
[Xposed Framework Modules] EnIXmA:
Does not not work from my Huawei watch after the latest aw update.. Can this be fixed plz?

Thnx
[Xposed Framework Modules] Godswrath:
Auto wear stopped recognizing voice commands through my watch recently, I upgraded to 1.62 and updated hooks to no avail. Any suggestions?
[Xposed Framework Modules] Godswrath:
Update: I reinstalled everything and now it works
[Xposed Framework Modules] pablo71:
Everything Working GREAT on my Marshmallow Huawei Watch

rooted huawei watch with 1.4 update

skin1980's MM kernel

Google now apk version: 5.7.14.16.arm

GoogleApi 1.6.2

latest tasker

latest autovoice

latest xposed

KitKat 4.4.2 on rooted galaxy note 3

Jedi elite TouchWiz based Rom on note 3

NOTE: Googleapi 1.6.2 doesn't allow same back to back commands, so it might look like it only worked once (try a different command). AND autovoice profiles sometimes just get corrupted in tasker, turn them on and off, or delete them and redo them. ALSO, make sure you completely back out of all tasker screens to implement tasks and profiles, otherwise it can look like it's not working. good luck
[Xposed Framework Modules] Cosmic Goat:
Not working on Moto 360 2nd Gen

Hey there guys, I couldn't get this to work on my Moto 360 2. I'm running the latest Chroma 6.0.1 on a nexus 6, android wear 1.4, and the latest version of tasker and autovoice. I've tried updating the hooks, reinstalling this and autovoice, and trying older versions of the Google app, but nothing has worked so far... Any help would be appreciated!
[Xposed Framework Modules] pablo71:
I feel your pain, this is awesome when it works - if you haven't tried this Google App version try the one that works on mine https://drive.google.com/file/d/0Bw0akQy5utx4UEN2amI2Y0p1RWs/view?usp=drivesdk

remember you can't speak identical commands in a row, each spoken command has to be different from the one you said before, and uninstall autovoice before installing googleapi1.6.2 .... good luck, I hope you don't have an issue because your nexus is on MM, I'm in KK4.4.2 ... also, tasker has SERIOUS ISSUES with needing to be backed out of each screen properly and turning profiles on/off and the dang autovoice profiles sometimes just need to be deleted if they've been cloned etc .. but hey, whatareyagonnado
[Xposed Framework Modules] steviehs:
Autovoice + Wear + Marshmallow

Argl. I made the update to Marshmallow (named CM13 :) and now autovoice + wear + Google Search Now API +... do not recognize my "Ok Google" commands from the watch any more. Direct voice commands on the phone work fine...

Anyone successful out there with

CM13/Android 6

Autovoice 2.0.46

Google Search API 1.6.2

Wear V 1.5.0.2714488.gms

Google Now 5.11.35.19.arm

???

There are so many nuts and bolts to screw, it turns me mad from time to time... and I love to control my smart home via google so much :)
[Xposed Framework Modules] pablo71:
Automatically Clear Search Results Off Watch Screen After Using Command

you only need to add a single action to your existing tasker tasks that send an intent to this awesome app that can do so much more: Wearshell

http://xdaforums.com/android-wear/development/app-wearshell-t2902242

I consumes zero battery on my watch and the phone app doesn't even need to be running for tasker to send intents through it to the companion app on the watch - the systems handle all that.. I've found these apps to be extremely stable on my Huawei Watch and KK Note3

anyway, to clear screen on watch add a tasker action to your voice command task to send an intent, found in add action> system> send intent.

in the Action section paste

de.fun2code.android.wear.shell.EXEC

in the Extra section paste

bsh: Runtime.getRuntime().exec("su -c input keyevent 26");

Leave all other fields in Send Intent the way they are

Wearshell runs java code(?) directly on the watch and that is just a terminal command embedded within java to simulate a power button click. clicking the power button on my watch clears the screen. maybe on different watches using the back button would work? keycode 4, so make it say "keyevent 4" if the above doesn't work for you.

I believe Wearshell is vastly superior to leaving adb debugging on all day and sending adb commands to your watch. this solution is elegant, invisible, and consumes no battery as it's just making use of system resources that are already running. anyways, good luck.

---------- Post added at 11:37 AM ---------- Previous post was at 11:26 AM ----------

is there any way to roll back your Google app and install the one I posted above to try that? it's a 5.7 version and I feel like a 5.11 version is 'just less friendly'
[Xposed Framework Modules] steviehs:
Re: Autovoice + Wear + Marshmallow

no, was not able just to install 5.7.. arm.apk. Dunno why, maybe it's not for Android 6... Therefore my question was, if anyone has a working flow in Android 6
[Xposed Framework Modules] pablo71:
I'm also now wondering if anyone has this working on Marshmallow
[Xposed Framework Modules] xbiggyl:
Working on my moto 360 + HTC m8 MM
[Xposed Framework Modules] pablo71:
If you could share the version number of your Google app and which Google API Xposed module you are using that would be fantastic.
[Xposed Framework Modules] xbiggyl:
I have just updated my Google app to v5.13.34.21.arm and I can't get it to work anymore [emoji17]

It was working perfectly.

Is this mod still being supported? [emoji4]
[Xposed Framework Modules] hahamuntz:
Do I understand this correct? I will need this app if I want to be able to run custom commands on my Moto 360.

So I install XPosed, then the GoogleSearchApi-1.6.2 and finally AutoVoice?

Now I update the Hooks in the SearchApi and check if AutoVoice is shown as plugin?

Is this the right procedure?

AutoVoice is showing as Plugin and if I say something to my phone it will trigger the tasker task. But if I try to say something to my watch it wont react, only showing the search results.

It also says that I have the latest hooks

If anybody could help figuring out what I am doing wrong, that would be great :)

Do I need AutoWear do get it working or what am I missing?

Thanks for all the help

I am running:

AutoVoice: 2.0.47

GoogleSearchApi: 1.6.2 and updated hooks

GoogleSearch: 5.12.35.21.arm

Android Wear App: 1.5.0.2835999.gms

HtcOneM7: Android 5.1

Moto 360:

Android Wear: 1.4.0.2580363

Google Play Service: 9.0.83

Android: 6.0.1
[Xposed Framework Modules] pablo71:
I believe that version of the Google app is too new to allow this, and you will need a beast of an app called Tasker, autovoice appears as a plugin in tasker.. I've stuck with Google App 5.7.xx.xx for this reason.

Autowear is not needed.

Here is a summation that is WAY too brief:

what you do is create a profile in tasker choosing 'event' as the trigger, then choose plugin, autovoice, then 'recognized' and input your 'command filter' as the words you choose to 'launch a task you will then create'. once those words are spoken after "ok Google" on the watch autovoice will hear them through the phone as it is listening to everything tasker is listening to since the Google api and xposed allow tasker to listen in on what Google hears ... then those words are passed to the task you created and cool things happen "if" you have created cool tasks.
[Xposed Framework Modules] hahamuntz:
First of all, thanks for the answer :) i got tasker up and running for quite a while now, its just the watch part that gives me a hard time. So if i would roll back to the google app 5.7.x.x i would be able to catch commands from the watch?
[Xposed Framework Modules] pablo71:
yes, I believe rolling back to 5.7.14.16 would work, probably the 4.4+ version from this page http://www.apkmirror.com/apk/google-inc/google-search/google-search-5-7-14-release/

however, I am on Android 4.4.2 KitKat as i say this, but I believe Lollipop or Marshmallow "should" work as long as that Google App version is pre 5.8.xx.xx ...

We'd love to hear a success story from you, good luck.

[EDIT:] last thought, don't forget Autovoice needs to be installed AFTER the Google Api 1.6.2 apk (a simple uninstall/reinstall of both fixes this if it was out of order)
[Xposed Framework Modules] hahamuntz:
Thanks for the info. Gonna try it tomorrow or the day after. Too tired now :D gonna report then how it worked. I hope so much that it will work, that feature would be so awesome :D
[Xposed Framework Modules] pablo71:
huh...I just saw Autovoice app 2.0.47 fixed issue with Google App 5.13.26.16 breaking it, so I updated to that Google App version and updated autovoice and my flow is working ... good luck to you

[EDIT]< I'm writing this the next day, this was a bad idea for me to do what I said in the above paragraph.. Bad idea. Bad idea. My entire flow just stopped working and now I'm having trouble getting it back
[Xposed Framework Modules] hahamuntz:
I can't get it to work :/ I tried a few different versions of the Google App, also the 5.7.14.16 and 5.13.26.16, but it didn't work.

Each time I changed the Version of the Google App I deinstalled the Search Api, AutoVoice and AutoVoicePro and reinstalled them in this order. Also updated the hooks and rebooted between every step. But still, it only worked on the phone but not on the watch :(

Any hints left on what I could also try?

Is 1.6.2 the correct version for the Api?
[Xposed Framework Modules] flash3d:
Hi,

It could be that u don't have the latest api. I have everything up and running with lollipop 5.1. If you want sent me a pm with your email so I can send u the one I'm using.

Sent from my bla bla bla bla bla