Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,495 Members 37,547 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Smooth Scrolling Mod for Mahdi/PA/CM11/CM11S

Tip us?
 
zephiK
Old
(Last edited by zephiK; 18th September 2014 at 04:20 PM.)
#1  
Recognized Contributor - OP
Thanks Meter 4,800
Posts: 12,618
Join Date: Aug 2009
Location: New York, NY

 
DONATE TO ME
Default [MOD] Smooth Scrolling Mod for Mahdi/PA/CM11/CM11S

Smooth Scrolling Mod
What Is it?
Quote:
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/show...&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/goog...i-rom-t2831848

Only flash this mod on the corresponding ROM and version
Download
Mahdi:
Mahdi 09/17: https://www.androidfilehost.com/?fid=23622183712473108
Mahdi 09/14: https://www.androidfilehost.com/?fid=23622183712471405

crDroid:
Build 5: https://www.androidfilehost.com/?fid=23622183712473376

CyanogenMod 11:
09/12: https://www.androidfilehost.com/?fid=23622183712470454
M9: http://www.androidfilehost.com/?fid=23610159112654541

CyanogenMod 11S:
XNPH33R: https://www.androidfilehost.com/?fid=23622183712468635 (updated 09/08) (thanks to @tw1tch175 for providing the file)

XNPH33R Revert (for future updates): https://www.androidfilehost.com/?fid=23622183712460610 (thanks to @tw1tch175 for providing the file)
XNPH30O Revert (for future updates): http://www.androidfilehost.com/?fid=23610159112654540

Paranoid Android:
PA 4.6 BETA1 09/02 v2: https://www.androidfilehost.com/?fid=23622183712468641
----------------------------------------------------------------------------------
I will keep this thread updated with the newest Mahdi ROM updates.
I will also take requests for other ROMs if its popular enough but priority on updates will be given to Mahdi ROM as its my daily ROM.

Give a thanks if you appreciate/enjoy the mod including those who provide me the file. Wouldn't be possible without them.
Follow me on Twitter! | Scrolling Mods for Various OPO Roms

OnePlus One: Mahdi | Franco Kernel
Older devices: Nexus 5, Nexus 4, Galaxy Nexus, TF101, Nexus S, Samsung Vibrant, G1

The Following 65 Users Say Thank You to zephiK For This Useful Post: [ Click to Expand ]
 
jarjar124
Old
#2  
Senior Member
Thanks Meter 3,819
Posts: 3,821
Join Date: Apr 2012
Location: Brooklyn

 
DONATE TO ME
Would it be possible to do this for the PA ROM? Just asking. Great job! About time someone did it!
 
zephiK
Old
(Last edited by zephiK; 7th August 2014 at 04:12 PM.)
#3  
Recognized Contributor - OP
Thanks Meter 4,800
Posts: 12,618
Join Date: Aug 2009
Location: New York, NY

 
DONATE TO ME
Quote:
Originally Posted by jarjar124 View Post
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
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?
@jarjar124: http://d-h.st/EKI try this. PA 08/06 build
Follow me on Twitter! | Scrolling Mods for Various OPO Roms

OnePlus One: Mahdi | Franco Kernel
Older devices: Nexus 5, Nexus 4, Galaxy Nexus, TF101, Nexus S, Samsung Vibrant, G1

The Following 3 Users Say Thank You to zephiK For This Useful Post: [ Click to Expand ]
 
jarjar124
Old
#4  
Senior Member
Thanks Meter 3,819
Posts: 3,821
Join Date: Apr 2012
Location: Brooklyn

 
DONATE TO ME
Quote:
Originally Posted by zephiK View Post
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
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?
@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.
 
zephiK
Old
#5  
Recognized Contributor - OP
Thanks Meter 4,800
Posts: 12,618
Join Date: Aug 2009
Location: New York, NY

 
DONATE TO ME
Quote:
Originally Posted by jarjar124 View Post
Will try when i get back to home! Yes, only need the smooth scrolling.
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.
Follow me on Twitter! | Scrolling Mods for Various OPO Roms

OnePlus One: Mahdi | Franco Kernel
Older devices: Nexus 5, Nexus 4, Galaxy Nexus, TF101, Nexus S, Samsung Vibrant, G1

The Following 2 Users Say Thank You to zephiK For This Useful Post: [ Click to Expand ]
 
Moose0704
Old
#6  
Moose0704's Avatar
Senior Member
Thanks Meter 3,793
Posts: 2,226
Join Date: May 2012

 
DONATE TO ME
Nice! Thank you!

The Following User Says Thank You to Moose0704 For This Useful Post: [ Click to Expand ]
 
jarylw
Old
#7  
jarylw's Avatar
Senior Member
Thanks Meter 60
Posts: 261
Join Date: Oct 2012
Location: Singapore
Is this already integrated into the stock Cm11s rom? If not, it sounds amazing and hope to see Oneplus implement it
 
zephiK
Old
#8  
Recognized Contributor - OP
Thanks Meter 4,800
Posts: 12,618
Join Date: Aug 2009
Location: New York, NY

 
DONATE TO ME
Quote:
Originally Posted by jarylw View Post
Is this already integrated into the stock Cm11s rom? If not, it sounds amazing and hope to see Oneplus implement it
Nope it is not integrated with stock CM 11S. I can do additional ports of this mod to other roms if there is a demand for it.
Follow me on Twitter! | Scrolling Mods for Various OPO Roms

OnePlus One: Mahdi | Franco Kernel
Older devices: Nexus 5, Nexus 4, Galaxy Nexus, TF101, Nexus S, Samsung Vibrant, G1

The Following 2 Users Say Thank You to zephiK For This Useful Post: [ Click to Expand ]
 
jarjar124
Old
#9  
Senior Member
Thanks Meter 3,819
Posts: 3,821
Join Date: Apr 2012
Location: Brooklyn

 
DONATE TO ME
Quote:
Originally Posted by zephiK View Post
Nope it is not integrated with stock CM 11S. I can do additional ports of this mod to other roms if there is a demand for it.
I don't think it's possible to do with stock since it's odexed. Of course, i don't know. Anything is possible.
 
Fruktsallad
Old
#10  
Fruktsallad's Avatar
Senior Member
Thanks Meter 89
Posts: 432
Join Date: May 2011
Quote:
Originally Posted by zephiK View Post
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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes