yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 General] davyleggend:
Which value i Need to change for WhatsApp voice notes ? When i record my voice is low

Inviato dal mio SM-G900F utilizzando Tapatalk
[Galaxy S 5 General] thejester123:
You need to adjust the mic levels in VoIP section of the mixer_paths.xml. I will be posting the new updates after the bank holiday weekend once I am home.
[Galaxy S 5 General] tomdark:
Hi,

people I am talking to when calling are telling me the volume is very low when using bluetooth (tried with two different devices, one headset and one loudspeaker).

Which parameter should I tweak to increase the bluetooth in-call volume?

Thanks!
[Galaxy S 5 General] theelle:
Hi, with last version on g900f during recording voice note in WhatsApp and after playing this note, I have a crackling sound. How can resolve?
[Galaxy S 5 General] bilbonotry:
I would say recording level is too high in VoIP section, I think easiest is to lower all mics and try.

I have another problem, I installed mod 10.7 headset ages ago, and suddenly after a reboot, Bluetooth call volume in my car is very high even at minimum level set. My ears bleed. I would like to try and reduce volume, but I don't know which path to change.
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Anymore updates from your side? :)

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] bilbonotry:
As magically as it appeared, my issue disappeared.
[Galaxy S 5 General] bstylz911:
is there a microphone gain for CM13?
[Galaxy S 5 General] fbs:
Using an app like "QuickEdit", find the file /system/etc/mixer_paths.xml and edit it.

Try to find this code inside of it and EDIT only the INTEGER values (numbers..) then SAVE and reboot.

BE AWARE that if any garbage is left (a dot, a coma, an extra quotation mark), it will wipe out your phone's audio capability till you restore the **** you've done LOL

<!-- [B]Recording [/B]Scenario -->
<path name="rec-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="[B]118[/B]" />
</path>

<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="[B]118[/B]" />
</path>

<path name="rec-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="[B]17[/B]" />
<ctl name="DEC5 Volume" value="[B]90[/B]" />
</path>

---------- Post added at 02:28 AM ---------- Previous post was at 02:24 AM ----------

If there's someone with more knowledge than me, could help me fix these problems? they're making my facebook voice recordings with bad, BAD quality.. I hear them perfectly, but it seems my phone can't use the right codec and defaults to a poor/old one...

I think these are defined in media_codecs_google_audio.xml, where can I grab/compare with a nice with compatible with CM13 ??? CLUES?

09-15 23:15:41.078 I/NuPlayer( 423): PCM offload decided: 0
09-15 23:15:41.081 E/OMXNodeInstance( 423): setConfig(313:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
09-15 23:15:41.081 I/ACodec ( 423): codec does not support config priority (err -2147483648)
--
09-15 23:15:59.395 I/MediaCodec( 423): MediaCodec will operate in async mode
09-15 23:15:59.395 E/OMXNodeInstance( 423): setConfig(314:google.aac.encoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
09-15 23:15:59.395 I/ACodec ( 423): codec does not support config priority (err -2147483648)
--
09-15 23:16:47.121 I/NuPlayer( 423): PCM offload decided: 0
09-15 23:16:47.123 E/OMXNodeInstance( 423): setConfig(315:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
09-15 23:16:47.123 I/ACodec ( 423): codec does not support config priority (err -2147483648)
--
09-15 23:16:56.659 I/NuPlayer( 423): PCM offload decided: 0
09-15 23:16:56.671 E/OMXNodeInstance( 423): setConfig(316:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
09-15 23:16:56.671 I/ACodec ( 423): codec does not support config priority (err -2147483648)
--
09-15 23:18:11.887 I/NuPlayer( 423): PCM offload decided: 0
09-15 23:18:11.890 E/OMXNodeInstance( 423): setConfig(317:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
09-15 23:18:11.890 I/ACodec ( 423): codec does not support config priority (err -2147483648)
[Galaxy S 5 General] thejester123:
I will release my final builds as soon as I am out of hospital guys, I apologize for the delays but I have been really ill and hospitalized for the past couple of weeks. All being well I will be home next week.
[Galaxy S 5 General] j1gga84:
Oh, thanks for information..

All the best to you my friend, take your time and get well soon.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] bilbonotry:
Nice to read you again, but no need to apologise, you do not owe us anything. Take your time to recover.
[Galaxy S 5 General] htb2050:
That's serious ???? what happened?
[Galaxy S 5 General] bigmeech084:
Hi, is it possible to use this mod on G900H? trying to edit the mixer_paths, there are no integer values there
[Galaxy S 5 General] CoLdIcE42:
Hi im very happy that you found a way to fix that ****ty microphone problem but Ive got some questions :D

Newbie questions:

What are the requirements that my phone (sm-g800f) needs to match ?

(Which android version for ex.)

Is a root with Kingroot or Odin required/is it suitable ?

Where am I going to find this "system" folder ?

And should I replace it with the downloaded one that is attached to this Thread?

All these questions probably sound banal to you since a lot of people where able to do it,

but some more explanation would be great .

Thanks in advance
[Galaxy S 5 General] andreoide:
Hi

Since you explain u r newbie:

You have to use some kind of root_explorer app giving acces to the system, wich is not internal or external memory cards but where Android is located

There u find the map system an within there etc maps

Read the Manuel.

Section download gives the zipfile you could flash with TWRP

OR : edit the file mixer path yourself only the sections the developer marked red. But hey why should you... He gave flashable zips to make our life easy [emoji16]

Read ... read ... and read again!... (tip for newbie and ex-newbies lol).

Personally I think this is one of the most worthfull modifications for my (sm-g901f) S5. Now sound is like it should have been when it came from Samsung factory!!

[emoji111]
[Galaxy S 5 General] afr33sl4ve:
Hey, so I just found this from Reddit. I manually made the changes, however, nothing happened. Ideas?

EDIT: I'm using G900T.

EDIT2: Nvm, flashed the latest nightly, along with the flashable zip. It works now!
[Galaxy S 5 General] bilbonotry:
Are you OK [MENTION=3974390]thejester123[/MENTION] ?
[Galaxy S 5 General] j1gga84:
I hope so..

He was in hospital and after that no more answer :(

I wrote him an email to his Gmail address but also no answer here until now..

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] manigma:
Can someone please help me how to increase mic volume on outcall. For my rooted 900h.
[Galaxy S 5 General] PeanutBR:
Does anybody have good values to put in the mixer_paths.xml code? Cuz I still have problems while recording a video with a bad quality sound
[Galaxy S 5 General] afr33sl4ve:
v11.7 has stopped working with CM13 Nightly 20161028. :(
[Galaxy S 5 General] fbs:
try this:

http://xdaforums.com/galaxy-s5/general/mic-volume-gain-mod-s5-t3491483

---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------

try http://xdaforums.com/galaxy-s5/general/mic-volume-gain-mod-s5-t3491483

but then explain there what is "bad quality" (in portuguese, if you want.. lol)
[Galaxy S 5 General] bhadzcarl:
What is the difference between yours and thejester? As per checking. Yours will not flashed into the system unlike with thejetser's zip. Thanks.

Sent from my SM-G900F optimized by xXx ROM 5.7 Boeffla Kernel 2.2
[Galaxy S 5 General] fbs:
It is written there, it WILL overwrite /system/etc/mixer_paths.xml, just exactly like this one does.

But it will only change MIC values, nothing more, and will survive rom upgrades.
[Galaxy S 5 General] thejester123:
Guys I am back and feeling much better, now firstly I apologize for my illness keeping me away for a while but I will be on my laptop tomorrow updating all the files and uploading new builds :)
[Galaxy S 5 General] Reechings:
Welcome back! Happy to hear you're feeling better!
[Galaxy S 5 General] j1gga84:
Awesome :)

Glad to have you back and everything is allright my friend.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] thejester123:
[MENTION=4699854]j1gga84[/MENTION] my friend, thank you for your concern over my well-being and the email and PM did not go unnoticed I was just not in a position to reply at the time. I hope you are well and ready to flash a new update :)

Lets celebrate :) here are the updates i promised before i was ill.

all the changes from the xx.8 test builds merged, tweaked and optimized

xml files compressed for minimal file size

MOD will now survive ROM upgrades unless you "WIPE SYSTEM"

Lowered a few values to reduce reported distortion.
[Galaxy S 5 General] Reechings:
Link for 10.9 points to 11.9 ?
[Galaxy S 5 General] afr33sl4ve:
Flashing v10.9. Will let you know how it turns out.

EDIT: Using Flashfire is failing to set it correctly. Using TWRP works just fine. No idea why.
[Galaxy S 5 General] ervin444:
thejester123

Thank you for a great job !!! :good::good::good:
[Galaxy S 5 General] PeanutBR:
Amigo desde já muito obrigado! O problema é que em lugares que tem muito barulho ou um som um pouco alto a qualidade do som fica meio "estourada". E antes dos mods não tinha esse problema.

Assim que eu efetuar o teste te passo atualizações sobre!
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

New Update is very good, thanks for that :)

What I observed is that the audio of video recording is overdriven and too loud. When you record a video without saying something you also hear a background noise..

I am on ResurrectionRemix 5.7.4 which is based on CM13.0, what could be the reason for that?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] bilbonotry:
Great news ! Was fearing a bad outcome like with spirit FM dev. Good to read from you.

No need to apologise for being ill :)
[Galaxy S 5 General] andreoide:
Hi

I think there is a little problem:

I have the sm-g901f phone and was on the 11.6 (g901f)-mod.

I flashed back to stock (g901f) and speachrecorder was working like stock.

Than flashed the mic gain 10.9 and after reboot I could not make recording any more. (Even when back in twrp and flashed back to stock (g901f) it did not work. So I had to restore the whole system backup from last night.

But now I only want the mic gain mod like it was before 11.6 wich worked before.

Is the 10.9 for g901f also? I don't think so because of the problem above I encountered?

Please look in to this...

Thank you in advance [emoji106]

this is the app wich did not work any more (app started but pressing record did not do anything)
[Galaxy S 5 General] thejester123:
The file for g901f is labeled in the OP my friend, it has not been updated as there have been no reported issues
[Galaxy S 5 General] andreoide:
Hi thejester123

Thnx for replay so quick.

But see #392 here. At that time I used the 10.x

In OP there is no special g901f file for 10.x therefor I asked...

Anyway it works again used 11.x g901f

And if I only want mic gain mod I can use your back-to-stock g901f and do the trick manually like discribed in OP.

I think your mod is one of the most best because factory setting for mic is too low. With this mod the g901f is like it should have been from factory Samsung [emoji6]

Thnx for this mod!!! [emoji106] [emoji111]
[Galaxy S 5 General] thejester123:
No your model has a different file structure so the guide will not work for you. I will take a look and do just a MIC Gain for your device variant :good:
[Galaxy S 5 General] andreoide:
That would be nice. Thank you already and I think all SM-G901F (S5 Plus) owners will apriciate your work!

Peace upon you [emoji106]
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Any idea for the overdriven audio in video recording? Could it be related to your mod or is this a ResurrectionRemix or CM issue?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] andreoide:
It is the hardware (yes your microphone)

I suggest you read the OP and adjust manually where you read in red value 106 to change all to 95 or 98 and check if the noise in background has gone or is lower?

Thejesters' mod alters not the hardware but turns wide open the recording volume.

If you make no sound while recording than you get this noise because recording volume is set to "high"...

But.... Im not the one you asked the question to, maybe Thejester has more information for you...

And Do not forget the golden rule to backup your system before altering anything. It saved my [MENTION=237736]SS[/MENTION] yesterday too!

[emoji111]
[Galaxy S 5 General] thejester123:
I do agree but the values you suggest are almost stock, therefore the volume on the recording will be too low but there are a few things i have learnt whilst adjusting this mod so i will take a look at modifying the software codecs
[Galaxy S 5 General] thejester123:
[MENTION=5156684]andreoide[/MENTION] here is the flashable zip with just the microphone values modified ;)
[Galaxy S 5 General] dura652:
Wonderful mod. I stumbled to this thread looking for solution for my 910t. The mixer_paths.xml looks almost the same as for S5 Variant.

My question is which values control microphone volume only in call phone calls?

People don't hear me very well when i hold my phone close to ear. But they hear me very well when the phone is on speakerphone.

By looking at post #391 below I pasted my code from mixer_paths.xml. If I read this correctly during in phone calls the "call-main-sub-3rd-mic" is in use not "main-sub-mic" ?

<!-- TX part -->
<path name="voice-call-main-mic">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="call-main-sub-3rd-mic" />
<ctl name="DEC2 Volume" value="93" />
<ctl name="DEC4 Volume" value="93" />
<ctl name="DEC6 Volume" value="93" />
<ctl name="ES705-AP Tx Channels" value="Three" />
<ctl name="Internal Route Config" value="4" />
</path>

<path name="voice-call-sub-mic">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="call-sub-main-3rd-mic" />
<ctl name="DEC4 Volume" value="93" />
<ctl name="DEC2 Volume" value="93" />
<ctl name="DEC6 Volume" value="93" />
<ctl name="ES705-AP Tx Channels" value="Three" />
<ctl name="Internal Route Config" value="3" />
</path>
[Galaxy S 5 General] thejester123:
all you need to do is increase all the values at 93 in both paths gradually and test after each increase :good:
[Galaxy S 5 General] andreoide:
Thank you thejester123. I really really a precaite this.

Peace upon you [emoji111]

[emoji106]
[Galaxy S 5 General] praveensk.rcb:
Is there any way make the secondary mic as primary mic? My primary mic is damaged and my secondary mic works fine when used in loudspeaker made during calls.
[Galaxy S 5 General] thejester123:
Yes but you will have to replace you main mic "ctl name" with that of your secondary mic :good:
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Anything new about distorted audio in video recording my friend? :)

I guess it is only an issue of CM and not of stock Android!?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] praveensk.rcb:
Can you please give the procedure to do it on a Sprint HTC One M7 :confused: ???
[Galaxy S 5 General] thejester123:
I am still looking into it, i am currently on android N and not having the issue myself, should hopefully have some news tomorrow. Going to reflash MM and give my new files a shot :good:
[Galaxy S 5 General] thejester123:
Right i have tested for a few days and the noise has been reduced so i will tweak it some more and should have a release by Saturday at the latest :good:
[Galaxy S 5 General] j1gga84:
Awesome, looking forward :)

I agree it is much more improved compared to the beginning but audio in video recording is totally distorted in louder environments, I have no idea if it is adjustable via mixer_path and voice notes recorded via headset is also still distorted compared to the microphone records on the bottom of the S5 - for example in WhatsApp, just tested it today in my car, one time with headset and the other time without headset. The audio quality got better at headset recording but the voice is still distorted completely sometimes.

But we are definitely on the right way :)

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] harpal singh:
Hi there....

i have SGS5 900-H.. for this model which file should i flash for mic gain..

..
[Galaxy S 5 General] Rendering:
I used to use this patch on my phone at the time that the only content of the patch was a single xml file. Now we have two things:

The xml file in the first post;

the compressed file that contains bash scripts and many other files.

The question is: which of them should I use?
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Hope everything is allright from your side?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] PushyPhoenix:
[MENTION=3974390]thejester123[/MENTION], can't thank you enough for this!

First of all, a rant...

Samsung - You've included NO options to adjust voice input settings system-wide? With YOUR phone on a car dock, the microphones pick up every little vibration, and the only way to tweak is to use the pre-installed voice recorder app?

/RANT

Anyway! After a massive search on this topic a few months back I came up with the solution of "use a wired headset" for a specific voice messaging app. It's a huge relief and benefit to all of us that there IS a way to play around with this in a more global way!
[Galaxy S 5 General] O-Dawg:
I have the latest snapshot build of CM13 on my SM-G900V. I realized some time ago that no one could hear me on Skype. The audio level for videos and sound recordings was also low. Regular calls (regular calls and on speakerphone) have strangely been fine. I flashed the latest version of your mod (11.9) and the camera recording volume seems to be fixed, as well as in regular Skype calls (holding phone up to ear), but the speakerphone mic is still really quiet in Skype calls, and in recordings from the Sound Recorder app.

I made the following changes to try to fix it, all to no avail. They were the only options with "speaker" in them so I figured they would be the relevant levels to change.

Video call: video-call-NS-mic-speaker both levels to 106

VoLTE Voice call: VoLTE-voice-NS-mic-speaker both levels to 106

VoLTE Video call: VoLTE-video-NS-mic-speaker both levels to 106

