• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[MOD][Jan/26/2015] OnePlus One Audio Mods Collection

Which audio mod do you like the best?

  • Triple Mono

    Votes: 85 19.6%
  • True Stereo

    Votes: 287 66.3%
  • Stock

    Votes: 61 14.1%

  • Total voters
    433
Search This thread

abhi08638

Senior Member
Jul 11, 2012
2,165
4,385
What is this?
This post is a collection of all the audio related mods I have created from the OnePlus One. The mods are: Triple Mono sound, True Stereo sound, Main Microphone bypass, Speakerphone low volume fix, and Speakerphone low volume fix with True Stereo sound. If you have a request, then make it here and I try to make it if I can.

Various Mod Explanations

What is it?***True Stereo or Triple Mono***

This mod will activate you front earpiece speaker in conjunction with the rear main speaker any time Speaker mode is used for example playing music, watching movies, shows, you tube and so on, creating an almost surround sound type of effect.

True Stereo
I have enabled true stereo playback by putting the speakers on a different channel than the earpiece. This version of the mod will only be noticeable if you are listening to music that was recorded in stereo. Although I would recommend going with the Triple Mono version. This version is quieter than the Triple mono version. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH

Triple Mono
This version plays all audio through one channel. This basically means that you now have 3 mono speakers and is what I recommend since the sound comes out much louder than the Stereo version. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH

Main Mic Bypass
This version bypasses the main microphone in case it is broken. When the main mic breaks, it disables ALL audio input even though the other internal mics are fine. The only way to fix the main mic is to solder a new one on, but this mod can temporarily delay this procedure by re enabling audio input from the other internal mics.

Speakerphone low volume fix
I've seen many people have this problem. I think its due to the fact the the phone relies on the main microphone too much. What I did is instead of using the main microphone for both headset calling and speakerphone calling with the aux mic for noise cancellation, I made it so that the main mic is used for the headset only and the aux mic is used for speaker calling only. This has worked for some people but I can't guarantee it will work for you as well.

Speakerphone low volume fix With True Stereo
Same as the speakerphone mod but with true stereo mod implemented.

Camera AutoFocusFix
Fixes the camera click sound you get when recording. Included in all other files.



Prerequisites and installation instructions
  • MUST be rooted
  • go into /system/etc
  • backup your mixer_path.xml
  • Flash one of the zips below
  • reboot

This mod modifies the mixer_path.xml in the /system/etc folder. I have only tested this on CM11. ***CM12*** seems to work as well.
I don't guarantee it will work for your rom, because this is based off LiquidSmooth rom. Although the worst that'll happen is you'll lose sound. If you have a backup of your original mixer_path.xml, then just push it back to /system/etc, set permissions, and reboot. That will allow you regain your sound if it was lost. In a worst case scenario where you messed up the permissions and are in a bootloop, flash the revert to stock zip or dirty flash your rom.

Technical Info for DIY

This is what I modified to enable it only for Triple Mono audio playback.
RX1 is the headset
RX3 is the speaker

"ear" path

<path name="ear">
***Added***<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
***Added***<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="DAC1 Switch" value="1" />
</path>


custom speaker-ear path

<path name="spk-ear">
<path name="ear" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="LINEOUT1 Volume" value="13" />
<ctl name="LINEOUT3 Volume" value="13" />
</path>


output paths

<path name="handset">
***removed two lines and added to "ear" path***
<path name="ear" />
</path>

<path name="speaker">
***change path to custom***<path name="spk-ear" />
***Increase headset***<ctl name="RX1 Digital Volume" value="90" />
***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>



Customizing your sound levels
The file I attached has the speaker volume slightly reduced so it sounds more balanced overall. However, you can customize how loud or quiet you want the speaker or headset to be.
  • Open the mixer_paths.xml
  • Go to the "output paths" section
  • find the <path name="speaker"> line
    <path name="speaker">
    ***change path to custom***<path name="spk-ear" />
    ***Increase headset***<ctl name="RX1 Digital Volume" value="90" />
    ***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />
    <ctl name="RX4 Digital Volume" value="80" />
    </path>
  • To change the speaker volume
    change the value "70" to your desired value in the following line
    <ctl name="RX3 Digital Volume" value="70" />
    NOTE: The default CM11 value is 80. This value will restore it to the default loudness.
  • To change the headset volume
    change the value "90" to your desired value in the following line
    <ctl name="RX1 Digital Volume" value="90" />
    NOTE: The default CM11 value is 86. This value will restore it to the default loudness.
    WARNING: I would not recommend going over 95. The reason being that after 95, on louder volumes, the headset starts crackling.
  • save and reboot

github link
https://github.com/abhi08638/OPO-Audio-mods

Flashable Zips are below

Credits
@sshafranko
His thread:
http://forum.xda-developers.com/note-edge/development/mod-sm-915t-surround-sound-t2955648

Please do not use this in your rom without proper credits.
 

Attachments

  • OPO_Revert_To_Stock.zip
    181.3 KB · Views: 9,354
  • OPO_SpeakerPhone_Fix_V3.zip
    180.8 KB · Views: 5,417
  • OPO_SpeakerPhone_Fix_V3+Stereo.zip
    180.9 KB · Views: 9,845
  • OPO_Stereo_V3.zip
    180.9 KB · Views: 6,909
  • OPO_Triple_Mono_Balanced_V3.zip
    180.9 KB · Views: 4,355
  • OPO_Triple_Mono_High_V3.zip
    180.9 KB · Views: 4,732
  • Camera_AutoFocusClickFix_V3.zip
    180.8 KB · Views: 2,638
  • OPO_Main_Mic_Bypass_V3.zip
    180.8 KB · Views: 13,493
Last edited:

abhi08638

Senior Member
Jul 11, 2012
2,165
4,385
Please do. :) I'm all ears


It works, but I too would like to know how to increase the earpiece volume.


Under the output paths in the XML file, find this:

<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>


Modify this line
<ctl name="RX3 Digital Volume" value="70" />


To
<ctl name="RX3 Digital Volume" value="80" />

80 is the default value on our phones so i wouldn't go higher than that.

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
 

truth77

Senior Member
Feb 28, 2012
1,869
1,216
Ft Lauderdale
Under the output paths in the XML file, find this:

<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="80" />
</path>


Modify this line
<ctl name="RX3 Digital Volume" value="70" />


To
<ctl name="RX3 Digital Volume" value="80" />

80 is the default value on our phones so i wouldn't go higher than that.

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
Haha i was right lol! I figured those were the lines
 

abhi08638

Senior Member
Jul 11, 2012
2,165
4,385
Made the ear speaker loudee but my bottoms are crazy loud lol. Rx1 you say is the bottom speaker right?


Edit: sorted out, sounds good. Definitely a difference.

No rx3 is the bottom speaker

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!
 

truth77

Senior Member
Feb 28, 2012
1,869
1,216
Ft Lauderdale
Can you share your settings

Here ya go
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX3 Digital Volume" value="70" />
<ctl name="RX4 Digital Volume" value="84" />
</path>

85 & 86 crackle at top volume 84 is the max. I lowered the speakers but not worth the volume loss. Oneplus is louder than most phones anyways so 70 not bad. The mod makes it sound like the words come from the earpiece. :cool: sounds best holding the phone upright.

---------- Post added at 08:04 PM ---------- Previous post was at 08:02 PM ----------

No rx3 is the bottom speaker

sent from my amazingly awesome OnePlus One

Don't forget to hit thanks!

