yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] optik678:
I have noticed this. Is this a result of the module? I haven't tried doing voice recognition with it disabled.

edit: I just tried with and without the module active. The behavior is the same. Maybe a Google search update broke that functionality within itself.

I'm going to try disabling the whole framework. I'll post again if anything behaves differently.
[Xposed Framework Modules] bigsupersquid:
there's another xposed module to force offline voice rec.

http://xdaforums.com/xposed/modules/reserved-t2634630

It's actually at the top of the Xposed Framework Modules subforum (this subforum's parent.)
[Xposed Framework Modules] inb4tehlulz:
Any idea what I'm doing wrong?

Alright, I deleted the old version of the API, downloaded theknut's version and installed it, but still have no luck at all getting this to work. I've watched video's by armando, made sacrifices to Sergey Brin, and I believe followed things to a T. Undoubtedly that's not true since I'm an idiot but I took screenshots of what I did, perhaps someone can guide me into the right direction. Thanks everyone.
[Xposed Framework Modules] theknut:
Download it from the repo, not my version. Mohammad has uploaded it to the repo!
[Xposed Framework Modules] inb4tehlulz:
Well I'm definitely doing something wrong then, because I spent about 2 hours trying with the one from the repo and no luck at all.
[Xposed Framework Modules] golomb igor:
does not work on AOSP :(
[Xposed Framework Modules] inb4tehlulz:
But isn't everything technically aosp? So it won't work at all on cm11? Because that would explain a lot.
[Xposed Framework Modules] Maxr1998:
I believe you both did something wrong. First, use the latest version of the API found in Xposed repo. Also, look again on your Tasker/AutoVoice configuration. It worked for me on Stock as well as on Mahdi Rom on which I'm now on both devices..

Sent using my nexus7 running Mahdi 2.6 4.4.3 with Xposed and Hover powered by Oxydo #18 on data-F2FS
[Xposed Framework Modules] ec_meyva:
Music recognation feature does not enables shazam?
[Xposed Framework Modules] jammy_22:
hi,

I have created a profile and task ..downloaded the xposed framework, google search api v 1.1 and auto voice plugin with the settings.. my google now search is not sending the command to takser for controls..Any help would be appreciated...
[Xposed Framework Modules] theknut:
Sorry [MENTION=2011359]MohammadAG[/MENTION], I've posted in the wrong thread. Is this module broken again or not? If yes, let me know if I should find the names for you again.
[Xposed Framework Modules] trunzoc:
It's still working for me. Phone says I'm running Google Search v. 3.4.16.1149292

********EDIT*******

Nevermind. Just realized that the new "OK Google" version didn't install yet. Downloading and testing now...

******More Edit******

I just installed the new Google Search. This mod is NOT working anymore.
[Xposed Framework Modules] dark_dude:
Confirmed, not working :mad:
[Xposed Framework Modules] Atogar:
I implemented my own plugin with this api and for me it still works. (Google Search v3.5.14 isn't out im my country yet.)

Is it possible to close the search results after sucessfull executing a command and show the last opend activity? Maybe by implementing a fake press of the back button?

As a workaround I use the folloing code to go back to my launcher, but going back to the last activity would be mutch better.

final Intent i = new Intent(Intent.ACTION_MAIN);
i.addCategory(Intent.CATEGORY_HOME);
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(i);
[Xposed Framework Modules] trunzoc:
Not sure what method you are using to act on your search, but I am using AutoVoice in Tasker. I just have a "go home" action as the first step in the task that processes the voice command.
[Xposed Framework Modules] Atogar:
I dont't use Tasker. I use the GoogleSearchReceiver Class like the Music Controls App (github.com/MohammadAG/GNAPI-MusicControls) in my own application.
[Xposed Framework Modules] theknut:
Alright, I've tried to fix it for Google Search V3.5. I've sent a pull request to [MENTION=2011359]MohammadAG[/MENTION] ready for merge. It's untested but I'm sure it'll work as it did with my fix for Google Search V3.4. :good:

https://github.com/MohammadAG/Google-Search-API/pull/2
[Xposed Framework Modules] cableghost:
Thanks, though will this mod still need to be updated every time Google makes a changes for it to work?
[Xposed Framework Modules] trunzoc:
Thanks bro. Any chance you can post the APK?
[Xposed Framework Modules] mbritten:
Any word on this? Really want to try the new version Google search
[Xposed Framework Modules] LakerFam0824:
I have a question for anyone... I can't seem to get Autovoice to show up as a plugin on the list on the latest beta (1.2.1). How do I get it to show up?
[Xposed Framework Modules] MaximilianoRmrz:
Why I can't use the command of what song is this and the other commands even if I have the plugins installed I'm running the latest Google now version, please help.
[Xposed Framework Modules] Humpie:
If you are running Google now 3.5 it's supposed not to work. The module has to be updated, I believe the developer is working on that right now.
[Xposed Framework Modules] trunzoc:
Uninstall AV then reinstall it. Google Now Search API must be installed prior to the plugin apps for them to show up correctly.
[Xposed Framework Modules] theknut:
Seems like Mohammad is on vacation or something. I'll post my updated apk until he uploads my pull request to the repo.
[Xposed Framework Modules] Humpie:
The app force closes but it works! Thanks a lot!
[Xposed Framework Modules] spiderflash:
it works!

Same here but it works and that's what counts! ;) thanks so much, now i can finally control the lights in my house without touching anything xD come in very handy when you dont want to get out of bed ^^
[Xposed Framework Modules] trunzoc:
It's working great! Thanks so much knut.

I'm guess that the force close the others mentioned was fixed between then and now? I have no FCs!
[Xposed Framework Modules] Humpie:
Yes, they're gone here as well, good job! :D
[Xposed Framework Modules] b_hermon:
I installed this on both my N5 and N7 (2012) and it won't show my Autovoice plugin. Any ideas on what's causing the problem? Could it be an incompatibility issuewith the version of Google Search I have installed? 3.5.14.1234234.arm
[Xposed Framework Modules] jugg1es:
Did you install this module after autovoice? If so then uninstall autovoice then re-install. the module had to be installed first for autovoice to be recognised

“Our great democracies still tend to think that a stupid man is more likely to be honest than a clever man.”*―*Bertrand Russell
[Xposed Framework Modules] b_hermon:
That did it! Thanks!
[Xposed Framework Modules] trunzoc:
like people that can't look, literally, 5 posts up.

Sent from my AT&T S4 running KangaKat.
[Xposed Framework Modules] LakerFam0824:
Thank you!! I feel like an idiot!! I did reboots uninstalled both reinstalled but never in the right order.... Should have thought about it more logically.
[Xposed Framework Modules] b_hermon:
I make it a regular practice to search a forum before posting. Not sure how I missed that :rolleyes: but thanks for the snide remark! :)
[Xposed Framework Modules] trunzoc:
No problem :P

And at least you posted to say that searching is actually something you do. Most just get their answer and run, never to be seen again (until the next question they have that was answered 5 posts prior).

Sorry for being a jerk about it. It's one of those things that confuses the hell out of me. Someone asks something that I JUST answered, then i'm like "Wait, did my post not make it to the thread?" Then I have to go back and search to make sure my answer was there.
[Xposed Framework Modules] b_hermon:
No, I understand. I'm more or less the same way. I'm just not sure how I missed it. But hey, thanks for your contributions!
[Xposed Framework Modules] trunzoc:
a new search update hit Play.

3.5.15.1254529

Gonna install it and see how it goes.

Sent from my AT&T S4 running KangaKat.
[Xposed Framework Modules] pcpimpin:
It has for me, been using it all day!!! :)
[Xposed Framework Modules] trunzoc:
Yep. Still working!

Sent from my AT&T S4 running KangaKat.
[Xposed Framework Modules] kevinga:
Not working here. Running D800 LG G2 with CM11 latest nightlies 4.4.4, Google Now launcher, updated Google Search (from yesterday's update), Google Search API version 1.2.1 beta, Autovoice/Tasker. All seems to be broken now with regards to using the GN API with autovoice.
[Xposed Framework Modules] mbritten:
Current version of google search api is 1.3, it is not in the xposed repository, link to download it is a few post back. Thanks to TheKnut
[Xposed Framework Modules] kevinga:
Can I click your thanks meter twice? :) All working better than ever now. Not sure how I missed this one.
[Xposed Framework Modules] SteakHause:
Working great with "always listening". Thanks so much Knut. BTW I installed AV as a system app using TBU long ago. API now recognizes it without uninstall/reinstall. Makes life just a bit easier.
[Xposed Framework Modules] GMFalka:
Its still not working with text input (only voice). Just me or its still broken on that part. :confused:
[Xposed Framework Modules] primetime4x4:
I'm having the same issue with text. Everything up-to-date. But I'm a first time user and this is absolutely amazing to me. Especially with "OK Google" working across the OS.
[Xposed Framework Modules] ykumar00:
It isn't working for me unfortunately :/

I've installed the api, rebooted, then reinstalled autovoice. Any help?
[Xposed Framework Modules] aryayush:
Same here. I am using a stock rooted Sony Xperia Z1 Compact and it isn't working for me. The plugins simply don't respond to any commands.
[Xposed Framework Modules] Bohler:
What version of Google Search API are you guys using? I'm on 1.3 and it's working perfectly, Nexus 4 stock 4.4.4.

By the way: is there any chance of add a feature to listen to commands even with Wi-Fi and Data off?
[Xposed Framework Modules] aryayush:
I'm on 1.2.1. That's the latest one in the Xposed Installer list, isn't it?
[Xposed Framework Modules] Bohler:
Yes it is, but theknut has made a fix for Google Search v3.5 (which is version 1.3 of GAPI) and posted in this topic, a few posts ago.

Check it out: http://xdaforums.com/showpost.php?p=53797762&postcount=223
[Xposed Framework Modules] aryayush:
Thank you, it works after updating to it. :)

When you say "turn wifi on", it does that but opens the Wi-Fi settings screen as well. Is there any way to prevent it from doing that?
[Xposed Framework Modules] akropp:
dual functions

when i do volume up/ down, wifi on/off, bluetooth on/off, it opens their respective settings.

additionally switching on/off mobile data doesnt work.
[Xposed Framework Modules] kevinga:
Add this action to the profile:

IF, condition %avsource ~ googlenow

KILL APP, google, check use root,

END IF

This will close google search and perform the task.

If you have trouble killing the app, use a plugin called Taskill. It works great - it will kill Pandora too.
[Xposed Framework Modules] aryayush:
I am using the Voice Toggles plugin, not Tasker. Are you suggesting I do that instead?
[Xposed Framework Modules] kevinga:
I am not familiar with Voice toggles. I am using Tasker and the method I described is how I am closing the Google search stuff when I issue a voice command through the Google Search API and Tasker.

Here is a video showing how to do what I am talking about. https://www.youtube.com/watch?v=-6Woh20ullI

Hope this helps.
[Xposed Framework Modules] rooobbbbb:
I can't get commands to work. I've installed the 1.3 version, test command works in the auto voice menu but aren't recognized from a Google search. Auto voice shows up in the plugins list and Google search api is enabled in it as well. Any one have any ideas? Thanks!
[Xposed Framework Modules] seraphin54:
same problèm since Last google search update.
[Xposed Framework Modules] spiderflash:
New Google search update is out. 3.5.16

This module is not working anymore (again)

Any chance you can work your magic again [MENTION=1749264]theknut[/MENTION] ?
[Xposed Framework Modules] rooobbbbb:
I was really hoping to use this for custom commands for my new G Watch. I hope someone can fix whatever was broken.
[Xposed Framework Modules] spiderflash:
check this out:

[YOUTUBE]_VpOg8TKVJE[/YOUTUBE]

I want this to work again with my lamp, so awesome ;) hopefully this will work again soon.
[Xposed Framework Modules] abuttino:
It's already been requested
[Xposed Framework Modules] iHelp101:
Trying to help out with this. Will post more if I find more changes for 3.5.16

findAndHookMethod(MyVoiceSearchControllerListener, "a", CharSequence.class, findClass("hea", lpparam.classLoader), findClass("bul", lpparam.classLoader), new XC_MethodHook() {

hea --> heb

Edit:

This is the only change. I personally just download the file from Github and imported it into Ecplise. Made the one change and everything is working for me on 3.5.16. Hopefully the OP will get back and update the file.
[Xposed Framework Modules] klmsu19:
Can you upload your apk? The OP says it's open source so I can't imagine anyone would mind until the official version is upgraded (even 1.3 was made by someone not the author from github)
[Xposed Framework Modules] abuttino:
That's what forks are for :)

Since it was already updated once without the original owner's knowledge, I don't see a reason it can't be made public again :)

I know everyone here would appreciate it if you uploaded it here.
[Xposed Framework Modules] iHelp101:
Enjoy. Updated to 1.31 and should be working perfectly.
[Xposed Framework Modules] abuttino:
That was very nice of you to do that [MENTION=5712278]iHelp101[/MENTION] ... Thank you very much
[Xposed Framework Modules] EpicCyndaquil:
I'm having a very strange issue with this APK - pressing the Install button on the package installer does nothing. The screen isn't frozen though. I've installed tons of APKs before without issue, so I have no idea what's going on.
[Xposed Framework Modules] iHelp101:
That is strange. All I changed was a single word of code, so no issues should be raised. Im going to go with the answer everyone gives and say restart your device. I tested this on my Nexus 5 and it worked perfectly. No one else has reported any issues. Also here is an older thread thats related to someone having a similar issue.

http://xdaforums.com/showthread.php?t=2048457
[Xposed Framework Modules] EpicCyndaquil:
Yep, it was the screen filter application "Twilight". Thanks for the helpful link - your APK seems to be working just fine, and I can voice search again with "OK Google!"
[Xposed Framework Modules] abuttino:
What are other useful plugins for this? I only use autovoice
[Xposed Framework Modules] spiderflash:
There is almost no plugins for this. autovoice is definitely the most useful one and it's the only one I am using.

Check the first page, all the plugins are listed there ;)

Btw: This is working perfectly, thanks so much ;) Using my watch to turn on the lights by voice!
[Xposed Framework Modules] trunzoc:
AutoVoice is the only one you need :D :thumbup:

Sent from my AT&T S4 running KangaKat.
[Xposed Framework Modules] fndpena:
Looks like the latest Google Search update broke this module...

Can anyone confirm that?

EDIT: Nevermind...

Xposed was hiding the update because it's not stable yet. Updating now...
[Xposed Framework Modules] pcpimpin:
Dude look a page back
[Xposed Framework Modules] spiderflash:
The update isn't on the installer dude. It was posted a page back. Xposed version is 1.2.1, current (inofficial) version is 1.3.1 though!
[Xposed Framework Modules] masterchop:
Super hyper mega questions that will make a huge change in touchless controls

is it possible to modify the app to have multiple hotwords? i mean be able to catch Ok autovoice :)

THis will bring autovoice listening popup and ok google will bring google now.

Can a plug in be created with this functionality?
[Xposed Framework Modules] abuttino:
Autovoice got an always listening update today too. Try saying "Note to self"

It should activate an autovoice condition.
[Xposed Framework Modules] briandresstoyota:
Can't seem to get it to play songs at all. Am I doing something wrong?

I just say "play song Brooklyn's finest" and it pulls up search results
[Xposed Framework Modules] spiderflash:
Pretty sure the "song" doesnt belong. I never say it that way and for me it works
[Xposed Framework Modules] briandresstoyota:
I tried that way too. Is it because my music is on Google music and not my SD card?
[Xposed Framework Modules] stargzrr11:
For those of you that have an android wear device, this works with that as well.

Voice commands from my Gear Live successfully trigger my Tasker profile using AutoVoice and this Xposed module.
[Xposed Framework Modules] stargzrr11:
Yes. Get version 1.31. The version in the Xposed download area is old.
[Xposed Framework Modules] bitblaster:
1.3.2 Fix text search

Text search is broken in 1.3.1 with Google Search v 3.5.16 because Google continues obfuscating every class.

I'll post here 1.3.2 version which fixes this, along with code modifications I made.

These are the changes (starting on row 142 of iHelp101's version):

Object queryResult = param.args[0];
// Google Search V3.5.14 and older: "mQueryChars"
// Google Search V3.5.16: "bkt"
//	CharSequence searchQueryText = (CharSequence) getObjectField(queryResult, "mQueryChars");
CharSequence searchQueryText = (CharSequence) getObjectField(queryResult, "bkt");
Object mCache = getObjectField(param.thisObject, "mCache");
Object mClock = getObjectField(param.thisObject, "mClock");
// Google Search V3.5.14 and older: "get"
// Google Search V3.5.16: "a"
//	Object mCachedResult = XposedHelpers.callMethod(mCache, "get", queryResult,
//	XposedHelpers.callMethod(mClock, "elapsedRealtime"),
//	true);
Object mCachedResult = XposedHelpers.callMethod(mCache, "a", queryResult,
XposedHelpers.callMethod(mClock, "elapsedRealtime"),
true);

Bye

Bit
[Xposed Framework Modules] theknut:
So what did you change? Only the names or did you actually add code lines? We should somehow keep track of other than name changes are made. Once the next fully obfuscated release drops it'll be hard otherwise. It's a pity Mohammad doesn't care about this module anymore. He could just accept my pull requests and officially release the new versions on the Xposed Repo... That's literally a five minutes work every one or two months.
[Xposed Framework Modules] bitblaster:
I just changed the name of a variable and a method that google obfuscated: mQueryChars->bkt and get->a.

In my opinion we should define constants with original variable/method names to keep track of the meaning of the original name.

for example

private static final String M_QUERY_CHARS = "bkt";

and use M_QUERY_CHARS in the code.

Obviously i agree all this makes sens if MohammadAG will merge the changes in the master branch.

Maybe he's in holyday now :D
[Xposed Framework Modules] iHelp101:
Theknut, can you try to get permission from him to allow one of us to just start a new Github and new Xposed module? It gets annoying that it seems everyday someone ask why the xposed module is not updated. I don't care about donations. I am happy to help you get the module working in the future. I just want someone that will actually update it when a pull request is sent.
[Xposed Framework Modules] theknut:
Once Google drops a new fully obfuscated Google Search apk I'm all over it to make XGELS working again. So looking up the few classes/methods used here isn't a big deal. Last time I did it after fixing XGELS which was fixed in less than 24h.

I'm already forking the Github project and create pull requests to the master branch. The problem is the Xposed Repo doesn't allow transfering the owner (as far as I know). Mohammad could give me permission to contribute to his master branch but then he still needs to build and sign the apk to upload it to the Repo. Maybe we could use my keys to upload it to the Repo but I don't want any trouble with Mohammad or the repo admins.

I don't know, I guess we have to upload the apks here...
[Xposed Framework Modules] abuttino:
Thank you all for keeping up with this module.
[Xposed Framework Modules] spiderflash:
Yea thanks a lot ;) BTW Iove XGELS, too. Nice work :)
[Xposed Framework Modules] gb5766:
Thanks! All seems to be working, but shows as version 1.2.1 when installed.... .
[Xposed Framework Modules] bitblaster:
Yes, i did not edit the version number since this is not an official release, hope the OP will accept the patches and release a new version himself.

Inviato dal mio LG-D802 utilizzando Tapatalk
[Xposed Framework Modules] trunzoc:
Confirmed text search is passing through. Thank you so much for fixing that part of it!

Sent from my AT&T S4 running KangaKat.
[Xposed Framework Modules] trunzoc:
AutoVoice beta was just updated to use accessibility services. No more need for this module if you use it exclusively to get commands to AV.

Sent from my AT&T S4 running KangaKat.
[Xposed Framework Modules] Humpie:
Although I really love this module and use it all the time, I found commandr https://play.google.com/store/apps/details?id=com.RSen.Commandr which does the same (if you only use it to send commands to tasker) and doesn't need root or xposed framework. I haven't tested yet which of the two is the most reliable
[Xposed Framework Modules] spiderflash:
Well but with commander I have to say "ok google note to self turn the lights on" instead of just "ok google turn the lights on". Also when I actually want to set a note (eg shopping list) that won't work anymore. I don't know how reliable commander is, but this module is 100% reliable and it's definitely faster and cleaner :P
[Xposed Framework Modules] theknut:
You don't have to say "note to self" anymore.
[Xposed Framework Modules] TheSgrash:
where can I find the beta? is there a beta program on play store?
[Xposed Framework Modules] abuttino:
You have to join the g+ community. Then look for bets
[Xposed Framework Modules] spiderflash:
Oh wow I didn't realise these has been an update. Cool ;)

Im guessing that is the end of this module with both AutoVoice and commandr replacing this.

Edit: It still has some use. Neither AutoVoice nor commandr (they do the same thing right now actually ^^ ) can issue commands from the android wear watches. That only works if this plugin is installed. So until this changes this module isn't useless :D
[Xposed Framework Modules] optik678:
This is now live on the Play Store app. I I just tested text and voice and they both pass the Google now commands to Autovoice flawlessly with the Search API disabled. It would appear that this module is no longer necessary, for Autovoice, anyways.
[Xposed Framework Modules] iHelp101:
Just a heads up. If you use your Android Wear with autovoice you still need this module. I stupidly switched back to L and realized no apps were able to get the google search queries from the LG G Watch yet.
[Xposed Framework Modules] abuttino:
João or [MENTION=4805489]joaomgcd[/MENTION] does some great work. I headed up a fundraiser for him to get a Moto 360 on his Google+ community. It's up to $250 or something like that and, I'm in charge of getting it ordered and shipped to him in Portugal.

If you feel like donating, the address is: http://goo.gl/oybHjx for his community.

I am sure he would not mind me speaking for him when I say: "he is very anxious and losing patience for the 360 to be released" and I can speculate for myself that he really can't wait to develop for Android Wear.