Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,490 Members 50,712 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Rajeev
Old
(Last edited by Rajeev; 22nd April 2014 at 07:22 AM.)
#1  
Rajeev's Avatar
Senior Member - OP
Thanks Meter 7739
Posts: 7,016
Join Date: Nov 2012
Location: Chennai , I N D I A

 
DONATE TO ME
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!
The Following 12 Users Say Thank You to Rajeev For This Useful Post: [ Click to Expand ]
 
DaRk-L0rD
Old
#2  
DaRk-L0rD's Avatar
Recognized Contributor / Themer
Thanks Meter 4656
Posts: 1,948
Join Date: Sep 2012

 
DONATE TO ME
Great one bro!

If you like my work, please consider buying me a beer! Thanks in advance!
Our Themes on Playstore

SONY XPERIA Z1 & T


MY CONTRIBUTIONS
The Following 2 Users Say Thank You to DaRk-L0rD For This Useful Post: [ Click to Expand ]
 
dipesh1502
Old
#3  
dipesh1502's Avatar
Recognized Themer
Thanks Meter 3561
Posts: 2,327
Join Date: Sep 2013
Location: MUMbai

 
DONATE TO ME
Gonna try that asap
Well done bro
Proud of you


If You Like My Work Please Consider A Small Donation


For Donating Click Here
 
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, please 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!
The Following User Says Thank You to dipesh1502 For This Useful Post: [ Click to Expand ]
 
Xenon1978
Old
#4  
Senior Member
Thanks Meter 48
Posts: 143
Join Date: Mar 2014
Default Advanced Volume Control

hi there thanks for tut bro.
I tried this on Xperia C but the this files are not present in framework.jar.
But I found this files in secondary-framework.jar
only VolumePanel$1 to $5 are present.
Pls can you help in moding this files. thanks
Attached Thumbnails
Click image for larger version

Name:	VolumePanel.png
Views:	79
Size:	5.4 KB
ID:	2782152  
Current Devices :
Sony XperiaT3 D5102 Stock Rom with deodexed
Sony Xperia C Stock Rom with deodexed
Sony Xperia Z C6602 4.3 Stock Rom with deodexed
MicroMax A116
 
Rajeev
Old
#5  
Rajeev's Avatar
Senior Member - OP
Thanks Meter 7739
Posts: 7,016
Join Date: Nov 2012
Location: Chennai , I N D I A

 
DONATE TO ME
Quote:
Originally Posted by Xenon1978 View Post
hi there thanks for tut bro.
I tried this on Xperia C but the this files are not present in framework.jar.
But I found this files in secondary-framework.jar
only VolumePanel$1 to $5 are present.
Pls can you help in moding this files. thanks

Is Xperia C got Android 4.4.2 ?
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!
 
Xenon1978
Old
#6  
Senior Member
Thanks Meter 48
Posts: 143
Join Date: Mar 2014
Quote:
Originally Posted by Rajeev View Post
Is Xperia C got Android 4.4.2 ?
no xperia c is only jb 4.2.2
Current Devices :
Sony XperiaT3 D5102 Stock Rom with deodexed
Sony Xperia C Stock Rom with deodexed
Sony Xperia Z C6602 4.3 Stock Rom with deodexed
MicroMax A116
 
Rajeev
Old
#7  
Rajeev's Avatar
Senior Member - OP
Thanks Meter 7739
Posts: 7,016
Join Date: Nov 2012
Location: Chennai , I N D I A

 
DONATE TO ME
Quote:
Originally Posted by Xenon1978 View Post
no xperia c is only jb 4.2.2
Will take a look at tomorrow bro. Now in home and no PC
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!
 
Xenon1978
Old
#8  
Senior Member
Thanks Meter 48
Posts: 143
Join Date: Mar 2014
Quote:
Originally Posted by Rajeev View Post
Will take a look at tomorrow bro. Now in home and no PC
ok thanks bro if you need the secondary-framework.jar let me know I will upload it here
Current Devices :
Sony XperiaT3 D5102 Stock Rom with deodexed
Sony Xperia C Stock Rom with deodexed
Sony Xperia Z C6602 4.3 Stock Rom with deodexed
MicroMax A116
 
hamidreza2010
Old
(Last edited by hamidreza2010; 7th June 2014 at 06:55 PM.)
#9  
hamidreza2010's Avatar
Senior Member
Thanks Meter 114
Posts: 466
Join Date: Jan 2013
hi bro
thanks for good tut

but 2 thing:

1- in the first post you said we should edit to:

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

but dont say any thing about VolumePanel$StreamResources.smali?


2- im try on sp , but not work, im work on and find out the problem , the problem is the attachment file.attachment file special for z and should be change for work on sp

now please tell about VolumePanel$StreamResources.smali and if can please change the attachment file for sp

special thanks bro
 
Rajeev
Old
#10  
Rajeev's Avatar
Senior Member - OP
Thanks Meter 7739
Posts: 7,016
Join Date: Nov 2012
Location: Chennai , I N D I A

 
DONATE TO ME
Quote:
Originally Posted by hamidreza2010 View Post
hi bro
thanks for good tut

but 2 thing:

1- in the first post you said we should edit to:

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

but dont say any thing about VolumePanel$StreamResources.smali?


2- im try on sp , but not work, im work on and find out the problem , the problem is the attachment file.attachment file special for z and should be change for work on sp

now please tell about VolumePanel$StreamResources.smali and if can please change the attachment file for sp

special thanks bro
Hi

VolumePanel$StreamResources.smali and volumepanel.smali is for specialy edited for XZ. It won't work in Other Phones. I don't hav time to edit that smalis for other phones.. Sorry
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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes