[armv6][APP][4.0+]Voice Search Wrapper for Google Now (Google Search) - Android Apps and Games

Google Now voice input FC's (force-closes) on armv6 devices. Boo. Hiss. Part of the lib works, 'listen to tv' works.
Hotword detection is completely borked on armv6. Luckily you can turn it off in Google Settings after Now is installed or it'll FC like crazy too.
If you're into this kind of thing you may remember how cool it was when people got Google Now with Voice Search working for armv6 devices.
It doesn't work anymore on newer releases of Now.
The ics voice search assistant only works on Google Now (Velvet.apk) up to version 2.0 and Now is currently over v3.
So, I wanted to make something like the old search assistant for the current version of Google Now, since my lovely Optimus V obsolete phone is still kicking with Android 4.2.2 CM-11 unofficial.
I enjoy the voice controls. It's geeky. It's fun. It's somethiIng those uppity newer phone users lord over us cheapskates and diehards.
Even though Google Voice Search is froyo-era software, and online-only, it can still be used by Intent.
So...
I made an app. Widget actually. Press it, wait for the Voice Search box, and talk. It reroutes the transcript to Google Search (Now.) That includes OK Google commands, like 'call 555 555 1212' 'weather' etc. list of commands here and here
I couldn't get all the easter eggs to work, they may be in the hotword detector or libvcdecoder. Some do work though.
The talkback from Google Search still doesn't work with this gimmick. But you can talk into it at least.
This does not fix the mic icon on the Google search bar. Only allows a workaround for voice input via widget or long-press search key,
See this post to get around that.
Thanks again to Dovidhalevi for that tip.
Installation:
Get Voice Search on Play
get the apk from post 2, and install it.
If youve already got Google Now version 3.10 or higher sideloaded you can skip this next bit, go straight to fixing the Google Now settings.
I haven't been able to get either the launcher or Search to work installing from Play.
The Easy Way
Sideload the official apks from somewhere like androidpolice, and then you don't have to push anything to /data.
Here's the androidpolice 3.3 article with a download link.
The Harder Way
Get Now (and the launcher if you see fit) from the gapps here.
G Now is four files. /system/priv-app/Velvet.apk (chmod 644)
and three libs from /system/lib
libvcdecoder_jni.so, libgoogle_recognizer_jni_l.so, and libgoogle_hotword_jni.so (chmod 644)
(thanks to Dovidhalevi for pointing out the libvcdecoder.jni.so, I had missed that one.)
the launcher is /system/app/GoogleHome.apk (chmod 644) but it's not required.
you can 'adb install' Velvet, then adb push the three libs to /data/data/com.google.android.googlequicksearchbox/lib if you don't have space on /system.
Fix Google Search Settings!
once those files are installed,
1) immediately go into Google settings > Search & Now > Voice > "Ok Google" hotword detection, and turn it off.
2) Then back up one menu to Google settings > Search & Now > Voice, open Language and set it to something obscure like Hungarian (this avoids nasty FCs that happen to some users, thanks again Dovidhalevi for the tip!)
Important: If Search keeps closing on you, you need to make sure you changed the language in Google settings as listed in #2 from the previous paragraph.
If there's no setting to turn off hotword detection, the version is too old. try v3.10 or newer.
still get Search force closes? @rar**** posted a fix.
Usage:
The first time you run it there will (well, should) be a dialog asking what you want to use. Select Voice Search, Always.
(If there's not a dialog asking what to run for this action, go to Settings >Apps > Google Search and clear defaults. If that doesn't do it, clear defaults for Voice Search and VoiceSearchWrapper too.)
The widget can be activated by long-press search button. Another dialog should pop up. Select VoiceSearchWrapper, always.
Just tell it what to do, like after the hotword on a newer device. Instead of "Ok Google, weather" just say "weather."
This thread is to debug the apk. I've already gotten some great help from Dovidhalevi for the language settings, and Rar**** for the more comprehensive language workaround.
here is source, ADT project.
I know this doesn't match the template. I wanted to get source and binary UP though. I'll prettify this later.
known glitches:
Voice responses don't work (Search doesn't talk back to you, and the nonfunctional Easter eggs are talkbacks.)
'navigate to <location>' opens a web search for the text. Pressing enter in the search box corrects it to offer the Navigation app correctly targeted. ???
//edit: sideloading the apk from androidpolice instead of using the one from pa_gapps fixes this specific issue.
tested to function on:
lg optimus one,s,v cm11
galaxy mini cm10.1 (thanks damopi95 for testing)
Click to expand...
Click to collapse
XDA:DevDB Information
Voice Search Wrapper for Google Now voice commands on armv6, App for the LG Optimus One P500
Contributors
bigsupersquid, google, stackoverflow.com
Version Information
Status: Testing
Current Beta Version: 1.0
Beta Release Date: 2014-04-07
Created 2014-04-07
Last Updated 2014-05-28

Download
APK here.
md5sum 1b3977dbfed9290edae950862d911d94
Current version 1.0
leaving feedback in the thread whether or not it works for you encourages development, expands the compatible device list, and keeps this alive in the search engines so other legacy device users can find it.

Reserved

Installed the wrapper app. Previously had the "on-line" voice search. BTW, this, along with Jeannie, etc., did work.
I did not get a dialog but got the voicesearch speak box immediately. Google search FC.
Running voicesearch itself similarly voice search FC. Did work before.
Jeannie still works.
This is off a Play store version of Google Search. Even if I simply place that velvet.apk in priv-app and symlink the libraries, there is still no room. I have 14meg free on system. Most of us trim less from the ROM so have even less available. The velvet.apk it itself 17meg. The libs, another 17meg but I have symlinked those off in the past. Were those libs compiled for armv6 (They are not opensource, usually come precompiled for armv7)?
The Velvet.apk is actually quite good in that it has the language models on it. Versions for our device will not let us download them. But this, along with the launcher being included, makes it too big. Play versions install as user app, include the recognizer lib inside (for armv7). Must be sideloaded.
I sideloaded the Velvet.apk
Pushed the libs to sd-ext, symlinked to /system/lib
Still does not work but will check after reboot.
P500 users will be very unlikely to get this stuff installed on /system/priv-app. BTW, no interest in "Ok Google," which would simply deplete the battery were it to work at all. BTW, Google will probably bump the app off Play unless the title gets changed--did that to the original ICS widget.

Dovidhalevi said:
Installed the wrapper app. Previously had the "on-line" voice search. BTW, this, along with Jeannie, etc., did work.
I did not get a dialog but got the voicesearch speak box immediately. Google search FC.
Running voicesearch itself similarly voice search FC. Did work before.
Jeannie still works.
This is off a Play store version of Google Search. Even if I simply place that velvet.apk in priv-app and symlink the libraries, there is still no room. I have 14meg free on system. Most of us trim less from the ROM so have even less available. The velvet.apk it itself 17meg. The libs, another 17meg but I have symlinked those off in the past. Were those libs compiled for armv6 (They are not opensource, usually come precompiled for armv7)?
The Velvet.apk is actually quite good in that it has the language models on it. Versions for our device will not let us download them. But this, along with the launcher being included, makes it too big. Play versions install as user app, include the recognizer lib inside (for armv7). Must be sideloaded.
I sideloaded the Velvet.apk
Pushed the libs to sd-ext, symlinked to /system/lib
Still does not work but will check after reboot.
P500 users will be very unlikely to get this stuff installed on /system/priv-app. BTW, no interest in "Ok Google," which would simply deplete the battery were it to work at all. BTW, Google will probably bump the app off Play unless the title gets changed--did that to the original ICS widget.
Click to expand...
Click to collapse
Thanks for the feedback.
Didn't plan to Play store this one, it's too hacky anyway. Hopefully they won't bump the beta but if they do I'll fix it.
The libs are armv7 but only parts of them are NEON or thumb2. So on my Optimus V (msm7627) the voice-recognition parts of those libs FC. The listen/broadcast to google server part of the recognizer lib seems to work though. (listen to TV finds the wrong shows but similar.)
without the hotword lib Now FC's even more than usual. With it installed but turned off there are no complaints in logcat about hotword.
After enough reboots my install of Now seems to have stabilized and doesn't FC very often unless I hit the mic icon by accident.
However, I am using the 'stock' pa gapps package except for the total unrunnables like chrome and the keyboard. ridiculous amount of system storage eaten up. Since I am running my whole phone except for the boot.img off my sd card storage space doesn't matter. So I hadn't tried the sideloaded .apk since moving past Velvet 2.0 and didn't realize it'd FC instead of running.
Though, your post in the ROM thread indicated you've had issues with Now being a FC-ing beast anyway even on text searches? I rarely ever have had it crash on text searches.
I will have to test sideloading the apk now.
//edit: yes, sideloading the apk from the gapps then pushing the two libgoogle_* libs to /data/data/com.google.android.googlequicksearchbox/lib works for me. Didn't even have to reboot.
My widget doesn't show anything before popping up voice search, unless search initializes slowly, then you see the 'voicesearchwrapper' dialog box for a sec.
All it's meant to do is pipe the text output from Voice Search into Now.
Also, to get the Android system selection box for what handles voice input for what function, I had to uninstall and reinstall Voice Search. Since you've already got different defaults selected I can imagine why it wouldn't hook right.

bigsupersquid said:
Thanks for the feedback.
....
Though, your post in the ROM thread indicated you've had issues with Now being a FC-ing beast anyway even on text searches? I rarely ever have had it crash on text searches.
I will have to test sideloading the apk now.
Click to expand...
Click to collapse
How do you run everything of sdcard? Using that OSD Rom? I might think that an sdcard is a bit slow for system but never noticed any lags from link2sd's placements on the sdcard.
See how you make out with a sideload, maybe there is a workaround? No way for most of us to shove this onto /system/priv-app.
BTW, there MAY be a way, sort of. The paid version of link2sd can symlink system dexes. But everything else still must fit on system. Symlinking dexes free a bit more /data space. Wondering about manually symlinking apps to /system/app and /system/priv-app. Unfortunately, kitkat ROMs do not necessarily respect such symlinks, possibly because built-in selinux policies (evidenced in file_context) do not include references to the target placements. This may be why I cannot upgrade omni sanely.

Dovidhalevi said:
How do you run everything of sdcard? Using that OSD Rom? I might think that an sdcard is a bit slow for system but never noticed any lags from link2sd's placements on the sdcard.
See how you make out with a sideload, maybe there is a workaround? No way for most of us to shove this onto /system/priv-app.
BTW, there MAY be a way, sort of. The paid version of link2sd can symlink system dexes. But everything else still must fit on system. Symlinking dexes free a bit more /data space. Wondering about manually symlinking apps to /system/app and /system/priv-app. Unfortunately, kitkat ROMs do not necessarily respect such symlinks, possibly because built-in selinux policies (evidenced in file_context) do not include references to the target placements. This may be why I cannot upgrade omni sanely.
Click to expand...
Click to collapse
I run everything off the card with a modified boot process. But unlike Multirom or linking, it's stock Android code that does it for me now.
fstab.thunderc calls out /system and /data with "EMMC" mmcblk partitions and init.thunderc.rc does a 'mount_all /fstab.thunderc'... which requires replacing the qcom.init.rc direct MTD mount commands with comments. My system partition is currently 1GB and it's using well over 400MB of that. Antutu, quadrant, and linpack show no major speed differences from running off card. Class 4 16GB, class 10 8GB, class 2 4GB, all have worked for me. Biggest problem, one user had their only sd card fail while installed and recovery wouldn't sideload flash another zip without a card. Required adb and flash_image with internal system.img and boot.img pushed to /data to fix.
The internal MTD /system partition is only 165MB (157 on the Optimus S!) and it just barely holds kitkat with any features. I made a ROM version for it because people are more comfortable with that than my experimental version, but I don't use it myself. It works, but I hate dealing with linking and other methods of faking out Android because my phone has puny internal storage capacity. Multirom was cool, it was similar in that it mounted the external filesystems before booting, so Android didn't see anything funny going on. That stopped working for me with ICS.
Our devices are very similar. I've ported software over, and, um, borrowed, the p500 androidarmv6 3.0.8 kernel code for the VM670. The same trick should work if you'd like to try it.
To avoid too much off-topic, I'd be happy to discuss an easy (zip flash and adb shell cp -a) way to test the method on your device off in another thread somewhere.
I will check on the sideloading since not many armv6 users have enough system space. Most likely the one in the gapps will still sideload and the libs can be manually copied into /data/data/com.google.android.googlequicksearchbox/lib afterwards.
edit: yes, sideloading and pushing the libs there worked for me. Once. Then a FC every time it's opened. Same with android police version 3.3 apk.
I will examine my logs. Thanks for the pointer.

@Dovidhalevi
the force closes appear to be from the hotword not being disabled in google settings>voice>hotword
I had the same issues you reported from sideloading until I went into those settings and disabled the hotword.
It's actually mentioned in the OP but now I'll stress it's important there

bigsupersquid said:
@Dovidhalevi
the force closes appear to be from the hotword not being disabled in google settings>voice>hotword
I had the same issues you reported from sideloading until I went into those settings and disabled the hotword.
It's actually mentioned in the OP but now I'll stress it's important there
Click to expand...
Click to collapse
Hotword will cause numerous FCs. I turn it off as fast as I can. Once off, Google Search will remain stably, show cards, etc. FCs with inputs as described. Hotword not the issue.

Dovidhalevi said:
Hotword will cause numerous FCs. I turn it off as fast as I can. Once off, Google Search will remain stably, show cards, etc. FCs with inputs as described. Hotword not the issue.
Click to expand...
Click to collapse
it seems like your system is using the wrong default app for voice. maybe if you went into apps under settings and clear defaults for a Google search voice search and voice search wrapper then you should get the default dialogs.
//edit: Thanks for the PM about how you got it working! I have added the info about the extra lib and the langauge settings to the OP and credit.

Thanks a lot for the source. Just asking for permissions. Can I use it in my ROM?
I know but still asking for conformation

rhar**** said:
Thanks a lot for the source. Just asking for permissions. Can I use it in my ROM?
I know but still asking for conformation
Click to expand...
Click to collapse
certainly.
a link to the original here or github as a credit would be cool but not required...
as you inferred, the point to sharing source is to allow free use.
thanks for asking though.

If Google Now is already installed, is it possible to just push the lib files? or should I uninstall Google Now, Search, and Launcher and proceed with the steps posted on OP?

ruelericsapalaran said:
If Google Now is already installed, is it possible to just push the lib files? or should I uninstall Google Now, Search, and Launcher and proceed with the steps posted on OP?
Click to expand...
Click to collapse
if Now is already installed all you need to install is Voice Search and the widget.
Clear defaults in Google Search after installing the other two and you should get the default dialogs to finish setting it up.
I will add this to the OP since I hadn't considered it.

bigsupersquid said:
if Now is already installed all you need to install is Voice Search and the widget.
Clear defaults in Google Search after installing the other two and you should get the default dialogs to finish setting it up.
I will add this to the OP since I hadn't considered it.
Click to expand...
Click to collapse
When you say "widget" you mean the wrapper apk, right? Also, what do you mean when you say "clear defaults in Google Search", because as I check Google Settings>Search & Now, there's no option to clear defaults.

ruelericsapalaran said:
When you say "widget" you mean the wrapper apk, right? Also, what do you mean when you say "clear defaults in Google Search", because as I check Google Settings>Search & Now, there's no option to clear defaults.
Click to expand...
Click to collapse
Yep, the VoiceSearchWrapper.apk is the widget.
As far as settings,
(If there's not a dialog asking what to run for this action, go to Settings >Apps > Google Search and clear defaults. If that doesn't do it, clear defaults for Voice Search and VoiceSearchWrapper too.)
Click to expand...
Click to collapse

bigsupersquid said:
Yep, the VoiceSearchWrapper.apk is the widget.
As far as settings,
Click to expand...
Click to collapse
Done clearing defaults but still getting Google Search FC

ruelericsapalaran said:
Done clearing defaults but still getting Google Search FC
Click to expand...
Click to collapse
Did you set the language to Hungarian like I was told had to be done sometimes?
By the way, I am using your troubles to clarify the OP. Keep me posted, please. And I may need a logcat to check exactly what is happening if it can't be easily trouble(shooted? shot?) through trial and error.

bigsupersquid said:
Did you set the language to Hungarian like I was told had to be done sometimes?
By the way, I am using your troubles to clarify the OP. Keep me posted, please. And I may need a logcat to check exactly what is happening if it can't be easily trouble(shooted? shot?) through trial and error.
Click to expand...
Click to collapse
Okay. The thing I did not find the "Ok Google" hotword detection" option in my Google settings. I'm not sure if this would mean I have to re-install again? Or should I just clear data and cache of the 3(Now, Search, GNL)?

ruelericsapalaran said:
Okay. The thing I did not find the "Ok Google" hotword detection" option in my Google settings. I'm not sure if this would mean I have to re-install again? Or should I just clear data and cache of the 3(Now, Search, GNL)?
Click to expand...
Click to collapse
older versions of Search don't have the needed setting. what version is yours? the one I currently have installed is 3.3.10
looks like I should determine what the earliest version is with that setting.

Related

[Q] google voice not wanting to move in newest gapps

typically, i keep a set of the latest apks i use in a file, and they include all the google apps. I do this because when i flash, that way i don't have to download all the google apps over the air since service in Maui is awful. also, it is easier to send someone who doesn't know how to update their phone one file to flash rather than several.
however, recently Google Voice doesn't seem to want to be recognized when it is moved to /system/app, and when it is there it doesn't work at all even if you reinstall it. it won't show up in the app drawer until it is reinstalled, and after that, it will open but won't download any messages.
any thoughts anyone? did the fix_permissions through ROM manager and fix uid mismatches through Amon, and checked /data/system/packages.xml, and it all looks good but won't work.
ideas?

"Unfortunately google play store has stopped": what to do (general)

There are a gazillion threads on this topic, but most of them are about device-specific or carrier-specific problems. However google play store can stop for a number of reasons that are more generic. Googling them is a pain in the butt, as I recently discovered. This thread is intended as a place to collect them together. As well as checking here, it would be important to check on threads for your specific device and carrier, as they may have pushed a bad version.
Cause: Part-installed apps: something went wrong part-way through installing an app
Checking: Check in google play; if it says 'downloading' or 'installing' permanently, something is amiss
Solution: Try uninstalling the app (you may be able to reinstall it successfully afterward)
Cause: /mnt/sdcard is full
Checking: If you have a terminal, use the "df" command, otherwise use a capable file viewer
Solution: On a terminal, "cd /mnt/sdcard", then "du -s (dirname)" to check sizes, "rm -r (dirname)" to remove something (or use 'mv (dirname) /mnt/external_sd if you have an external sd card with some space). On a file viewer, move or remove relevant directories. You can't avoid this: if your sd card is full, you're definitely going to have to remove something (or move it to your external card) - the system isn't going to work with a full card. USE WITH CARE EITHER WAY. Whatever you remove cannot be retrieved, and removing the wrong thing can make your system or applications misbehave.
Cause: Corrupted data
Checking: Try the solutions in increasing order of severity.
Solution:
Go into Settings, then apps, then All, click on Google Play Store. Then:
Clear cache, Force stop, restart Google Play and retry​
Go into Settings, then apps, then All, click on Google Play Store. Then:
Clear data, Force stop, restart Google Play and retry​
Go into Settings, then Accounts and Sync, Click on your account, then on options icon, Remove account (ignore warnings - it's easy to restore)
Restart Google Play. It will ask you to add an account - add your original back in.​
Cause: Corrupted binaries
Checking: Not sure how...
Solution: Install an updated binary. This thread always seems to have the latest. But you should probably check your device and vendor lists in case there is a device-specific binary (I think the more specific binaries currently just add a different skin, but further information would be good). You may also need to reinstall google play services (thanks jpeg1900)
Or:
"I just reflashed the same gapps in CWM over the first installation, rebooted and had to wait a few minutes before Play Store actually started working again." - Thanks Nephatiu (see below).
Please feel free to add further info below. I'll try to incorporate all good nuggets into this post.
PS anyone know a better way to do tables in this wiki?
play store error at download
urilabob said:
There are a gazillion threads on this topic, but most of them are about device-specific or carrier-specific problems. However google play store can stop for a number of reasons that are more generic. Googling them is a pain in the butt, as I recently discovered. This thread is intended as a place to collect them together. As well as checking here, it would be important to check on threads for your specific device and carrier, as they may have pushed a bad version.
Cause: /mnt/sdcard is full
Checking: If you have a terminal, use the "df" command, otherwise use a capable file viewer
Solution: On a terminal, "cd /mnt/sdcard", then "du -s (dirname)" to check sizes, "rm -r (dirname)" to remove it. On a file viewer, remove relevant directories. USE WITH CARE EITHER WAY.
Cause: Corrupted data
Checking: Try the solutions in increasing order of severity.
Solution:
Go into Settings, then apps, then All, click on Google Play Store. Then:
Clear cache, Force stop, restart Google Play and retry​
Go into Settings, then apps, then All, click on Google Play Store. Then:
Clear data, Force stop, restart Google Play and retry​
Go into Settings, then Accounts and Sync, Click on your account, then on options icon, Remove account (ignore warnings - it's easy to restore)
Restart Google Play. It will ask you to add an account - add your original back in.​
Cause: Corrupted binaries
Checking: Not sure how...
Solution: Install an updated binary. This thread always seems to have the latest. But you should probably check your device and vendor lists in case there is a device-specific binary (I think the more specific binaries currently just add a different skin, but further information would be good).
Please feel free to add further info below. I'll try to incorporate all good nuggets into this post.
PS anyone know a better way to do tables in this wiki?
Click to expand...
Click to collapse
hi there,
i have some problems with play store at all. play store is runing well - BUT, if i like to download an app, the download never starts. it says "donloading" but there is no percentage.
after ~ 15 mins an error is on the display.
any idea?
Play Store hanging on download
Ralf-0815 said:
hi there,
i have some problems with play store at all. play store is runing well - BUT, if i like to download an app, the download never starts. it says "donloading" but there is no percentage.
after ~ 15 mins an error is on the display.
any idea?
Click to expand...
Click to collapse
Not sure. I had a similar problem at one time, and eventually discovered it was due to a specific app that had only half-installed itself (perhaps the tab had crashed halfway through the download, not sure, it's lost in the mists of time). Uninstalling that app got over the problem. However it might help someone (perhaps you) if you post the error message that you get on the display (people are likely to google it, so that you might get together with other people with the same problem).
I had issues with the Play Store earlier today and tried clearing the app cache and data to no avail, but found another simple fix. I uninstalled updates from version 3.8.15 back to 3.7.15. Worked like a charm.
Well, my Play Store recently crashed during updates, after which it wouldn't run any longer anymore stating that same message every time I try running it and also every time an app accesses the store for information (which seems to happen when I just open the apps). My sdcard wasn't full, clearing data and cache did nothing, no other data is corrupted, I replaced the market with a fresh copy apk, tried different versions, ... Nothing worked... So, reading the internet, I saw the final solution was to remove and re-add my Google account, but for some reason (not a rational one) I didn't really want to do this, so I went back to CWM recovery mode, reflashed the gapps zip I used the first time and rebooted... Once booted it didn't give me the error I usually get on any other boot since it started crashing, but when I tried running Play Store, it crashed again with the same message... Defeated I went to my Google accounts to remove, at which point (just before doing anything) I noticed the Updates-notification of the Play Store popping up in my notification drawer. I tapped it and Play Store booted, everything works again, and it updated itself back to the latest version, still without any problems.
So in short, if you don't ant to read the entire text:
I just reflashed the same gapps in CWM over the first installation, rebooted and had to wait a few minutes before Play Store actually started working again.
Dunno if this will work for anyone of you, 'cause it depends on the reason it's not working, but this possible solution should not be missing from your list since it worked for at least one person (me).
Greetz,
~ Nephatiu
Hotspot Shield VPN 1.3
just download Hotspot Shield VPN 1.3
http://www.androiddrawer.com/11257/download-hotspot-shield-vpn-1-3-app-apk/
and google play store will work again
What does Hotspot Shield VPN 1.3 have to do with Google Play not working?
That is an app which creates a VPN so you can access sites that are locked or not authorized.
Personally I went into Settings than Application Manager, then ALL, then Google Play Store.
After that i cleared all the data, force stopped the app and restarted it again.
It worked nicely.
alleshi said:
just download Hotspot Shield VPN 1.3
http://www.androiddrawer.com/11257/download-hotspot-shield-vpn-1-3-app-apk/
and google play store will work again
Click to expand...
Click to collapse
urilabob said:
Cause: Corrupted data
Checking: Try the solutions in increasing order of severity.
Solution:
Go into Settings, then apps, then All, click on Google Play Store. Then:
Clear cache, Force stop, restart Google Play and retry​
Go into Settings, then apps, then All, click on Google Play Store. Then:
Clear data, Force stop, restart Google Play and retry​
Go into Settings, then Accounts and Sync, Click on your account, then on options icon, Remove account (ignore warnings - it's easy to restore)
Restart Google Play. It will ask you to add an account - add your original back in.​
Click to expand...
Click to collapse
seems point 3 fixes it for me, but as soon as im back on the play store and starting to download something it just starts over again with the error message. Any ideas?
Not even sure how to describe this one..
Hardware: ASUS ME301T (MeMo Smart Pad 10)
Version: 4.2.1 (10.6.1.29, but it was happening on 10.6.1.25 as well)
Rooted, SuperSU installed for the multi-user support. Aside from that, the device is stock.
Play Store: 4.1.6 (4.0.something factory)
Setup:
2 users
Primary user has 2 Google accounts+FB account
Secondary user has a single Google account
Problem:
I have 43 apps installed on the primary user. If I install even 1 more, the app crashes when trying to load the list of installed apps. Doesn't seem to matter what the 44th app is. Uninstall it to drop it back to 43 and it works just fine again. Secondary user is at 46 and no issues. I've tried removing both Google accounts, clearing data+cache of the store, DMClient, and Download Manager, as well as removing the store updates. Nothing has worked. The only things left I can think of is trying to update the store manually via newer apk or a factory reset. I don't know what, if anything, ASUS changed in the store, as the installed size reports 10.46mb or so. Also want to avoid a reset for obvious pain-in-the-arse related reasons.
Any ideas?
I ran into a similar problem. After reading this thread, i tried a few of the suggestions. What ended up working for me was to go to the application manager, got to google play store, uninstall updates, and re install the factory version. Did the same for google play services.
same problem with 4.3.1.1
using a custom rom (LiquidSmooth) on a Galaxy Note II (N7100) international.
went through all the removing\reinstalling\clear cache tricks.. same error pops up every time i try to open the store, and sometimes just as a background process.
not sure if re-flashing will help... (cleared cache and dalvik too).
thoughts..?
ApeironTsuka said:
N
Problem:
I have 43 apps installed on the primary user. If I install even 1 more, the app crashes when trying to load the list of installed apps. Doesn't seem to matter what the 44th app is. Uninstall it to drop it back to 43 and it works just fine again. Secondary user is at 46 and no issues. I've tried removing both Google accounts, clearing data+cache of the store, DMClient, and Download Manager, as well as removing the store updates. Nothing has worked. The only things left I can think of is trying to update the store manually via newer apk or a factory reset. I don't know what, if anything, ASUS changed in the store, as the installed size reports 10.46mb or so. Also want to avoid a reset for obvious pain-in-the-arse related reasons.
Any ideas?
Click to expand...
Click to collapse
No good ones, but just wondering - is there any possibility it's the 43rd app that is the root of the problem? Perhaps its data is corrupted in play's database, and adding another app reveals the problem.
talamir said:
using a custom rom (LiquidSmooth) on a Galaxy Note II (N7100) international.
went through all the removing\reinstalling\clear cache tricks.. same error pops up every time i try to open the store, and sometimes just as a background process.
not sure if re-flashing will help... (cleared cache and dalvik too).
thoughts..?
Click to expand...
Click to collapse
Just in case you didn't try it, jpeg1900's suggestion of reinstalling google play services (rather than just google play) might be relevant here, in light of it crashing as a background process.
Unfortunately google play store has stopped
hello,
i bought a chinese phone - Vsun i9 but unfortunately it looks that is made for chinese market and google play doesn't work:
Unfortunately google play store has stopped
I had rooted the phone but still don't know how to activate google play
Could you help me and if someone knows if there is a custom rom for this phone to send a link.
thank you in advance!
4.5.10
Is this a bugs?? On note 3 original rom play store version 4.5.10 also has this problem, sometimes clear data on download manager / play service / play store can help, sometimes there is no choice, I remove gmail account and sign in again can help...
Why does this happen? Did google give any answer?
helpful topic
i found this very helpful.. thnks
remove account and work well, after few days the same problem occur again!!!! What happen to android? is it need to wait new google play new update?
I broke it!!!
after trying all the processes, several times
I am running Paranoid Android ROM and just wondered if changing hybrid profile of Google play store was contributing to app crashing?!?
note: I was able to open app but from opening menu could not go into any individual tabs (I.e. "apps") without crashing...
Changing hybrid settings back to lower DPI fixed issue and I have just set to the maximum DPI before app starts crashing
hope this helps others
Limited Relevance
alleshi said:
just download Hotspot Shield VPN 1.3
http://www.androiddrawer.com/11257/download-hotspot-shield-vpn-1-3-app-apk/
and google play store will work again
Click to expand...
Click to collapse
If your problem is due to google sites being blocked by a firewall (your company's, your ISP's, your country's, or whatever) this may be helpful. Be aware that you will need a site on the other end, outside the firewall, to route your google play communications.
If that's not your problem, this solution won't help.
Usually you will know - only a few countries block google, it's highly unlikely that a commercial ISP would, and you will know whether you are trying to do updates on your company's network.
There's a host file in system-etc- delete that file and reboot your phone and see if that works..
Sent from my Micromax A110Q using Tapatalk

[Q] TTS not installed?

I installed the pre-rooted stock kernel from k0nane. I don't know if it was working prior to this. Anyway, I noticed that Google navigation was not speaking street names, and thought it was the problem that a lot of users were having. But when I go to Settings...Voice Input and Output...Text-to-Speech I get a force close every time. Clearly TTS is not working in ANY app. How to fix?
tthoma said:
I installed the pre-rooted stock kernel from k0nane. I don't know if it was working prior to this. Anyway, I noticed that Google navigation was not speaking street names, and thought it was the problem that a lot of users were having. But when I go to Settings...Voice Input and Output...Text-to-Speech I get a force close every time. Clearly TTS is not working in ANY app. How to fix?
Click to expand...
Click to collapse
Stock non-rooted and stock rooted are the same minus superuser.... but you can try to wipe davlik/cache.
Problem solved - 1) I'm an idiot and 2) Never use My Backup Pro to freeze apps (though it was nice to move stuff between phones). I had frozen some TTS-related stuff that I shouldn't have, and they wouldn't defrost despite repeated attempts. Will stick with Titanium from now on.
On a related note if you change the speech engine to the Samsung one and tell it to override app settings, you get some interesting results in google nav. It reads out a bunch of XML and then gives you the direction, a couple minutes late.

[Q] Google Now "Phone Search" not working anymore ? HELP !

Hello ;0)
I noticed a strange behaviour on my Nexus 5 (or maybe Google changed something?):
On my Nexus 4 I had an option in the settings of Google Now to activate some apps that I could search "within" the Google Search. All I had to do was to activate them and then, on the bottom of the search results, I would swipe the small bar to the right till I got to the phone entry and it would show me search results from the specified apps and I could open the app from there and it would take me to the result within the app.
For example: A search for "Sarah Miche" would pop up as "Sarah Michelle Gellar" with an imdb and a wikipedia icon, I clicked that and the wikipedia/imdb app would start and open the page about Sarah Michelle Gellar.
I quite liked that and used it a lot...
On my Nexus 5 however the option is gone. The settings are still there. In Google Now under settings-phone search but it just enables me to search apps/Chrome Beta/Contacts/Play Movies. And "apps" will just allow me to search for apps I installed on my phone not to search "inside" those apps. (See screenshots)
So I thought "Meeehhhhh, f****. They removed a feature I really liked. Guess I have to live with that..."
Now for the strange part:
I installed google search and GEL on my tablet (running Android 4.3) an the option is still there (but it´s called "tablet-search" and "tablet")
AND IT´S WORKING... (See screenshots) Same freaking Google-Search build, same freaking GEL-build....
Am I doing something wrong ?!?!? Does my phone hate me ? What´s up with that ?
Any help would be appreciated ;0)
Thanks ...
P.s.: Sorry my phone and my tablet are in german but you should get the picture ;0)
Same here, I don't even have "Chrome Beta" in the list.
But therein probably lies the answer: Google changed the way how Apps can "apply" to be shown in this list and not even the latest stock Chrome version has this feature yet (but the newer Beta does).
Also it seems to be a problem for the new GEL only, the list still works properly on my N10 with Google Search 3.1.8.x.
I've read mention of a new API for this functionality and that devs need to apply it to their apps. Just weird that Google itself hasn't applied it to all their apps.
Sent from my Nexus 5 using xda app-developers app
And that it still works on my tablet... ;0(
Gesendet von meinem Nexus 5 mit Tapatalk
patrickem said:
I've read mention of a new API for this functionality and that devs need to apply it to their apps.
Click to expand...
Click to collapse
Think you can find more info on that? As a developer I'd like to know, as my app uses the global search feature and it stopped working recently.
Daniel.Stevens said:
And that it still works on my tablet... ;0(
Click to expand...
Click to collapse
Any news on this?
On a side note, I created a question on Stackoverflow with the same issue.
On my nexus 7 2012 I installed the 3.1 from the Nexus 5 a few weeks ago. After a reset of Google Search data the tablet search broke like on your Nexus 5...but I only noticed it when I upgraded to kitkat. I obviously thought it was kitkat the problem until today.
The problem is how Google Search 3.x handles the list. There must be a bug of some sort.
Here's why:
On my htc one s with cm10.2 (4.3) I reset the data of Search 3.1.8 to try something only to discover that the Phone Search list was almost empty like on my tablet!
I uninstalled it and the 2.6.7 version was restored from /system/app. The phone search list was full now, even after I updated to 3.1.8.
So, basically, if you open Google Search 2.x and then you update to 3.x the list will be there like it always did.
Who updated to kitkat without resetting the data won't have any problems (or whoever update to 3.1.8 on any phone\tablet without data reset)
lbrfabio said:
On my nexus 7 2012 I installed the 3.1 from the Nexus 5 a few weeks ago. After a reset of Google Search data the tablet search broke like on your Nexus 5...but I only noticed it when I upgraded to kitkat. I obviously thought it was kitkat the problem until today.
The problem is how Google Search 3.x handles the list. There must be a bug of some sort.
Here's why:
On my htc one s with cm10.2 (4.3) I reset the data of Search 3.1.8 to try something only to discover that the Phone Search list was almost empty like on my tablet!
I uninstalled it and the 2.6.7 version was restored from /system/app. The phone search list was full now, even after I updated to 3.1.8.
So, basically, if you open Google Search 2.x and then you update to 3.x the list will be there like it always did.
Who updated to kitkat without resetting the data won't have any problems (or whoever update to 3.1.8 on any phone\tablet without data reset)
Click to expand...
Click to collapse
I found this commit in AOSP, which might be related:
https : // android.googlesource.com/platform/packages/apps/QuickSearchBox/+/ecf356c15143ab0583c64682de16d94a57f7dd1c
The commit message tells us that this feature was removed due to performance reasons (which might or might not be true, given that it references an internal ticket id and I didn't find a public issue here about this).
Since this part of the quicksearchbox is included in the ROM and released with Android 4.4, it doesn't matter which version of Google-Search you have installed. As long as you have updated to Android Kitkat 4.4 or newer, you won't be able to search the contentproviders of installed apps.
Nevertheless, I found this nifty, but ugly and ad-driven little app, which mimics device-search:
https : // play.google.com/store/apps/details?id=com.startapp.quicksearchbox
You should decline the initial request and ignore its Android 2.x-ugliness, though.
It takes some getting used to, but it works.
StingerAJ said:
I found this commit in AOSP, which might be related:
https : // android.googlesource.com/platform/packages/apps/QuickSearchBox/+/ecf356c15143ab0583c64682de16d94a57f7dd1c
The commit message tells us that this feature was removed due to performance reasons (which might or might not be true, given that it references an internal ticket id and I didn't find a public issue here about this).
Since this part of the quicksearchbox is included in the ROM and released with Android 4.4, it doesn't matter which version of Google-Search you have installed. As long as you have updated to Android Kitkat 4.4 or newer, you won't be able to search the contentproviders of installed apps.
Nevertheless, I found this nifty, but ugly and ad-driven little app, which mimics device-search:
https : // play.google.com/store/apps/details?id=com.startapp.quicksearchbox
You should decline the initial request and ignore its Android 2.x-ugliness, though.
It takes some getting used to, but it works.
Click to expand...
Click to collapse
was a very usefull option :crying::crying::crying:
Hello I have installed Archidroid 2.5 ROM, but I have a problem with the research on the phone.
When I enter in the settings of google and now I open the page "search on the phone" there is no app is completely empty.
So I can not look in the app Email.
I think this problem is related to the app Google now.
So there is no way to make it work on the Cyano rom based?
Possible solution
Try to uninstall Google Search and do a update from Google Play. Worked for me.

Bliss OS no Google Play Services

How can i download and install app from Google Play Store ?
at this time i use Bliss-v11.4-Stable--OFFICIAL-20181223-2005_x86_64_k-kernel-4.19_m-18.3.1_pie-x86_f-dev-kernel.org for my laptop.
We clearly state in the Bliss OS thread that Google Play Store is not available and that Bliss OS only comes with FDroid & microG.
So how do we install gapps if we have paid apps we need to use? there appears to be no recovery to install it in the usual way.. (or for that matter how can I stop google play services repeatedly crashing on the earlier nougat and oreo releases of BlissOS?)
No gapps. No go.
Without gapps android is not much use to most people (much as we would all love to ditch google). I understand its not available in BlissOS, I guess the question is: are there any plans to incorporate the ability to add it easily, a more prominent and clear explanation on the XDA home page would be useful. I keep revisiting BlissOS to check if its been added I'd like to know if I should give up and just look elsewhere for an android emulator? This project looks great but without the ability to add play store , software many people will have already bought in the play store since the decade or so its been around can't be used. That's a serious deal breaker..
thisweb said:
Without gapps android is not much use to most people (much as we would all love to ditch google). I understand its not available in BlissOS, I guess the question is: are there any plans to incorporate the ability to add it easily, a more prominent and clear explanation on the XDA home page would be useful. I keep revisiting BlissOS to check if its been added I'd like to know if I should give up and just look elsewhere for an android emulator? This project looks great but without the ability to add play store , software many people will have already bought in the play store since the decade or so its been around can't be used. That's a serious deal breaker..
Click to expand...
Click to collapse
I totally agree
11.13 gsm has google play as does latest 14/ betas. You have a foss install.
madeiraantonio97 said:
I totally agree
Click to expand...
Click to collapse
I'm with you guys until Bliss OS 14 on the the very latest release the Google Play store has worked at least help you guys don't even bundle browser what the hell is up with that I expect this kind of crap out of Circuit City on one of their phones that took to a chain but not that best Android operating system there is out for my system I mean you say after all but PlayStore was installed whenever I downloaded play some rest so I kind of expected it to at least log into my Google account I can't even log into my Google account I've been trying to get Bliss OS to work for ages I finally got a PC tool Boot It Up, all be it flawlessly, now all of a sudden it won't Run Google Play Store all of a sudden I had such a pain in the ass getting into work in the first place everything was all groovy until grub2win so bored my boot up somehow if I hadn't already had Bliss OS installed I would have had to manually try to figure out how to install it because there's no way to install the damn grub startup because when I try to run the installer for grub2win it says something about an autoit error and grub2win. EXE needs to be an object that happens when I try to install it uninstall it anyway that's not what we're talking about here I finally got to work ing setup by the grace of the Cyber gods a little bit of luck a little bit of ingenuity and some 1 0 10 duct tape why even advertise it is a the Google version if it's not going to have Google it'd be one thing if there was a simple way to just flip files onto it from Windows but there's not and even if there is I don't remember all those folders names right when I started Android for the first time on the new system especially when you put it into a blender with all the folders that you got to learn from gearlock either way what I'm saying is I agree and if you're not going to have at least the Google Play Store working it don't put a release out that supports the Google services just go all-out custom and then make an easy import export for the folders so you can sideload stuff easier and for god sakes put a browser in there so that you can at least download something if you don't have any other option. I spent two days trying to log my Google account in anywhere any account and email in the Play Store and I went and spent that much time had I known but every other version of bliss OS I had has been fine with Play Store so news to me if it's so public that you guys don't use Google Play Store you're doing a bad job of letting anybody know and sir I love your operating system so please don't take that too harshly. But I do second the notion that no PlayStore no Bliss it's a deal breaker at least without some other infrastructure in place.
FreQRiDeR said:
11.13 gsm has google play as does latest 14/ betas. You have a foss install.
Click to expand...
Click to collapse
The latest 14.3 that is supposed to have Google Play Store does not. it has Google Play services but you can't log into any accounts so it's pretty much useless other than getting the desktop to come up and it continuously crashes like the Play services not the Bliss
Now that I'm done replying to everybody else's comments I will say that I just installed the 14.3 Alpha it may be a beta now not sure forgive me. It does have Google Play services and it does boo'd up and there are significant changes to the boot script that goes into grub which in a way I really like except for the fact that some of the variables are hidden in two other scripts that I don't know where they are I found some of them cuz I've been digging through those damn folders so much for a year I just happen to know where they are but if you could please come in and some of the grab scripts like where some of the things are that are replaced by variables I noticed you did some like small scrubbing and then referred back to other variable names which I like because all the technical jargon is hidden and it makes it easier to understand but at the same time I had to custom write my grub script because my bootloader or something is screwy in order to reference the Bliss OS install I had to go in and change the Android 64 references from a previous install and I really had some issues trying to find some of the variables that are referenced in the new Bliss OS grub script I think maybe a key might be helpful like where does variable names are put into play like where I can go back and see what they are but if you don't want to do that you know maybe some kind of skeleton index would be very helpful in general though I love what you did with the grub Scripts if it's not you shout out to the guys at gearlock cuz it might have been they're installer that did it. The only reason I updated to 14.3 was because I had an issue when I install 14.2 my bootloader or whatever grub get out and I was on a grub recovery screen no matter what I did once I got Windows to boot I tried to boot Bliss which is where I got all cozy with your grub Scripts and noticed that things such as the start up flags were all underneath one variable Nifty if you can find out where to change them at. But anyways I figured since I messed up the Majestic install on the last update and no matter what I did it would not even reinstall it fix it or update it hey why not just go install the new update of bliss I proceeded to follow the links that I found it online one was an asteroid download and the other was a Play Store download oh how happy I was when it finally booted up then I couldn't figure out damn why won't it sign into my Google account followed by Play Services crashing repeatedly how do you fix it I don't know let's Google it no browser okay but sound like a browser oh put it into gear lock folder back to Windows where's the gear lock folder oh there's the gear lock folder it's been about 10 minutes what was I doing oh yeah oh yeah browser got to f****** find a goddamn APK you know one that's not riddled with viruses and malware okay maybe this will work back to Android in the gear lock folder so it's not there maybe they meant gear load back forth 20 minutes later nope that didn't work either oh after a while I dig and I figure out there's more than one gearload and more than one gearlock two copies of Firefox and an hour later still no browser you see what I'm getting at "FIX the PLAY STORE" it would have been easier to ADB it in I'm sure, the only reason I didn't do that is cuz wait a minute that extra layer of Wi-Fi network and I'm sure it would have have been a pain in the ass just as bad I mean I saw the little tutorial on what the ADB address was but you should just left a little picture of a bomb cuz we know that she would have b e e n a pain in the ass the hay known what I know now that's where I would have started and microG and asteroid that's a freaking joke for somebody that wants their system to work that one little Play services constantly crashing is nothing compared to the 50 that you're going to get with micro G & F Droid.
Google Play Services work perfectly fine on 14.3 if you go to Settings => Apps, locate the Google Play Services app, click it, then click the 3 vertical dot menu and restore Google Play Services to the original version. Then go to Google Play Store and disable auto-updates. I've been there too having Google Play Services constantly crashing every 30 seconds or so with no possibility to log in anywhere. After resetting to the original version this particular problem has been fixed. Play Store works, I can login into my Account.
The two browsers that work on 14.3 are Firefox and DuckDuckGo. Chrome and Opera crash on startup.
stepanrumyantsev said:
Google Play Services work perfectly fine on 14.3 if you go to Settings => Apps, locate the Google Play Services app, click it, then click the 3 vertical dot menu and restore Google Play Services to the original version. Then go to Google Play Store and disable auto-updates. I've been there too having Google Play Services constantly crashing every 30 seconds or so with no possibility to log in anywhere. After resetting to the original version this particular problem has been fixed. Play Store works, I can login into my Accounbecat.
Click to expand...
Click to collapse
thats not working here 5 seconds after i boot for the first time its not updated and if it is really dragging its ass to log in i dont reall think its gonna let me change any settings and i dont think its gonna let me log in. granted i can revert it but that setting is the very first thing i do on any android because i cant stand it when i had a working device and then google does its bs and f**ks all my apps right off the bat so i dont think thats the issue it never had a chance to update. but in all fairness ill look again and if i find myself here again i will feedback. Thank you for your suggestion.
Walter Bishop said:
thats not working here 5 seconds after i boot for the first time its not updated and if it is really dragging its ass to log in i dont reall think its gonna let me change any settings and i dont think its gonna let me log in. granted i can revert it but that setting is the very first thing i do on any android because i cant stand it when i had a working device and then google does its bs and f**ks all my apps right off the bat so i dont think thats the issue it never had a chance to update. but in all fairness ill look again and if i find myself here again i will feedback. Thank you for your suggestion.
Click to expand...
Click to collapse
Well, I forgot one important step - before clicking the three dots and reverting the Google Play Services app to the initial state you have to stop/disable it altogether in the same dialog. You have the options to Disable and Force Stop it. Just disable. A lot of things like Google Play Store, Calendar whatever relies on Google Play Services will start crashing, disable these apps too. Revert the Google Play Services to the original state, enable Google Play Store back and stop auto-updates in Google Play Store.
I had exactly the same problem and this solution has worked perfectly fine for me. As a matter of fact I was able to login to Google Play Store and download many apps. Half of them didn't work but it least I got a Web Browser - Firefox and DuckDuckGo are the only one that functioned - and a book reader.
Thank you!
The problem that I am facing doing your solution is there isnt any 3 dot menu like on other apps
I can't believe they didn't fix Gapps yet? I did the trick of downgrading Google Play Services and it worked but My BlissOS got corrupted and I can't re enable Gapps! Tried reinstalling, downgrading. Even google browser does not work! Totally useless! V14.3 And how do you dl 15? I did correct terminal commands creating logblahhblahh.text on sdacard and no dl link!?! Come on Bliss team. Get it together!
FreQRiDeR said:
I can't believe they didn't fix Gapps yet? I did the trick of downgrading Google Play Services and it worked but My BlissOS got corrupted and I can't re enable Gapps! Tried reinstalling, downgrading. Even google browser does not work! Totally useless! V14.3 And how do you dl 15? I did correct terminal commands creating logblahhblahh.text on sdacard and no dl link!?! Come on Bliss team. Get it together!
Click to expand...
Click to collapse
someone still stuck on 14.3 ???

Categories

Resources