[MOD][Aroma]StereoMOD™ & S-Force Z/ZR/ZL v4.0 (Update: 10/10/14)

monivan

Senior Member
Apr 3, 2010
766
536
0
Berlin
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.4, Dirty Unicorn v7.8(4.4.4), KMA AOSPA 30/07 or possibly all custom roms, u name it?
  • recovery installed
  • 4-way rotation enabled, if auto channel swapping is selected.
  • Rooted
Installation:
  1. Download the latest version of StereoMod.zip
  2. Flash it through recovery
  3. Select backup feature of the aroma, so you can always restore it back.
  4. Select your preferred channels configurations, features, volumes and install.
  5. Reboot
Manual Installation: obsolete

  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? (obsolete)
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 (obsolete)
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.


UninstallObsolete, use uninstall or restore options of the aroma instead

  1. Flash StereoMod XZ-Revert.zip and reboot

Download Link:
Beta: (obsolete)

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


If you like my works and want to support future development. Please donate to me or buy me a bear,... I meant Beer.

Bitcoin: 1Etkcm3bhpdr7htMwAzRN1CQnUodq42jLn
Changelog:
v4.0:
  • Bring Default channel back
  • Make S-Force as an option
  • Backup and Restore feature - for any rom
  • Uninstall option - mostly for stock rom
  • Added Safety measure
  • Fix small bugs from v3.0
  • Optimized snd file

v3.0:
->Skipped<-
  • Auto channel swapping based on device rotation, but it tend to swap only when the device is in portrait, or in upside down portrait.(Only for Stock 4.4.4)
  • S-Force ported from Xperia Tablet Z (Included with Auto channel swapping, Only for Stock 4.4.4)
  • xLoud as a channel swapping switch!-xLoud always enabled
  • Fixed Loudspeaker on call bug for swapped channel-Finally!
  • Stereo Ringer as an option
  • Stereo FM radio as an option
  • Top notch volumes
  • Earpiece boost
  • Optimised Headphone boost
  • Updated snd file to 4.4.4

v2.0:
  • Simplified aroma installer
  • Various volume level choices
  • Swapped channels enabled, but earpiece as a loudspeaker in call.
  • Headphone boost
  • Earpiece boost
  • Ringer boost
  • Bass boost - hopefully slightly!

v1.2:
  • extra volume boost
  • Distortion reduction
  • Swapped channels to fix loudspeaker during call

v1.1:
  • Volume Boost

v1.0:
  • initial release
Bugs:
  • let me know
  • Auto Channel swapping only swap during portrait and upside down portrait, instead of landscape!
  • won't active loudspeaker during phonecall?

Credit:
-dontbelieve - for Z1 Stereo Mod
-Metallijim - a great beta tester and for a beautiful aroma splash screen! Well done mate
-androidfreak70 - a great help
-Anyone - who made recovery and aroma possible
-Sony
 
Last edited:

cnkhanh

Senior Member
Aug 9, 2012
775
145
0
Ha Noi
looks great! I will try this as soon as I get home

But Will this Mod damage my earpiece since may be it's not designed for such loud speaker?
 

monivan

Senior Member
Apr 3, 2010
766
536
0
Berlin
looks great! I will try this as soon as I get home

But Will this Mod damage my earpiece since may be it's not designed for such loud speaker?
Well, to be honest no body knows. But Z1 with similar mod and Z have been using it for days. I can't really say abt long term effect though. I did decrease speaker vibration frequency so that ur earpiece won't break easily.

Sent from my C6903 using XDA Premium 4 mobile app
 

RaDi004

Senior Member
Aug 6, 2014
52
26
0
Mysore
Working Great.Thanks.

It does what it should be doing very good sound effect.Thanks many thanks bro.I tested it with your linked video has a difference between normal your stereo mod.Keep up the good work.
 
  • Like
Reactions: monivan

monivan

Senior Member
Apr 3, 2010
766
536
0
Berlin
It does what it should be doing very good sound effect.Thanks many thanks bro.I tested it with your linked video has a difference between normal your stereo mod.Keep up the good work.
Thanks! This kind of comment is what kept my engine running xD

Sent from my C6903 using XDA Premium 4 mobile app
 
  • Like
Reactions: cnkhanh

ATRIXXIRTA

Senior Member
Mar 17, 2012
2,435
766
0
The Shangri-La Motel
Only problem with the ZL is that the earpiece and loud speaker are both at the top of the phone. So the only way to experience the stereo effect would be to hold the phone sideways, leaving the screen outta view, lol. But it does make a front facing speaker at the very least. I'll see what it sounds like and report

Sent from my C6503 using Tapatalk
 
  • Like
Reactions: cnkhanh

monivan

Senior Member
Apr 3, 2010
766
536
0
Berlin
Only problem with the ZL is that the earpiece and loud speaker are both at the top of the phone. So the only way to experience the stereo effect would be to hold the phone sideways, leaving the screen outta view, lol. But it does make a front facing speaker at the very least. I'll see what it sounds like and report

Sent from my C6503 using Tapatalk
Yeah you're right. This mod didn't benefit much for ZL user. xD

Sent from my SGP321 using XDA Premium 4 mobile app
 
  • Like
Reactions: control freak

monivan

Senior Member
Apr 3, 2010
766
536
0
Berlin
v2 is up! Have fun exploring your favorite spot. Start from low volume to the top.
Thanks to @Metallijim for his beautiful aroma splash screen!
Changelog:
v2.0:
  • Simplified aroma installer
  • Various volume level choices
  • Swapped channels enabled, but earpiece as a loudspeaker in call.
  • Headphone boost
  • Earpiece boost
  • Ringer boost
  • Bass boost - hopefully slightly!
Sent from my C6903 using XDA Premium 4 mobile app

Sent from my C6903 using XDA Premium 4 mobile app
 
  • Like
Reactions: control freak

monivan

Senior Member
Apr 3, 2010
766
536
0
Berlin
Thread updated. V4 changelog:
v4.0:
  • Bring Default channel back
  • Make S-Force as an option
  • Backup and Restore feature - for any rom
  • Uninstall option - mostly for stock rom
  • Added Safety measure
  • Fix small bugs from v3.0
  • Optimized snd file

v3.0:
--->Skipped<---
  • Auto channel swapping based on device rotation, but it tend to swap only when the device is in portrait, or in upside down portrait.(Only for Stock 4.4.4)
  • S-Force ported from Xperia Tablet Z (Included with Auto channel swapping, Only for Stock 4.4.4)
  • xLoud as a channel swapping switch!-xLoud always enabled
  • Fixed Loudspeaker on call bug for swapped channel-Finally!
  • Stereo Ringer as an option
  • Stereo FM radio as an option
  • Top notch volumes
  • Earpiece boost
  • Optimised Headphone boost
  • Updated snd file to 4.4.4