Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP albee320

16th January 2012, 12:03 AM   |  #1  
albee320's Avatar
OP Senior Member
Flag Los Angeles/San Diego
Thanks Meter: 79
 
340 posts
Join Date:Joined: Oct 2011
Donate to Me
More
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, 271 views)
File Type: jar framework.jar - [Click for QR Code] (3.48 MB, 165 views)
Last edited by albee320; 16th January 2012 at 09:39 AM.
The Following 7 Users Say Thank You to albee320 For This Useful Post: [ View ]
16th January 2012, 12:06 AM   |  #2  
dman3285's Avatar
Recognized Developer
Flag Rome, Ga.
Thanks Meter: 8,095
 
5,963 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Nice

Sent from my SAMSUNG-SGH-I997 using xda premium
The Following User Says Thank You to dman3285 For This Useful Post: [ View ]
16th January 2012, 01:11 AM   |  #3  
Senior Member
Thanks Meter: 684
 
3,539 posts
Join Date:Joined: Aug 2010
More
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: [ View ]
16th January 2012, 01:46 AM   |  #4  
albee320's Avatar
OP Senior Member
Flag Los Angeles/San Diego
Thanks Meter: 79
 
340 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by Dani897

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: [ View ]
16th January 2012, 01:59 AM   |  #5  
Senior Member
Thanks Meter: 684
 
3,539 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by albee320

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.
16th January 2012, 02:05 AM   |  #6  
Catchpen's Avatar
Senior Member
Thanks Meter: 90
 
262 posts
Join Date:Joined: Dec 2011
More
Thumbs up
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.
16th January 2012, 04:56 AM   |  #7  
tmease1's Avatar
Senior Member
Flag Indiana
Thanks Meter: 364
 
1,414 posts
Join Date:Joined: Dec 2010
More
Has anyone tried this on any KL2 rom or will it just work on zeus?

Sent from my SAMSUNG-SGH-I997 using xda premium
16th January 2012, 05:00 AM   |  #8  
Senior Member
Thanks Meter: 684
 
3,539 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by tmease1

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: [ View ]
16th January 2012, 05:09 AM   |  #9  
Senior Member
Thanks Meter: 127
 
789 posts
Join Date:Joined: Sep 2011
More
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: [ View ]
16th January 2012, 05:19 AM   |  #10  
Senior Member
Thanks Meter: 684
 
3,539 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by crash822

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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes