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

Search This thread

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,655
37,705
New York, NY
Smooth Scrolling Mod
What Is it?
Some android applications have some lag when they scroll.
I found in logcat that garbage collector is working to much when I do some scroll in application.
I googled about it and found the 'scrollingcache' function inside android making problem.
Some application developers recommend disable 'scrollingcache' in app's internal config.
But not all applications have disabled scrollingcache.
So the mod I'll do will disable the scrollingcache throughout the Android OS.

All apps will have no problem with scrollingcache.
I've had scrolling improvements with facebook,playerpro,poweramp,gallery apps , etc.
http://xdaforums.com/showpost.php?p=51114977&postcount=210
This is a port of a Smooth Scrolling Mod that was popularly used on the Nexus 5 for Purity Rom / Mahdi

You can read previous experiences on the N5 in the following threads:
http://xdaforums.com/google-nexus-5/themes-apps/smooth-scrolling-mod-mahdi-rom-t2831848

Only flash this mod on the corresponding ROM and version

Download
Mahdi:
Mahdi 11/03: https://www.androidfilehost.com/?fid=95784891001606162

crDroid:
11/21/2014: https://www.androidfilehost.com/?fid=95784891001614843
11/12/2014: https://www.androidfilehost.com/?fid=95784891001609826

CyanogenMod 11S:
XNPH44S: https://www.androidfilehost.com/?fid=95784891001607684 (thanks to @dmarden)
XNPH38R: https://www.androidfilehost.com/?fid=95747613655042891 (HUGE thanks to @stizolo)

XNPH44S Revert (for future updates): https://www.androidfilehost.com/?fid=95784891001607686
XNPH38R Revert (for future updates): https://www.androidfilehost.com/?fid=95747613655042892
XNPH33R Revert (for future updates): https://www.androidfilehost.com/?fid=23622183712460610 (thanks to @tw1tch175 for providing the file)

For all prior versions of the ROM you can find them HERE as the thread will stay updated with the newest and latest versions to keep the thread clean..
----------------------------------------------------------------------------------
If you want to request the mod for a ROM that is not officially supported. Use the following form,
ROM Name:
ROM Version:
ROM Release Date:
Attach (or upload) the framework.jar from that particular ROM (found in /system/framework):

I will do them when I get the chance. If these guidelines aren't met then I will just simply ignore the post because I cannot be doing a mod for a ROM that I don't know what version it is. The whole point of fulfilling request is not something just for yourself but for others as well. Nightly requests will not be fulfilled, it makes no sense for me to do a mod that will be only useful for one day and then have a request for the nightly that releases the next day.
----------------------------------------------------------------------------------
Give a thanks if you appreciate/enjoy the mod including those who provide me the file. It wouldn't be possible without them.
 
Last edited:

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,655
37,705
New York, NY
Would it be possible to do this for the PA ROM? Just asking. Great job! About time someone did it! :)

I actually did it awhile ago but didn't dedicate my own thread to it. I could, I don't use PA but how often does PA update their ROM? Just wondering, if its a nightly build kinda thing then that is going to become very excessive :p
I have to read up on your other thread I asked you about. remember your name from the Nexus days with your ROM ;)
Edit: Looks like PA is weekly. Downloading the ROM to do the zip, I can't test the mod but it should work doing it blindly. I assume you wanted the smooth scrolling mod and not the 4G mod right? :p
@jarjar124: http://d-h.st/EKI try this. PA 08/06 build
 
Last edited:

jarjar124

Senior Member
Apr 28, 2012
4,175
4,354
Brooklyn
I actually did it awhile ago but didn't dedicate my own thread to it. I could, I don't use PA but how often does PA update their ROM? Just wondering, if its a nightly build kinda thing then that is going to become very excessive :p
I have to read up on your other thread I asked you about. remember your name from the Nexus days with your ROM ;)
Edit: Looks like PA is weekly. Downloading the ROM to do the zip, I can't test the mod but it should work doing it blindly. I assume you wanted the smooth scrolling mod and not the 4G mod right? :p
@jarjar124: http://d-h.st/EKI try this. PA 08/06 build

Will try when i get back to home! Yes, only need the smooth scrolling. :)
 

jarylw

Senior Member
Oct 20, 2012
337
88
Singapore
Is this already integrated into the stock Cm11s rom? If not, it sounds amazing and hope to see Oneplus implement it :)
 

Fruktsallad

Senior Member
May 15, 2011
712
217
Looking forward to the results, it should work http://d-h.st/cUt ... revert script back to the stock framework just incase if anything goes wrong but im pretty confident it'll work.

Oh my lord. Amazing support, zephik. I downloaded and was just about to flash when I realized that the mod is for the PA 4.5 beta. Since there are still a few kinks in the beta, most people (including myself) are running the stable version 4.45 from 07/29.

Now, unsmooth scrolling is just about the only gripe I have with this ROM (or Android in general), so I'd REALLY love it if you could do the mod for 4.45 too. I realize that it's a lot to ask, and I'm not getting my hopes up, but I'm throwing it out there anyway. ;)

Cheers!
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,655
37,705
New York, NY
Oh my lord. Amazing support, zephik. I downloaded and was just about to flash when I realized that the mod is for the PA 4.5 beta. Since there are still a few kinks in the beta, most people (including myself) are running the stable version 4.45 from 07/29.

Now, unsmooth scrolling is just about the only gripe I have with this ROM (or Android in general), so I'd REALLY love it if you could do the mod for 4.45 too. I realize that it's a lot to ask, and I'm not getting my hopes up, but I'm throwing it out there anyway. ;)

Cheers!

http://d-h.st/joX let me know if everything works. im doing all of this blindly since I use Mahdi ROM. It should work though.
 
  • Like
Reactions: Fruktsallad

Prey521

Senior Member
Aug 28, 2007
926
274
New Caney, TX
Google Pixel 6 Pro
WOW, thanks for the quick turn around!! You rock Zeph!

---------- Post added at 11:11 AM ---------- Previous post was at 10:54 AM ----------

Also, I take it that this is specific to the OPO version of the MahdiROM and not for other devices running this ROM? I run Mahdi on my Nexus 7 tab as well and was curious, thanks.
 
  • Like
Reactions: zephiK

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,655
37,705
New York, NY
WOW, thanks for the quick turn around!! You rock Zeph!

---------- Post added at 11:11 AM ---------- Previous post was at 10:54 AM ----------

Also, I take it that this is specific to the OPO version of the MahdiROM and not for other devices running this ROM? I run Mahdi on my Nexus 7 tab as well and was curious, thanks.

That is correct, this is only for the OPO. I can do Nexus 7 Mahdi port too but I want to keep my focus on the OPO since thats my daily phone and I don't own a N7. Don't get me wrong though, I can do it.
You can do it yourself if you know how to, the OP post contains the link how to do it yourself.
 

Prey521

Senior Member
Aug 28, 2007
926
274
New Caney, TX
Google Pixel 6 Pro
That is correct, this is only for the OPO. I can do Nexus 7 Mahdi port too but I want to keep my focus on the OPO since thats my daily phone and I don't own a N7. Don't get me wrong though, I can do it.
You can do it yourself if you know how to, the OP post contains the link how to do it yourself.

Awesome, it really wasn't a request and I didn't mean to sound needy. Was just curious LOL :good:
 

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,655
37,705
New York, NY
Awesome, it really wasn't a request and I didn't mean to sound needy. Was just curious LOL :good:

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.
 

Top Liked Posts