[MOD] Smooth Scrolling Mod for Mahdi/CM11S/crDroid

Salty Wagyu

Senior Member
May 28, 2011
660
199
73
England
Wow, it's nice to see someone else at last confirm the scrolling problem. I made a post over at OnePlus forums about it ( https://forums.oneplus.net/threads/oneplus-one-doesnt-feel-faster-than-my-nexus-4.76950/ ) and everyone just pretty much rubbished my claims. It seems like the garbage collection is to blame after all, and why switching to ART eliminates that problem.

Is there any possibility of doing this mod for the Stock CM11S kernel in future?
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Wow, it's nice to see someone else at last confirm the scrolling problem. I made a post over at OnePlus forums about it ( https://forums.oneplus.net/threads/oneplus-one-doesnt-feel-faster-than-my-nexus-4.76950/ ) and everyone just pretty much rubbished my claims. It seems like the garbage collection is to blame after all, and why switching to ART eliminates that problem.

Is there any possibility of doing this mod for the Stock CM11S kernel in future?
OnePlus forums are nice and all that but thats more of a consumer website and XDA is well... XDA. You'll always get more people who knows what they're talking about here. I personally use ART myself and it makes a difference even on ART. This mod isn't dependent on the kernel, its dependent on the ROM.

And sure, I'll cook up one for stock CM 11S. It'll be ready in <5 mins.
 

Salty Wagyu

Senior Member
May 28, 2011
660
199
73
England
OnePlus forums are nice and all that but thats more of a consumer website and XDA is well... XDA. You'll always get more people who knows what they're talking about here. I personally use ART myself and it makes a difference even on ART. This mod isn't dependent on the kernel, its dependent on the ROM.

And sure, I'll cook up one for stock CM 11S. It'll be ready in <5 mins.
Can't wait! :good:
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Can't wait! :good:
Scroll: http://d-h.st/orG
Revert: http://d-h.st/aKm

I included a revert zip that I will remove after you confirm that it works, I just added it as a backup incase it doesn't work on stock. Pretty confident that it'll work but better safe than sorry right?
Edit: Wow I was exactly on par with 5 minutes lol.
Edit2: Report back whether or not it works when you can :) thanks. If it does I'll add to OP.
 
Last edited:
  • Like
Reactions: Salty Wagyu

Salty Wagyu

Senior Member
May 28, 2011
660
199
73
England
Edit2: Report back whether or not it works when you can :) thanks. If it does I'll add to OP.
Well, it successfully booted up at least after patching, hard to tell if it's sorted the jerky scrolling in FB and Tapatalk, but I'm seeing no garbage collection spam in catlog so that's good. Scrolling's marginally more smoother if I set the kernel profile to Performance, guess I'll need to try Franco kernel next!

p.s. not tested the revert.zip
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Am on Mahdi.. this means I can switch to ART too?
Yes you can use ART on any ROM with this mod. Use whatever setting you choose to.

Well, it successfully booted up at least after patching, hard to tell if it's sorted the jerky scrolling in FB and Tapatalk, but I'm seeing no garbage collection spam in catlog so that's good. Scrolling's marginally more smoother if I set the kernel profile to Performance, guess I'll need to try Franco kernel next!

p.s. not tested the revert.zip
Revert zip is simply back to the stock file before the changes were made. Franco Kernel does definitely help, I'm not the biggest fan of Qualcomm's mpdecision. I remembered when tapatalk lagged you could go into dev options and enable 2D GPU rendering and it would fix the lag problem. I'm going to remove the revert script and add CM 11S 25R to OP.
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Would you please create one for the official CM11 (not 11s) builds? Snapshots, not nightly.

;)
Added: CM11 Milestone 9 to OP.
----------
As of right now, I'm supporting a lot of ROMs and I really don't mind downloading the ROM but if you request for a ROM. In order for me to maintain the mod for future updates on your ROM, I need to have reasonable demand for it in terms of downloads. If I see that there isn't much downloads compared to another ROM then I will most likely not update it as much. I will also most likely NOT do any roms that update on a nightly basis, that would be too much for me to maintain that mod for a ROM I don't even use.

So far after day 1 here are the following statistics,
Mahdi 08/07: 30
CM11S XNPH25R: 11
PA 08/06: 4
PA 07/29: 1
... If you guys enjoy the mod, please give me a thanks. I would highly appreciate it as I'm doing as much requests as I can without asking for anything in return so it would go a long way for me.
Would also love feedback/review on whether or not you guys notice a difference or not.
 
Last edited:

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Will the M9 version run on nightlies? Or is it specific M9 only?
Specific to M9. The change for smooth scrolling is done on the framework which is a crucial file for Android and is most likely changing on every nightly.

I don't use CM and doing the mod on a daily basis for every nightly is pretty ridiculous for me to do. The best advice I can say is switch to another rom. Give it a try, make a nandroid backup and try a new rom. Don't like it? Restore back. Else keep it.

I officially support Mahdi rom everything else is still up for decision based on the number of downloads or feedback I get from a particular rom. If there isn't enough interest then I will stop supporting it as it isn't worth my time to have it updated just for let's say... 5 people whereas others are having 20+ people using the mod.

Sent from my One using Tapatalk
 
  • Like
Reactions: popsi

Prey521

Senior Member
Aug 28, 2007
844
207
63
New Caney, TX
Hahah no worries ;) ... its easy to do this mod, its just... well, maintaining all of them when there are new updates will be the time consuming. I have fast internet so downloading the rom zip isn't a problem. Just when the school semester starts up again, I won't have this much time to update right away but will update later in the day probably.
BTW, where in NYC are you? I was born and raised in the Lower East Side. I live in Texas now, but man do I miss NYC sometimes!
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
BTW, where in NYC are you? I was born and raised in the Lower East Side. I live in Texas now, but man do I miss NYC sometimes!
I'm in Brooklyn I go to school in Manhattan. Booo! I want to live outside the city, its too crowded here and the people here aren't really my kind of taste. People are always on the go and its annoying :( plus.. there are awkward people here always begging for money on the trains.
 

Prey521

Senior Member
Aug 28, 2007
844
207
63
New Caney, TX
I'm in Brooklyn I go to school in Manhattan. Booo! I want to live outside the city, its too crowded here and the people here aren't really my kind of taste. People are always on the go and its annoying :( plus.. there are awkward people here always begging for money on the trains.
Born and raised for 24 years in LES, then got married, moved to Teaneck, NJ, few years later, bought a Condo Upstate in Newburgh, NY....then my company moved me to Houston, TX last year and I plan on being here forever. As much as I love and miss NY sometimes, you couldn't pay me enough to move back. That whole Southern Hospitality thing is true...the people here are awesome.
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
Born and raised for 24 years in LES, then got married, moved to Teaneck, NJ, few years later, bought a Condo Upstate in Newburgh, NY....then my company moved me to Houston, TX last year and I plan on being here forever. As much as I love and miss NY sometimes, you couldn't pay me enough to move back. That whole Southern Hospitality thing is true...the people here are awesome.
Sounds like quite the adventure, I've been living in NYC my whole life. Went out of the city numerous times, its so much nicer and less crowded.

I bet! you get such a bigger house and you pay less or the same than NYC living. I think I'd probably end up staying here as I have a lot of family and whatnot located here but if anything I could always move slightly out of the city but not too far. Who knows what will happen. New York City is just one of those places where if u talk to people it feels weird :p

Works great on PA Beta, thanks for the Mod.
Glad its working well :)
 

Prey521

Senior Member
Aug 28, 2007
844
207
63
New Caney, TX
Sounds like quite the adventure, I've been living in NYC my whole life. Went out of the city numerous times, its so much nicer and less crowded.

I bet! you get such a bigger house and you pay less or the same than NYC living. I think I'd probably end up staying here as I have a lot of family and whatnot located here but if anything I could always move slightly out of the city but not too far. Who knows what will happen. New York City is just one of those places where if u talk to people it feels weird :p


Glad its working well :)
I never thought that I'd be able to leave either. Especially since my wife and I have all of our friends and fam in NYC and we're very close to them. Not sure if you have kids or not, but once you do, it changes your perspective on things and I didn't want them growing up in NYC, or anywhere else on the East Coast LOL Things are just so much better once you get away from the oppressive and expensive North East. I have some of my own fam and friends that have come to visit wanting to move out of NYC now LOL

And you're correct......HUMONGOUS house, built from scratch, game room, movie room, 5 bedrooms, 3 baths, under 200k LOL
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,657
37,704
0
New York, NY
I never thought that I'd be able to leave either. Especially since my wife and I have all of our friends and fam in NYC and we're very close to them. Not sure if you have kids or not, but once you do, it changes your perspective on things and I didn't want them growing up in NYC, or anywhere else on the East Coast LOL Things are just so much better once you get away from the oppressive and expensive North East. I have some of my own fam and friends that have come to visit wanting to move out of NYC now LOL

And you're correct......HUMONGOUS house, built from scratch, game room, movie room, 5 bedrooms, 3 baths, under 200k LOL
Nope I don't have kids lol.. how come not in NYC or anywhere on the east coast? You don't want them growing up weird :p its weird that NYC schooling is all about violence and whatnot but in other places its about teen drama and relationships haha. Im just sick of the 1 hour+ commuting I just end up taking a nap on the train. And yup, nyc u get 1/10th of what you get. Only 2-4 bedrooms, 1 living room, basement, kitchen, 1-2 bathrooms, small backyard

btw, i updated the volume boost mod. it didnt get changed.. i got mixed up with another zip earlier i guess