Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,599 Members 36,105 Now Online
XDA Developers Android and Mobile Development Forum

[TWEAK][GB] Faster Scrolling (Disable Scrolling Cache)

Tip us?
 
albee320
Old
(Last edited by albee320; 16th January 2012 at 08:39 AM.)
#1  
albee320's Avatar
Senior Member - OP
Thanks Meter 79
Posts: 340
Join Date: Oct 2011
Location: Los Angeles/San Diego

 
DONATE TO ME
Default [TWEAK][GB] Faster Scrolling (Disable Scrolling Cache)

after noticing this mentioned in truckerglenn's port of f1, i did a little searching and found this great how-to thread (be sure to thank the OP!)...clearly written below the level of our beloved "devs" but along the lines of those, like me, who are new to the whole process and looking for a few guidelines while getting our hands dirty

i did both of these tweaks last night on ZEUS BUILD 3 FIXED (and updated), and as they mention in the original thread, increasing the sound increment works visually but audio levels become distorted above 15 (thanks samsung!)...maybe someone knows how to figure this one out

the scrolling tweak seems to work well (or i'm a sucker for placebos).....i've noticed that i can get to the bottom of very long lists and pages in fewer swipes

http://forum.xda-developers.com/show....php?t=1411317

for those that dont care to do it themselves but would love to give feedback...i've included my modded framework.jar from ZEUS BUILD 3 FIXED (and updated) to include the scrolling mod...if you're on that rom, just use root explorer like you should know how by now, and drop this baby in /system/framework

Reboot should take a little....dont panic!

and for those on ZEUS BUILD 3 FIXED (and updated) who just aren't sure...i've also included a cwm flashable zip with the stock framework

so now...whadya got to lose? o_0

hope it works!

EDIT: according to Dani, this should work on any att based GB ROM....so thanks for the tip!
Attached Files
File Type: zip framework.zip - [Click for QR Code] (3.71 MB, 270 views)
File Type: jar framework.jar - [Click for QR Code] (3.48 MB, 158 views)
The Following 7 Users Say Thank You to albee320 For This Useful Post: [ Click to Expand ]
 
dman3285
Old
#2  
dman3285's Avatar
Recognized Developer
Thanks Meter 8,092
Posts: 5,963
Join Date: Aug 2010
Location: Rome, Ga.

 
DONATE TO ME
Nice

Sent from my SAMSUNG-SGH-I997 using xda premium
The Following User Says Thank You to dman3285 For This Useful Post: [ Click to Expand ]
 
Dani897
Old
#3  
Senior Member
Thanks Meter 683
Posts: 3,539
Join Date: Aug 2010
the audio can be tough to find the best drive without clipping.

the distortion can come from many things but if it's clipping it can be damaging to the speaker or hardware. basically analogue audio should change voltage in smooth sinodal(sp?) patterns. if you exceed the input voltage on an amp it can't reproduce the wave and you get a partial sinodus with a flat (dc) area that creates heat in the speaker and extra current draw. it can also damage the input stage of the hardware. things are a little different on digital but you will still get nasty harmonics that can damage stuff. also too much gain can mean that the output stage reaches the source voltage before the top of the wave. the problem is getting the most out of the hardware and figuring which level is causeing the clipping.. there will be an ideal gain for each stage and the content will vary in volume.. its a big balancing act and manufacturers tend to leave a good amount of extra potential to avoid clipping at any stage. some extra may be added in the framework some in the kernel drivers but it either takes critical listening and trial and error or some edjucated guessing.

I don't know anything about drivers or kernels so I'm not that Guy but maybe if I try the framework mod I could find a compromise but I never really find that kind of time lately.
The Following User Says Thank You to Dani897 For This Useful Post: [ Click to Expand ]
 
albee320
Old
#4  
albee320's Avatar
Senior Member - OP
Thanks Meter 79
Posts: 340
Join Date: Oct 2011
Location: Los Angeles/San Diego

 
DONATE TO ME
Quote:
Originally Posted by Dani897 View Post
the audio can be tough to find the best drive without clipping.

the distortion can come from many things but if it's clipping it can be damaging to the speaker or hardware. basically analogue audio should change voltage in smooth sinodal(sp?) patterns. if you exceed the input voltage on an amp it can't reproduce the wave and you get a partial sinodus with a flat (dc) area that creates heat in the speaker and extra current draw. it can also damage the input stage of the hardware. things are a little different on digital but you will still get nasty harmonics that can damage stuff. also too much gain can mean that the output stage reaches the source voltage before the top of the wave. the problem is getting the most out of the hardware and figuring which level is causeing the clipping.. there will be an ideal gain for each stage and the content will vary in volume.. its a big balancing act and manufacturers tend to leave a good amount of extra potential to avoid clipping at any stage. some extra may be added in the framework some in the kernel drivers but it either takes critical listening and trial and error or some edjucated guessing.

I don't know anything about drivers or kernels so I'm not that Guy but maybe if I try the framework mod I could find a compromise but I never really find that kind of time lately.
Thanks Dani for the input...just to clarify, by distortion I mean the audio maxs out at level 15, if you adjust higher than that, it seems as if audio drops to a lower level and increases to max again as you increase...say you made it so there were 30 increments as opposed to 15...its like this:

1min............15max 16min..............30max

I hope that makes sense...the OP concluded that it wasnt compatible w Samsung but im hoping someone w more pointed knowledge could work it....that would def be a plus in future roms

Sent from my SAMSUNG-SGH-I997 using Tapatalk
The Following User Says Thank You to albee320 For This Useful Post: [ Click to Expand ]
 
Dani897
Old
#5  
Senior Member
Thanks Meter 683
Posts: 3,539
Join Date: Aug 2010
Quote:
Originally Posted by albee320 View Post
Thanks Dani for the input...just to clarify, by distortion I mean the audio maxs out at level 15, if you adjust higher than that, it seems as if audio drops to a lower level and increases to max again as you increase...say you made it so there were 30 increments as opposed to 15...its like this:

1min............15max 16min..............30max

I hope that makes sense...the OP concluded that it wasnt compatible w Samsung but im hoping someone w more pointed knowledge could work it....that would def be a plus in future roms

Sent from my SAMSUNG-SGH-I997 using Tapatalk
ohh, I get it.

ill read the tutorial and see if I notice an obvious problem... but I don't really know Java, just hoping something jumps out as not right.

---------- Post added at 07:59 PM ---------- Previous post was at 07:52 PM ----------

nah this ones gonna need some research. there may be some other file that maps the levels and that might need some Modding.
 
Catchpen
Old
#6  
Catchpen's Avatar
Senior Member
Thanks Meter 90
Posts: 262
Join Date: Dec 2011
Cool! Yeah the bullet about smooth scrolling on truckerglenn's F1 port thread really caught my eye too. That's the only thing I miss from the iPhone is the smooth scrolling.
 
tmease1
Old
#7  
tmease1's Avatar
Senior Member
Thanks Meter 363
Posts: 1,400
Join Date: Dec 2010
Location: Indiana
Has anyone tried this on any KL2 rom or will it just work on zeus?

Sent from my SAMSUNG-SGH-I997 using xda premium
 
Dani897
Old
#8  
Senior Member
Thanks Meter 683
Posts: 3,539
Join Date: Aug 2010
Quote:
Originally Posted by tmease1 View Post
Has anyone tried this on any KL2 rom or will it just work on zeus?

Sent from my SAMSUNG-SGH-I997 using xda premium
it "should" work on most of the leaks.
The Following User Says Thank You to Dani897 For This Useful Post: [ Click to Expand ]
 
crash822
Old
#9  
Senior Member
Thanks Meter 127
Posts: 789
Join Date: Sep 2011
Follow the original link for instructions on how to do it on the other roms for the infuse. The posted links are for the zeus rom from dman, while the files posted may work on roms other than zeus I'd highly advise not using them. Follow the link in the first post to get the smooth scroll into whatever rom you're currently using.
The Following User Says Thank You to crash822 For This Useful Post: [ Click to Expand ]
 
Dani897
Old
#10  
Senior Member
Thanks Meter 683
Posts: 3,539
Join Date: Aug 2010
Quote:
Originally Posted by crash822 View Post
Follow the original link for instructions on how to do it on the other roms for the infuse. The posted links are for the zeus rom from dman, while the files posted may work on roms other than zeus I'd highly advise not using them. Follow the link in the first post to get the smooth scroll into whatever rom you're currently using.
I highly advise not being such a wuss. jk but seriously there is little chance of harm using it in a different att based gb rom. I just installed it on bionix and no problems.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes