I have the volume settings maxed out.
Audio while video plays seems acceptable though.
I think I found my own answer. Edit /system/etc/mixer_paths.xml values with root.
neilownz said:
I have the volume settings maxed out.
Audio while video plays seems acceptable though.
I think I found my own answer. Edit /system/etc/mixer_paths.xml values with root.
Click to expand...
Click to collapse
But which lines are you editing? I'd like to know this as well.
MrKhozam said:
But which lines are you editing? I'd like to know this as well.
Click to expand...
Click to collapse
I changed a couple from 81-84 to 90 I think under the speaker parts.
Volume on calls is kind of low too. Maybe I'm just getting old ha.
neilownz said:
I changed a couple from 81-84 to 90 I think under the speaker parts.
Volume on calls is kind of low too. Maybe I'm just getting old ha.
Click to expand...
Click to collapse
No, I agree with you that the call volume is low for the most part. But which values did you change and under which categories? I know you should change "RX1 Digital Volume" for some (or is it RX2?). No idea, that's why I'm curious what you did.
It's close to the bottom of the file. There was a section with speaker in quotes. I was surprised that at the top it said some rx defaults were 84 and they were set to 81.
I'm trying 90 and I changed my notification sounds.
Kind of followed this
http://forum.xda-developers.com/oneplus-one/themes-apps/mod-volume-increase-mod-oneplus-one-t2835010
neilownz said:
It's close to the bottom of the file. There was a section with speaker in quotes. I was surprised that at the top it said some rx defaults were 84 and they were set to 81.
I'm trying 90 and I changed my notification sounds.
Kind of followed this
http://forum.xda-developers.com/oneplus-one/themes-apps/mod-volume-increase-mod-oneplus-one-t2835010
Click to expand...
Click to collapse
That's helpful, thanks!
which values would you change to raise headphone volume?
joho5 said:
which values would you change to raise headphone volume?
Click to expand...
Click to collapse
I'm not even sure if what I did did anything. Just save a copy of those two mixer XML files first.
neilownz said:
I'm not even sure if what I did did anything. Just save a copy of those two mixer XML files first.
Click to expand...
Click to collapse
Is the xml you attached a modified one?
---------- Post added at 08:46 AM ---------- Previous post was at 08:46 AM ----------
joho5 said:
Is the xml you attached a modified one?
Click to expand...
Click to collapse
Neverending... You didn't attach.
joho5 said:
Is the xml you attached a modified one?
---------- Post added at 08:46 AM ---------- Previous post was at 08:46 AM ----------
Neverending... You didn't attach.
Click to expand...
Click to collapse
I didn't attach anything. There are some 81, 84 I switched to 90 and a 89 to 93.
I only care about the speakers for now. Updated to 2.1.3 to see if that helps also.
I tried to edit mixer_paths.xml but I really don't know where to modify. In the Oneplus One guide is easy to modify. On our phone is more complicated. I want to modify only In-Call volume.
Below are all the options that are related to the volume. I think that the In-Call volume is on "handset" and "voip-handset" and "anc-handset".
Code:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<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" />
<ctl name="RX3 Digital Volume" value="80" />
<ctl name="RX4 Digital Volume" value="80" />
<ctl name="SPKR Enable" value="1" />
</path>
Code:
<path name="handset">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<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="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
Code:
<path name="voip-handset">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<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="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="78" />
</path>
Code:
<path name="anc-handset">
<ctl name="ANC Function" value="ON" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<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="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="ANC Slot" value="6" />
<ctl name="ANC1 MUX" value="DMIC4" />
<ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
</path>
Code:
<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="RX2 Digital Volume" value="81" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
</path>
Code:
<path name="speaker-and-headphones">
<path name="headphones" />
<ctl name="RX1 Digital Volume" value="76" />
<ctl name="RX2 Digital Volume" value="76" />
<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" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="SPKR Enable" value="1" />
</path>
Code:
<path name="anc-headphones">
<ctl name="ANC Function" value="ON" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="14" />
<ctl name="HPHR Volume" value="14" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="RX2 Digital Volume" value="81" />
<ctl name="ANC Slot" value="0" />
<ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
<ctl name="ANC1 MUX" value="ADC3" />
<ctl name="ANC2 MUX" value="ADC4" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
Code:
<path name="speaker-and-anc-headphones">
<ctl name="ANC Function" value="ON" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX5 MIX1 INP1" value="RX2" />
<ctl name="RX4 DSM MUX" value="DSM_INV" />
<ctl name="RX6 DSM MUX" value="DSM_INV" />
<ctl name="LINEOUT1 Volume" value="13" />
<ctl name="LINEOUT2 Volume" value="13" />
<ctl name="LINEOUT3 Volume" value="13" />
<ctl name="LINEOUT4 Volume" value="13" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="14" />
<ctl name="HPHR Volume" value="14" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="RX2 Digital Volume" value="81" />
<ctl name="ANC Slot" value="0" />
<ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
<ctl name="ANC1 MUX" value="ADC3" />
<ctl name="ANC2 MUX" value="ADC4" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
</path>
Code:
<path name="voice-anc-headphones">
<ctl name="ANC Function" value="ON" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="IIR1 Enable Band1" value="1" />
<ctl name="IIR1 Enable Band2" value="1" />
<ctl name="IIR1 Enable Band3" value="1" />
<ctl name="IIR1 Enable Band4" value="1" />
<ctl name="IIR1 Enable Band5" value="1" />
<ctl name="IIR1 INP1 Volume" value="62" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
<ctl name="RX2 MIX2 INP1" value="IIR1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="14" />
<ctl name="HPHR Volume" value="14" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="RX2 Digital Volume" value="81" />
<ctl name="ANC Slot" value="0" />
<ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
<ctl name="ANC1 MUX" value="ADC3" />
<ctl name="ANC2 MUX" value="ADC4" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
</path>
Related
Credit for this goes to @langeveld024, in this thread: http://forum.xda-developers.com/lg-g3/themes-apps/g3-t2936465
I've only modified and tested it for the Sprint LS990 version.
You need to be rooted, and use a root editor to modify the mixer_paths.xml file.
1. Make a backup of your existing file. You might want to make a nandroid backup so if something goes badly wrong you can recover easily.
2. In your root editor, search for the text string "speaker" (with the quote marks). You should find this path:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX3 Digital Volume" value="60" />
<ctl name="RX4 Digital Volume" value="60" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="SPK Amp Volume" value="3" />
</path>
ABOVE the row <ctl name="RX3 Digital Volume" value="60" />
insert this line. I copied the existing RX3 Digital Volume row, pasted it, and changed RX3 to RX1.
<ctl name="RX1 Digital Volume" value="60" />
When complete, it should look like this:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX3 Digital Volume" value="75" />
<ctl name="RX4 Digital Volume" value="60" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="SPK Amp Volume" value="3" />
</path>
A couple of notes:
(1) Your values may be different than 60. I've edited my mixer_paths multiple times, and no longer remember what the original values are. If yours are different, you can leave them at your current settings.
(2) RX1 = the earpiece, RX3 = the rear speaker. I set the rear speaker louder to get better balance between the two when the phone is face up.
(3) The sound seems to still be mono, not stereo, but there's a noticeable improvement in the sound quality when viewing videos.
Finally, save the file. Make sure permissions are 0644 (rw-,r--,r--). And reboot.
@meyerweb
The top lines should be like this:
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP1" value="RX2" />
Then it will be stereo
---------- Post added at 09:44 AM ---------- Previous post was at 09:40 AM ----------
Oh and u might want to add some of these, IF present in headphone path:
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="30" />
<ctl name="HPHR Volume" value="30" /
Great find.
langeveld024 said:
@meyerweb
[/COLOR]Oh and u might want to add some of these, IF present in headphone path:
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="30" />
<ctl name="HPHR Volume" value="30" /
Click to expand...
Click to collapse
Can you explain what these do? Thanks!
meyerweb said:
Can you explain what these do? Thanks!
Click to expand...
Click to collapse
These will complete a proper configuration, but only if these line's are also found in the headphones path.
Cuz I pasted it from a note 4 path xD
I've made several surround sound mods for several device's (S5, xperia SP, LG G3, and put some time in others who wanna make it for LG G2 and note 4) and in almost every case some of these line's and maybe others may be needed for proper surround sound.
But it is very important to not copy my work by using line's found in some of my mods.
Every mod is device specific and therefore in every device may be other lines be used.
The base principal is the same for any device but it is very important to look in the headphones path and speaker-ear path. Use only those lines.
The lines I posted above are (as I said earlier this post) lines from a note 4, but may appear in ur stock headphones section or so.
The note 4 lines I posted as example will tell the earpiece to play better and louder and will help you to create real stereo effect. (At least, that's what I found out by trial and error)
If u want me to make an test version, send me the file and I'll look into it :thumbup:
Thanks. Attached my mixer_paths file. I haven't had time today to look into it and see if I have those lines or not.
langeveld024 said:
These will complete a proper configuration, but only if these line's are also found in the headphones path.
Cuz I pasted it from a note 4 path xD
I've made several surround sound mods for several device's (S5, xperia SP, LG G3, and put some time in others who wanna make it for LG G2 and note 4) and in almost every case some of these line's and maybe others may be needed for proper surround sound.
But it is very important to not copy my work by using line's found in some of my mods.
Every mod is device specific and therefore in every device may be other lines be used.
The base principal is the same for any device but it is very important to look in the headphones path and speaker-ear path. Use only those lines.
The lines I posted above are (as I said earlier this post) lines from a note 4, but may appear in ur stock headphones section or so.
The note 4 lines I posted as example will tell the earpiece to play better and louder and will help you to create real stereo effect. (At least, that's what I found out by trial and error)
If u want me to make an test version, send me the file and I'll look into it :thumbup:
Click to expand...
Click to collapse
Anyone have tihs working on ZV6? I am running stock ZV6 and cannot get this working. Tried editing myself and tried downloading one in post. It doesn't play anything out the front speaker.
You're on a rooted ZV6?
I'm using it on BarRin, which is a slimmed down ZV6, and it's working fine. Did you make sure permissions were set correctly after modding the file?
One more thought: Did you make only the changes in post #1, or did you also make the changes in post #2? I could never get those to work correctly.
Has anyone tested this on CM12?
Yes sorry assumed that I was rooted is implied to be even attempting this. I have only done post 1 mods, not trying to get stereo going. Permissions are correct, etc. It's not a big deal the increased sound level worked so that speaker by itself is much louder now anyway.
How to change the first microphone to second microhpone in "mixer_patchs.xml" ?
Hi Friends
I have damaged the front microphone to talk but the second microphone is working.
I would like to change to make the system does not use a microphone first during a telephone conversation
I would like the system to use another microphone during talks.
I think that the microphone config should be placed in the file mixer_patchs.xml
The problem is that I cantdistinguish which microphone is named.
Please Help.
Phone Xperia SP but I think that this file is for all android device.
mixer_patchs.xml
<mixer>
<!-- These are the initial mixer settings -->
<!--
NOTE: For all the mixer controls added under usecases or sound devices
-->
<!--
we should have an initial mixer setting (default value)
-->
<ctl name="Voice Rx Device Mute" value="0"/>
<ctl name="Voice Tx Mute" value="0"/>
<ctl name="Voice Rx Volume" value="0"/>
<ctl name="TTY Mode" value="Off"/>
<ctl name="LINEOUT1 Volume" value="12"/>
<ctl name="LINEOUT2 Volume" value="12"/>
<ctl name="LINEOUT3 Volume" value="12"/>
<ctl name="LINEOUT4 Volume" value="12"/>
<ctl name="LINEOUT5 Volume" value="12"/>
<ctl name="HPHL Volume" value="6"/>
<ctl name="HPHR Volume" value="6"/>
<ctl name="RX1 Digital Volume" value="84"/>
<ctl name="RX2 Digital Volume" value="84"/>
<ctl name="RX3 Digital Volume" value="84"/>
<ctl name="RX4 Digital Volume" value="84"/>
<ctl name="RX5 Digital Volume" value="84"/>
<ctl name="RX6 Digital Volume" value="84"/>
<ctl name="RX7 Digital Volume" value="84"/>
<ctl name="ADC1 Volume" value="3"/>
<ctl name="ADC2 Volume" value="3"/>
<ctl name="ADC3 Volume" value="3"/>
<ctl name="ADC4 Volume" value="3"/>
<ctl name="ADC5 Volume" value="3"/>
<ctl name="ADC6 Volume" value="3"/>
<ctl name="DEC1 Volume" value="84"/>
<ctl name="DEC2 Volume" value="84"/>
<ctl name="DEC3 Volume" value="84"/>
<ctl name="DEC4 Volume" value="84"/>
<ctl name="DEC5 Volume" value="84"/>
<ctl name="DEC6 Volume" value="84"/>
<ctl name="DEC7 Volume" value="84"/>
<ctl name="DEC8 Volume" value="84"/>
<ctl name="DEC9 Volume" value="84"/>
<ctl name="DEC10 Volume" value="84"/>
<ctl name="MICBIAS1 CAPLESS Switch" value="1"/>
<ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="0"/>
<ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="0"/>
<ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="0"/>
<ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="0"/>
<ctl name="SLIMBUS_0_RX Port Mixer SLIM_0_TX" value="0"/>
<ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="0"/>
<ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="0"/>
<ctl name="STUB_RX Mixer Voice Stub" value="0"/>
<ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="0"/>
<ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="0"/>
<ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="0"/>
<ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="0"/>
<ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="0"/>
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0"/>
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia2" value="0"/>
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0"/>
<ctl name="HDMI_RX_Voice Mixer Voice Stub" value="0"/>
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="0"/>
<ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0"/>
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0"/>
<ctl name="HDMI Mixer MultiMedia1" value="0"/>
<ctl name="HDMI Mixer MultiMedia2" value="0"/>
<ctl name="HDMI Mixer MultiMedia5" value="0"/>
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="0"/>
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia2" value="0"/>
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="0"/>
<ctl name="IIR1 INP1 MUX" value="ZERO"/>
<ctl name="SLIM TX10 MUX" value="ZERO"/>
<ctl name="SLIM TX9 MUX" value="ZERO"/>
<ctl name="SLIM TX8 MUX" value="ZERO"/>
<ctl name="SLIM TX7 MUX" value="ZERO"/>
<ctl name="SLIM TX6 MUX" value="ZERO"/>
<ctl name="SLIM TX5 MUX" value="ZERO"/>
<ctl name="SLIM TX4 MUX" value="ZERO"/>
<ctl name="SLIM TX3 MUX" value="ZERO"/>
<ctl name="SLIM TX2 MUX" value="ZERO"/>
<ctl name="SLIM TX1 MUX" value="ZERO"/>
<ctl name="DEC10 MUX" value="ZERO"/>
<ctl name="DEC9 MUX" value="ZERO"/>
<ctl name="DEC8 MUX" value="ZERO"/>
<ctl name="DEC7 MUX" value="ZERO"/>
<ctl name="DEC6 MUX" value="ZERO"/>
<ctl name="DEC5 MUX" value="ZERO"/>
<ctl name="DEC4 MUX" value="ZERO"/>
<ctl name="DEC3 MUX" value="ZERO"/>
<ctl name="DEC2 MUX" value="ZERO"/>
<ctl name="DEC1 MUX" value="ZERO"/>
<ctl name="RX3 MIX2 INP2" value="ZERO"/>
<ctl name="RX3 MIX2 INP1" value="ZERO"/>
<ctl name="RX2 MIX2 INP2" value="ZERO"/>
<ctl name="RX2 MIX2 INP1" value="ZERO"/>
<ctl name="RX1 MIX2 INP2" value="ZERO"/>
<ctl name="RX1 MIX2 INP1" value="ZERO"/>
<ctl name="RX7 MIX1 INP2" value="ZERO"/>
<ctl name="RX7 MIX1 INP1" value="ZERO"/>
<ctl name="RX6 MIX1 INP2" value="ZERO"/>
<ctl name="RX6 MIX1 INP1" value="ZERO"/>
<ctl name="RX5 MIX1 INP2" value="ZERO"/>
<ctl name="RX5 MIX1 INP1" value="ZERO"/>
<ctl name="RX4 MIX1 INP2" value="ZERO"/>
<ctl name="RX4 MIX1 INP1" value="ZERO"/>
<ctl name="RX3 MIX1 INP2" value="ZERO"/>
<ctl name="RX3 MIX1 INP1" value="ZERO"/>
<ctl name="RX2 MIX1 INP2" value="ZERO"/>
<ctl name="RX2 MIX1 INP1" value="ZERO"/>
<ctl name="RX1 MIX1 INP3" value="ZERO"/>
<ctl name="RX1 MIX1 INP2" value="ZERO"/>
<ctl name="RX1 MIX1 INP1" value="ZERO"/>
<ctl name="RX6 DSM MUX" value="CIC_OUT"/>
<ctl name="RX4 DSM MUX" value="CIC_OUT"/>
<ctl name="HPHL DAC Switch" value="0"/>
<ctl name="DAC1 Switch" value="0"/>
<ctl name="SLIM_0_RX Channels" value="One"/>
<ctl name="SLIM_0_TX Channels" value="One"/>
<ctl name="SLIM_3_RX Channels" value="One"/>
<ctl name="HDMI_RX Channels" value="Two"/>
<!--
These are audio route (FE to BE) specific mixer settings
-->
<path name="deep-buffer-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1"/>
</path>
<path name="deep-buffer-playback hdmi">
<ctl name="HDMI Mixer MultiMedia1" value="1"/>
</path>
<path name="deep-buffer-playback speaker-and-hdmi">
<path name="deep-buffer-playback hdmi"/>
<path name="deep-buffer-playback"/>
</path>
<path name="deep-buffer-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1"/>
</path>
<path name="low-latency-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1"/>
</path>
<path name="low-latency-playback hdmi">
<ctl name="HDMI Mixer MultiMedia5" value="1"/>
</path>
<path name="low-latency-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1"/>
</path>
<path name="low-latency-playback speaker-and-hdmi">
<ctl name="HDMI Mixer MultiMedia5" value="1"/>
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1"/>
</path>
<path name="multi-channel-playback hdmi">
<ctl name="HDMI Mixer MultiMedia2" value="1"/>
</path>
<path name="audio-record">
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1"/>
</path>
<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1"/>
</path>
<path name="low-latency-record">
<ctl name="MultiMedia5 Mixer SLIM_0_TX" value="1"/>
</path>
<path name="low-latency-record bt-sco">
<ctl name="MultiMedia5 Mixer INTERNAL_BT_SCO_TX" value="1"/>
</path>
<path name="voice-call">
<ctl name="STUB_RX Mixer Voice Stub" value="1"/>
<ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1"/>
<ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="1"/>
</path>
<path name="voice-call hdmi">
<ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="1"/>
<ctl name="HDMI_RX_Voice Mixer Voice Stub" value="1"/>
<ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="1"/>
<ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1"/>
</path>
<path name="voice-call bt-sco">
<ctl name="Internal BTSCO SampleRate" value="8000"/>
<ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="1"/>
<ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="1"/>
<ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="1"/>
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="1"/>
<ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="1"/>
<ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="1"/>
<ctl name="SLIM_3_RX Channels" value="One"/>
<ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="1"/>
<ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="1"/>
</path>
<!--
These are actual sound device specific mixer settings
-->
<path name="dmic1">
<ctl name="SLIM_0_TX Channels" value="One"/>
<ctl name="SLIM TX7 MUX" value="DEC7"/>
<ctl name="DEC7 MUX" value="DMIC1"/>
</path>
<path name="adc1">
<ctl name="SLIM_0_TX Channels" value="One"/>
<ctl name="SLIM TX7 MUX" value="DEC6"/>
<ctl name="DEC6 MUX" value="ADC1"/>
</path>
<path name="adc2">
<ctl name="SLIM_0_TX Channels" value="One"/>
<ctl name="SLIM TX7 MUX" value="DEC8"/>
<ctl name="DEC8 MUX" value="ADC2"/>
</path>
<path name="adc3">
<ctl name="SLIM_0_TX Channels" value="One"/>
<ctl name="SLIM TX7 MUX" value="DEC4"/>
<ctl name="DEC4 MUX" value="ADC3"/>
</path>
<path name="speaker">
<ctl name="SLIM_0_RX Channels" value="One"/>
<ctl name="RX3 MIX1 INP1" value="RX1"/>
<ctl name="RX3 MIX1 INP2" value="RX6"/>
<ctl name="RX4 DSM MUX" value="DSM_INV"/>
<ctl name="SLIM TX3 MUX" value="RMIX3"/>
</path>
<path name="speaker-reverse">
<!-- mono speaker, no channel swap here -->
<path name="speaker"/>
</path>
<path name="speaker-mic">
<path name="adc3"/>
<ctl name="DEC4 Volume" value="99"/>
</path>
<path name="handset">
<ctl name="SLIM_0_RX Channels" value="One"/>
<ctl name="RX1 MIX1 INP1" value="RX1"/>
<ctl name="RX1 MIX1 INP2" value="RX6"/>
<ctl name="EAR PA Gain" value="POS_6_DB"/>
<ctl name="DAC1 Switch" value="1"/>
<ctl name="SLIM TX3 MUX" value="RMIX1"/>
</path>
<path name="handset-mic">
<path name="adc1"/>
<ctl name="DEC6 Volume" value="99"/>
</path>
<path name="headphones">
<ctl name="SLIM_0_RX Channels" value="Two"/>
<ctl name="RX1 MIX1 INP1" value="RX1"/>
<ctl name="RX1 MIX1 INP2" value="RX6"/>
<ctl name="RX2 MIX1 INP1" value="RX2"/>
<ctl name="RX2 MIX1 INP2" value="RX7"/>
<ctl name="HPHL DAC Switch" value="1"/>
<ctl name="SLIM TX3 MUX" value="RMIX1"/>
<ctl name="SLIM TX5 MUX" value="RMIX2"/>
</path>
<path name="headset-mic">
<path name="adc2"/>
<ctl name="ADC2 Volume" value="2"/>
</path>
<path name="voice-handset-tmus">
<path name="handset"/>
</path>
<path name="voice-speaker">
<path name="speaker"/>
</path>
<path name="voice-speaker-mic">
<path name="adc3"/>
<ctl name="DEC4 Volume" value="87"/>
</path>
<path name="voice-headphones">
<path name="headphones"/>
</path>
<path name="voice-headset-mic">
<path name="headset-mic"/>
</path>
<path name="speaker-and-headphones">
<path name="headphones"/>
<ctl name="RX3 MIX1 INP1" value="RX1"/>
<ctl name="RX3 MIX1 INP2" value="RX6"/>
<ctl name="RX5 MIX1 INP1" value="RX2"/>
<ctl name="RX5 MIX1 INP2" value="RX7"/>
<ctl name="RX4 DSM MUX" value="DSM_INV"/>
<ctl name="RX6 DSM MUX" value="DSM_INV"/>
</path>
<path name="hdmi"></path>
<path name="speaker-and-hdmi">
<path name="speaker"/>
<path name="hdmi"/>
</path>
<path name="voice-rec-mic">
<path name="adc1"/>
<ctl name="ADC1 Volume" value="2"/>
</path>
<path name="camcorder-mic">
<path name="adc1"/>
<ctl name="DEC6 Volume" value="89"/>
</path>
<path name="hdmi-mic">
<path name="dmic1"/>
</path>
<path name="bt-sco-headset"></path>
<path name="bt-sco-mic"></path>
<!-- Dual MIC devices -->
<path name="dmic-endfire">
<ctl name="SLIM TX7 MUX" value="DEC7"/>
<ctl name="DEC7 MUX" value="ADC1"/>
<ctl name="SLIM TX8 MUX" value="DEC9"/>
<ctl name="DEC9 MUX" value="ADC3"/>
<ctl name="SLIM_0_TX Channels" value="Two"/>
<ctl name="RX1 MIX2 INP1" value="IIR1"/>
<ctl name="RX2 MIX2 INP1" value="IIR1"/>
<ctl name="IIR1 INP1 Volume" value="63"/>
<ctl name="IIR1 INP1 MUX" value="DEC7"/>
</path>
<path name="dmic-broadside">
<ctl name="SLIM TX7 MUX" value="DEC7"/>
<ctl name="DEC7 MUX" value="DMIC1"/>
<ctl name="SLIM TX8 MUX" value="DEC8"/>
<ctl name="DEC8 MUX" value="DMIC2"/>
<ctl name="SLIM_0_TX Channels" value="Two"/>
<ctl name="IIR1 INP1 Volume" value="63"/>
<ctl name="IIR1 INP1 MUX" value="DEC7"/>
</path>
<path name="speaker-dmic-endfire">
<ctl name="SLIM TX7 MUX" value="DEC7"/>
<ctl name="DEC7 MUX" value="ADC1"/>
<ctl name="SLIM TX8 MUX" value="DEC9"/>
<ctl name="DEC9 MUX" value="ADC3"/>
<ctl name="SLIM_0_TX Channels" value="Two"/>
</path>
<path name="speaker-dmic-broadside">
<ctl name="SLIM TX7 MUX" value="DEC7"/>
<ctl name="DEC7 MUX" value="DMIC1"/>
<ctl name="SLIM TX8 MUX" value="DEC8"/>
<ctl name="DEC8 MUX" value="DMIC2"/>
<ctl name="SLIM_0_TX Channels" value="Two"/>
</path>
<path name="voice-dmic-ef-tmus">
<path name="dmic-endfire"/>
</path>
<path name="voice-dmic-ef">
<path name="dmic-endfire"/>
</path>
<path name="voice-dmic-bs">
<path name="dmic-broadside"/>
</path>
<path name="voice-speaker-dmic-ef">
<path name="speaker-dmic-endfire"/>
</path>
<path name="voice-speaker-dmic-bs">
<path name="speaker-dmic-broadside"/>
</path>
<path name="voice-rec-dmic-ef">
<path name="dmic-endfire"/>
</path>
<path name="voice-rec-dmic-bs">
<path name="dmic-broadside"/>
</path>
<path name="voice-rec-dmic-ef-fluence">
<path name="dmic-endfire"/>
</path>
<path name="voice-rec-dmic-bs-fluence">
<path name="dmic-broadside"/>
</path>
<!-- TTY devices -->
<path name="tty-headphones">
<ctl name="SLIM_0_RX Channels" value="One"/>
<ctl name="RX1 MIX1 INP1" value="RX6"/>
<ctl name="RX1 MIX1 INP2" value="RX6"/>
<ctl name="HPHL DAC Switch" value="1"/>
<ctl name="HPHL Volume" value="9"/>
<ctl name="HPHR Volume" value="9"/>
</path>
<path name="voice-tty-full-headphones">
<ctl name="TTY Mode" value="FULL"/>
<path name="tty-headphones"/>
</path>
<path name="voice-tty-vco-headphones">
<ctl name="TTY Mode" value="VCO"/>
<path name="tty-headphones"/>
</path>
<path name="voice-tty-hco-handset">
<ctl name="TTY Mode" value="HCO"/>
<path name="handset"/>
</path>
<path name="voice-tty-full-headset-mic">
<path name="adc2"/>
</path>
<path name="voice-tty-hco-headset-mic">
<path name="adc2"/>
</path>
<path name="voice-tty-vco-handset-mic">
<path name="adc1"/>
</path>
</mixer>
I need this on my Z3C, whith Zq like look, UP!
/etc/mixer_paths.xml is apparently related to TinyAlsa (https://stackoverflow.com/questions/26923301/understanding-mixer-paths-xml-in-android).
The file can be edited to reroute or alter audio. "adb root && adb remount && adb push mixer_paths.xml /etc/ && adb reboot"
The file starts with a series of default parameters. I assume each corresponds to a hardware/ALSA value or rounting preference.
XML:
<ctl name="Voice Rx Device Mute" id="0" value="0" />
"id" is used when multiple controls appear under the same name. It's like an indexing scheme.
<ctl name="Voip Mode Config" value="12" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM_0_TX Channels" value="One" />
Then there are a series of profiles, which override default parameters.
XML:
<path name="headphones">
...
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
<ctl name="COMP1 Switch" value="1" />
</path>
I observed that changed "RX1/2 Digital Volume" changed the output volume. "HPHL/R Volume" had no effect.
Some paths include an inner "path name=" tag. I assume this inherits settings.
XML:
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="78" />
<ctl name="RX2 Digital Volume" value="78" />
</path>
--------
Now the kicker... What do path names mean?
For example, "headphones" obviously means headphone port, and "speaker" means speakers.
However, there are literally hundreds of speaker, headphones, headsets, handsets, mic, sidetone-iir, tty, etc... How does Android choose which path to enable?
If I'm trying to decrease headphone volume (for earbuds), which settings do I have to change? "headphones" only, or some unknown set of options?
I noticed an interesting <path name="ADSP testfwk">... What could that mean?
A Google search took me to http://www.perkel.com/x/snd_soc_msm . Searching `snd_soc_msm` took me to https://android.googlesource.com/pl.../4765c43/libalsa-intf/snd_soc_msm/snd_soc_msm... The log link references "mako" (Nexus 4), not my Nexus 5X (this is the first commit the file appears). Additionally, the file is not available in "master" branch (replace the hex with master), as apparently libalsa was removed.
jimbo1qaz said:
/etc/mixer_paths.xml is apparently related to TinyAlsa (https://stackoverflow.com/questions/26923301/understanding-mixer-paths-xml-in-android).
The file can be edited to reroute or alter audio. "adb root && adb remount && push mixer_paths.xml /etc/"
The file starts with a series of default parameters. I assume each corresponds to a hardware/ALSA value or rounting preference.
XML:
<ctl name="Voice Rx Device Mute" id="0" value="0" />
"id" is used when multiple controls appear under the same name. It's like an indexing scheme.
<ctl name="Voip Mode Config" value="12" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM_0_TX Channels" value="One" />
Then there are a series of profiles, which override default parameters.
XML:
<path name="headphones">
...
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
<ctl name="COMP1 Switch" value="1" />
</path>
I observed that changed "RX1/2 Digital Volume" changed the output volume. "HPHL/R Volume" had no effect.
Some paths include an inner "path name=" tag. I assume this inherits settings.
XML:
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="78" />
<ctl name="RX2 Digital Volume" value="78" />
</path>
--------
Now the kicker... What do path names mean?
For example, "headphones" obviously means headphone port, and "speaker" means speakers.
However, there are literally hundreds of speaker, headphones, headsets, handsets, mic, sidetone-iir, tty, etc... How does Android choose which path to enable?
If I'm trying to decrease headphone volume (for earbuds), which settings do I have to change? "headphones" only, or some unknown set of options?
I noticed an interesting <path name="ADSP testfwk">... What could that mean?
A Google search took me to http://www.perkel.com/x/snd_soc_msm . Searching `snd_soc_msm` took me to https://android.googlesource.com/pl.../4765c43/libalsa-intf/snd_soc_msm/snd_soc_msm... The log link references "mako" (Nexus 4), not my Nexus 5X (this is the first commit the file appears). Additionally, the file is not available in "master" branch (replace the hex with master), as apparently libalsa was removed.
Click to expand...
Click to collapse
"headphones" only, or some unknown set of options?
---------
Yes change "headphones" only
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
I don't want people saying "change headphones only".
I'm a programmer. I want to know what the different options mean, which files in the Android source code associates different phone/call/Bluetooth states with different audio paths, and documentation on which paths are used/unused, and when.
Because I want proof that my ears won't get blown out when I get a call, or some app happens to output audio to the wrong path, etc.
Did you ever find any documentation on this? There seem to be many posts about changing this or that, but where are they getting the information from on exactly what is what?
sumade said:
Did you ever find any documentation on this? There seem to be many posts about changing this or that, but where are they getting the information from on exactly what is what?
Click to expand...
Click to collapse
https://github.com/CirrusLogic/tinyhal/blob/master/audio.example.xml
Hey guys. First : Sorry for my maybe bad english
Back to topic :
I realised that my Voicemessages on Whatsapp and Voicerecording are not loud enough, people had problems to hear my voicemessages on Whatsapp,Telegram etc...
When i use normal Telephoning or Videorecording the Volume of Voice is okay.
So i decided to play a little bit with the mixer_paths.xml. After three days of try and error i decided today a last try and it worked !
I copy and paste the Line of the mixer_paths.xml :
<!-- #ifdef VENDOR_EDIT-->
<!-- [email protected]rv,2015/3/19,add for 14049 mic -->
<path name="adc3">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="DEC4 Volume" value="84" /> Change "DEC4 Volume" value= 96
<ctl name="IIR1 INP1 MUX" value="DEC4" />
<ctl name="ADC3 Volume" value="13" />Change "ADC3 Volume" value= 19
</path>
Change DEC4 to 96, and ADC3 to 19 that is perfect for me
That is 3x louder with less distortion. But dont go any higher, because i tryed DEC4 = 106 and you are loud as hell, but not good understandable.
Maybe that needs a little bit finetuning, but it is just a dirty fix.
You need to have a rooted device to do that changes
And do not forget to save the file and do a reboot after changes ^^
Greetings from germany
amorosa
A could not to find the lines.
Can you tell me where i can search this line or file where have this information.
I am using HalogenOS
---------- Post added at 08:16 PM ---------- Previous post was at 08:08 PM ----------
Which file i nees use? imgur.com/a/ER1Y7
iago1966 said:
A could not to find the lines.
Can you tell me where i can search this line or file where have this information.
I am using HalogenOS
---------- Post added at 08:16 PM ---------- Previous post was at 08:08 PM ----------
Which file i nees use? imgur.com/a/ER1Y7
Click to expand...
Click to collapse
Use the "Mixer_paths.xml".
It is near the End of the File. There are many lines like this. (adc1,adc2,adc3,adc4,adc5.....dmic1,dmic2,dmic3....) And all lookes like this codeblock i have posted.
Running Resurrection Remix here, my mixer_paths.xml didn't have the ctl elements in that section, but I copy-pasted yours with the altered values and it works like a charm. I was wondering if it'd work for the audio recording during videos, might give it a try once I'll have some free time...
TheZorg said:
Running Resurrection Remix here, my mixer_paths.xml didn't have the ctl elements in that section, but I copy-pasted yours with the altered values and it works like a charm. I was wondering if it'd work for the audio recording during videos, might give it a try once I'll have some free time...
Click to expand...
Click to collapse
Hey, what problem do you have with Audiorecording during videos ? I think its loud enough ??
If you want, i can try to give you a fix.
Here it is :
- <path name="adc4">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="DEC3 Volume" value="84" /> <----Try 96
<ctl name="IIR1 INP1 MUX" value="DEC3" />
<ctl name="ADC4 Volume" value="13" /> <----Try 19
This stuff is directly under the adc3 Stuff, that i posted before.
The Problem is : The Camcorder Mic, is using the path "handset-dmic-endfire". And some other Stuff is using that too. You can try to raise the volume.
It will be good, that you give me feedback, if it will work !
If that dont work, change it back to stock-values. I have annother ideas to fix that
amorosa said:
Hey, what problem do you have with Audiorecording during videos ? I think its loud enough ??
If you want, i can try to give you a fix.
Here it is :
- <path name="adc4">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="DEC3 Volume" value="84" /> <----Try 96
<ctl name="IIR1 INP1 MUX" value="DEC3" />
<ctl name="ADC4 Volume" value="13" /> <----Try 19
This stuff is directly under the adc3 Stuff, that i posted before.
The Problem is : The Camcorder Mic, is using the path "handset-dmic-endfire". And some other Stuff is using that too. You can try to raise the volume.
It will be good, that you give me feedback, if it will work !
If that dont work, change it back to stock-values. I have annother ideas to fix that
Click to expand...
Click to collapse
I don't know, it seems to have a lower volume... Will try your fix later & I'll come back with feedback! Thanks a lot
amorosa said:
Hey guys. First : Sorry for my maybe bad english
Back to topic :
I realised that my Voicemessages on Whatsapp and Voicerecording are not loud enough, people had problems to hear my voicemessages on Whatsapp,Telegram etc...
When i use normal Telephoning or Videorecording the Volume of Voice is okay.
So i decided to play a little bit with the mixer_paths.xml. After three days of try and error i decided today a last try and it worked !
I copy and paste the Line of the mixer_paths.xml :
<!-- #ifdef VENDOR_EDIT-->
<!-- [email protected]rv,2015/3/19,add for 14049 mic -->
<path name="adc3">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="DEC4 Volume" value="84" /> Change "DEC4 Volume" value= 96
<ctl name="IIR1 INP1 MUX" value="DEC4" />
<ctl name="ADC3 Volume" value="13" />Change "ADC3 Volume" value= 19
</path>
Change DEC4 to 96, and ADC3 to 19 that is perfect for me
That is 3x louder with less distortion. But dont go any higher, because i tryed DEC4 = 106 and you are loud as hell, but not good understandable.
Maybe that needs a little bit finetuning, but it is just a dirty fix.
You need to have a rooted device to do that changes
And do not forget to save the file and do a reboot after changes ^^
Greetings from germany
amorosa
Click to expand...
Click to collapse
This bug was present ever since. Thanks for the fix.
Sent from my ONE A2003 using Tapatalk
lalit.kultham said:
This bug was present ever since. Thanks for the fix.
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
No Problem. Glad to help u guys ^^
I'm on CM 13 MM now but even on OOS3.1, H2OS or CM14 could not use the mic because the sound was too low .
After your tweak now even Allo works like a charm!
Thank you so much !
I recently started playing online game PUBG MOBILE and i realized that my sound is coming from wrong side of headphones. Then i watched testing videos of left right sounds and realized that my phone have a problem sound is coming from wrong side of Headphones. I tried different headphones but same result, i tried these headphones in other mobiles then i found everything is okay, so the result is my phone is playing audio on wrong side of Headphones. I can't play pubg any body have a solution?
What should i do?
Is there any software option to swap audio?
Try to reinstall again the rom. This should fix your problem
Hello do you got any problem again? Open mixer paths_static.xml using root explorer and invert the RX1 and RX2 outputs.. HOW? Simple.
Your headphones settings should be like that :
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="0" />
<ctl name="COMP0 RX2" value="0" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
<ctl name="RX1 Digital Volume" value="95" />
<ctl name="RX2 Digital Volume" value="95" />
</path>
You must invert the output. Like this :
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="0" />
<ctl name="COMP0 RX2" value="0" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
<ctl name="RX2 Digital Volume" value="95" />
<ctl name="RX1 Digital Volume" value="95" />
</path>
And after doing that open your other mixer called mixer paths.xml and look for the next line, edit what I edited
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="1" />
<ctl name="COMP0 RX2" value="1" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
This is the original settings. Now you change to this settings:
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="1" />
<ctl name="COMP0 RX2" value="1" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
Both of mixer need to be edited like that. I Tested before I share it and it works.
Back up your mixer paths first.
Good luck