yashsingh1/xdaforums huggingface dataset:
[Android Themes] Adi Aisiteru Reborn:
framework.jar

1. Decompile your CM11 framework.jar

go to framework.jar\classout\android\widget\

remove all AbsListView.smali and its subs file

replace them with attached file

2. Decompile your CM11 framework-res.apk

go to \framework-res.apk\res\values\public.xml

search for this lines :

<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

pay attention to the red highlight the last 5 digits of each line 0x010?????

3. open AbsListView.smali file I gave

and search for this

- const v0, 0x101006a

change the last 5 digits ids 1006a in the smali according to your own have in

<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />

do it too to all of line below

- const v2, 0x10301ed

<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10301ee

<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v1, 0x10900b8

<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v1, 0x1080062

<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a0005

<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a0006

<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a0004

<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a0007

<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a0008

<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a0009

<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

- const v2, 0x10a000a

<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />

4. Done and compile your framework.jar
[Android Themes] Adi Aisiteru Reborn:
That's it, have a nice moding :)

good luck

Screenshot

youtube : http://youtu.be/y_dhcNnueB8
[Android Themes] Adi Aisiteru Reborn:
Attention !

if you guys, having such of problem when compiling , try to use this smali file http://xdaforums.com/showpost.php?p=51213812&postcount=14

credit to [MENTION=5056266]lacoursiere18[/MENTION]

don't forget to press his thanks button :)
[Android Themes] dugeriss:
fertamax!!

hope work jb 4.1 om :D
[Android Themes] Adi Aisiteru Reborn:
if the framework jar smali file doesn't work on JB 4.1 .

try to use file from my JB 4.2/CM10.1 rom http://xdaforums.com/showthread.php?t=2584348
[Android Themes] Adi Aisiteru Reborn:
also for non CyanogenMod 11, if you dont have

Settings.apk\res\xml\system_ui_settings.xml

you can put the line in other xml , eg.

display_settings.xml

system_settings.xml

etc
[Android Themes] D2Y aka E:
in doing comparisons of beanning v2 rom this can be anything not host
[Android Themes] budi78:
I hope it will work at cm11 Gt-I9082 bro..
[Android Themes] Rhievaldo:
Good job bro.... i think you should get Recognized Themer.. :D
[Android Themes] uriel_zo:
try in ics 4.04 and stay in bootlop

you think you can carry for ics?

Greetings.
[Android Themes] Adi Aisiteru Reborn:
compare CM11 stock smali with this guide smali, I use/push all Mokee 4.4. smali in this guide withoout any editting to the smali

then see what is the different.

am not sure, but as long as the line in public.xml I mention in this guide is exist in ICS public.xml , it should work.

Good luck :)
[Android Themes] budi78:
very nice guide

Working at CM11 Dualsim, tanks a lot bro Adi .. :good::good:
[Android Themes] lacoursiere18:
With permission from [MENTION=5204709]Adi Aisiteru Reborn[/MENTION]..

Here is all his smali that was moddified.. I made it so it compiles fine. You don't have to go through and remove any lines..

YOU do NEED to add your correct public id's though!

View attachment 2639109

View attachment 2639110

Thanks again for this guide [MENTION=5204709]Adi Aisiteru Reborn[/MENTION].. :good:
[Android Themes] Adi Aisiteru Reborn:
added to Post #4 http://xdaforums.com/showpost.php?p=51174473&postcount=4

as I written in first post , this guide need :

REQUIREMENT:

- BRAIN

- Patient

- experience

:)
[Android Themes] christian devs01:
Thank YOU

Thanks for the guide sir it work on my My|Phone a919i aka micromax a116 mt6589 :)
[Android Themes] shevchovski:
Try it to JB 4,2, but in framework.jar nothing see framework/classout/android/widget/ :confused:
[Android Themes] philippe734:
A mod ? There is a simplest way to add it ! With XPosed, install XuiMod module for Xposed and enable ListView Animation in Xuimod’s options.

http://xdaforums.com/showpost.php?p=46337056
[Android Themes] shevchovski:
Succes on Stock JB 4.2 sir :good: :laugh: MTK device

:D :D :D
[Android Themes] hecvalve:
Thanks for your guide

ported successfully to MIUI in my xiaomi mi3w.

:victory:

thank you
[Android Themes] andrim3:
thanks sir...if work on my galaxy chat...but i have problem with my wifi direct...if force close after use your guide

and this my logcat

06-11 06:23:03.352 E/AndroidRuntime(4905): java.lang.NoSuchMethodError: android.widget.AbsListView.setForcedClick

thanks before
[Android Themes] lacoursiere18:
It is searching for this .method "setForcedClick" or bit of code that is not there.. YOu need to compare code to your stock AbsListView and maybe you will find it there
[Android Themes] andrim3:
thanks for the

reply. but I am not

a user of

cyanogen. how

can I compare

them. I use the

original samsung

rom. and it is not

in my rom. I just

added the feature

into my rom

This my job

http://xdaforums.com/showthread.php?p=51946479

Thanks
[Android Themes] Adi Aisiteru Reborn:
Search for .method setForcedClick and its reference in your stock Abslitview, then copy it to my smali
[Android Themes] andrim3:
thank you too. I can not compare the stock rom because in nothing

file abslistview . I just added your files from with in the my framework. and previous files abslistview nothing in my framework. how can I fix it without any material to compare.

:'(
[Android Themes] andrim3:
I don't have abslistview in my framework :'( ,because im not use cyanogenmod... how me can find this method... ???

Help me???

my framework.jar

that there is a framework that I have done. and 2 smali files from you and your friends

Thanks before

Sorry for bad english
[Android Themes] lacoursiere18:
If it's not in framework.jar check another framework.. framework2 possibly?? AbsListView.smali, if I am not mistakibg, is in every devices framework.. it is a core smali in the framework to control the way your device handles scrolling and LIST options
[Android Themes] andrim3:
thank you. I've got a method that does not exist. abslistview turns in the framework2.jar. sorry in advance for my questions. and thanks for the solution and guidenya. thanks a lot sir

now everything is

normal. Thanks you so much Adi Aisiteru Reborn & lacoursiere
[Android Themes] nizaree:
Thank you om...
[Android Themes] phenomarc:
Got it working in a TW 4.1.2 ROM for Samsung Galaxy S2.

Thanks.
[Android Themes] sayurnangka69:
thanks broo, work on supercopy mt6572 :D
[Android Themes] suribi:
How did you do it? I've followed the guide and I've got settings fc :confused:
[Android Themes] lacoursiere18:
You prob did not changed the ID in ListViewSettings.smali to match the one you added.. You added adi_mokee_listview.xml (or whatever its called) to values/xml.. therefore you need compile after adding it. Then decompile your NEW Settings.apk. Go to values/public.xml and search "adi_mokee_listview". Copy that ID and change it in ListViewSettings.smali
[Android Themes] suribi:
Yes I have already done it but I'm going to do again

Thank you :D

---------- Post added at 03:17 PM ---------- Previous post was at 02:26 PM ----------

Nothing is working hahaha when I open an app and it shows an animation, the app forces close

EDIT: All IDS are fine and there are all smalis. In my system the animations are in secondary-framework.jar
[Android Themes] lacoursiere18:
Are you on CM11? If not that maybe the problem.. and what do you mean secondary-framework.jar? framework2.jar? If so that wouldnt really matter..

Can you pull a logcat for me please..
[Android Themes] lacoursiere18:
Well thats a problem.. Code is probably not the same..You want to upload your framework and Ill take a look to see iif can be done.. But you definetly can not just copy and paste these smali in your framework.. thats why its states in BOLD CM11 Only
[Android Themes] suribi:
Here you are (Sorry, I cant upload the files to xda):

https://drive.google.com/file/d/0B23v5_ZS5vBHb1RabEl5MDBVRTA/edit?usp=sharing

https://drive.google.com/file/d/0B23v5_ZS5vBHQU11ekYwY1JwRm8/edit?usp=sharing

Thank you so much
[Android Themes] lacoursiere18:
Need to grant me permission..
[Android Themes] remuntada78:
Hi phenomarc, i'm on TW 4.1.2 ROM for Samsung Galaxy S2 too and i tried to import this feature, i followed the guide in op ,the only things that change is that all AbsListView smali files are in my framework2.jar so i replaced them.

But not work for me i've a lot of FC .

Which changes have you made?

thanks
[Android Themes] phenomarc:
I use the files from the adi CM 10.1 ROM, like he suggested, and all works fine. First I use the files from CM 11, but give me bootloop.
[Android Themes] remuntada78:
ok done and all working:laugh:

edit: i've some problem with message and contacts
[Android Themes] phenomarc:
Make a logcat. Maybe there are some methods that aren't in CM files and this causes problems.
[Android Themes] remuntada78:
this is the whole logcat View attachment log3.zip

hope someone can find the problem
[Android Themes] lacoursiere18:
Looks like it is searching for a method that is called in Mms apk but is not available anymore.. probably in AbsListView.smali

Error is here:

I/dalvikvm( 6651): Could not find method com.android.mms.ui.MessageListView.setMotionEvent, referenced from method com.android.mms.ui.ComposeMessageFragment.onSipStatusChanged

W/dalvikvm( 6651): VFY: unable to resolve virtual method 11119: Lcom/android/mms/ui/MessageListView;.setMotionEvent (Z)V

setMotionEvent is prob in TW AbsListView somewhere
[Android Themes] remuntada78:
assuming i'll add all the method that i need for make it work i'll solve only the message problem or contact problem too?

i don't seen any reference for contact in my logcat
[Android Themes] lacoursiere18:
I don't either.. Thats why its better to find the modified code.. then import into touchwiz framework2.jar. That way no methods are missing:o
[Android Themes] phenomarc:
I have searched this method in framework2.jar but found nothing. So this method goes in mms apk. BTW, I think that I don't have this FC with my modded file. If you want I can upload the files I used.
[Android Themes] remuntada78:
The method is in the original AbsListView

Yes if you post your files i will try them thanks
[Android Themes] phenomarc:
You are right. I searched in all the folder, but VTS didn't found the method in the original files.

Here are my files:http://d-h.st/GrR

You may check the ids, but if it's for the S2 they will be the same that mines.
[Android Themes] lacoursiere18:
SO yea you would have to grab that method and stick it into you current AbsListView, which I believe is CM10.1? But the thing is that method may lead or call other ones.. so it would be a step at a time process..:rolleyes:
[Android Themes] remuntada78:
Same problem with your files and after more test i got other problems with Tapatalk, whatsapp and other

I will try to add all the necessary to make it work , long job[emoji31]
[Android Themes] phenomarc:
I don't have this problems. What TW base are you using? I'm using a XWMS3.
[Android Themes] remuntada78:
I'm with a older version xwlsd
[Android Themes] phenomarc:
And you match the ids with the framework-res public.XML?
[Android Themes] remuntada78:
Yes of course much ids have the same value
[Android Themes] remuntada78:
the first attempt to add all the necessary to make it work was a disaster:laugh::laugh:
[Android Themes] phenomarc:
One question:

when you said problems with MMS and Contacts, you mean FC or not showing the animations?

Enviado desde mi GT - I9100 con PHD v9 mediante Tapatalk.
[Android Themes] remuntada78:
basically are fc, i show you what happens

[YOUTUBE]tW1715NKiew[/YOUTUBE]

the last app i tried to open was contact
[Android Themes] phenomarc:
Well, I can tell you that I don't have FC in any of apps I have tried (whattsapp, tapatalk, messages,contacts,settings...) But in messages and contacts the animations are the stock.

Also, I'm trying another mods during this morning (SystemUI), and I have made a logcat. Well, in this logcat I have found the error you posted before (refering com.mms.ui...).
[Android Themes] lacoursiere18:
Just posted a guide for TouchWiz.. It's for 4.4.2 but if you want I will post all my edits and where they were if it is cool with [MENTION=5204709]Adi Aisiteru Reborn[/MENTION]
[Android Themes] remuntada78:
It would be great[emoji3]
[Android Themes] remuntada78:
First of all i wanna thank you for the great job:good:

i've one question about the above code:

i don't have AbsListView$6 ,i guess it should contain the same code of AbsListView$1 from the zip in OP, so i need to add it, i'm right?
[Android Themes] lacoursiere18:
I know that is why I tell you to add it. I don't believe it is the same as his AbsListView$1..but I think it is his AbsListView$3..

Code is also added in AbsListView.smali, in the beginning, to call AbsListView$6

Edit: I highlighted themy inOrange so you can see where I am talking about. Also I highlighted access you need to pay attention to. They are probably the same but you never know
[Android Themes] sonnguyenpg:
hello everyone.

Here is a great tutorial, I would love to. I did as instructed, everything looks very good but I have a problem with forced close. Phone, Callog, Calendar could not be opened up.

I'm using stock rom 4.1.2

please help me. I have how to fix this. I have used the command adb logcat taken in the phone but I do not know how to read logcat.

This is my logcat http://www.fshare.vn/file/T9AK8NH9RT/

please help me. thank you all.
[Android Themes] remuntada78:
i understand what you said but maybe I'm blind there's not attached smali:cyclops:
[Android Themes] lacoursiere18:
Forgot to attach it sorry about that. I will add it tomorrow.

For that error just delete that line:

[COLOR="Red"].param p1, "view" [/COLOR] # Landroid/view/View;
[Android Themes] remuntada78:
new error when compile, about the same method
[Android Themes] lacoursiere18:
Give me until tomorrow.. it bc of your tools your using..
[Android Themes] lacoursiere18:
Use my method that I put in the guide I wrote.. your using adi's which is fine but if you are doing that you need to compile with apktool 1.5.2.. so just use the setAnim method I posted..
[Android Themes] sonnguyenpg:
please help me!!!!!
[Android Themes] remuntada78:
i'm using original smali files from my framework2.jar and i followed your guide ,i'm using your setAnim method and also apktool 1.5.2
[Android Themes] lacoursiere18:
Ah that is why..my method is set to compile with apktool 2.0.. I would suggest using it sense there has been multiple patch fixes..

https://www.dropbox.com/s/sv0h0hzcjfoivzw/apktool.jar
[Android Themes] remuntada78:
same errors like before when i try to recompile:confused:
[Android Themes] lacoursiere18:
Did you decompile with 1.5.2? If so that is why.. decompile with 2.0 make edits than recompile..
[Android Themes] remuntada78:
i used this http://xdaforums.com/showthread.php?t=2326604
[Android Themes] lacoursiere18:
That's fine.. find where he stores the apktool.jar and replace it with the one i linked you too.. then decompile your framework2.jar, make edits..recompile..

Sorry man.. i wrote a whole guide for you.. you have to figure out your tools..The code and edits are perfectly fine
[Android Themes] remuntada78:
you're right , i try to solve my problem with the recompile:good:
[Android Themes] lacoursiere18:
Can you pastepbin me those two methods please..of yours. I will look and see what I can do. Then I will show you how I did it..;)

---------- Post added at 11:33 AM ---------- Previous post was at 11:20 AM ----------

I see you thanked me but didnt post those methods.. I need you to upload both of them please..
[Android Themes] remuntada78:
you are very kind

this is modded .method public onTouchEvent(Landroid/view/MotionEvent;)Z

View attachment 2845922

this is from AbsListView$FlingRunnable. smali

.method constructor <init>(Landroid/widget/AbsListView;)V
.registers 4

.prologue
.line 4525
iput-object p1, p0, Landroid/widget/AbsListView$FlingRunnable;->this$0:Landroid/widget/AbsListView;

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 4499
new-instance v0, Landroid/widget/AbsListView$FlingRunnable$1;

invoke-direct {v0, p0}, Landroid/widget/AbsListView$FlingRunnable$1;-><init>(Landroid/widget/AbsListView$FlingRunnable;)V

iput-object v0, p0, Landroid/widget/AbsListView$FlingRunnable;->mCheckFlywheel:Ljava/lang/Runnable;

.line 4526
new-instance v0, Landroid/widget/OverScroller;

invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;

move-result-object v1

invoke-direct {v0, v1}, Landroid/widget/OverScroller;-><init>(Landroid/content/Context;)V

iput-object v0, p0, Landroid/widget/AbsListView$FlingRunnable;->mScroller:Landroid/widget/OverScroller;

.line 4527
return-void
.end method

thank in advance:good:
[Android Themes] lacoursiere18:
Sorry if I was not clear.. I want the TWO STOCK methods.. not modded..
[Android Themes] remuntada78:
ok

View attachment 2845947

the second code from AbsListView$FlingRunnable was not modded
[Android Themes] lacoursiere18:
Yikes... What version of TW/Android are you on.. This is significantly different..

Not sure I can make this work..
[Android Themes] remuntada78:
i'm on 4.1.2 xwlsd
[Android Themes] lacoursiere18:
Eeek!

The only thing I can think of is to try to find Mokee ROM on 4.1.2. If you do let me know and I can port it over for you..
[Android Themes] remuntada78:
thanks i'll try to find it, but I have a doubt, this post http://xdaforums.com/showpost.php?p=53800492&postcount=30 gave me the input to try the guide in OP and [MENTION=4343817]phenomarc[/MENTION] have the same device of me but he is with 4.1.2 XWMS3 i don't think there are difference between xwlsd and xwms3
[Android Themes] lacoursiere18:
Well you could try his way again and I can possibly help you resolve the FC issues..COntact me on hangouts lacoursiere18@gmail.com

This way we don't clutter the thread anymore
[Android Themes] phenomarc:
I don't know why you have this problems, because in my ROM I don't have any FCs.

You can try with MS3 mms and contacts apps.
[Android Themes] remuntada78:
I don't believe i will solve in this way because the problem was in Tapatalk whatsapp and other too
[Android Themes] phenomarc:
Then you can try to mod framework2 from XWMS3.
[Android Themes] remuntada78:
I will try to look in xwms3 AbsListView smali files to see if there are difference between it and xwlsd
[Android Themes] phenomarc:
My files are from XWMS3. Use the whole jar instead of only the Ablistview files.
[Android Themes] remuntada78:
with the only whole framework2.jar from xwms3 not work, i got the same problem

but I made ​​an attempt, i downloaded the whole 4.1.2 xwms3 firmware for galaxy s2 , made a new rom and I replaced the all AbsListView smali files from framework2.jar ,and it work without problems

So i can confirm that with 4.1.2 xwms3 firmware for galaxy s2 it work:laugh::good:

Unfortunately now i need to re-mod all my things for the new firmware:crying::crying:
[Android Themes] phenomarc:
Is the newest base. I have to do it in every update of my ROM.
[Android Themes] NoeRie:
Work far my mt 6582 runing jb 4.2.2 tank you lek adi
[Android Themes] giaanlove:
Thanks :beer:
[Android Themes] vandiaz_sairavinz:
Fc

what you know how to fix Mokee animation list in rom 4.4.4

I port in jb 4.3 no problem ...

but my Moke port list animation in 4.4.4 rom only fc in settings / app

and cannot get root explorer fc
[Android Themes] lacoursiere18:
Post a logcat
[Android Themes] vandiaz_sairavinz:
I can not tell logcat

I open the logcat fc, fc walkman music media,

cm11 xperianze 4.4.4 position and Advanced ApkTool guide

smali me http://www.mediafire.com/download/r76etl1a1xed77a/smali.zip
[Android Themes] lacoursiere18:
ADB..

adb logcat -d > problem.txt
[Android Themes] vandiaz_sairavinz:
via android terminator or windows pc?
[Android Themes] lacoursiere18:
Windows
[Android Themes] lacoursiere18:
You need to install and get adb up and running without a proper log I can not help you
[Android Themes] vandiaz_sairavinz:
ok thank you for your post reply
[Android Themes] 江南浪子:
Moded the framework2.jar,sometime it's need to wipe the rom，youcan try!

---------- Post added at 01:56 AM ---------- Previous post was at 01:51 AM ----------

MODed the framework2.jar you need wipe the rom ,some FC will be solved ,you can try! sorry ,my english is bad!
[Android Themes] Ducatuca:
Thank you very much! It's working on my Alcatel Idol 2 6037y, MT6582!!!
[Android Themes] kingdj:
helo mate. thank you for this guide mr adi.succesfuly port to my cm11 samsung s3. only 1 problem remain. rotate option on listview can.t be used.if i check rotate option animation setting fc.any idea mate???
[Android Themes] sHAKaJaada:
Hi folks, is any guide for CM11 KTU84Q ROM?! Thanks...
[Android Themes] agung merdiawan:
Pleas help me !! :')

is there someone who can make the video tutorial for me, I am very new to learn in terms of port

if yes, please send an email to birubulao@gmail.com

thank you XDA
[Android Themes] Sandivisi:
Can someone made a vrtheme flashable zip "Mokee ListView Animation" ?
[Android Themes] uriel_zo:
Work fine in lollipop 5.0.1

Onli fc in DocumentsUi.apk

Any idea?
[Android Themes] f120ltn:
PL:

DEO rom or framework.jar because deo
[Android Themes] trylogic:
Hello Guys!

Please tell me how to (correctly) to port this mod for GT-I9082 Grand Duos stock 4.2.2 rom? I did everything according to instructions, but I have a problem with fraemwork2.jar. After it is added recompiling fraemwork2.jar to the system / fraemwork impossible to enter the settings and to other applications.
[Android Themes] josephpatrick:
have similar issues :(
[Android Themes] Mohd Haikal:
I already successfull all steps , But when I want to change my listview animation on display/settings/ , My settings Force close , How to fix that mastah ?
[Android Themes] Trickster22:
I am having same problem, help us :(
[Android Themes] Trickster22:
here is my logcat - http://www.mediafire.com/view/153fcx3iy80oxs5/alogcat.2015-05-14-14-17-26_0530.txt
[Android Themes] lhuarcerdena:
Any file manager FC

Help me after i compile my framework.jar all of my file manager force close.
[Android Themes] Zidni:
all of things i do correctly but not work on my rom

my rom is kitkat 4.4.2