[Galaxy Note 4 Android Development (Snapdragon)] MikeSantamariaF:
Find the mixer_paths.xml file and Replace the original code of the corresponding parts with the following.

After replacing the code, save the changes in the file (note: make sure you don't modify anything else so as not to compromise the correct functioning of your device). After that restart your device so that the changes are applied and voila. try the recording then tell me

<!-- Recording Scenario -->

<path name="rec-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="99" />

</path>

<path name="rec-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="99" />

</path>

<path name="rec-3rd-mic">

<path name="3rd-mic" />

<ctl name="DEC6 Volume" value="95" />

</path>

<path name="rec-headset-mic">

<path name="ear-mic" />

<ctl name="ADC2 Volume" value="14" />

<ctl name="DEC5 Volume" value="82" />

</path>

<path name="rec-headset-mic-jam">

<path name="ear-mic" />

<ctl name="ADC2 Volume" value="19" />

<ctl name="DEC5 Volume" value="94" />

</path>

<path name="rec-stereo-mic">

<path name="sub-main-mic" />

<ctl name="DEC2 Volume" value="99" />

<ctl name="DEC4 Volume" value="100" />

</path>

<path name="rec-high-gain-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="94" />

</path>

<path name="rec-high-gain-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="94" />

</path>

<path name="rec-high-gain-headset-mic">

<path name="ear-mic" />

<ctl name="ADC2 Volume" value="14" />

<ctl name="DEC5 Volume" value="94" />

</path>

<path name="rec-high-gain-stereo-mic">

<path name="sub-3rd-mic" />

<ctl name="DEC2 Volume" value="94" />

<ctl name="DEC4 Volume" value="94" />

</path>

<path name="rec-NS-mic-interview">

<path name="sub-main-3rd-mic" />

<ctl name="DEC4 Volume" value="107" />

<ctl name="DEC2 Volume" value="107" />

<ctl name="DEC6 Volume" value="107" />

</path>

<path name="rec-NS-mic-conversation">

<path name="sub-main-3rd-mic" />

<ctl name="DEC4 Volume" value="107" />

<ctl name="DEC2 Volume" value="107" />

<ctl name="DEC6 Volume" value="107" />

</path>

<path name="rec-NS-mic-conference">

<path name="main-sub-3rd-mic-audience" />

<ctl name="DEC2 Volume" value="94" />

<ctl name="DEC4 Volume" value="94" />

<ctl name="DEC6 Volume" value="94" />

</path>

<path name="rec-NS-mic-meeting">

<path name="sub-main-3rd-mic" />

<ctl name="DEC4 Volume" value="107" />

<ctl name="DEC2 Volume" value="107" />

<ctl name="DEC6 Volume" value="107" />

</path>

<!-- end of Recording Scenario -->

<!-- ================================================================ -->

<!-- recognition Scenario -->

<path name="vr-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="107" />

</path>

<path name="vr-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="110" />

</path>

<path name="vr-headset-mic">

<path name="ear-mic" />

<ctl name="ADC2 Volume" value="12" />

<ctl name="DEC5 Volume" value="106" />

</path>

<path name="bargein1-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="99" />

</path>

<path name="bargein1-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="108" />

</path>

<path name="bargein1-earphone-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="94" />

</path>

<path name="bargein1-headset-mic">

<path name="ear-mic" />

<ctl name="ADC2 Volume" value="12" />

<ctl name="DEC5 Volume" value="94" />

</path>

<path name="bargein2-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="99" />

</path>

<path name="bargein2-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="87" />

</path>

<path name="bargein2-earphone-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="94" />

</path>

<path name="bargein2-headset-mic">

<path name="ear-mic" />

<ctl name="ADC2 Volume" value="12" />

<ctl name="DEC5 Volume" value="94" />

</path>

<path name="svoice-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="1145" />

</path>

<path name="svoice-NS-mic">

<path name="main-sub-mic" />

<ctl name="DEC2 Volume" value="107" />

<ctl name="DEC4 Volume" value="105" />

</path>

<path name="sdriving-NS-mic">

<ctl name="ES705 TX1 Enable" value="1" />

<path name="main-sub-3rd-mic" />

<ctl name="DEC2 Volume" value="108" />

<ctl name="DEC4 Volume" value="113" />

<ctl name="DEC6 Volume" value="116" />

<ctl name="ES705-AP Tx Channels" value="One" />

<ctl name="Internal Route Config" value="13" />

</path>

<path name="voice-wakeup">

<ctl name="ES705 Voice Wakeup Enable" value="1" />

<ctl name="ES705 Voice LPM Enable" value="1" />

</path>

<path name="voice-wakeup-lpsd">

<ctl name="ES705 Voice Wakeup Enable" value="2" />

<ctl name="ES705 Voice LPM Enable" value="1" />

</path>

<!-- end of recognition Scenario -->