[Xperia Z Themes and Apps] Rajeev:
Hi Friends

Here I Am Going To Teach You How To Make Advanced Volume Control Mod For Xperia Z Stock Deodexed .101 JB 4.3 Firmwares. This Mod Will Only Work In Deodexed .101 Roms. We Are Going To Edit Framework.jar. For That You Must Know How To De Compile And Edit framework.jar ( I Mean jar files ).

If U Don't Know De Compiling jar Files Means Go To Here.

( http://xdaforums.com/showthread.php?t=2251719 ) And Follow The Tutorial...

Ok. Lets Begin.

STEP 1

De Compile Ur framework.jar And Go To " classout\android\view\ Folder"

There U Can Find 10 Smali Files With These Names

So We Are Going To Edit These Smali Files...

(A)

Open " VolumePanel$1.smali " File With Notepad ++ and Serach for This Line

invoke-virtual {p0}, Landroid/app/Dialog;->isShowing()Z

Then Replace The Above Line With This Line

invoke-virtual {p0}, Landroid/view/VolumePanel$1;->isShowing()Z

Save And Exit Notepad ++

(B)

Open " VolumePanel$2.smali " File With Notepad ++ and Serach for This Line

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

Then Replace The Above Line With This Line

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

Save And Exit Notepad ++

(C)

Open " VolumePanel$3.smali " File With Notepad ++ and Serach for This Line

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

Then Replace The Above Line With This Line

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

Save And Exit Notepad ++

(D)

Open " VolumePanel$4.smali " File With Notepad ++ and Serach for These Lines

invoke-virtual {v0, v2}, Landroid/os/Handler;->removeMessages(I)V
invoke-virtual {v1, v2}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;
invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

Then Replace The Above Lines With These Lines

invoke-virtual {v0, v2}, Landroid/view/VolumePanel;->removeMessages(I)V
invoke-virtual {v1, v2}, Landroid/view/VolumePanel;->obtainMessage(I)Landroid/os/Message;
invoke-virtual {v0, v1}, Landroid/view/VolumePanel;->sendMessage(Landroid/os/Message;)Z

Save And Exit Notepad ++

(E)

Open " VolumePanel$5.smali " File With Notepad ++ and Serach for These Lines

invoke-virtual {v1, v3}, Landroid/os/Handler;->removeMessages(I)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;
invoke-virtual {v1, v2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

Then Replace The Above Lines With These Lines

invoke-virtual {v1, v3}, Landroid/view/VolumePanel;->removeMessages(I)V
invoke-virtual {v2, v3}, Landroid/view/VolumePanel;->obtainMessage(I)Landroid/os/Message;
invoke-virtual {v1, v2}, Landroid/view/VolumePanel;->sendMessage(Landroid/os/Message;)Z

Save And Exit Notepad ++

(F)

Open " VolumePanel$6.smali " File With Notepad ++ and Serach for This Line

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

Then Replace The Above Line With This Line

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

Save And Exit Notepad ++

(G)

Open " VolumePanel$StreamControl.smali " File With Notepad ++ and Serach for This Line

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

Then Replace The Above Line With This Line

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

Save And Exit Notepad ++

STEP 2

Download And Extract The Files From The Attachment. Copy The Two Extracted Files and Paste It To " classout\android\view\ Folder ". It Will Ask For Replacement. Click Yes. ( Replace It )

STEP 3

Re Compile The framework.jar and Move To system/framework with Right Permission and Reboot. Or Make A Flashable Zip and Flash It Via Recovery , Wipe Cache and Dalvik Cache and Reboot..

Enjoy...

DOWNLOADS

View attachment 2701181

CREDIT

My Brother [MENTION=4872623]DaRk-L0rD[/MENTION] For Some Tips