Monday, October 03, 2011

With the MIUI ROM, use the Genius Button to launch Google Search on the MyTouch4G


I have been using the MIUI ROM for the MyTouch4G for about a month now, and am very pleased with it.  But just like anything else, nothing is perfect and one annoying feature is the default MIUI search app.  I prefer the Google Search app.  With all the options on this ROM, it is surprising that one cannot redefine the Genius (Search) button to use Google Search instead.

I found this posting on the MIUI US forum which I followed and it worked for me.  My current version is MIUI 1.9.30.
http://forums.miui.us/showthread.php?4930-Search-button-launches-Google-search!&highlight=search+button

1. Install the Google Search app from the Android Market, as this is not bundled with the MIUI ROM.
2. Install the ScriptManager from the Android Market
3. Launch the ScriptManager, to create a new script file, follow Menu -> New -> New Script -> [file name e.g. google.genius.search.sh]
Type these commands into the script:
#!/system/bin/sh
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /data/app/com.google.android.googlequicksearchbox-1.apk /system/app
exit



4. Save the script, and check these options: 'Run as root', 'Configure as favorite', 'Is script'.



5. Run this script by clicking on the 'Run' button.  Note that this script needs to be run every time a new MIUI ROM is loaded.

6. To test for a successful modification, restart your phone and do the following:

  1. Short press the Genius button -> launch Google Search
  2. Long press the Genius button -> launch Voice Search
  3. Long press the Home button -> launch MIUI Sidekick Recent Apps

Did this work for you?  Do you prefer the MIUI Search application (aka Sidekick), or do you prefer the Google Search app?


Enjoy!


No comments: