Default [TUTORIAL] [Z] [UPDATE :- 22.04.2014] Make Advanced Volume Control Mod .101 Deodexed

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://forum.xda-developers.com/show....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

Quote:
VolumePanel$1.smali
VolumePanel$2.smali
VolumePanel$3.smali
VolumePanel$4.smali
VolumePanel$5.smali
VolumePanel$6.smali
VolumePanel$StreamControl.smali
VolumePanel$StreamResources.smali
VolumePanel.smali
So We Are Going To Edit These Smali Files...


(A)

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

Code:
invoke-virtual {p0}, Landroid/app/Dialog;->isShowing()Z
Then Replace The Above Line With This Line

Code:
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

Code:
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
Then Replace The Above Line With This Line

Code:
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

Code:
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
Then Replace The Above Line With This Line

Code:
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

Code:
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

Code:
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

Code:
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

Code:
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

Code:
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
Then Replace The Above Line With This Line

Code:
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

Code:
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
Then Replace The Above Line With This Line

Code:
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

SmaliS.zip


CREDIT

My Brother @DaRk-L0rD For Some Tips
If You Like My Work Please Consider A Small Donation

For Donating Click Below

 
Please Do The Following:
Sign In To Your PayPal Account Page
Go To 'Send Payment'
Enter My Email ID "dipesh.febrius@gmail.com"
Option "Personal Payment" Doesn't Work For India, So Kindly Set "Online Purchases". And Check Goods or Service (Preferably Service)
Make The Payment of The Desired Amount of Donation You Want To Send.
Thank You For Your Kind Donations!