yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Peaster111:
Yes, but I'm not 100% sure. Scrolling overall seems smoother... no stuttering in apps that previously did. I moded gtg's v2.2.1 unnamed framework.jar with the scroll mod only and posted it in his ROM thread (post 3868). I'm hoping to get some feedback on it. Not much so far. I may have to put it out on its own thread and see what happens. Maybe you can try the mod out in your ROM?
[Android Software Development] Felimenta97:
Will try this later when I got to my PC. What is the theme you use, BTW?

Sent using Mini CM7 Pro by Paul
[Android Software Development] shantam:
Re: [HOWTO]More smooth scroll & volume step increase for MOST android phones[Poweramp

how do i get it to work if i have odexed rom and i have framework.jar and framework.odex
[Android Software Development] CuBG:
MAX Volume works great on Galaxy S2 DEODEXED Poland MS1 JellyBean. It makes smooth volume up from 1 to 30 without problem. But in framework.jar i cant find /widget/AbsListView.smali even with SEARCH function. There is no AbsListView.smali file anywhere.
[Android Software Development] ctrlaltdel:
JB rom, framework2.jar and disable scrolling cache?

Hi

how do i baksmali framework2.jar? am i rename it to framework.jar and the follow the step? I tried to rename framework2.jar to framework.jar and run the batch, i can get the smali files but the value for the scrolling cache mod seems a bit differnet then the screenshots.

I am using JB rom with a note 2 lte.

Thanks!
[Android Software Development] ctrlaltdel:
Any one?? Please help thanks!
[Android Software Development] jamus28:
Thanks! The tweak is working according to the OP's directions. It was in framework.jar

HTC One S running CM10.

Someone said previously that this mod only changes the scaling and does not increase the max volume.

But it doesn't seem like my minimum volume changed at all. I'll keep experimenting with higher values..
[Android Software Development] shoman94:
It's the scaling in between min and max. The min and max are not effected.
[Android Software Development] synaesthetic:
This doesn't work on my Galaxy Nexus running CM10. The AudioService.smali has a different layout, and when I change the values and push the framework.jar back to the device, it just causes a bootloop.
[Android Software Development] Mmmm-):
I've tried this on my Samsung Galaxy Player 5.0 running CM10.1 and it works fine!
[Android Software Development] sudharshancr7:
Query

Will the volume level increase if these modifications are done?
[Android Software Development] sauron82:
No. It just gives you more steps between min & max.

Sent from my Galaxy Ace

Click Thanks if I helped you.
[Android Software Development] sudharshancr7:
Is there any way by which the volume level can be raised because the volume level in jelly bean seems to be less than ICS and sometimes the call or message goes unnoticed.....
[Android Software Development] kehlan:
If you're looking for an actual USABLE smali, here's a link:

http://xdaforums.com/showthread.php?t=2311766

Pretty lame that there's all these broken links in this thread, and NO clarification that the official site does not have a .bat file anywhere in the downloads.
[Android Software Development] onlavu:
the DIY guide works very good. thanks a lot!
[Android Software Development] Tomaka:
HTC ONE X Sense 5 : it works :)

Works great for me too!!! Thanks

For HTC One X sense 5, the array is : "array_40c" line 1701. Enjoy
[Android Software Development] Superfebs:
I followed the guide for the volume steps but I got no changes. I verified that the .jar was rebuilt properly because I re-smali'd the new jar and my modifications were there. Could it be different for Android 4.0.4? Thanks :)
[Android Software Development] DeathStroke:
It works on 4.0.4, LT18i. :D:D

<sent from Batcave>
[Android Software Development] adi9981:
The smooth scrolling mod didn't work for me on Galaxy Ace. I tried to modify DDKQ8's framework. After overwriting framework.jar with modded classes.dex to /system/framework/, the phone just froze and hot rebooted after like 1 minute. I tried to restart normally after that, but i didn't feel any effects at all. Small list scrolling isn't as smooth as ex. CM7 roms. Still lagging as before on Samsung's 2.3.6 stock roms.
[Android Software Development] aminima:
just for record;

It's working on SlimRom v.8.0 (Jb 4,2,2) for HD2
[Android Software Development] karan luniyal:
hello please help i followed the exact steps 2 times..

still i stuck in a bootloop

everytime i done it i have to restore a nandroid backup....

btw

i draged classes.dex into framework.jar using winrar

and pushed it using adb and cleared dalvik cache,cache,fix permissions

thanks in advance.....
[Android Software Development] shyamSGY:
:good:
[Android Software Development] Shebee:
I did this mod on htc m8 and while now I have 30 steps volume, every 2nd step does nothing, so basically it's still 15 levels but I have to press twice lol.

Help...
[Android Software Development] davidlone:
works thx

good job
[Android Software Development] Shebee:
What device?

Also, does each step ACTUALLY increase/decrease the volume?
[Android Software Development] davidlone:
motorola razr i 4.1.2

I change STREAM_MUSIC to 25 steps,then the media volume works each step.

But changing calling volume seems not work.
[Android Software Development] isaak:
I agree, especially with last sentence... don't increase voice call because it won't work.
[Android Software Development] mandayugana:
Smooth scroll mod works on S5830 stock ROM. Scrolling difference is notable on Settings > Date > Select Time Zone.
[Android Software Development] countryfolk07:
Had anyone figured this out for lollipop? Would love this for LP. The framework doesn't seem to be laid out the same. I'm not finding audio policy or scrolling cache smali files.
[Android Software Development] fLipz:
i can MOD your framework.jar with Smooth Scroll only. i'm not a big fan of Volume Steps :p

if you can pull your framework.jar and emailed it to me.

PM me for details.
[Android Software Development] fLipz:
i made 30 (1e) Volume Steps MOD for your framework.jar

if you like we can make it 45 (2D), 60 (3C), 75 (4B) or 100 (64)

hope it'll work just in case flash the restore file (original framework.jar) if something went wrong.

incorporate Smooth Scroll MOD too
[Android Software Development] countryfolk07:
It didn't seem to work. I still only have 7 steps on all volume controls. Thank you though for trying.
[Android Software Development] M.M.K:
Hi, great job. I finally got more volume steps working on LG stock kitkat rom. but not with editing framework.jar.

I edited AudioManagerEx.smali in com.lge.frameworks.jar & changed 0xft to 0x14t & 20 steps volume works now!

Thanks
[Android Software Development] CatBot:
How can i do this on Oneplus One CM13? I can't find AudioService and I don't know which file controls volume. Has anyone done it on OPO?
[Android Software Development] Spikestrip:
The AudioService.smali is no longer in the .jar listed in the OP in newer Android versions. If you don't find it where the OP says it should be, pull /system/framework/services.jar and baksmali it. Then go to /com/android/server/audio/ and modify the AudioServices.smali that you find there. Profit.
[Android Software Development] SkaboXD:
everything works except music volume, it's still on 20 but when i try volumestepsenabler+ it works. i don't understand what's the problem.

Edit: It's a ROM issue. It works on other ROM.
[Android Software Development] shoman94:
That's what I'm thinking. Maybe I'll do the mod tonight. I currently don't have any suffering during scrolling but that's not to say it won't be nicer.
[Android Software Development] Dj-Gutz:
Tried both mods , loving it!

Nook Color ( CM9 alpha )

Volume steps changed to 14 ( 20 in decimal ) - 5% change

Scrolling seems a little better , can't say for sure but the rom is buggy so I don't expect anything to be great all of a sudden

Thanks , great job :)
[Android Software Development] diospada11:
would the smooth scroll mod be relevant to stock honeycomb 3.2 roms?
[Android Software Development] DeHD:
Works well. Thanks!

Tested with SGS SHW-M110S.
[Android Software Development] AndroidON:
I didn't tried it to honeycomb.

But since ICS also had those value, so honeycomb may have it.

You can try if you want. But I am not sure it will have effect.
[Android Software Development] jgeezy24:
I can confirm that this works with the latest UnNamed rom by gtg on the i777 Gs2!
[Android Software Development] AndroidON:
It is CM7 ics theme.

you can find it in market.

(sorry for answering you too late.)
[Android Software Development] Felimenta97:
Thanks, and no problem.
[Android Software Development] d-iivil:
Whoa! Both mods works REALLY nice on my Galaxy Nexus running CM9 kang :-)

Allthough the volume mod required little investigating since the array name wasn't the same as in opening post, but correct values were still easily found.

Thanks!
[Android Software Development] motyrahamim:
Hi,

Does the smooth scroll tweak works on htc roms? I couldnt find abslistview.smalli file allthough there are

Abslistview$1 ,Abslistview$2 and Abslistview$3 but with different methods names from what u've posted.

Thanks.
[Android Software Development] AndroidON:
abslistview.smali should be there.

Abslistview$1 ,Abslistview$2 and Abslistview$3 are just add-on file of abslistview.smali.

Maybe your baksmali job didn't work correctly so it didn't extracted all files.

I recommend you to baksmali again.
[Android Software Development] motyrahamim:
Yea done it again and it seems to work preaty well.

So the scroll hack confirmed to be working on htc legend with blayo rom with noticeable difference.

Thanks.
[Android Software Development] DeHD:
I just apply your volume method, but there's an error :(

16-30 volume level is same as 1-15 leve.

small(1) - - - lould(15) small(16) - - - lould(30)

like this.

How can I solve it?

Tested with SHW-M110s (SGS Korean ver)
[Android Software Development] AndroidON:
Samsung devices seems not compatible with volume tweak.

I got several issues from samsung device users.
[Android Software Development] shoman94:
Set it to 15 like I did. 15 is more then enough.
[Android Software Development] mandeep294:
same problem with htc incredible s
[Android Software Development] shad0wboss:
so basically for scrolling speed you don't have to mess with framework.jar. You can just use a text editor to make changes to that specific file and that is it?
[Android Software Development] shoman94:
No....it's all edits in framework.jar
[Android Software Development] sipe1:
Confirm working on Huawei U8650 cyanogenmod 7.1.0

Scrolling hack is very useful and working nice.
[Android Software Development] shad0wboss:
i don't wanna mess with framework.jar for nothing

have anyone found an improvement in scrolling speed for Desire HD specially because i find browser scrolling useless since it's nothing like iphone's browser even at 1.5ghz
[Android Software Development] Peppoid:
Thanks for your help, really appreciated.

Here tutorial for SonyEricsson.

Volume step increase mod:

Search for array_1ae

Smooth scrolling:

Bye :)
[Android Software Development] zscomp:
Tried the smooth scroll but i had the opposite effect, so i reversed back the changes.

Galaxy S II , custom rom based on intratech's KK5
[Android Software Development] alkiter:
Great work! Made just the scrolling mod on my Captivate and it flies. In browser can fling from bottom to top in one swype instead of multiple swypes.
[Android Software Development] sigurd_LU:
Brilliant work mate, thanks!

I applied this on Android Revolution HD: http://xdaforums.com/showthread.php?t=840040&page=6210

Gave you credits, of course :)
[Android Software Development] Honusnap:
Thaannnkkksss

WOOoooo thanks a lot for pointing this fact, i was feeling that things were not so smooth in Ex explorer or Go sms ... i feeel the difference now .. Very Good and thankts for your effort in explaining the whole process on doing it on our own roms .. !

Done it on my Dhd, next the SGSII.. :)
[Android Software Development] nebkat:
Why not do it in source?
[Android Software Development] hamdir:
smooth scrolling mod fixes apps lagging in scroll like EFS but its killing opera browser

it no longer opens after this mod (disappear after the opera logo)

running sense 3.5 GB 2.3.5
[Android Software Development] AndroidON:
Because not all roms open their source.

And this method is more simple for rom cookers.

I'm using the motorola atrix.

And using opera browser with no problem.

Any people who have same problem with you?

If all DesireHD user suffer from that, it would mean phone is not compatible with this mod.
[Android Software Development] sigurd_LU:
I can't confirm the problem with Opera that hamdir reported. Works fine here, I'm on RCMix Runny 4.
[Android Software Development] nebkat:
Yes but it would be a great addition to a rom such as CyanogenMod. This is too haxxy and IMO nobody should be making roms by manually editing the dex like this.
[Android Software Development] Super-Veloce:
could you somehow send me the framework with this mod?

also running RCMix Runny 4 ;)
[Android Software Development] kitty's_daddy:
It's very nice. :D

Big thanks for your afford.

It works fine on my odexed su660(o2x) stock rom.

Also I could adjust all of them (voice,system,ring...) with this codes. ;)

:array_1ba
.array-data 0x4
0xat 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0x1et 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0x1et 0x0t 0x0t 0x0t
0x1t 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
0xft 0x0t 0x0t 0x0t
.end array-data

SU660 has a bit different code.

=========================

into Korean.

한국분이시네요. 반갑습니다.

2X는 테이블이 약간 다르지만 다른음량들도 마찬가지로 조정이 가능하네요.

스크롤링 역시 상당히 부드러워졌습니다.

벌써 XDA의 모든 롬개발자들이 이내용을 포함하는것 같네요.

자랑스럽습니다. :D
[Android Software Development] Lesicnik1:
Try looking at the end of abslist... ones. it usually at the end of abslist(s).

Patched the framework today, gonna put it on my phone tommorow and test it :)

Can't do it today (need an alarm clock)
[Android Software Development] punshkin:
wow thank you! the volume step setting is a very great thing!

Have you considered adding this to Cyanogenmod? It would gain a lot by this :)
[Android Software Development] IvanNCase:
Thanks a lot man, smooth scroll works great and so does 32 volume increments but now I'm running with 100. Its overkill for the ringer and alarm but its nice to have such fine control over music and calls.
[Android Software Development] sigurd_LU:
Here you are: http://bit.ly/wnispp
[Android Software Development] tbob18:
Really helps smooth out the scrolling on my Touchpad running XRON. It still not perfect, but there is a definite difference. :D
[Android Software Development] Honusnap:
You've got the choice ... AOSP is there, you can build your own rom if you want.

You can build your own car, all parts are on the market... but it is easier to took an existing one and tweak it => edit existing code.
[Android Software Development] Super-Veloce:
Thanks, you're the best! :D
[Android Software Development] ironjon:
I´m unable to see in all Sense 3.5 roms that I tried for Desire the parameter "Enabled"

In roms with Sense 2.1, 3.0 I can see this parameter and I can change it.

Any ideas?

Thx and good job :)
[Android Software Development] one_love_420:
http://goo.gl/kPZJC

That's how I did this mod from source, just look at the AbListView.java

Works great, thanks for pointing this mod out for everyone in the Android community
[Android Software Development] strawmetal:
Just search for the line above that and manually type the parameter enabled line... it'll work
[Android Software Development] Honusnap:
??

Something i do not understand ...

In initAbsListView the default value of mScrollingCacheEnabled is now set to "disabled" => good.

Why changing the constant in the createScrollingCache() ?

const/4 v1, 0x1 => const/4 v1, 0x0 ?

The first test (if-eqz) of this method :

iget-boolean v0, p0, Landroid/widget/AbsListView;->mScrollingCacheEnabled:Z

if-eqz v0, :cond_11

will directly go to the end of the method => do not create cache (if mScrollingCacheEnabled set to 0, false)

Wouldn't be easier/faster to replace the setScrollingCacheEnabled method by (only one method is changed for the tweak to be effective)

.method public setScrollingCacheEnabled(Z)V

.registers 3

const v1, 0x0

iput-boolean v1, p0, Landroid/widget/AbsListView;->mScrollingCacheEnabled:Z

return-void

.end method
[Android Software Development] AndroidON:
I'm glad to meet Korean in xda :D

반갑습니다.

사실 쥐뿔도 모르는데 호기심에 건드려 본게 얼떨결에 효과가 있더군요.

도움이 되었다니 기쁩니다 ㅎㅎ

Since I don't have much knowledge about these programming language,

I just wanted to keep original source as much as I can.

Adding or deleting source is out of my knowledge.

I am amateur :p

Anyway, is this mod working by that way?
[Android Software Development] ironjon:
It works with Sense 3.5 roms :D

Thx
[Android Software Development] fatino:
Thanks for this! Volume mod works great on my Samsung Spica with cm7. Scrolling is worse though so I reverted back. It had less freezes but it was more laggy. I assume its for phones with better CPU.
[Android Software Development] Kalemucu:
After pressing smali option

i got lots of no enum constant org.jf.AnnonationVisibility.RUNT!ME errors.

I got java sdk installed :confused:
[Android Software Development] AndroidON:
Maybe you have deleted wrong line.

Try again it with fresh file.
[Android Software Development] loukvlav:
I just tried that in MIUI but I can't say I noticed any difference.

Maybe it's a tad bit faster (in titanium backup app list for eg.) but it could also be placebo effect. Not sure if it's worth it.
[Android Software Development] Honusnap:
Not much differences on the SGSII (2.3.6), seems to have a bigger effect on the DHD (2.3.5).
[Android Software Development] xcxa23:
had tried the volume step and its working on xperia x10
[Android Software Development] AndroidON:
Thanks for your report :)
[Android Software Development] Felimenta97:
Hey, if I provide my framework, anyone can edit the volume bar color for me?
[Android Software Development] Rydah:
I can't seem to understand how the volume edits work. I did the scroll one, and it worked great!!!

Via My HTC Evo 3D On The Now Network From Sprint.
[Android Software Development] dohclude:
Tested on HTC HD2 Tytung's NexusHD2 ICS CM9. The volume mod works great (thanks!), but I can't really see much difference in the scrolling mod. Maybe it just doesn't work on ICS?
[Android Software Development] kkrraazzyy:
Nice work buddy
[Android Software Development] dark_polok:
Anybody tried this with Miui?

I tried this with Miui XJ X-Part 2.1.6 - 2.3.7 and it did not work =\

When i tried to replace framework.jar with root explorer, It said not sufficient space or something. So I extracted the rom and manually put the framework.jar in the specified folder and flashed the rom again [did complete wipe before flashing]. Rom loaded up fine. But nothing in the rom runs. FC on everything.

