Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,453 Members 41,871 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]StereoMOD XZ/XZR/XZL V1.2 (Update 02/08/14)

Tip us?
 
monivan
Old
(Last edited by monivan; 8th August 2014 at 06:44 AM.)
#1  
monivan's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 551
Join Date: Apr 2010
Location: Berlin

 
DONATE TO ME
Default [MOD]StereoMOD XZ/XZR/XZL V1.2 (Update 02/08/14)

I am happy to present my StereoMod based on dontbelieve mod from Z1.I did modify XZ snd_soc_msm files so that they will output Speaker and Earpiece at the same time like in Z1 mod.

What will this do?
Achieve real Stereo and surround sound effect from both left and right channels by using earpiece as additional speaker.
To test out rotate the device to landscape and try some stereo video or music.
Try this:
-Left/Right Stereo Audio/Visual Test.: http://youtu.be/dvqbq_0jZ_U
-Dolby Digital - HD Surround Sound Test: http://youtu.be/PvnlpPWAcZc

Disclaimer
I am not responsible for any damage caused by this mod. Eg, your phone is broken, you miss any important call, alarm didn't go off and you were late for work, or your earpiece is busted. It's your own risk. Proceed with Caution, you have been warn.


Requirement:
  • Xperia Z, Xperia ZR or Xperia ZL
  • Stock, or Stock Base 4.3-4.4.2, Dirty Unicorn v7.8(4.4.4), KMA AOSPA 30/07 or possibly all custom roms, u name it?
  • Rooted

Installation:
  1. Backup original file in case you wanna revert back
  2. Download the file StereoMod XZ.zip
  3. Flash through recovery and reboot

Manual Installation:
  1. Unzip the package
  2. Copy snd_soc_msm_2x_Fusion3 from the package
  3. Replace this file in to /system/etc/snd_soc_msm folder
  4. Set permission -rw-r--r--(644).
  5. And Reboot!

Not satisfied just yet?
How about having full control over the volume for both speaker and earpiece?
 
Open the snd_soc_msm_2x_Fusion3 file that you just replaced and edit with editor. I recommended using 920 Text Editor or DroidEdit on mobile which could run such a big code.
Go to line #2966, you will see that the following code is related to speaker. Scroll down to line #2985 and #2986, you will see these code:
'RX1 Digital Volume':1:73
'RX3 Digital Volume':1:71
RX1 is Earpiece and RX3 is Loudspeaker. Change these blue values will effect the volumes for xLoud off.
If you scroll down alittle bit to line #3010, you'll noticed instantly that it is related to xLoud on. Do the same to Line #3029 and #3030.
'RX1 Digital Volume':1:74
'RX3 Digital Volume':1:72
Change these values will effect volumes for xLoud on. Becareful not to raise RX1 volume too high, it might fry your earpiece. Both of their stock default value is 68. You take full responsible for your own tweak.

How about swapping left and right channels? with the cost of broken Loudspeaker during call
 
As now you are familiar with the code. I'll go short this time.
Modify these Lines between line #2972 and line #2975.
'RX3 MIX1 INP1':0:RX1
'RX3 MIX1 INP2':0:RX6
'RX1 MIX1 INP1':0:RX2
'RX1 MIX1 INP2':0:RX7
And these Lines between line #3016 and line #3019
'RX3 MIX1 INP1':0:RX1
'RX3 MIX1 INP2':0:RX6
'RX1 MIX1 INP1':0:RX2
'RX1 MIX1 INP2':0:RX7
All you have to do is to replace all RX3 with RX1 and all RX1 with RX3 in the BLUE values. And you're done.


Uninstall
  1. Flash StereoMod XZ-Revert.zip and reboot

Download Link:
- StereoMod XZ v1.2.zip - http://www.mediafire.com/download/or...od_XZ_v1.2.zip
- StereoMod XZ v1.1.zip - http://www.mediafire.com/download/72...od_XZ_v1.1.zip
- StereoMod XZ-Revert.zip - http://www.mediafire.com/?6y6pdfye4ro2yyy

Beta:
-StereoMod v1.2 tweak by Metallijim - http://www.mediafire.com/view/55m2wc...Metallijim_mod
This tweak will REDUCE speaker volume which will possibly BALANCE OUT the differences between speaker and earpiece volume.


Changelog:
v1:
  • initial release
v1.1:
  • Volume Boost
v1.2:
  • extra volume boost
  • Distortion reduction
  • Swapped channels to fix loudspeaker during call

Bugs:
  • let me know
  • won't active loudspeaker during phonecall?

