Solution to the Lower power volume with headset of the P9 - Huawei P9 Guides, News, & Discussion

Hello,
First > sorry for my english
The P9 is a wonderfull smartphone but the volume of the headset is very low
I have found a solution and i want share with you.
must be already that your phone is root.
With appli Es-explorer, root with 649 (in left menu, tools, root explorer)
go to system/etc/audio/hi6402
found the file mixer_volumes_EVA_ce.xml
and modify this text in ''media-headset''
<ctl name="HPL PGA GAIN'' value="18" />
<ctl name="HPR PGA GAIN'' value="18" />
to
<ctl name="HPL PGA GAIN'' value="30" />
<ctl name="HPR PGA GAIN'' value="30" />
Save and reboot tour phone
Thats ALL
If this modification don't work, modify the files
mixer_volumes_EVA_cmcciot.xml
mixer_volumes_EVA_gcf.xml
mixer_volumes_EVA_normal.xml

Hi,
You know the lines for Bluetooth Audio to play on Speaker?

Related

[Q] Call volume too loud through wired headset

When taking calls through my headset, the voice on the other end is too loud, even when the volume is set to 1/5. I've tried different headsets to no avail. Does anyone know how I can reduce the volume of the call below the minimum volume setting? The phone is rooted.
you could try changing the entry in the mixer_paths.xml file located in the the 'etc' directory.. you'll need root.
look for..
<path name="voice-headphones">
<path name="headphones" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
</path>
and change the 20 values to 15 and the 84 ones to 83, this should give them the same values as music through headphones.. reboot to take effect, if there no difference change them back
Thank you!

How to Fix Low Call Volume & Low Microphone issue with OnePlus One

