S5 Mic Boost Magisk Module - Stereo Recordings
If your device is rooted with Magisk, thanks to a post by
@dcarvil in the old 16.x thread
here for inspiration, I created a module for myself for a S5 G900M klte to boost the mic via the mixer_paths.xml because my WhatsApp's sound messages were too low.
I did not create a module installer for it yet but you can download the attached
Module_mixer_paths_mic_Boost_curiousrom.zip, unpack it and copy the
mixer_paths folder to /data/adb/modules & reboot.
After that in the Magisk app > Modules: enable
mic_boost_118 as seen in the screenshot & reboot.
I boosted the value for both mics near the USB port and the one on the top of the S5 next to the IR blaster from 95 to 118. If you change it to a higher value expect some distortions in some apps:
Code:
<!-- Recording Scenario -->
<path name="rec-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="118" />
</path>
<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="118" />
</path>
I use a vacuum cleaner once in a while
to clean the USB port, the mic hole next to it & also the top mic hole next to the IR blaster which is used when you have
stereo recording enabled in some third-party recording apps like
Easy Voice Recorder for example.
(screenshots)
You can modify the mixer_paths/system/vendor/etc/mixer_paths.xml file in that module folder if you want to change the values of other stuff & reboot to apply.
***
If not rooted using adb root or File Manager in TWRP you can pull the /system/vendor/etc/mixer_paths.xml file, modify it & push it back to the device but that will not survive an update & you will have to redo it afterwards. :-/
Maybe
@haggertk could apply this mic boost mod to the official LineageOS 18.1 for the S5 klte family as it is a common issue reported by several users?

***
Note: thanks @ludwig83 for your post above linking to my post in the abandoned unofficial S5 18.1 thread. Might as well re-post it here, add a note for non-rooted devices and pinging haggertk about it.
***