[MOD] Remove home button lag associated with voice command app

yoderk

Senior Member
Sep 6, 2010
419
263
0
Reno
Hi hope this is in the right section

I found a post in the GSII International forum that removes the lag that you experience when hitting the home button on our phones.

This is due to the voice command app. This fix removes the voice command double tap option, you will have to access it from the app drawer now but it removes the lag associated with the app launching when hitting the home button.

This has only been tested and confirmed working on Cog X2 Beta-3 and Cog X2 Beta-4. Does not work on odexed stock as well as Perception. YMMV

As usual flash at your own risk, I am not responsible for your phone or problems it has from this modification.


Here is a CWM package courtesy of jivy26 to make flashing a little easier!
http://api.viglink.com/api/click?format=go&drKey=1359&loc=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D1295754&v=1&libid=1318187546595&out=http%3A%2F%2Fdl.dropbox.com%2Fu%2F20397021%2FHomebuttonfix.zip&ref=http%3A%2F%2Fforum.xda-developers.com%2Fforumdisplay.php%3Ff%3D1304&title=%5BMOD%5D%20Remove%20home%20button%20lag%20associated%20with%20voice%20command%20app%20-%20xda-developers&txt=http%3A%2F%2Fdl.dropbox.com%2Fu%2F20397021%2FHomebuttonfix.zip&jsonp=vglnk_jsonp_13181875587052

Just download the file at the bottom of this post and push it to system/framework. This can be done via Root Explorer by copying and replacing the file in the system/framework folder or with an adb push.

*The initial boot takes a bit

Thanks to Oliwe for the lines of code to mod!
A link to the original thread for those that want to DIY for future updates and what not.
http://forum.xda-developers.com/showthread.php?t=1227479
 

Attachments

Last edited:

yoderk

Senior Member
Sep 6, 2010
419
263
0
Reno
Thanks! Glad it worked fine for you also

What rom and version are you running on your phone so I can update OP if needed?
 
Last edited:

switters1

Senior Member
Nov 19, 2010
433
37
0
Just download the file at the bottom of this post and push it to system/framework
*The initial boot takes a bit

Thanks to Oliwe for the lines of code to mod!
A link to the original thread for those that want to DIY for future updates and what not.
http://forum.xda-developers.com/showthread.php?t=1227479
How do I "push it to the system/framework "?

Sent from my SAMSUNG-SGH-I777 using XDA App
 

TechSilver13

Senior Member
Aug 1, 2011
1,250
320
103
Thanks! Glad it worked fine for you also

What rom and version are you running on your phone so I can update OP if needed?
I am running Cognition X2 Beta 4

---------- Post added at 07:49 PM ---------- Previous post was at 07:48 PM ----------

How do I "push it to the system/framework "?

Sent from my SAMSUNG-SGH-I777 using XDA App
use root explorer from the market...put the file on your sdcard and copy it to system/framework
 

switters1

Senior Member
Nov 19, 2010
433
37
0
How do I "push it to the system/framework "?

Sent from my SAMSUNG-SGH-I777 using XDA App
Nevermind. I figured out that that just means to copy and replace the file that is in the system/ framework directory

Brilliant find. This was really bugging me. that was the 1 thing that made this super fast phone seem slow

Sent from my SAMSUNG-SGH-I777 using XDA App
 

yoderk

Senior Member
Sep 6, 2010
419
263
0
Reno
How do I "push it to the system/framework "?

Sent from my SAMSUNG-SGH-I777 using XDA App
This can also be done with adb push as follows:

adb push android.policy.jar system/framework

Yes it really makes a difference in my opinion. The lag was just ridiculous not to mention I would usually hit the home key a few times (very impatient hahaha) opening the voice command app which I never use.
 
Last edited:

Simba501

Senior Member
Feb 2, 2010
3,206
1,137
0
Finally :). This was my one gripe about the device. It was very noticeable to me, but not many people acknowledged it.

Beta 1 btw.
 
Last edited:

switters1

Senior Member
Nov 19, 2010
433
37
0
Wow. This makes such a huge difference! The home button works instantaneously now!

Running on cognition 3 beta

Sent from my SAMSUNG-SGH-I777 using XDA App
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone