[FIX] Lag fix for cm10 based roms (cm10, paranoid android, jellybro) - Nexus S 4G Android Development

I posted on this to galaxy nexus and nexus 7 forums earlier and it should work on here as well. Its makes a huge difference. Let me know if it works.
http://forum.xda-developers.com/showthread.php?p=31266644
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.
Sent from my Galaxy Nexus using xda premium

I'll give it a shot.... I can always restore my backup
Sent from my Nexus S 4G using xda app-developers app
---------- Post added at 11:53 PM ---------- Previous post was at 11:40 PM ----------
I can see a difference. Seems a lot faster when moving between menus, home screen, app drawer...maybe smoother scrolling as well
Sent from my Nexus S 4G using xda app-developers app

Thanks same thing as on the galaxy nexus. Good to know it works here as well.
Sent from my Nexus 7 using xda premium

Works a lot smoother on jellybro 9/7
Sent from my Nexus S 4G using xda app-developers app

It does seem to speed things up
Rom: Jellybro 9/7
Kernel: Matrix v23 cfs

chi_ra said:
It does seem to speed things up
Rom: Jellybro 9/7
Kernel: Matrix v23 cfs
Click to expand...
Click to collapse
Have you tried air kernel? Cause that seemed to less laggy compared to matrix for me
sent from my jellybro ns4g

will this work for Rasbeanjelly thanks

phoenixaldana01 said:
will this work for Rasbeanjelly thanks
Click to expand...
Click to collapse
Nope that is not cm10 based
Sent from my Nexus S 4G using xda premium

Codename is running Trebuchet Launcher but I don't know if it's based off CM10. Would this work for it?

Have this a try on my GNex and worked like a charm. Going to try now on my NS4G. Very nice. :thumbup:
Edit: Nice difference.
Sent from my Nexus S 4G using Tapatalk 2

gullu101 said:
Codename is running Trebuchet Launcher but I don't know if it's based off CM10. Would this work for it?
Click to expand...
Click to collapse
No CNA is AOSP not CM10 based
Sent from my Nexus S 4G using xda premium

CNA isn't laggy in my opinion. I actually like the 3.5 version. Usually after trying previous versions of cna I went right back to jellybro. But I'm digging the performance this time
Sent from my Nexus S 4G using xda app-developers app

Yeah the latest CNA for me has been running super smooth with marmite kernel
Sent from my Nexus S 4G using xda premium

Not to mention everything I use is working perfectly
Sent from my Nexus S 4G using xda app-developers app

noizy1234 said:
Yeah the latest CNA for me has been running super smooth with marmite kernel
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Codename android didn't have the lag as it is aosp and not cm10 based.
Sent from my Nexus 7 using xda premium

Isn't slim bean now cm10 based? If so I'd be willing to try this out for it.

Wafflcopterz said:
Isn't slim bean now cm10 based? If so I'd be willing to try this out for it.
Click to expand...
Click to collapse
Its complied from AOSP with some CM10 mods so it isn't.
Sent from my Nexus S 4G using xda premium

jeremy112683 said:
Have you tried air kernel? Cause that seemed to less laggy compared to matrix for me
Click to expand...
Click to collapse
My phone feels laggy with AirKernel. I use either Matrix or Thalmus kernel

has the fix been send to the cm devs so it gets fixed upstream? did they miss something everyone else knows about?

Cm must use it or they figured something out. Cause the last 2 builds have been butter
Sent from my Nexus S 4G using xda app-developers app

Related

[FIX] Lag fix for cm10 based roms (cm10, paranoid android, jellybro) (4.1 only)

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
blackhand1001 said:
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
Click to expand...
Click to collapse
HELL YEAH! I can see the improvement all over - thank you for this! I was "putting up with it" (read: thinking I needed, but too lazy to do a full wipe) and BAM! Fixed. Thanks!
Does it work on CNA?
Sent from my Nexus 7 using Tapatalk 2
drzplaya1121 said:
Does it work on CNA?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Cna doesnt have the lag.
Sent from my Galaxy Nexus using Tapatalk 2
thegtfusion said:
Cna doesnt have the lag.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Would it work for the Sourcery rom?
Sent from my Galaxy Nexus using Tapatalk 2
thegtfusion said:
Cna doesnt have the lag.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yup this is only for cm10 based ROMs. I think aokp may have ruled the bad library as well from cm so you can try it on that as well.
Sent from my Nexus 7 using xda premium
Can someone please send this as a commit to CM ?
bgdxv said:
Can someone please send this as a commit to CM ?
Click to expand...
Click to collapse
I would but I still haven't found the exact change on gerrit that caused the issue. My patch just uses the library from an older build. I think the only change between the two libraries is the one that causes the lag. This is really my first major fix in have found if someone wants to help me track down the exact spot in the source code that needs to be reverted I would really appreciate it. Still kind of new at this.
Sent from my Nexus 7 using xda premium
unforgivenmercy said:
Would it work for the Sourcery rom?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I don't know if sourcery is aokp or cm based.
Sent from my Galaxy Nexus using Tapatalk 2
unforgivenmercy said:
I don't know if sourcery is aokp or cm based.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
aokp
sert00 said:
aokp
Click to expand...
Click to collapse
I think AOKP pulls from cm10 a lot so it should work.
blackhand1001 said:
I think AOKP pulls from cm10 a lot so it should work.
Click to expand...
Click to collapse
Thanks.
Sent from my Galaxy Nexus using Tapatalk 2
Will we have to reflash this after flashing a new nightly?
Sent from my Galaxy Nexus using xda premium
jhernand1102 said:
Will we have to reflash this after flashing a new nightly?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes.
Sent from my Nexus 7 using xda premium
Hmmm I was wondering cause my notification pulldown was mighty choppy these days. Was thinking it was my kernel. Flashed this and the pulldown is butter again. Weird but good! Thanks
Works great on sourcery 2.2 and gets rid of the little lag it had.
Sent from my Galaxy Nexus using Tapatalk 2
Works great thank you
Sent from my Galaxy Nexus using xda premium
Anyone using on the Baked ROM?
Sent from my Galaxy Nexus using xda app-developers app
nexxusdev said:
Anyone using on the Baked ROM?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Is it cm10 or aokp based?
Sent from my Galaxy Nexus using xda premium
Thanks it works on PA
Tapatalk @ Maguro CM10

100% pure android jellybean ROM for i1515

I'm looking for a 100% jelly bean rom for my phone. I want something with nothing added nothing taken away. I am not using my nexus as a phone so I don't care about any features for that. I actually want to disable that stuff if possible.
Any suggestion would be awesome, thanks
Sent from my Galaxy Nexus using xda app-developers app
Stock
Sent from my Galaxy Nexus using Tapatalk 2
no not stock, stock has stuff added because its the Verizon version.
Sent from my Galaxy Nexus using xda app-developers app
andriodfanatic said:
no not stock, stock has stuff added because its the Verizon version.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Stock has 2 added apps, disable them and get over it...
Then what are some good clean roms
Sent from my Galaxy Nexus using xda app-developers app
andriodfanatic said:
Then what are some good clean roms
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Cm10. The guys are the godfathers of android development and I doubt anyone here will argue with me over that.
Sent from my Galaxy Nexus using xda app-developers app
akira02rex said:
Cm10. The guys are the godfathers of android development and I doubt anyone here will argue with me over that.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
cm is far from "clean", its more on the bloated side. its cyanogen that would be considered a "godfather" of android development, not the rest of the contributors to cm. and cyanogen doesnt do much of the work in cm anymore, he oversees it.
if you want pure jelly bean, flash aosp. rasbean jelly is fairly clean too, its aosp that has a few mods.
As stated above, STOCK. Root, and debloat to which ever degree you wish. Bam, stability, and cleanliness with minimal effort.
I777 gets it done, gnex just for fun
akira02rex said:
Cm10. The guys are the godfathers of android development and I doubt anyone here will argue with me over that.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
CM10 is farther from AOSP than the images from Verizon with the 2 apps installed...
OP just flash the stock images and disable the apps, or root and remove them all together. I dont see what the issue is.
Agreed. Stock, root, remove the couple of apps Verizon adds. Boom, pure jelly bean.
If that's not good enough for some reason, then mmuzzy had a pure AOSP Rom of the latest build in the Verizon section.
Sent from my Galaxy Nexus using xda premium
Use BuglessBeast. Pete has been building since Eclair for the OG Motorola Droid. He has a stock build with only minor mods. Essential mods that don't affect performance. Like the reboot option, Emoji support and small stuff like that.. check him out @ peteralfonso.com
Jelly Belly is pretty close to stock too, though it's on Rootzwiki
Sent from my Galaxy Nexus using xda premium
simms22 said:
if you want pure jelly bean, flash build aosp...
Click to expand...
Click to collapse
... latest release tag to go stable. jb-dev and master have a few issues.
latest tag at this time is android_4.1.1_r6.
sent from my i9250
Slim bean ROM sends along those lines, never ran it though
Sent from my Galaxy Nexus using xda premium
Fire n mage said:
Slim bean ROM sends along those lines, never ran it though
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Slim bean isn't very stock as it has many mods but it is really fast though
Sent from my Galaxy Nexus using xda premium
+1 for Bugless Beast! This is about as stock as a ROM gets. Pete's mods are usually performance tweaks that are not seen by the user and as the name suggests, his ROMs are Bugless! He does very solid work.
Sent from my Xoom using Tapatalk 2
I was shocked to see Android Revolution HD not on the list.
Sent from my HTC Glacier using XDA Premium HD app
cordell507 said:
Slim bean isn't very stock as it has many mods but it is really fast though
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I flashed and realize that now haha, I'm lovin it though
Sent from my Galaxy Nexus using xda premium
OP, this ¬¬¬¬¬>> http://forum.xda-developers.com/sho...us 4.1.1 stock v3 (deodexed, rooted, busybox)
Sent from my Galaxy Nexus on AOKP

Need for speed most wanted

Anybody playing NFS most wanted?
How come it seems slow mo?
Sent from my Galaxy Nexus using xda app-developers app
Everything works fine
everything works super fine for me.
anyone knows how to enable sun glare? Ive got motion blur, tire smokes, Svratchess, mirror cracks etc2 except for sun glare
Sent from my Galaxy Nexus using Tapatalk 2
Works well with no lag and I may uninstall it from my Nexus because I need more free space for GTA Vice City!
and who plays heroes of chaos and order because mine has problem it is not full screen and the controls are in the middle not on the sides
Works fine here! When I was using 4.1 it seems slow but after the 4.2 it became much better
Sent from my Galaxy Nexus using xda app-developers app
Works fine for me too.
I was using PA and the game was in slow-mo, I read some people saying that it was working fine on stock so I installed an OTA version and now the game is really smooth.
Pa?
Sent from my Galaxy Nexus using xda app-developers app
Justinhopaolo said:
Pa?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Prince Albert.
Sent from my Galaxy Nexus using xda premium
keith.mcintyre26 said:
Prince Albert.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
?
PA=Paranoid (it's ROM for Android..)
-Starman- said:
I was using PA and the game was in slow-mo, I read some people saying that it was working fine on stock so I installed an OTA version and now the game is really smooth.
Click to expand...
Click to collapse
Where can I get stock ROM? If I install Franco kernel on it will it still be smooth?
Sent from my Galaxy Nexus using xda app-developers app
Justinhopaolo said:
Where can I get stock ROM? If I install Franco kernel on it will it still be smooth?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I want stock with morfic color preset
Sent from my Galaxy Nexus using xda app-developers app
Dude the problem is the kernel stay on stock and it will run fine... Tested it myself on Pa and cyanogenmod and aokp.
Gesendet von meinem Galaxy Nexus
Had the same issue... Reflash rom and other kernel (I would flash Xylon + franco)
OtavioMalzone said:
Had the same issue... Reflash rom and other kernel (I would flash Xylon + franco)
Click to expand...
Click to collapse
I thought custom kernel was the problem? Why would you flash Franco
Sent from my Galaxy Nexus using xda app-developers app
If you want, AK kernel has this thing, that makes it run at higher frames, thus it runs like it's being played on a console.
d",b.Sent From My God Given G-Nexus.d,"b
Justinhopaolo said:
Anybody playing NFS most wanted?
How come it seems slow mo?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Trinity trinityvtrinity kernel!!! Stable 63 if on 4.1.x or alpha 7 on 4.2.1
Sent from my Galaxy Nexus using xda app-developers app
phreshy said:
If you want, AK kernel has this thing, that makes it run at higher frames, thus it runs like it's being played on a console.
d",b.Sent From My God Given G-Nexus.d,"b
Click to expand...
Click to collapse
Can I dirty flash from Franco? Link please what's ak
Sent from my Galaxy Nexus using xda app-developers app
I was never able to get nfsmw to install. Kept telling me I didn't have a network connection after downloading so much even though I did, ended up having to get a refund.

MIUI

Has anyone created a MIUI rom yet?
chuckinmd said:
Has anyone created a MIUI rom yet?
Click to expand...
Click to collapse
Nope
Sent from my Galaxy Nexus using Tapatalk 2
Does not belong in this section, this is for developers to post their creations. Try the general discussion next time.
Sent from my A100 using xda app-developers app
Yes just not for this device
Sent from my DROID RAZR using Tapatalk 2
All right sorry and o all right thanks
Sent from my A100 using xda app-developers app
chuckinmd said:
Has anyone created a MIUI rom yet?
Click to expand...
Click to collapse
dear god,why would anyone want too?
Sent from my LG-P999 using xda premium
justjackyl said:
dear god,why would anyone want too?
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I enjoy the occasional miui Rom, some like how its more like iOS. Its just never not buggy lol
Sent from my HTC DNA
pio_masaki said:
I enjoy the occasional miui Rom, some like how its more like iOS. Its just never not buggy lol
Sent from my HTC DNA
Click to expand...
Click to collapse
Haha I like MIUI sometimes but i do like the ICS and JB builds alot better when there fully functional
i tried a MIUI ROM for my G2x.
wasn't for me.
I tend to stick with CM ROMs.
Sosei II for my Iconia is the exception.
No other ROM can touch it on performance, stability, and customization.
Sent from my LG-P999 using xda premium
justjackyl said:
i tried a MIUI ROM for my G2x.
wasn't for me.
I tend to stick with CM ROMs.
Sosei II for my Iconia is the exception.
No other ROM can touch it on performance, stability, and customization.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Yeah i tend to stick with CM Roms lately but i have an Iconia A100 to
chuckinmd said:
Yeah i tend to stick with CM Roms lately but i have an Iconia A100 to
Click to expand...
Click to collapse
Have you tried the public Sosei I release? Its awesome. If you run it, add in my build.prop mod for it. Its got some.tweaks removed that pio built in blind that our tab did not like.
I have the A100 too, its y Im here.
Sent from G2x, CM7 Weekly 1-1-13, Faux 054.

Lagless , no memory leak 4.2.2 ROM

Are there any?
The least laggy of them all is cm. But still it gets the memory leak after some time
Sent from my Galaxy Nexus using xda premium
Did you try a completely stock, but rooted 4.2 yet? Been running it for a couple of weeks now and it's way smoother compared to other ROMs.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
I used cm for a long time and i had that too, but after updating it was fixed.
Did you try cm 10.1 RC4?
since yesterday i am running Carbon ROM. I will observe if there will be any laggs or memory leaks and report you.
But until now i have no problems with it.
Lesicnik1 said:
Did you try a completely stock, but rooted 4.2 yet? Been running it for a couple of weeks now and it's way smoother compared to other ROMs.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Click to expand...
Click to collapse
Link on stock ROM?
Sent from my Galaxy Nexus using xda premium
Justinhopaolo said:
Link on stock ROM?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I might miss the quick settings though
Sent from my Galaxy Nexus using xda premium
No worries, there's a Quick Settings mod you can flash.
ROM (Make sure you get the deodexed one, if you want to use the Quick Settings mod): http://forum.xda-developers.com/showthread.php?t=1737849
Quick Settings mod: http://forum.xda-developers.com/showthread.php?t=2006550
Probably unrelated, but the kernel I use is Trinity Kernel Stable 1.
Lesicnik1 said:
No worries, there's a Quick Settings mod you can flash.
ROM (Make sure you get the deodexed one, if you want to use the Quick Settings mod): http://forum.xda-developers.com/showthread.php?t=1737849
Quick Settings mod: http://forum.xda-developers.com/showthread.php?t=2006550
Probably unrelated, but the kernel I use is Trinity Kernel Stable 1.
Click to expand...
Click to collapse
How long have you been on stock? Still lag free?
Sent from my Galaxy Nexus using xda premium
rasbean is lag free for sure, give it a try
Justinhopaolo said:
How long have you been on stock? Still lag free?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Probably for about a week now and it's been as the smoothest I've seen it on 4.2.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
rrohanjs said:
rasbean is lag free for sure, give it a try
Click to expand...
Click to collapse
No memory leaks?
Sent from my Galaxy Nexus using xda premium
Lesicnik1 said:
No worries, there's a Quick Settings mod you can flash.
ROM (Make sure you get the deodexed one, if you want to use the Quick Settings mod): http://forum.xda-developers.com/showthread.php?t=1737849
Quick Settings mod: http://forum.xda-developers.com/showthread.php?t=2006550
Probably unrelated, but the kernel I use is Trinity Kernel Stable 1.
Click to expand...
Click to collapse
I flashed the odexed Thinking it would be faster.
Too bad can't flash it
Sent from my Galaxy Nexus using xda premium
Justinhopaolo said:
No memory leaks?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
none, i can go without rebooting for days and days
Justinhopaolo said:
I flashed the odexed Thinking it would be faster.
Too bad can't flash it
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Did that first too, I just flashed the deodexed version over top, without wiping, then flashed the Quick Settings over that and it's been running without any issues.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Update. Official odexed 422 has memleak as well
Sent from my Galaxy Nexus using xda premium
I've found any ROM incredibly smooth when modaco's "odex me" for any loose system apps and the flashable crossbreeder tool (found on xda after a quick search) are combined. Currently running minco v7 like that, and it's an unbelievable improvement. Also, changing the animation speeds in dev options to 2x makes any slight lag experienced unnoticeable behind the smoother transitions. Hope this helped.
I just went back to 4.1.2 (codename android) and it feels a lot smoother than any of the 4.2.2 ROMs I've used. (was on paranoid before this)
I have no heating issues, batteries seem to last longer and things feel very responsive. I'm only on my first day of using this ROM again though.. But it seems promising so far
Sent from my Galaxy Nexus using xda app-developers app
kaoskilo said:
I've found any ROM incredibly smooth when modaco's "odex me" for any loose system apps
Click to expand...
Click to collapse
I agree with you, this time I also used odex me didn't feel any improvement but also haven't faced any problem like I used to face before
Sent from my Galaxy Nexus using xda premium
mast3rvo said:
I just went back to 4.1.2 (codename android) and it feels a lot smoother than any of the 4.2.2 ROMs I've used. (was on paranoid before this)
I have no heating issues, batteries seem to last longer and things feel very responsive. I'm only on my first day of using this ROM again though.. But it seems promising so far
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Will do the same. I'm so fed up with 4.2.2 .are you on cna 3.8.0?
Sent from my Galaxy Nexus using xda premium
Try the latest Paranoid Android with the latest Franco Kernel. Super smooth for me.
Sent from my Galaxy Nexus using Tapatalk 2
Mohnishh said:
Try the latest Paranoid Android with the latest Franco Kernel. Super smooth for me.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Just you wait
Sent from my Galaxy Nexus using xda premium

Categories

Resources