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

Search This thread

zephiK

Inactive Recognized Developer
Aug 23, 2009
21,656
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://forum.xda-developers.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://forum.xda-developers.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,656
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. :)
 

Fruktsallad

Senior Member
May 15, 2011
714
218
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,656
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
857
209
New Caney, TX
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,656
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
857
209
New Caney, TX
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,656
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

  • There are no posts matching your filters.
  • 134
    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://forum.xda-developers.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://forum.xda-developers.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.
    21
    Smooth Scrolling Mod for CM11s 05Q.

    just flash the file and you're good to go. If you get stuck in a bootloop (you should have a backup anyway), flash the uninstall zip and you will get the stock file back
    8
    how to unistall this unuseful mod? there is another zip?

    if i flash above a rom it will disappear??

    Thats pretty rude of you to call the mod "unuseful" mod. If you don't like the mod, simply uninstall it and keep your nasty comments to yourself.
    8
    Attached is Mahdi 09/17. Currently on campus and androidfilehost is not working, ill reupload to androidfilehost later but this is the same file that'll be uploaded later.

    Edit: Added to OP
    7
    Added: crDroid Build 8 (Surprised no one even mentioned it in the thread of posting the framework.jar tsk tsk tsk)

    And fulfilling requests in attachments.
    Just updated to M11 and used your tweak, and in one word: AMAZING!!!
    There was this one app I really use much which had extreme lag. Now its COMPLETELY gone.
    Is there some way of letting the developers know how to fix their apps?
    Thank you for the kind words.. I guess the only way to tell them is to email them but they probably don't care since you're in the minority with one guy emailing. Thats just how developers are :/
    Another one for cm nightly please :)
    https://www.dropbox.com/s/k2r1cpmqm7zxos2/cm_10_07_framework.jar?dl=0
    Thanks for the support! File is properly named.

    I normally don't do nightlies but since I'm in a good mood today, I'll do it :)
    Could u make one for slim 8.4
    How do add the frame work file any way. I located file but don't know how to load file here

    Sent from my One A0001 using XDA Free mobile app

    Is this the same file as shadeofgrey? If so he attached it, check attachments. Check if its the same version otherwise there'll be problems.
    To pull the framework.jar just go into rom zip and extract /system/framework/framework.jar and then upload it where ever (or attach it).