[Sony Xperia ZR] monivan:
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:

Installation:

Manual Installation: obsolete

Unzip the package

Copy snd_soc_msm_2x_Fusion3 from the package

Replace this file in to /system/etc/snd_soc_msm folder

Set permission -rw-r--r--(644).

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

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:

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