Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

New Voice Search


This topic has been archived. This means that you cannot reply to this topic.
37 replies to this topic

#1 CiDhed

CiDhed
  • Donators
  • 347 posts

Posted 12 August 2010 - 06:45 PM

Found a way better walkthrough in the dream forum.

http://forum.cyanoge...d-voice-search/

View PostTsenru, on 12 August 2010 - 06:14 PM, said:

Alright, I updated this with instructions on how to fix the Google Search widget as well.  Thanks to klinster, devlogic and OhioDroid.

Hey everybody, I don't know if anybody else is having this issue, but the new version of Google's Voice Search released today wouldn't install on my G1 (running CM6RC2) due to an incorrect signature.  Anyway, there's a quick workaround, you just have to uninstall the voice search installed by default in CM6.

Anyway, if you have adb, plug into usb and run:

adb pull /system/app/ ~/Desktop/app/
adb remount
adb shell rm -f /system/app/VoiceSearch.apk
adb shell pm uninstall com.google.android.voicesearch
adb shell rm -f /system/app/GoogleQuickSearchBox.apk
adb shell pm uninstall com.google.android.googlequicksearchbox

If you don't, open Terminal Emulator on your phone (This does NOT backup the .apk's, so proceed at your own risk!) and run:

su
mount -o rw,remount /system
rm -f /system/app/VoiceSearch.apk
pm uninstall com.google.android.voicesearch
rm -f //system/app/GoogleQuickSearchBox.apk
adb shell pm uninstall com.google.android.googlequicksearchbox

Your old out of date versions are now removed.  Now go to the Market and install "Voice Search" and "Google Search".
QR Codes:

Voice Search
http://2.bp.blogspot...-search.png.png

Google Search
http://4.bp.blogspot...arch-widget.png

Anyway, this is all pulled from the Cyanogenmod Wiki and most have you probably have already figured this out.  In case you were stuck though, hopefully this helped you resolve the problem.

EDIT: Thanks to klinster for a good point-- I added the adb pull command to the beginning to backup the original apk in case something goes wrong.





If you get package not signed correctly, mount system, delete the VoiceSearch.apk file, reboot and install.


mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp VoiceSearch.apk /sdcard/
rm -f /system/app/VoiceSearch.apk
reboot


:edit:
Had to do the same with /system/app/GoogleQuickSearchBox.apk to get the new quick search box installed.


#2 klinster

klinster
  • Donators
  • 35 posts

Posted 12 August 2010 - 06:47 PM

View PostCiDhed, on 12 August 2010 - 06:45 PM, said:

If you get package not signed correctly, mount system, delete the VoiceSearch.apk file, reboot and install.

The updates will install straight into /system/app or /data/app?

EDIT: Damn I was about to post the full commands lol

#3 CiDhed

CiDhed
  • Donators
  • 347 posts

Posted 12 August 2010 - 06:54 PM

View Postklinster, on 12 August 2010 - 06:47 PM, said:

The updates will install straight into /system/app or /data/app?

It installs it into /data/app but for whatever reason it conflicts with the VoiceSearch.apk file.

#4 Thelonias

Thelonias
  • Members
  • 21 posts

Posted 12 August 2010 - 07:15 PM

My process to get both new apps installed was to find them in Titanium Backup, back them up (just in case), uninstall them, reboot (IMPORTANT..I think  :mellow: ) Then re-install from the market.

#5 CiDhed

CiDhed
  • Donators
  • 347 posts

Posted 12 August 2010 - 07:21 PM

View PostThelonias, on 12 August 2010 - 07:15 PM, said:

My process to get both new apps installed was to find them in Titanium Backup, back them up (just in case), uninstall them, reboot (IMPORTANT..I think  :mellow: ) Then re-install from the market.

Yeah, the second step I put up there made a copy of the file on the sd card. I didn't do that but I figured it would probably be a good step for most. You have to reboot as ending the tasks didn't work.

#6 dyndragon

dyndragon
  • Donators
  • 39 posts

Posted 12 August 2010 - 08:20 PM

There is still an API call missing or something. The voice command "set alarm x:xx am/pm" results in an error and says desk clock is missing, or something similar.

#7 CiDhed

CiDhed
  • Donators
  • 347 posts

Posted 12 August 2010 - 10:26 PM

View Postdyndragon, on 12 August 2010 - 08:20 PM, said:

There is still an API call missing or something. The voice command "set alarm x:xx am/pm" results in an error and says desk clock is missing, or something similar.

I get it too. I am sure cyanogen plans to incorporate these apks in his rom.

#8 Execute

Execute
  • Members
  • 14 posts

Posted 12 August 2010 - 11:03 PM

View PostThelonias, on 12 August 2010 - 07:15 PM, said:

My process to get both new apps installed was to find them in Titanium Backup, back them up (just in case), uninstall them, reboot (IMPORTANT..I think  :mellow: ) Then re-install from the market.


Hmm I've tried this several times, but always get "Installation Unsuccessful".  I backup the voice search apk in Titanium, reboot, and still no go.  When I go back to Titanium, the Voice Search is back up, and not uninstalled.  I wonder what gives?  I'm running CM 6.Test 8 on my HTC Incredible, but it should still work the same I would imagine. Any ideas?  I would love to check out this new Voice Search tool.

#9 screff

screff
  • Members
  • 15 posts

Posted 12 August 2010 - 11:53 PM

View PostCiDhed, on 12 August 2010 - 06:45 PM, said:

adb shell remount

Not to nitpick but that should be:
adb remount
and not:
adb shell remount
Thanks for passing along the tip on this, I was wondering why it wasn't working for me.  :)

#10 leepa

leepa
  • Members
  • 7 posts

Posted 12 August 2010 - 11:56 PM

View PostCiDhed, on 12 August 2010 - 10:26 PM, said:

I get it too. I am sure cyanogen plans to incorporate these apks in his rom.

This is nothing to do with Cyanogen - Google's page specifically says that THEY are looking into a solution to provide the update for the clock application. Same goes for Music - we have to wait for Spotify et. all to update.

Edited by leepa, 12 August 2010 - 11:57 PM.


#11 aznsrdabest

aznsrdabest
  • Members
  • 1 posts

Posted 13 August 2010 - 12:04 AM

Got both installed but now my soft key for search doesn't work...
It works from the browser and certain apps, but from the home screen when i just want to do a quick search it vibrates, but doesn't work...
Hopefully someone can figure out a fix for it... for im going to try use the widget...

#12 joeyweaver

joeyweaver
  • Members
  • 9 posts

Posted 13 August 2010 - 01:24 AM

My search button isn't working now either. Is anyone's?

View Postaznsrdabest, on 13 August 2010 - 12:04 AM, said:

Got both installed but now my soft key for search doesn't work...
It works from the browser and certain apps, but from the home screen when i just want to do a quick search it vibrates, but doesn't work...
Hopefully someone can figure out a fix for it... for im going to try use the widget...


#13 PlayingDoh

PlayingDoh
  • Members
  • 3 posts

Posted 13 August 2010 - 01:43 AM

its been reported.

http://code.google.c...detail?id=10389

#14 CiDhed

CiDhed
  • Donators
  • 347 posts

Posted 13 August 2010 - 01:53 AM

View Postscreff, on 12 August 2010 - 11:53 PM, said:

Not to nitpick but that should be:
adb remount
and not:
adb shell remount
Thanks for passing along the tip on this, I was wondering why it wasn't working for me.  :)

Yeah, I do everything inside adb. My original one is the greyed out one at the bottom. I just copied and pasted that from another thread.

View Postleepa, on 12 August 2010 - 11:56 PM, said:

This is nothing to do with Cyanogen - Google's page specifically says that THEY are looking into a solution to provide the update for the clock application. Same goes for Music - we have to wait for Spotify et. all to update.

I was saying that we could see these as default search apps directly replaced so we don't have to go through the issue of deleting to install. Maybe the next gapps will have it integrated. Good to know it is on google's side.

View Postaznsrdabest, on 13 August 2010 - 12:04 AM, said:

Got both installed but now my soft key for search doesn't work...
It works from the browser and certain apps, but from the home screen when i just want to do a quick search it vibrates, but doesn't work...
Hopefully someone can figure out a fix for it... for im going to try use the widget...

Mine is working fine.

#15 firerock

firerock
  • Members
  • 5 posts

Posted 13 August 2010 - 02:45 AM

Thanks for all the instruction.

I used titanium backup to uninstall Voice Search.  Restarted my phone.  Install Voice Search from market.

Try this method if you are not too Android-savvy like me.  :)

#16 Execute

Execute
  • Members
  • 14 posts

Posted 13 August 2010 - 03:31 AM

View Postfirerock, on 13 August 2010 - 02:45 AM, said:

Thanks for all the instruction.

I used titanium backup to uninstall Voice Search.  Restarted my phone.  Install Voice Search from market.

Try this method if you are not too Android-savvy like me.  :)


Hmmm I've tried this several times with no such luck.  Am I missing something?  I go into Titanium, backup "Voice Search 1.6.0", then Uninstall it.  When I reboot then go to the Market and try to install the new one, it will not.  The steps I am taking should do it, correct?

#17 Execute

Execute
  • Members
  • 14 posts

Posted 13 August 2010 - 04:25 AM

Anyone?  Sorry, don't mean to come off as pesty, but it seems as tho I am doing what several other people are doing, but with no luck. I want to try out the new Voice Search, but I keep getting an "Installation Unsuccessful" error.  I have been planning on familiarizing myself with adb, but haven't yet so I would prefer to use the seemingly easier Titanium Backup method.  To me it seems like it should be pretty simple, but maybe I am missing something. I am only concerned with the new Voice Search right now so I've only been trying to install that one.  The steps I take are 1. Backup Voice Search 1.6.0 in Titanium. 2. Uninstall Voice Search 1.6.0 with Titanium.  3. Reboot.  4. Install Voice Search from the market.  But it is not working.

Am I missing some associated file or something?  Also, in Titanium, after I uninstall it, it is greyed out with a line thru it(Voice Dialer 1.6.0).  However, when I open Titanium again, it is no longer like that.  It is RED, but no longer greyed out like it used to be, and some of the other apps I didn't restore.  Also, I am using an Incredible with CyanogenMod 6, Test 8, but I wouldn't think that would matter in this case.  Anyone able to spot a problem here?  I would really like to test out the new Voice Search(I thought it was gonna be easy :P), but haven't familiarized myself with either adb or the terminal emulator yet.  Appreciate any responses.

#18 Gensai

Gensai
  • Members
  • 24 posts

Posted 13 August 2010 - 04:28 AM

View PostPlayingDoh, on 13 August 2010 - 01:43 AM, said:


Can anyone tell me how to do this person's fix in adb?

#19 leepa

leepa
  • Members
  • 7 posts

Posted 13 August 2010 - 06:59 AM

View PostGensai, on 13 August 2010 - 04:28 AM, said:

Can anyone tell me how to do this person's fix in adb?

You should just be able to do:

adb shell cp /data/app/com.google.android.googlequicksearchbox-1.apk /system/app/GoogleQuickSearchBox.apk

I'm about to update to the latest nightly so will test properly when I reboot.

#20 xavier7

xavier7
  • Members
  • 13 posts

Posted 13 August 2010 - 07:06 AM

this is strange, I'm able to install and use the new Google Search (via the icon, as the soft key doesnt work), but when I check via Root Explorer, I don't see com.google.android.googlequicksearchbox-1.apk in there, searched for it via Root Explorer, couldn't find any result.

Anyone of you have the same experience? I'm trying to find the file as I want to try the fix mentioned in the Issue 10389 article.

I'm on CM6 RC2. (not nightly build)