• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[FIX] In call echo and noise from top mic pocophone

Search This thread

wizard8400

Senior Member
Sep 4, 2016
63
53
@HannibalLecter
You can look at the first post on this topic, I've explained there what file I've modified, and what lines/values I've added (the lines in blue) hope it's clear enough.
What I recommend is put values into mixer path overlay, because those will overwrite the ones in other files and be sure to put new lines/values in their corresponding section, example: <camcorder_dmic> is a section that will only be used when recording with camera, there you can, let's say, increase the sensitivity of mics when recording...
 

HannibalLecter

Senior Member
May 12, 2016
1,525
544
@HannibalLecter
You can look at the first post on this topic, I've explained there what file I've modified, and what lines/values I've added (the lines in blue) hope it's clear enough.
What I recommend is put values into mixer path overlay, because those will overwrite the ones in other files and be sure to put new lines/values in their corresponding section, example: <camcorder_dmic> is a section that will only be used when recording with camera, there you can, let's say, increase the sensitivity of mics when recording...

thank youuuu.. but i diodnt get what ADC 1-4 is for
and what DEC 1-6 are for
similarly for RX
i am also facing call clareity issues (the person on the other side reports unclear voice/loudness if fine)
 

ankit221215

New member
Jul 17, 2020
3
1
Lengthy but worth a try Solution

Would like to contribute my knowledge on the subject. A bit long story.

I had two rooted phones MI5S (Running on Lineage OS Capricorn Image) and Redmi Note 7 Pro (Running on Lineage OS Violet Image).

I observed no echo issues in Capricorn Image whereas it was terrible in Violet Image. I tried all combination of Fluence settings but to no avail. The top mic on my Redmi note7 pro continued to catch noise.

Also the Mixer_Path_Tasha file is non existent in Violet image where as it is present in etc folder in Capricorn Image.

In Violet Image, i found the following files in System/Vendor/Etc

Mixer_paths_idp.xml
Mixer_paths_qrd.xml
Mixer_paths_wcd9375qrd.xml

All aforesaid files were read-only and to edit the same i had to install Total Commander and give it root access.

Although i am not a technical guy but as suggested in first post, i tried adding following lines to each of the files under Dual mic para

<ctl name="DEC8 Volume" value="0" />
<ctl name="DEC7 Volume" value="92" />

However it made absolutely no effect on echo problem of my phone. On digging deep in the file i observed that "Dec 8 Volume" is not at all defined in Violet image of Lineage OS whereas the same was present there in Capricon image . The Violet image had following

<ctl name="TX_Dec 6 Volume" value="0" />
<ctl name="TX_Dec 7 Volume" value="0" />


So just below the aforesaid line i quietly pasted the following
<ctl name="TX_Dec 8 Volume" value="84" />

Adding the aforesaid line in Mixer_path_ files solved my problem to great extent. I guess the Dec8 represent the top mic here which was not earlier not defined at all in Violet image of Lineage OS.
 
Last edited:

Mohit Bainsla

New member
Sep 8, 2020
1
0
Poco f1 main mic echo on phone call,s , & secondary speaker mic fully no working.

My POCO F1 main mic create a more echo on call,s. My device is rooted. How to fix. Give me sol.

How to edit a vendor file. I don,t know.
TWRP parmanently installed my device.
Please Help
 

Jackeyy

New member
Oct 18, 2020
3
2
Hey Guys,

I also have a poco F1 with the echo issue.
The fix with disabling the top mic works for me. However, it is now very hard to understand me in noisy environments. Tuning the Sensitivity of the Noise Cancelling Mic to around 50 seems to improve this a bit and does not generate an echo. Good.

What I observed during my many trial calls:
With my device, the Echo problem ONLY happens in very silent environments. In louder environments, the echo is not present. This behaviour is reproducable.
Is there an automatic gain control (AGC), be it soft- or hardware for both microphones? Could it be that - in quiet environments - the AGC on the top NC Microphone increases its gain (unnecessarily, because there is no noise to cancel!), so that it picks up the sounds from the top speaker and thus generates the echo?

If the AGC is software (I am sure it is) there should be ways to limit/saturate its max. gain values. Anyone got more infor if thats possible and how to adjust it?

Thanks,
Jakob
 

Sefrautic

Member
Dec 11, 2018
10
0
Pocophone is pretty much good for everything except for calling.
The only way to completely solve this issue is to install and old MIUI Stable 10.2.3.0. Otherwise you have completely broken noise cancelling mic in regular calls. On some ROM's, while using earbuds, you have all three mics working in Telegram call (my case, actually).
I'm only writing this 'cause I'm very tired of that idiotic soft issue. Just try to record video and listen to the stereo sound. You can literally record ASMR with this. But in calls you have terrible quality. And nobody would fix that issue. Thx Xiaomi.
 

pumori

Member
Dec 12, 2010
27
11
how can I check if the magisk fix is applied?
When I install it from within magisk it confirms "done" and aks for restart.
But then there is nothing visible under "modules"
 

onlyizisiz

New member
Dec 30, 2017
1
0
Honor 7
Xiaomi Poco F1
1. Boot in to TWRP
2. Mount the vendor partition, copy "mixer_paths_overlay_static.xml" on to your internal storage/SD card.
3. Edit it, either on your phone or on your computer.
4. Paste it back in to /vendor/etc through TWRP AND set chmod to 664 (0664) in TWRP after pasting the modified file back into /vendor/etc.
5. Reboot and enjoy
Thank you so much,
it took me a while to edit the xml file first:
- root / TWRP
- copy the file on the sd card to edit it
- edit it
- paste back into my phone in the vendor partition
And it still didn't work.
But by setting CHMOD to 0664 everything works!
Thanks a lot
 

Tirapiedras

Member
Dec 4, 2018
5
0
Xiaomi Poco F1
Maybe I am asking something odd, but... is it possible to do this?:
Get the mixer_paths_overlay_static.xml and other audio related files in the same folder from one of the first miui releases that worked properly, and paste them in our current rom?

Would it work? Or maybe a newer android version needs different files?

I changed the values from 84 to 0 and to 30 and people tell me they can hear me better, but many people still tell me that they have difficulties to understand me sometimes.
 

bravo2526

Senior Member
Feb 27, 2015
205
31
Faisaabad
Maybe I am asking something odd, but... is it possible to do this?:
Get the mixer_paths_overlay_static.xml and other audio related files in the same folder from one of the first miui releases that worked properly, and paste them in our current rom?

Would it work? Or maybe a newer android version needs different files?

I changed the values from 84 to 0 and to 30 and people tell me they can hear me better, but many people still tell me that they have difficulties to understand me sometimes.
hey bro can you confirm it helped or not?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    If you are in a call and the other person hears himself or noises when the top mic is touched, by hair or hat..., you can try this:
    [ROOT needed]
    Edit this file:
    \vendor\etc\mixer_paths_overlay_static.xml

    find this sections:

    <!-- Dual MIC devices -->
    <path name="handset-dmic-endfire">
    <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
    <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
    <ctl name="CDC_IF TX7 MUX" value="DEC7" />
    <ctl name="ADC MUX7" value="AMIC" />
    <ctl name="AMIC MUX7" value="ADC3" />
    <ctl name="CDC_IF TX8 MUX" value="DEC8" />
    <ctl name="ADC MUX8" value="AMIC" />
    <ctl name="AMIC MUX8" value="ADC1" />
    <ctl name="SLIM_0_TX Channels" value="Two" />
    </path>

    <path name="speaker-dmic-endfire">
    <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
    <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
    <ctl name="CDC_IF TX7 MUX" value="DEC7" />
    <ctl name="ADC MUX7" value="AMIC" />
    <ctl name="AMIC MUX7" value="ADC3" />
    <ctl name="CDC_IF TX8 MUX" value="DEC8" />
    <ctl name="ADC MUX8" value="AMIC" />
    <ctl name="AMIC MUX8" value="ADC1" />
    <ctl name="SLIM_0_TX Channels" value="Two" />
    </path>

    and add this lines, so they look like this:

    <!-- Dual MIC devices -->
    <path name="handset-dmic-endfire">
    <ctl name="DEC8 Volume" value="0" />
    <ctl name="DEC7 Volume" value="92" />

    <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
    <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
    <ctl name="CDC_IF TX7 MUX" value="DEC7" />
    <ctl name="ADC MUX7" value="AMIC" />
    <ctl name="AMIC MUX7" value="ADC3" />
    <ctl name="CDC_IF TX8 MUX" value="DEC8" />
    <ctl name="ADC MUX8" value="AMIC" />
    <ctl name="AMIC MUX8" value="ADC1" />
    <ctl name="SLIM_0_TX Channels" value="Two" />
    </path>

    <path name="speaker-dmic-endfire">
    <ctl name="DEC8 Volume" value="84" />
    <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
    <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
    <ctl name="CDC_IF TX7 MUX" value="DEC7" />
    <ctl name="ADC MUX7" value="AMIC" />
    <ctl name="AMIC MUX7" value="ADC3" />
    <ctl name="CDC_IF TX8 MUX" value="DEC8" />
    <ctl name="ADC MUX8" value="AMIC" />
    <ctl name="AMIC MUX8" value="ADC1" />
    <ctl name="SLIM_0_TX Channels" value="Two" />
    </path>

    This will set top mic sensitivity to 0, noise cancellation will not work but you can adjust "<ctl name="DEC8 Volume" value="0" />" as needed to have a little noise cancellation, default is 84. I've set it to 0 and i find it very good, no complains about the sound quality.
    Also I've set 92 as the sensitivity for the lower mic, and it helps a little. Adjust <ctl name="DEC7 Volume" value="92" /> as you wish, default is 84.

    I don't know if this is the best solution, but it helped me, so I share ;)

    * to make changes to this file, you need to mount vendor and system in twrp (in twrp>mount>check both)
    ** please report this bug using Settings > Feedback > and check "Issue" and describe the problem you are having, hopping that Poco devs will look into it.
    *** I've built a magisk module to apply this fix, it makes it easier for those who flash roms frequently.
    7
    Echo FIX for Mi Mix 2s

    Hi there! I've managed to fix the echo problem in my Mi Mix 2s. I got the solution from MIUI forums

    FROM MIUI FORUMS Credits goes to Maidu Uusen
    I had call quality problems all the time and it seems, those instructions are helping me:

    1.- Edit /system/build.prop
    2.- Find these 2 lines
    ro.qc.sdk.audio.fluencetype=none
    persist.audio.fluence.voicecall=true


    replace those two line with this:

    ro.qc.sdk.audio.fluencetype=fluence
    persist.audio.fluence.mode=endfire
    persist.audio.handset.mic=digital
    persist.audio.voicecall.mic=0
    persist.audio.voice.clarity=none
    persist.audio.aanc.enable=false
    persist.audio.handset_rx_type=DEFAULT
    persist.audio.nsenabled=ON
    persist.speaker.prot.enable=false
    persist.audio.spkcall_2mic=OFF


    dont forget to save the file and change permissions to 600
    3.- Replace the build.prop with the new edited one (you can make a backup of the original one)
    4.- Reboot the phone.

    I've tried and it works, I need to click the volume just two point from the top volume and use it WITHOUT the case (My case has a little mic hole and it makes the echo more audible).

    FOR POCO USERS:

    Latest Revolution OS ROM has include a POCO FIX for echo, I can't try it since I don't have a POCO but they say in the changelog the echo problems is gone, try for yourself and share your experience.
    6
    Just wanted to confirm that this fix still works with vendor firmware 9.3.14 and NOS 06-03-19. For the people that can't make this work, this is how I got it to work:

    1. Boot in to TWRP
    2. Mount the vendor partition, copy "mixer_paths_overlay_static.xml" on to your internal storage/SD card.
    3. Edit it, either on your phone or on your computer.
    4. Paste it back in to /vendor/etc through TWRP AND set chmod to 664 (0664) in TWRP after pasting the modified file back into /vendor/etc.
    5. Reboot and enjoy

    If I didn't set the correct chmod everything sound related got messed up. Speaker phone was set as the standard preset and inverted the speaker button's functionality. I also heard an echo of myself and the earpiece sound was really messed up. After setting the chmod to the correct value, 664, everything was fine again and the echo was gone.

    I confirmed that the fix is working by making around 10 phone calls to different people, both VoLTE with HD voice and without as well as calling my phone from Skype to confirm that this wasn't just a one time off kind of thing.

    Not sure if this fix will work on other roms as well. It might work on NOS because of the other fix that has been been mentioned previously in this thread https://forum.xda-developers.com/showpost.php?p=78913799&postcount=36. I believe that fix is already applied to NOS as standard (?) and it might be the combination of the rom using the vendor specific files and then this fix that makes it work on NOS.

    EDIT: Tried it with 9.3.11 vendor as well and it's working here. The file might be sensitive to using tab vs 4 spaces, I followed my own instructions and failed to get it working the first time. The second time I made sure that the formatting was correct and then it worked as intended.
    2
    Well i have poco, i don't know anything about mi mix

    Download 8.12.13 firmware / vendor package from akhilnarang site.

    I am personally usung 09-03 caf build of PE, as its best for me, latest version is having many erros spamming in logs, and i feel app opening was slow. And 17-03 build had issue with magisk. So i am sticking for 09-03 build, if you need mirror tell.

    In 09-03 build, open with winrar in pc, and go to updater script file, open it with notepad, and remove first lines of assert checking, which checks if you are on later firmware and vendor or not..

    After removing those lines, save file

    And flash vendor firmware, and then Rom

    Mirror of 09-03 build Caf, PE : https://drive.google.com/file/d/1pxWZGvnqmABU8jetRf83gWNjUk8BsaUw/view

    Hi thanks for the info :) I'm sure that the problem is on the firmware/vendor. I'll try to flash another files...Let's see if that fix the problem.

    ---------- Post added at 11:08 AM ---------- Previous post was at 11:02 AM ----------

    Quick update. I discovered that if I have the phone on speaker during the call, the echo disappears. As soon as the phone is placed off speaker (normal usage) the echo returns. Could this clue help anyone with further diagnosis?

    You're right, I'm gonna post all the info:

    Tried to replace lower MIC part= no fix
    Tried to replace lower SPEAKER part= no fix
    Tried to put a small gummy piece in front of top MIC= no fix (the mic gets the sound from the front as well as from the side in contact with the main board).
    Tried another MIUI ROMS Stable....weekly..ROS..= no fix

    I work with sound (I'm electronic engineering) and I'm almost 100% sure that the problem is the top mic is so close to the earpiece. If I use earphones or external spekaer the echo dissapears.....

    I'll investigate which firmware/vendor files works...
    2
    @Mooatreides magisk module is systemless, you can enable / disable this fix to apply/revert the file. After flashing a new version of the ROM and magisk, this fix is applied, or not depending by the state of the module.