Good morning!
First of all, I want to say sorry for my bad English. I'm from Germany. :silly:
My issue:
I bought a Sony Xperia Z2 a couple of days before. I also got a digital noise cancelling headset MDR-NC31EM for free in combination with the device. Unfortunately, the volume is way too high. I changed some values in the mixer_paths.xml. However, I didn't find the right entries to change the volume while noise cancelling is enabled. I even got some boot loops. It seems to me that the entry "<path name="anc-nce-headphone ..." is for enabled noise cancelling and the entry "<path name="anc-nce-off-headphone ..." is for disabled noise cancelling, but I don't know what to do now.
I'm not a developer but maybe I'm right with my deliberations:
Code:
<path name="anc-nce-off-headphone">
<path name="anc-off-headphone" /> <-- this is a reference to the "anc-off-headphone"-entry(?)
</path>
and in the "<path name="anc-off-headphone" ..."-entry there is an opportunity to change the volume for the headphone with disabled noise cancelling.
Code:
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
When I modify this values, the volume changes after reboot. The entry "<path name="anc-nce-headphone ..." is empty. What do I need to do in order to also change the value while noise cancelling?
Can some great developer help me with this issue? Many thanks in advance!
Best regards,
Mark_14
I'm not exactly sure what happens for you if you modify those values.
I've been looking around for a guide related to loweri g the volume levels of my headphones.
It looks like on CM based ROMs the best way to do this is to lower the volumes in mixer_he.XML,but when I attempt this I do not get any sound until I restore the file.
Has anyone successfully done this on an LG G3?
Thanks.
chris062689 said:
I've been looking around for a guide related to loweri g the volume levels of my headphones.
It looks like on CM based ROMs the best way to do this is to lower the volumes in mixer_he.XML,but when I attempt this I do not get any sound until I restore the file.
Has anyone successfully done this on an LG G3?
Thanks.
Click to expand...
Click to collapse
Someone posted a mixer file recently in one of the ROM threads (sorry I can't be more specific) to increase the volumes. Maybe you can look for that, and see what they increased, so you will have an idea what to reduce and how much.
Sent from my G3 Rockin Cyanogen
Volume button on the back of the phone -.-
Sent from my LG-VS985 using XDA Premium 4 mobile app
My headphones are much too loud even at the lowest volume setting. And yes, I have used the volume buttons
<ctl name="RX1 Digital Volume" value="30" />
<ctl name="RX2 Digital Volume" value="30" />
Have to change these two above values in /etc/mixer_paths.xml
For the path of headphones and headphones digital.
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.
Click to expand...
Click to collapse
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.
Sweet
Downloading now. I will test it when i have time and i will report back.
Sent from my A0001 using XDA Free mobile app
Hope it works on CM11S + Ak kernel
Awesome job...wait till everyone hears their phone after doing this. LOL Thanks for all your help abhi
Works, But much quieter than bottom speakers.
truth77 said:
Works, But much quieter than bottom speakers.
Click to expand...
Click to collapse
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!
abhi08638 said:
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!
Click to expand...
Click to collapse
Please do. I'm all ears
It works, but I too would like to know how to increase the earpiece volume.
Is it spkr-ear path value 70 & 80? Lol couldnt help myself fromm looking hehe
truth77 said:
Please do. I'm all ears
Click to expand...
Click to collapse
NikoZBK said:
It works, but I too would like to know how to increase the earpiece volume.
Click to expand...
Click to collapse
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 said:
Is it spkr-ear path value 70 & 80? Lol couldnt help myself fromm looking hehe
Click to expand...
Click to collapse
Lol sort of.
RX1 = 90 is the headset
RX3 = 70 is the speakers
The defaults are RX1 = 86 and RX3 = 80
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
abhi08638 said:
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!
Click to expand...
Click to collapse
Haha i was right lol! I figured those were the lines
truth77 said:
Haha i was right lol! I figured those were the lines
Click to expand...
Click to collapse
Let us know how it goes
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
abhi08638 said:
Let us know how it goes
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
Click to expand...
Click to collapse
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.
truth77 said:
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.
Click to expand...
Click to collapse
No rx3 is the bottom speaker
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
OP Updated with instructions to set custom values for headset and speakers
truth77 said:
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.
Click to expand...
Click to collapse
Can you share your settings
Cool, trying it our with viper.
maxver0 said:
Can you share your settings
Click to expand...
Click to collapse
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. sounds best holding the phone upright.
---------- Post added at 08:04 PM ---------- Previous post was at 08:02 PM ----------
abhi08638 said:
No rx3 is the bottom speaker
sent from my amazingly awesome OnePlus One
Don't forget to hit thanks!
Click to expand...
Click to collapse
I meant 3 lol i said rx1 cause it was on top :silly:
I upgraded to Nougat flashing the ROM by runningnak3d.
Everything else seems to be OK; but my speaker volume seems to be too low - Media (Youtube, Music etc.), Speakerphone. Lower than how it was it was with MM.
I tried editing mixer_path as some were discussing in these forums. But didn't help with that. Maybe I am doing it wrong. Attaching my mixer_paths file. Any help?
Hello:
The specific valours is in the next line of
;stereo from slimbus 2 channels
<path name="speaker">
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84"
or
<ctl name="LINEOUT1 Volume" value="60" />
<ctl name="LINEOUT3 Volume" value="60" />
If you root, change only this valours in PC (beause in mobile is not editable) and "mount" the file after.
Hi,
I'm trying to figure out how to edit mixer_path.xml in order to lower headset microphone volume for VOIP calls or to adjust its sensitivity (for calls by apps such as Messenger, WhatsApp or Skype) on MIUI 10, Xiaomi Redmi Note 4x. Also, I would like to change the default headset volume setting for VOIP calls, so that the lowest level would mean no sound at all, and the last but not least would become way lower. The headset volume part, the only headset volume setting, specified for microphone setting, looks like this:
Code:
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
adc2 setting looks like this:
Code:
<ctl name="ADC2 Volume" value="4" />
I don't know what is specified by the value "4".
If I understand it correctly, IIR1 INP1 MUX volume is defined by value of DEC1.. ¨
Code:
<ctl name="DEC1 Volume" value="84" />
DEC1, nevertheless, changes volume of many other things besides the headset mic volume. On the top of it, there's not any other kind of definition for headset mic VOIP calls.
I add here the full file mixer_path.xml, for Xiamoi Redmi Note 4x. If you have any idea what else is possible to edit/change to achieve the desired changes, let me know please. I went through many forums to gain the information, but this file looks way different than for e.g. Samsung's phones. So the change must be unique.
Thanks a lot.