I meant 3 lol i said rx1 cause it was on top :silly:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 168
    What is this?
    This post is a collection of all the audio related mods I have created from the OnePlus One. The mods are: Triple Mono sound, True Stereo sound, Main Microphone bypass, Speakerphone low volume fix, and Speakerphone low volume fix with True Stereo sound. If you have a request, then make it here and I try to make it if I can.

    Various Mod Explanations

    What is it?***True Stereo or Triple Mono***

    This mod will activate you front earpiece speaker in conjunction with the rear main speaker any time Speaker mode is used for example playing music, watching movies, shows, you tube and so on, creating an almost surround sound type of effect.

    True Stereo
    I have enabled true stereo playback by putting the speakers on a different channel than the earpiece. This version of the mod will only be noticeable if you are listening to music that was recorded in stereo. Although I would recommend going with the Triple Mono version. This version is quieter than the Triple mono version. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH

    Triple Mono
    This version plays all audio through one channel. This basically means that you now have 3 mono speakers and is what I recommend since the sound comes out much louder than the Stereo version. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH

    Main Mic Bypass
    This version bypasses the main microphone in case it is broken. When the main mic breaks, it disables ALL audio input even though the other internal mics are fine. The only way to fix the main mic is to solder a new one on, but this mod can temporarily delay this procedure by re enabling audio input from the other internal mics.

    Speakerphone low volume fix
    I've seen many people have this problem. I think its due to the fact the the phone relies on the main microphone too much. What I did is instead of using the main microphone for both headset calling and speakerphone calling with the aux mic for noise cancellation, I made it so that the main mic is used for the headset only and the aux mic is used for speaker calling only. This has worked for some people but I can't guarantee it will work for you as well.

    Speakerphone low volume fix With True Stereo
    Same as the speakerphone mod but with true stereo mod implemented.

    Camera AutoFocusFix
    Fixes the camera click sound you get when recording. Included in all other files.



    Prerequisites and installation instructions
    • MUST be rooted
    • go into /system/etc
    • backup your mixer_path.xml
    • Flash one of the zips below
    • reboot

    This mod modifies the mixer_path.xml in the /system/etc folder. I have only tested this on CM11. ***CM12*** seems to work as well.
    I don't guarantee it will work for your rom, because this is based off LiquidSmooth rom. Although the worst that'll happen is you'll lose sound. If you have a backup of your original mixer_path.xml, then just push it back to /system/etc, set permissions, and reboot. That will allow you regain your sound if it was lost. In a worst case scenario where you messed up the permissions and are in a bootloop, flash the revert to stock zip or dirty flash your rom.

    Technical Info for DIY

    This is what I modified to enable it only for Triple Mono audio playback.
    RX1 is the headset
    RX3 is the speaker

    "ear" path

    <path name="ear">
    ***Added***<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
    ***Added***<ctl name="SLIM_0_RX Channels" value="One" />
    <ctl name="RX1 MIX1 INP1" value="RX1" />
    <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
    <ctl name="RX1 Digital Volume" value="90" />
    <ctl name="EAR PA Gain" value="POS_6_DB" />
    <ctl name="DAC1 Switch" value="1" />
    </path>


    custom speaker-ear path

    <path name="spk-ear">
    <path name="ear" />
    <ctl name="RX3 MIX1 INP1" value="RX1" />
    <ctl name="RDAC5 MUX" value="DEM3_INV" />
    <ctl name="COMP2 Switch" value="1" />
    <ctl name="LINEOUT1 Volume" value="13" />
    <ctl name="LINEOUT3 Volume" value="13" />
    </path>


    output paths

    <path name="handset">
    ***removed two lines and added to "ear" path***
    <path name="ear" />
    </path>

    <path name="speaker">
    ***change path to custom***<path name="spk-ear" />
    ***Increase headset***<ctl name="RX1 Digital Volume" value="90" />
    ***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />
    <ctl name="RX4 Digital Volume" value="80" />
    </path>



    Customizing your sound levels
    The file I attached has the speaker volume slightly reduced so it sounds more balanced overall. However, you can customize how loud or quiet you want the speaker or headset to be.
    • Open the mixer_paths.xml
    • Go to the "output paths" section
    • find the <path name="speaker"> line
      <path name="speaker">
      ***change path to custom***<path name="spk-ear" />
      ***Increase headset***<ctl name="RX1 Digital Volume" value="90" />
      ***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />
      <ctl name="RX4 Digital Volume" value="80" />
      </path>
    • To change the speaker volume
      change the value "70" to your desired value in the following line
      <ctl name="RX3 Digital Volume" value="70" />
      NOTE: The default CM11 value is 80. This value will restore it to the default loudness.
    • To change the headset volume
      change the value "90" to your desired value in the following line
      <ctl name="RX1 Digital Volume" value="90" />
      NOTE: The default CM11 value is 86. This value will restore it to the default loudness.
      WARNING: I would not recommend going over 95. The reason being that after 95, on louder volumes, the headset starts crackling.
    • save and reboot

    github link
    https://github.com/abhi08638/OPO-Audio-mods

    Flashable Zips are below

    Credits
    @sshafranko
    His thread:
    http://forum.xda-developers.com/note-edge/development/mod-sm-915t-surround-sound-t2955648

    Please do not use this in your rom without proper credits.
    12
    +1 :good:

    Please make a high volume version flashable for lazy people like me and you will get more downloads

    Ask and you shall receive. Will add to OP later.

    Balanced
    https://www.dropbox.com/s/9jnh5363204brrn/OPO_Stocksound_Surround_Balanced.zip?dl=0

    High
    https://www.dropbox.com/s/feg0fl2rd6temhi/OPO_Stocksound_Surround_High.zip?dl=0

    Revert mod
    https://www.dropbox.com/s/f52f4paihxdr382/OPO_Surround_ReverttoStock.zip?dl=0

    Again shutout to @sshafranko for the zip architecture

    sent from my amazingly awesome OnePlus One

    Don't forget to hit thanks!
    7
    Haha. Works great. Pretty damn impressive. Would love to kick the sound up a notch. But overall the test file is on point.





    Agree 100%!! On liquid smooth milestone

    Would you mind trying this one? Same file but with higher value for bottom speakers

    https://www.dropbox.com/s/l668rmlzlceqwr0/OPO-StereoTestV2.zip?dl=0

    sent from my amazingly awesome OnePlus One with Stereo Mod

    Don't forget to hit thanks!
    7
    Works, But much quieter than bottom speakers.

    I toned down the bottom speakers to make it sound more balanced. I can tell you how to increase it if you want.

    sent from my amazingly awesome OnePlus One

    Don't forget to hit thanks!
    7
    Sultanxda CAF-Compatible OPO_Triple_Mono_Balanced_V3

    Hey folks,

    After months of using plain vanilla CM12.1 nightlies, I recently switched to Sultanxda's CAF builds. However, the mixer_paths.xml seems to act a little differently. After a few tries, I think I've successfully implemented "OPO_Triple_Mono_Balanced_V3" settings into the mixer_paths.xml that is included in the latest Sultanxda build.

    I'm not sure what "<ctl name="SPKR Enable" value="1" />" does, but I had to add it to get it to work correctly.

    -
    Mike