Anyone else tried this on a Miui rom?
[Android Software Development] LfcFan1977:
@AndroidON

Thank you very much for this nice tweak.

Audio volume [Mod] applied successfully and a noticable different to the scrolling.

Htc Desire, dGB rom, Android 2.3.5
[Android Software Development] dark_polok:
Ok here's the msg that i get.

"Paste Failure! There was not enough free disk space to complete the paste operation. Please not that the free space displayed by Root Explorer (as reported by linux) is not always 100% accurate!"

=(
[Android Software Development] AndroidON:
I didn't tested on ICS cause Atrix's CM9 is unstable. :p

I tested on miui and it worked good.

Maybe you modified file in wrong way.
[Android Software Development] xhacker:
Thank you, I modified the framework and it worked fine for me i have desire phone with runnyMod rom V5 it had a big problem of song
[Android Software Development] albee320:
Thank you!

Scrolling works great on i997 but as others gave said, sound does not correlate to slider mapping
[Android Software Development] jethro650:
Scrolling mod works on my Desire Z running Quattro Beta 9. Now I can scroll one whole page of posts here instead of only going half way down with a flick(just one example). Thanks....
[Android Software Development] d.cortez:
DELETED...
[Android Software Development] heyjoe66:
can I push "Thanks" button a thousand more time ?!?!

that damn laggy scroll was killing me slowly and painfully for years!

huuuuge thanks for this tweak!!!
[Android Software Development] xtrymind:
work great on my XMP,

thank you very much,, :)
[Android Software Development] Lafenear:
Couldn't find

const/4 v1, 0x1

in the framework.jar file for ICS on the SGN, but I managed to find the other values and change them.

Seems to help a little.
[Android Software Development] madman_sle:
I was attempting this on my tablet running 3.2.1 to see if I could see the same results as I do on my Infuse. I receive an error during the Baksmali process -

UNEXPECTED TOP-LEVEL EXCEPTION:

org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file

at org.jf.dexlib.DexFile.<init><DexFile.java:305>

at org.jf.baksmali.main.main<main.java:250>

I'm assuming then that this is a showstopper and this mod is limited to android versions prior to 3.2...I saw you mentioned ICS had the values as well. Or am I doing something wrong? lol
[Android Software Development] AndroidON:
I think your rom is odexed?

I don't know why is that.

I've never seen error like that.

I tried this mod to CM9 and it had same value.
[Android Software Development] ppp0941:
FIXED. useful mod
[Android Software Development] madman_sle:
I believe you are correct sir, it is odexed. So is it possible to deodex just the file i need and then odex it after making the modification to disable scrolling cache? New to this and trying to learn, any input is appreciated! Thanks!

EDIT: OK, so I have successfully deodexed and baksmali'd the framework and made the changes listed in the first post, I have saved the changes and ran smali. It creates the classes.dex just like it is supposed to. My problem is when I open framework.jar with 7zip there is no classes.dex file in there. Is that because it is odexed? Is there an extra step I must take before I can add the classes.dex file because it is odexed??
[Android Software Development] LivingChampion:
Very helpful! Thank you. I needed to find out how to change my volume back to normal (PowerAMP issues) while keeping the smoother scrolling from the Darkside preFinal and this guide was really helpful and easy to follow.

Thanked!
[Android Software Development] Habarug:
Nice, will try ;-)
[Android Software Development] AndroidON:
Sorry. I just did this on deodexed rom.

(Not familliar with odexed :p)

You can live with volume mod while using poweramp.

Added new info on OP.:D
[Android Software Development] irsemoticon:
i will try it

thx for the guide
[Android Software Development] anderl78:
Thank you AndroidON!

I have integrated the mods into my ROM, both are working well!

Of course I mentioned you there! :D

Sent from my An-Droid loaded Desire
[Android Software Development] anderl78:
Hello! You need to deodex all files (at least framework, usually system apps too), change the values as described by AndroidON and then odex all back (odexing have to be done on the device, I don't know a way to do this on a pc)

Sent from my An-Droid loaded Desire
[Android Software Development] Zivonche:
need Help

i did what you said everything went smooth

the problem is that my volume keys skip some steps in a random way

instead of 30 steps from side to side it take 17 steps when pressing the vol keys

but when using my finger to slide the vol on the screen its taking 30 steps like it should.

any idea what is the problem?
[Android Software Development] Felimenta97:
As I said some time ago, managed to do the volume mod, but I can't find the thing I need to mod in my file. I think I will post it here, someone can try to mod for me?