New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
blackhand1001
Old
#1  
blackhand1001's Avatar
Senior Member - OP
Thanks Meter 438
Posts: 924
Join Date: Sep 2011

 
DONATE TO ME
Default [FIX] Lag fix for cm10 based roms (cm10, paranoid android, jellybro)

I posted this in the other two forums and didn't wanna leave you sprint folks out.

I have a fix for the lagginess in builds from the past week and a half or so. The culprit is the surface flinger library. It is the android compositing system and some changes recently made to it are responsible for the significant lag in recent builds. Most noticeable spot is if you hit the home button if you have the notification drawer down. It becomes extremely laggy without this patch. Scrolling is also less smooth whenever multiple things on the screen are being drawn. This fixes all those issues.

Just flash this in cwm or whatever recovery you choose. Should work on all cm10 builds and cm10 based roms like paranoid android.

http://www.mediafire.com/?dbi25egli253q1b


Sent from my Galaxy Nexus using xda premium
Current: Galaxy Nexus LTE - CM10.1 Nightly (jellybro)
Extra (previous): Droid Incredible AMOLED - CM7.2
Father: HTC Rezound - Stock Rooted
The Following 24 Users Say Thank You to blackhand1001 For This Useful Post: [ Click to Expand ]
 
KidDynamite
Old
#2  
KidDynamite's Avatar
Senior Member
Thanks Meter 250
Posts: 786
Join Date: Oct 2010
Location: Originally from Philadelphia

 
DONATE TO ME
Well, I'll be damned. It works ! Thanks a lot!
 
blackhand1001
Old
#3  
blackhand1001's Avatar
Senior Member - OP
Thanks Meter 438
Posts: 924
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by KidDynamite View Post
Well, I'll be damned. It works ! Thanks a lot!
Thanks. I was looking for hours trying to figure out why all the builds from past like august 22nd 23rd were really laggy. Figured it out after messing with files for hours and reading cm10s github and gerrit pages.

Sent from my Galaxy Nexus using xda premium
Current: Galaxy Nexus LTE - CM10.1 Nightly (jellybro)
Extra (previous): Droid Incredible AMOLED - CM7.2
Father: HTC Rezound - Stock Rooted
 
jcalderon576
Old
#4  
jcalderon576's Avatar
Senior Member
Thanks Meter 64
Posts: 163
Join Date: Nov 2011
Location: El Paso
This does seem to make everything snappier. Thanks!

Sent from my Galaxy Nexus using xda premium
 
jjhrrsn
Old
#5  
jjhrrsn's Avatar
Senior Member
Thanks Meter 177
Posts: 669
Join Date: Aug 2011
Location: Portland
Yup this is a keeper

Sent from my Galaxy Nexus using xda premium
 
Braneless
Old
#6  
Senior Member
Thanks Meter 272
Posts: 1,565
Join Date: Jun 2011
Location: Dayton, OH
Will this work with Codename? I can backup and flash but was just wondering if anyone knows.

Sent from my Galaxy Nexus using Tapatalk 2
 
jcalderon576
Old
#7  
jcalderon576's Avatar
Senior Member
Thanks Meter 64
Posts: 163
Join Date: Nov 2011
Location: El Paso
Quote:
Originally Posted by Braneless View Post
Will this work with Codename? I can backup and flash but was just wondering if anyone knows.

Sent from my Galaxy Nexus using Tapatalk 2
yes i flashed this over CNA
The Following User Says Thank You to jcalderon576 For This Useful Post: [ Click to Expand ]
 
darkierawr
Old
#8  
darkierawr's Avatar
Senior Member
Thanks Meter 901
Posts: 1,503
Join Date: Feb 2011
Location: MN
I love you. Does anyone in CM know about this issue? So that they can correct it?
 
KidDynamite
Old
#9  
KidDynamite's Avatar
Senior Member
Thanks Meter 250
Posts: 786
Join Date: Oct 2010
Location: Originally from Philadelphia

 
DONATE TO ME
For any fellow LMT users: This also seems to have drastically decreased the lag you get with your pie buttons (more specifically, the back button). I think Paranoid fans will dig it. I do!
 
Isspooh
Old
#10  
Member
Thanks Meter 5
Posts: 34
Join Date: Mar 2011
Wow, I've been messing with every setting possible to fix the drawer from lagging the way it did knowing everything else was butter smooth. You have de-stressed me :'). Awesome Fix!