So, I bought a used OnePlus One last week and the problem I was facing, very low call volume and microphone volume. The opposite person could barely hear me. So I started to Google and found some fixes. But nothing fixed them completely. So I got the real & complete fix.
Should be mentioned, I had the problem on the latest stable Cyanogen OS -YOG7DAO1K6 and this fix, actually fixed the issue.
A phone is firstly a communicating device. If you cannot do calls properly, what’s the purpose of a phone? So, you’ve got a OnePlus One and some of you might have tried different fixes. But still not satisfied with the mic quality of OnePlus One. So what’s the fix?
The solution I came into, took quite a few hours. Just when I was about to quit, feeling dissatisfied with the overall mic quality, I found the solution. This is a 4 Step Solution so you’ve to be patient.
Step 1
You need to have root. Rooting is very easy. Install TWRP, flash SuperSU & you’ve got root. No problem. The tricky part starts here. After rooting downlaod ES File Explorer and turn on root access.
Step 2
Navigate to this file: /system/build.prop
Open with any editor and search for a line that says
ro.qc.sdk.audio.fluencetype=fluence
Change it to
Code:
ro.qc.sdk.audio.fluencetype=[B]none[/B]
Step 3
Now go to /system/etc/audio_platform_info.xml & open it using an editor. Try to find the line SND_DEVICE_IN_HANDSET_MIC and change it like this (Replace 40 with 4)
Code:
...
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7" />
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15" />
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10" />
[B]<device name="SND_DEVICE_IN40_HANDSET_MIC" acdb_id="4" />[/B]
<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="42" />
<device name="SND_DEVICE_IN_HEADSET_MIC" acdb_id="8" />
...​
Step 4
File /system/etc/mixer_paths.xml and try to find ctl name=”DEC4 Volume” within the context (scroll few times because it’s kind of on the bottom part of the file) and replace 84 with 92/94/95 (the greater, the louder)
Code:
<path name=”main-mic”>
<ctl name=”AIF1_CAP Mixer SLIM TX7″ value=”1″/>
<ctl name=”SLIM TX7 MUX” value=”DEC4″ />
<ctl name=”DEC4 MUX” value=”ADC3″ />
[B]<ctl name=”DEC4 Volume” value=”92″ />​[/B]
Step 5 (Optional)
This is an optional fix. If you feel your in call volume (the level of sound you hear when the other person talk) is low than you expect & you want to increase it a bit, download & flash the in call volume booster zip from XDA
This should increase the in-call volume.
Step 6 (Optional)
You should clean up the microphone area with a blower to make sure there’s no physical blockage.
Caution
You need to apply the same tricks again if you update or flash your current ROM.
Great!
Hey!
Great, i just wanted to create a topic about this and found this topic.
So i have digged out a bit different solution, some might find this useful too:
blog.kopiascsaba.hu/2016/06/fix-one-plus-one-a0001-low-speaker.html
(Can't post link jet...)
But now i will check out your solution too.
Hey! I think SND_DEVICE_IN40_HANDSET_MIC is a typo, it is SND_DEVICE_IN_HANDSET_MIC originally! Correct me if i'm wrong!
I did steps 1,2,3 but am unable to do step 4 as my code is a little different. My mic works now but it's quiet. I messed with changing the other volume values and it made it worse. My code is below.
<!-- Analog input devices -->
<path name="hph-mic">
<ctl name="DEC5 MUX" value="ADC2" />
<ctl name="IIR1 INP1 MUX" value="DEC5" />
</path>
<path name="main-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM TX7 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
</path>
<path name="anc-mic">
<ctl name="DEC2 MUX" value="ADC5" />
</path>
<!-- Recording paths -->
<path name="handset-mic">
<path name="main-mic" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="ADC3 Volume" value="19" />
</path>
<path name="speaker-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC2" />
<ctl name="ADC5 Volume" value="19" />
<path name="anc-mic" />
</path>
<path name="headset-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC5" />
<ctl name="ADC2 Volume" value="13" />
<path name="hph-mic" />
</path>
<path name="voice-rec-mic">
<path name="main-mic" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="ADC3 Volume" value="19" />
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="voice-headset-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC5" />
<ctl name="ADC2 Volume" value="13" />
<path name="hph-mic" />
</path>

mixer paths

The mixer paths is like none Ive seen before. Im headphones there are no RX volume adjustments any where, has anyone cracked this yet? The volume is way to low
Thanks
USMC retired said:
The mixer paths is like none Ive seen before. Im headphones there are no RX volume adjustments any where, has anyone cracked this yet? The volume is way to low
Thanks
Click to expand...
Click to collapse
hey USMC. can you clarify what you mean by "None i've seen before"? what device's mixer paths are you comparing it to?
this is an area of interest for me as i have tinkered with mixer paths but i do not know the results yet because i haven't been able to get my rom working. the RX volumes are in there. look again. not just mixer paths, but the other mixer path files there's 7 of them
Digitalkarma said:
hey USMC. can you clarify what you mean by "None i've seen before"? what device's mixer paths are you comparing it to?
this is an area of interest for me as i have tinkered with mixer paths but i do not know the results yet because i haven't been able to get my rom working. the RX volumes are in there. look again. not just mixer paths, but the other mixer path files there's 7 of them
Click to expand...
Click to collapse
I have the HTC u11 and the structure is unusual compared to say the pixel phones. If you were to put the 2 XML side by side you would see what I'm talking about. For the HTC there no RX paths in which to change the volume where on other phones those volume values exist
USMC retired said:
I have the HTC u11 and the structure is unusual compared to say the pixel phones. If you were to put the 2 XML side by side you would see what I'm talking about. For the HTC there no RX paths in which to change the volume where on other phones those volume values exist
Click to expand...
Click to collapse
Mind if you upload the Pixel XML for me. I'm curious.
Digitalkarma said:
Mind if you upload the Pixel XML for me. I'm curious.
Click to expand...
Click to collapse
I know what he means.
This is a mixer path for a few other phones (not whole XMLs, sorry), but from what I recall, the Exynos S7, the Pixel and a few other smartphones (LG G5/G6) all have similar mixer path edits like this too.
Nexus 7
Code:
<ctl name="HPHL Volume" value="10" />
<ctl name="HPHR Volume" value="10" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
OnePlus 2
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" />
<!-- #ifdef VENDOR_EDIT-->
<!-- [email protected],2015/4/3,change to pass test for qualcomm advise -->
<[B]ctl name="RX1 Digital Volume" value="90" [/B]/>
<!-- #endif VENDOR_EDIT-->
</path>
S7 Edge Exynos
Code:
<path name="gain-media-headset">
<ctl name="Noise Gate Switch" value="0" />
<ctl name="HPOUT1L Impedance Volume" value="105" />
<ctl name="HPOUT1R Impedance Volume" value="105" />
<ctl name="HPOUT1L Input 1 Volume" value="43" />
<ctl name="HPOUT1R Input 1 Volume" value="43" />
</path>
Partial Pixel Code (From Head Fi)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HPHL & HPHL from what you said before is already maxed out at 20 but where is the digital volume values on the U11? Viper's ROM has an audio boost for headphones, but they have edited almost every mixer path file. I'll compare when I have the time.
The OP3T was also similar to this, HPHL and HPHR were already maxed out at 20. Editing digital volume via a kernel (Such as Flar's) introduced distortion immediately so wasn't worth it.
This is also quite nice to look at
https://docs.google.com/document/d/1NqfEpbhXfXyqRPJoLxtifbEMNCEuVOIokwT5kyjJ2KI/pub
Im sure it isnt structured in the same order, no surprises there but its similar in referencing which is all that matters.
There are 7 RX Digitals from RX1 through RX7 in the U11 mixer, I think RX1 and 2 has something directly to do with headphones, not sure what the other RX's do. Probably another two is responsible for the top and bottom speaker and who knows what the other 3 do..
There is also a dedicated RX for ANC, 44.1 headphones etc. Thats not in the main mixer path
---------- Post added at 03:06 AM ---------- Previous post was at 02:25 AM ----------
Galactus said:
HPHL & HPHL from what you said before is already maxed out at 20 but where is the digital volume values on the U11? Viper's ROM has an audio boost for headphones, but they have edited almost every mixer path file. I'll compare when I have the time.
The OP3T was also similar to this, HPHL and HPHR were already maxed out at 20. Editing digital volume via a kernel (Such as Flar's) introduced distortion immediately so wasn't worth it.
This is also quite nice to look at
https://docs.google.com/document/d/1NqfEpbhXfXyqRPJoLxtifbEMNCEuVOIokwT5kyjJ2KI/pub
Click to expand...
Click to collapse
Yeah most of the digital values are set at 84 on the U11 as well, not all. Anything more than 84 and you'll start to get distortion if you're volume rocker is set on the higher levels. The registered values are 0(-84 db) to 124(+40 db)
Digitalkarma said:
Im sure it isnt structured in the same order, no surprises there but its similar in referencing which is all that matters.
There are 7 RX Digitals from RX1 through RX7 in the U11 mixer, I think RX1 and 2 has something directly to do with headphones, not sure what the other RX's do. Probably another two is responsible for the top and bottom speaker and who knows what the other 3 do..
There is also a dedicated RX for ANC, 44.1 headphones etc. Thats not in the main mixer path
---------- Post added at 03:06 AM ---------- Previous post was at 02:25 AM ----------
Yeah most of the digital values are set at 84 on the U11 as well, not all. Anything more than 84 and you'll start to get distortion if you're volume rocker is set on the higher levels. The registered values are 0(-84 db) to 124(+40 db)
Click to expand...
Click to collapse
On Vipers ROM the values seem to be set to 88 for most things.
Using V4A increasing software gain by 6dB doesn't introduce any audible background noise or distortion on my RHA MA 750. Also noticed that in "mixer_paths_tavil" they have removed some lines.
Before
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
After
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
I'd be content with using the Usonic headphones if they weren't so crackly at the high end, sibilant songs sound harsher than they should.
On another note, HTC have done something to the mixer paths that has now ruined editing volume steps. On the original firmware, I could set volume steps via Magisk modules to anything I wanted, and it worked fine for the 3.5mm adapter. After updating to 1.13, the volume steps simply repeat once you go past step 15, which is rather annoying. (It is also busted in Vipers ROM).
Digitalkarma said:
Mind if you upload the Pixel XML for me. I'm curious.
Click to expand...
Click to collapse
Galactus said:
On Vipers ROM the values seem to be set to 88 for most things.
Using V4A increasing software gain by 6dB doesn't introduce any audible background noise or distortion on my RHA MA 750. Also noticed that in "mixer_paths_tavil" they have removed some lines.
Before
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="COMP2 Switch" value="1" />
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
</path>
After
Code:
<path name="headphones-voice">
<path name="headphones-voice-generic" />
<path name="sidetone-headphones" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-fm">
<path name="headphones-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-hw-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
<path name="headphones-audio-voip">
<path name="headphones-voice-generic" />
<ctl name="RX0 Digital Volume" value="88" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="HPHL Volume" value="17" />
<ctl name="HPHR Volume" value="17" />
</path>
I'd be content with using the Usonic headphones if they weren't so crackly at the high end, sibilant songs sound harsher than they should.
On another note, HTC have done something to the mixer paths that has now ruined editing volume steps. On the original firmware, I could set volume steps via Magisk modules to anything I wanted, and it worked fine for the 3.5mm adapter. After updating to 1.13, the volume steps simply repeat once you go past step 15, which is rather annoying. (It is also busted in Vipers ROM).
Click to expand...
Click to collapse
I forgot about RX0, there's 8 RX's.. anyhow
Actually the before and after is reversed. HTC added in the Comp switches to the path names. if my memory is right and assuming things haven't changed since then the volume step controls are handled in the framework.jar, I've applied code on the increase volume step mod before on previous devices.
Besides HTC didnt really alter the mixer path too much from update to update to warrant breaking the volume step so I don't think mixer path has anything to do with it at all. the few tweaks HTC made is related to headphone output.
Also for Usonic try editing the ANC(active noise cancellation) values then maybe reduce the RX and increase the HPH
Right I've done some actual testing
@Digitalkarma
Controlling loudness of USonic headphones only when noise cancellation is enabled works by editing the file below. 3.5mm adapter doesn't change regardless of what I have tried.
Code:
<path name="anc-headphones">
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="ANC Function" value="ON" />
<ctl name="ANC Slot" value="0" />
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="ADC MUX10" value="AMIC" />
<ctl name="AMIC MUX10" value="ADC3" />
<ctl name="ADC MUX12" value="AMIC" />
<ctl name="AMIC MUX12" value="ADC4" />
<ctl name="ANC0 FB MUX" value="ANC_IN_HPHL" />
<ctl name="ANC1 FB MUX" value="ANC_IN_HPHR" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX2" />
<ctl name="RX INT2_1 MIX1 INP0" value="RX3" />
[B]<ctl name="RX1 Digital Volume" value="74" />
<ctl name="RX2 Digital Volume" value="74" />[/B]
<ctl name="ANC OUT HPHL Enable Switch" value="1" />
<ctl name="ANC OUT HPHR Enable Switch" value="1" />
</path>
here you go galactus. this is the Sprint version. everything else is the same besides tavil. there is ver. 29 and ver. 30, HTC made a few changes there
Galactus said:
Right I've done some actual testing
@Digitalkarma
Controlling loudness of USonic headphones only when noise cancellation is enabled works by editing the file below. 3.5mm adapter doesn't change regardless of what I have tried.
Code:
<path name="anc-headphones">
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="ANC Function" value="ON" />
<ctl name="ANC Slot" value="0" />
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="ADC MUX10" value="AMIC" />
<ctl name="AMIC MUX10" value="ADC3" />
<ctl name="ADC MUX12" value="AMIC" />
<ctl name="AMIC MUX12" value="ADC4" />
<ctl name="ANC0 FB MUX" value="ANC_IN_HPHL" />
<ctl name="ANC1 FB MUX" value="ANC_IN_HPHR" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC4 Volume" value="8" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX2" />
<ctl name="RX INT2_1 MIX1 INP0" value="RX3" />
[B]<ctl name="RX1 Digital Volume" value="74" />
<ctl name="RX2 Digital Volume" value="74" />[/B]
<ctl name="ANC OUT HPHL Enable Switch" value="1" />
<ctl name="ANC OUT HPHR Enable Switch" value="1" />
</path>
Click to expand...
Click to collapse
unless maybe try turning off the ANC OUT enable switch to 0?
anyway. so there is no difference editing the headphones path and headphones 44.1 path? also try editing the initial HPH settings back to 20 too. they originally had it at 20 but changed it to 16 on the latest version.
that's what i have set on my Sprint DK11 rom. 20 for all HPH. 84 on ANC, HP and HP 44.1 paths. glad to know there is an audible change with ANC
Digitalkarma said:
unless maybe try turning off the ANC OUT enable switch to 0?
anyway. so there is no difference editing the headphones path and headphones 44.1 path? also try editing the initial HPH settings back to 20 too. they originally had it at 20 but changed it to 16 on the latest version.
that's what i have set on my Sprint DK11 rom. 20 for all HPH. 84 on ANC, HP and HP 44.1 paths. glad to know there is an audible change with ANC
Click to expand...
Click to collapse
We have lift off in terms of editing audio levels with the USonic Without ANC enabled
I accidentally deleted a comma over the value hence it didn't register when I tried it.
Code:
<path name="headphones">
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX2" />
<ctl name="RX INT2_2 MUX" value="RX3" />
[B]<ctl name="RX1 Mix Digital Volume" value="74" />
<ctl name="RX2 Mix Digital Volume" value="74" />[/B]
</path>
I set both to 90 and I hear no distortion, of course I didn't max out and in fact will lower it. The USonic is super loud now. Either way, all other mixer path edits seem to be ignored. The USonic headphones don't change at all until you edit the mixer_paths_tavil.
Next step, trying to do the same with 3.5mm adapter, so far all my efforts have failed. 3.5mm adapter doesn't get louder or quieter regardless of what is done.
Galactus said:
We have lift off in terms of editing audio levels with the USonic Without ANC enabled
I accidentally deleted a comma over the value hence it didn't register when I tried it.
Code:
<path name="headphones">
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX2" />
<ctl name="RX INT2_2 MUX" value="RX3" />
[B]<ctl name="RX1 Mix Digital Volume" value="74" />
<ctl name="RX2 Mix Digital Volume" value="74" />[/B]
</path>
I set both to 90 and I hear no distortion, of course I didn't max out and in fact will lower it. The USonic is super loud now. Either way, all other mixer path edits seem to be ignored. The USonic headphones don't change at all until you edit the mixer_paths_tavil.
Next step, trying to do the same with 3.5mm adapter, so far all my efforts have failed. 3.5mm adapter doesn't get louder or quieter regardless of what is done.
Click to expand...
Click to collapse
So the ANC path works for the Usonic with ANC on and the headphone path is also for Usonic but with ANC off?
Headphone 44.1 is a no go? Just to clarify and confirm. Thanks for testing! Yeah 90 must be a little too loud, 84 is more neutral but louder than 74 that's for sure.
Digitalkarma said:
So the ANC path works for the Usonic with ANC on and the headphone path is also for Usonic but with ANC off?
Headphone 44.1 is a no go? Just to clarify and confirm. Thanks for testing! Yeah 90 must be a little too loud, 84 is more neutral but louder than 74 that's for sure.
Click to expand...
Click to collapse
Yeah ANC path for ANC on and headphones path for ANC off.
44.1 doesn't seem to change anything at all
Galactus said:
Yeah ANC path for ANC on and headphones path for ANC off.
44.1 doesn't seem to change anything at all
Click to expand...
Click to collapse
and the headphones path doesn't do anything for the 3.5 mm headphones as well when listening to USonic and regular headphones side-by-side?
hmmm i wonder what else would change it without altering values all over the place.
Digitalkarma said:
and the headphones path doesn't do anything for the 3.5 mm headphones as well when listening to USonic and regular headphones side-by-side?
hmmm i wonder what else would change it without altering values all over the place.
Click to expand...
Click to collapse
Yeah editing the headphones path doesn't seem to touch the 3.5mm headphones at all. Lowering the value to 10, the USonic without ANC enabled is barely audible. Plug in the adapter and the 3.5mm headphones volume is untouched.
I have no idea where the values for the adaptor or external audio devices would be. There is a ton of USB_AUDIO references in the files but they all seem to have a value of 0 or 1.
I can't really find how it is implemented on other devices either.
Galactus said:
Yeah editing the headphones path doesn't seem to touch the 3.5mm headphones at all. Lowering the value to 10, the USonic without ANC enabled is barely audible. Plug in the adapter and the 3.5mm headphones volume is untouched.
I have no idea where the values for the adaptor or external audio devices would be. There is a ton of USB_AUDIO references in the files but they all seem to have a value of 0 or 1.
I can't really find how it is implemented on other devices either.
Click to expand...
Click to collapse
Time to put on my thinking cap lol
I thought i2s would of had something to do with it..
more than 84
Digitalkarma said:
I forgot about RX0, there's 8 RX's.. anyhow
Actually the before and after is reversed. HTC added in the Comp switches to the path names. if my memory is right and assuming things haven't changed since then the volume step controls are handled in the framework.jar, I've applied code on the increase volume step mod before on previous devices.
Besides HTC didnt really alter the mixer path too much from update to update to warrant breaking the volume step so I don't think mixer path has anything to do with it at all. the few tweaks HTC made is related to headphone output.
Also for Usonic try editing the ANC(active noise cancellation) values then maybe reduce the RX and increase the HPH
Click to expand...
Click to collapse
On the Nexus 6 I took values from 84 to 100 with no problems with distortion or clipping, and as far as the other mixer paths go, most of those arent adjustable. I will keep tinkering and let you know if I find a combo that raises headphones to an acceptable level
I think I have it narrowed down now enough to say that once I find out which MP addjustments are the "master controls" of the entire XML we will be good to go
USMC retired said:
On the Nexus 6 I took values from 84 to 100 with no problems with distortion or clipping, and as far as the other mixer paths go, most of those arent adjustable. I will keep tinkering and let you know if I find a combo that raises headphones to an acceptable level
I think I have it narrowed down now enough to say that once I find out which MP addjustments are the "master controls" of the entire XML we will be good to go
Click to expand...
Click to collapse
You can edit the mixer path tavil which will boost ANC/USonic headphones but believe me when I say the USonic does not need to go past 84 unless you are trying to damage your hearing or the headphone drivers themselves.
As for editing loudness from the 3.5mm adaptor. That is routed to USB_AUDIO which has no editable settings unless you re-route the sound to a SLIMBUS mixer path. By all means give it a go though.
Any suggestions/ development in terms of making the ear-piece & speaker louder by modifying the mixer_paths?

[MOD] Stereo sound mod

Stereo mod for xiaomi mi4c (libra)
Based on [OFFICIAL] sources Lineage OS.
Includes:
1. Connecting stereo sound "Speaker - Main Speaker" [LEFT-RIGHT] respectively.
2. Increase the volume of device. (I recommend to use it in conjunction with viper fx with "speaker otimization" enabled.)
3. Increase the sensitivity of microphones.
DISCLAIMER:
I just report to work on [official]lineageOS I am not responsible in any way for anything that happens to your device. You do so at your own risk.
However, it works for most users without problems.
Installation:
You can install a couple different ways including extracting the files included in the zip and manually pushing them to system/etc, set permissions to rw r r, and reboot or just flash the included zips in your custom recovery.
CREDITS:
Cozzmy13 - He made LineageOS port and achieved official support. I used these source files.
kevinkvothe - Thanks for the first port of the stereo mod on our device. So I use some of the developments from his mod.
Download:
STEREO MOD
REVERT TO STOCK
With love from Belarus
Anyone tried this? I'm still on MIUI 9. Will try it when I get back to LineageOS.
Yeah man, it works as advertised, thanks. Would you be able to tell me (by line # or title) which values I need to change (I'm guessing the ones which are 93 now) for headphones and earpiece? I may want to increase them.
celrau said:
Yeah man, it works as advertised, thanks. Would you be able to tell me (by line # or title) which values I need to change (I'm guessing the ones which are 93 now) for headphones and earpiece? I may want to increase them.
Click to expand...
Click to collapse
I think so.
<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="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="RX2 Digital Volume" value="88" />
</path>
can you make this stereo sound mod for meizu pro 7 (flyme 7)?i will be glad if you can
Sadly this method doesn't work on Android Oreo and Pie Can someone make one for Pie? It'd be really great!

How to increase (boost) only in-call (handset) volume on samsung stock rooted rom

Hello friends
My question is how can I boost the in-call (handset) volume by editing mixer.paths.xmls file.
I can successfully boosted speaker and headset volume as I show below, but question is related with increasing the volume while calling someone.
I am j700f MM user with root and custom stock samsung MM rom.
I am waiting for you suggestions.
Thanks in advance
For speaker boost I changed 3 with 5 or 6
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Speaker Volume" value="3" />
</path>
For headset boost I changed 36 with 39 or 39
<path name="gain-media-headset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Headphone Volume" value="36" />vido36-38
</path>

Categories

Resources