Any suggestions are appreciated.
[Galaxy S 5 General] Vicky_666:
Work for G906L 5.1.1?
[Galaxy S 5 General] jdrch:
I think you might want to change the warning about needing to reflash after each ROM update as the .zip itself now says that's unnecessary?
[Galaxy S 5 General] username=0:
I have CM14.1 and my mixer_path has none of the lines in the OP. Can someone help me to increase mic sensitivity? I am really screaming while calling on whatsupp and viber
[Galaxy S 5 General] gunpuppy:
For the noobs like me, will this change the mic it uses for phone calls to the mic for making videos? Because the mic for videos and everything else is clear and perfect while the other one is complete garbage. If so, how would I be able to change it?
[Galaxy S 5 General] Rendering:
Could you please fix VOIP calls volume too?
[Galaxy S 5 General] ihackx2k16:
Working perfect on aicp 12.1

Working perfect on aicp 12.1 .

Now everyone can hear me :)
[Galaxy S 5 General] Rendering:
What is the entry to increase the volume of SIP VOIP calls? Please help me or I will be forced to buy a new phone
[Galaxy S 5 General] Rendering:
I solved the low mic volume for VOIP calls: Just search "VOIP" and increase the proper recording volumes using the values of first post
[Galaxy S 5 General] andreoide:
Reading the OP and thread does help indeed.

Good job you fixed it.

Peace :svetius:
[Galaxy S 5 General] linlz:
which to flash

Im on a G900F, so which file should i flash and does it work with cm13?
[Galaxy S 5 General] Mikey106:
Do you have to do this everytime you want to make a recording or is it a permanent fix. Will this work for recording peoples voices while a TV is playing in the background?
[Galaxy S 5 General] andreoide:
It is permanent however if you rooted your phone and install an update for your Rom with Odin you will have to patch again.

If you want to know about recording ppls voice with TV on background ( you... James Bond :D ) make a backup of existing Rom with TWRP first, than apply the patch and test it. If you should be disappointed in any way you can always return to the previous state.

Peace :svetius:
[Galaxy S 5 General] tesacrap:
i've fixed the recording value (used 118 instead of 108) for my klte g900f

but i have still problems with voip calls with speaker. kind of weird because the other person hears himself twice but i am to quiet.
[Galaxy S 5 General] andreoide:
Only with voip or also with regular calls?

The echo (as far as I know) exists because of the fact your microphone picks up the sound of your speaker and for the person calling you it is super irritating as you probably already know.

I did not dive in the script as you can see in OP

but maybe it is some setting.

You maybe have to lower the input from microphone if possible.

Maybe our developer can say something about it. Maybe you could PM him.

Please let us know if and how you solved it.

I think this mod is awesome and the manufacturer of my phone (Samsung s5 plus kccat6) should have had the settings from the beginning like this mod does now.

Good luck !
[Galaxy S 5 General] tesacrap:
Thank you for your answer!

I forgot to tell you one important thing: I flashed my Phone with lineageos 14.1 and haven't had any problems before the flash :laugh:

nevertheless I tried it over a regular call and I get the same problem. I don't understand why the echo and my quietly sound happen at the same time. Does the phone usually use the upper microphone at speaker calls?
[Galaxy S 5 General] andreoide:
I think you should read the Op

Mod was written for Lollipop. You r on Lineage.

Maybe the answer is in there ...

But as I said.... you could pm the developer about it.

Good luck!
[Galaxy S 5 General] tesacrap:
Installing OPs files helped me slightly. adjust it on fbs values solved the quiet voice recordings like on whatsapp so there must be some things in common. I'm going to ask OP, Thank you for your help!
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Are you still alive my friend? :confused:

In the meanwhile I am trying this mod: https://xdaforums.com/galaxy-s5/general/mic-volume-gain-mod-s5-t3491483

because it seems to fix the distorted audio in video recording.

Edit:

Totally distorted audio in loud environments.. :(

regards
[Galaxy S 5 General] djlooka:
Did you guys know about this? https://jira.lineageos.org/browse/BUGBASH-275

Maybe it's worth voting for this issue on LineageOS' Jira so it gets prioritised...
[Galaxy S 5 General] tesacrap:
Sometimes updateing the modem & the bootloader fix problems like this..
[Galaxy S 5 General] jdrch:
Just voted and commented, thanks.

---------- Post added at 14:14 ---------- Previous post was at 14:13 ----------

I've updated all my partitions and nothing's changed.
[Galaxy S 5 General] ihackx2k16:
Did you tried factory reset or delete/wipe dalvik and cache?