Mic Problem Low Recording Volume

Search This thread

riyosakura

Senior Member
Dec 29, 2012
1,160
207
Banda Aceh
Samsung Galaxy S21+
I just own Mi a2, bought it second hand from other people.

Atm i'm using Pixel Experience ROM.

My proboek is about Low Recording Volume.
I tried to record my voice via whatsapp audio recording and 3rd party app recording, but the result is a low volume voice recorded.

I was using stock ROM with magisk installed and Quickswitch module installed. I noticed low volume recording sound so i thought it was because the rom and then i flashed PE, but the problem still remain.

The funny thing is, if i record a video through stock camera app or through instagram story, the sound does recorded properly, not low voice volume.

Anyone know how to fix this? Do Mi A2 have two mic, since video recording can record voice good, but calling or recording the volume is too low? Thank you for your answer.

Sent from my Mi 8 using Tapatalk
 
  • Like
Reactions: afiyuden

Martinocom

Member
Oct 25, 2015
33
15
Rimini
Xiaomi Mi A2
Introducion
Same problem here: Mi A2 on Pixel Experience, but I had problems also with the stock version.
Since I've got the root and I remember that with my Nexus 5 (old good times) I had the possibility to change gain in kernel settings. Here, I cannot.
Then I remembered that I also heard about mixer_paths.xml file, that if changed, can change the gain of speakers and microphone. Since I'm not able to identify what parameter should I change/increase, I went to Google and searched for some infos. Unfortunately, every device has "its own" mixer_paths.xml, and it changes.

I found for example a guide for Nexus 4 here and something with Samsung S5 here.

How to
Important:
  • Before ANY modification, keep TWO copies of your mixer_paths.xml original file. Two because I was stupid and I lost my first one, and the second was already broken ¯\_(ツ)_/¯
  • I'm not responsible for any loss and damage, nor hardware nor software related.
  • Remember to save the mixer_paths.xml file with EXACT SAME PERMISSIONS as it has before modification. Since, again, I'm stupid, it has the 0777 permission (all checked in FX File Explorer)
  • Tested only on Pixel Experience QQ1B.200105.004 on Mi A2, 64+4GB

Experimenting here and there, I found that increasing some values effectively changes my gain, but I'm not sure why and what precisely. Gain works great on IM, like Telegram, but I'm still not great (but better) on camera videos.

Code:
    <!-- Lines from 357 to 358 (only speaker boost!)   -->
    <ctl name="HPHL Volume" value="8" />
    <ctl name="HPHR Volume" value="8" />

Code:
    <!-- Lines from 367 to 373, that 95 is from Samsung S5 guide  -->
    <ctl name="ADC1 Volume" value="8" />
    <ctl name="ADC2 Volume" value="8" />
    <ctl name="ADC3 Volume" value="8" />
    <ctl name="DEC1 Volume" value="95" />
    <ctl name="DEC2 Volume" value="95" />
    <ctl name="DEC3 Volume" value="95" />
    <ctl name="DEC4 Volume" value="95" />

Code:
    <!-- Lines from 2066 to 2098  -->
    <path name="adc1">
        <ctl name="ADC1 Volume" value="8" />
        <ctl name="DEC1 MUX" value="ADC1" />
        <ctl name="ADC1_INP1 Switch" value="1" />
    </path>

    <path name="adc2">
        <ctl name="ADC2 Volume" value="8" />
        <ctl name="DEC1 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP2" />
    </path>

    <path name="adc3">
        <ctl name="ADC3 Volume" value="8" />
        <ctl name="DEC1 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP3" />
    </path>

    <path name="va-enroll-mic">
        <ctl name="DEC1 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP3" />
        <ctl name="ADC3 Volume" value="8" />
    </path>

    <path name="asr-mic">
        <ctl name="INT3_MI2S_TX Channels" value="Two" />
        <ctl name="DEC1 MUX" value="ADC1" />
        <ctl name="ADC1_INP1 Switch" value="1" />
        <ctl name="DEC2 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP3" />
        <ctl name="ADC1 Volume" value="8" />
        <ctl name="ADC3 Volume" value="8" />
    </path>

Code:
    <!-- Lines from 2495 to 2499, that 99 is from Nexus 4 guide  -->
    <path name="headset-mic">
        <path name="adc2" />
        <ctl name="IIR1 INP1 MUX" value="DEC1" />
        <ctl name="DEC8 Volume" value="99" />
    </path>

I attached also my current mixer_paths_8.xml - just rename it and remove that "_8" if you want to use it as-is.
 

Attachments

  • mixer_paths_8.xml
    110 KB · Views: 52
Last edited:

nugroho2

Senior Member
Mar 5, 2010
129
22
My voice recordings were very bad when player back in the recorder app. The problem solved by this method:
• in the Recorder app, go to settings (the gear/wheel).
• disable "use receiver to play audio"
• done.

Redmi 8

---------- Post added 21-08-2020 at 12:04 AM ---------- Previous post was 20-08-2020 at 11:56 PM ----------

My voice recordings were very bad when player back in the recorder app. The problem solved by this method:
• in the Recorder app, go to settings (the gear/wheel).
• disable "use receiver to play audio"
• done.

Redmi 8
 

Martinocom

Member
Oct 25, 2015
33
15
Rimini
Xiaomi Mi A2
I just formatted my phone and switched from CRDroid to Lineage OS. The mixer_paths.xml file is somehow different, but I manage to fix it out.

To fix low microphone on Mi A2 on CRDroid just use my comment above.

To fix low microphone on Mi A2 on Lineage OS 18.1 find same values and change them, but lines will be different:

XML:
<!-- Lines 349-355 -->
    <ctl name="ADC1 Volume" value="8" />
    <ctl name="ADC2 Volume" value="8" />
    <ctl name="ADC3 Volume" value="8" />
    <ctl name="DEC1 Volume" value="95" />
    <ctl name="DEC2 Volume" value="95" />
    <ctl name="DEC3 Volume" value="95" />
    <ctl name="DEC4 Volume" value="95" />


XML:
<!-- Lines 339-340 -->
    <ctl name="HPHL Volume" value="8" />
    <ctl name="HPHR Volume" value="8" />


XML:
<!-- Lines 1819-1835 -->
    <path name="adc1">
        <ctl name="ADC1 Volume" value="8" />
        <ctl name="DEC1 MUX" value="ADC1" />
        <ctl name="ADC1_INP1 Switch" value="1" />
    </path>
    <path name="adc2">
        <ctl name="ADC2 Volume" value="8" />
        <ctl name="DEC1 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP2" />
    </path>
    <path name="adc3">
        <ctl name="ADC3 Volume" value="8" />
        <ctl name="DEC1 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP3" />
    </path>


XML:
<!-- lines 2262-2276 -->
    <path name="handset-dmic-endfire">
        <path name="adc1" />
        <ctl name="ADC3 Volume" value="8" />
        <ctl name="DEC2 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP3" />
        <ctl name="INT3_MI2S_TX Channels" value="Two" />
    </path>
    <path name="speaker-dmic-endfire">
        <path name="adc1" />
        <ctl name="ADC3 Volume" value="8" />
        <ctl name="DEC2 MUX" value="ADC2" />
        <ctl name="ADC2 MUX" value="INP3" />
        <ctl name="INT3_MI2S_TX Channels" value="Two" />
    </path>

XML:
<!-- lines 2065-2069-->
    <path name="headset-mic">
        <path name="adc2" />
        <ctl name="IIR1 INP1 MUX" value="DEC1" />
        <ctl name="DEC8 Volume" value="95" />
    </path>
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I just own Mi a2, bought it second hand from other people.

    Atm i'm using Pixel Experience ROM.

    My proboek is about Low Recording Volume.
    I tried to record my voice via whatsapp audio recording and 3rd party app recording, but the result is a low volume voice recorded.

    I was using stock ROM with magisk installed and Quickswitch module installed. I noticed low volume recording sound so i thought it was because the rom and then i flashed PE, but the problem still remain.

    The funny thing is, if i record a video through stock camera app or through instagram story, the sound does recorded properly, not low voice volume.

    Anyone know how to fix this? Do Mi A2 have two mic, since video recording can record voice good, but calling or recording the volume is too low? Thank you for your answer.

    Sent from my Mi 8 using Tapatalk