Credit:
-dontbelieve - for Z1 Stereo Mod
-Metallijim - a great beta tester
-androidfreak70 - a great help
-Sony
The Following 28 Users Say Thank You to monivan For This Useful Post: [ Click to Expand ]
 
jimRnor
Old
(Last edited by jimRnor; 2nd August 2014 at 05:14 PM.)
#2  
jimRnor's Avatar
Senior Member
Thanks Meter 1196
Posts: 887
Join Date: Jun 2012
Location: Sarawak

 
DONATE TO ME
Nice one man,posts faster then me XP
But I got the sound not balance problem, have you fix it?

Sent from my C6903 using Tapatalk
Device: SONY Xperia Z1 (SO-01F) rooted n unlocked bootloader
TEAM YKG


If you appreciated my works you can buy me a coke or a coffee to let me continue my works
 
monivan
Old
#3  
monivan's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 551
Join Date: Apr 2010
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by jimRnor View Post
Nice one man,posts faster then me XP
But I got the sound not balance problem, have you fix it?

Sent from my C6903 using Tapatalk
I finish it will upload it in any minute
The Following User Says Thank You to monivan For This Useful Post: [ Click to Expand ]
 
jimRnor
Old
(Last edited by jimRnor; 2nd August 2014 at 05:27 PM.)
#4  
jimRnor's Avatar
Senior Member
Thanks Meter 1196
Posts: 887
Join Date: Jun 2012
Location: Sarawak

 
DONATE TO ME
Quote:
Originally Posted by monivan View Post
I finish it will upload it in any minute
Lol, I just done the develop yesterday and I am still in testing now /W\
Edit:the zip got status 6 error have a fix on it thx~


Sent from my C6903 using Tapatalk
Device: SONY Xperia Z1 (SO-01F) rooted n unlocked bootloader
TEAM YKG


If you appreciated my works you can buy me a coke or a coffee to let me continue my works
 
monivan
Old
#5  
monivan's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 551
Join Date: Apr 2010
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by jimRnor View Post
Lol, I just done the develop yesterday and I am still in testing now /W\
Edit:the zip got status 6 error have a fix on it thx~


Sent from my C6903 using Tapatalk
I finished it yesterday but in was in General section as WIP but now just migrated to THEME and APP section xD
 
jimRnor
Old
#6  
jimRnor's Avatar
Senior Member
Thanks Meter 1196
Posts: 887
Join Date: Jun 2012
Location: Sarawak

 
DONATE TO ME
Quote:
Originally Posted by monivan View Post
I finished it yesterday but in was in General section as WIP but now just migrated to THEME and APP section xD
How a lol mate XD
BTW your flash zip got the status 6 error

Sent from my C6903 using Tapatalk
Device: SONY Xperia Z1 (SO-01F) rooted n unlocked bootloader
TEAM YKG


If you appreciated my works you can buy me a coke or a coffee to let me continue my works
The Following User Says Thank You to jimRnor For This Useful Post: [ Click to Expand ]
 
monivan
Old
(Last edited by monivan; 2nd August 2014 at 05:41 PM.)
#7  
monivan's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 551
Join Date: Apr 2010
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by jimRnor View Post
How a lol mate XD
BTW your flash zip got the status 6 error

Sent from my C6903 using Tapatalk
lol thanks let me upload it again!

Edit: OP is updated!
 
monivan
Old
#8  
monivan's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 551
Join Date: Apr 2010
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by jimRnor View Post
How a lol mate XD
BTW your flash zip got the status 6 error

Sent from my C6903 using Tapatalk
Btw how is it? The volumes between each speaker is balanced yet?

Sent from my C6903 using XDA Premium 4 mobile app
 
androidfreak70
Old
#9  
androidfreak70's Avatar
Senior Member
Thanks Meter 312
Posts: 1,835
Join Date: Feb 2014
Location: here!

 
DONATE TO ME
Great work again buddy keep up good work

Xperia™ Z (C6602) with Tapatalk
THATS FROM MY XPERIA™ Z
Running ROOTED and DEODEXED with DUAL RECOVERY stock 4.4.2 KitKat
---------------------------------------------------
don't forget hit thanks if helped
-----------------------------------------------------
and ALWAYS QUOTE my posts if you replying to my post!
The Following User Says Thank You to androidfreak70 For This Useful Post: [ Click to Expand ]
 
monivan
Old
#10  
monivan's Avatar
Senior Member - OP
Thanks Meter 224
Posts: 551
Join Date: Apr 2010
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by androidfreak70 View Post
Great work again buddy keep up good work

Xperia™ Z (C6602) with Tapatalk
Lol thanks! Well, u did speed up my works. And u're in credit xD

Sent from my C6903 using XDA Premium 4 mobile app

The Following User Says Thank You to monivan For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes