yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 General] igorescu04:
Thx man!

What I did in the end was editing the mixer_paths manually incrementing a little the earpiece and speker volume.

Now looks pretty good.

If someone wants it here it is.

I only touched the earpiece and speaker volume

Make a copy before just in case. ( you need to put the file in system\etc\ replacing the actual mixer_paths
[Galaxy S 5 General] novice_coder:
[MENTION=3974390]thejester123[/MENTION]

Just a quick question, your mod includes a speaker + mic boost. Could I just keep the mic boost and revert the speaker gain to exactly as it was in stock? Or would this affect speakerphone calls (or any other scenarios) anyhow?

Many thanks Jester, we are all very grateful for your work :)
[Galaxy S 5 General] thejester123:
Just drop the speaker value to 82 my friend and playback will be at stock level [emoji106]
[Galaxy S 5 General] yetep:
Sorry to sound like im being ignorant - which I'm not meaning to be - but does this effectively work on all ROMs including CM/AOSP/AOKP etc?
[Galaxy S 5 General] thejester123:
Yes it works on all cm/aosp based ROMs [emoji2]
[Galaxy S 5 General] yetep:
Absolutely amazing thanks!!

---------- Post added at 09:34 PM ---------- Previous post was at 09:31 PM ----------

This has solved the exact issue I've had with AGC, amazing!!
[Galaxy S 5 General] ettore88:
Hi!!!Just a question.Is it compatible on stock fw MM 6.01?(S5 g900f)Thx in advance
[Galaxy S 5 General] j1gga84:
It has nothing to do with the installed firmware. You have to be rooted to apply the modification, that's all ;)

[MENTION=3974390]thejester123[/MENTION]

How satisfied are you with the latest file? Do you think we still can go one more -1?

I have disabled viper4android on internal speaker now (only left active for headphones and bluetooth) but the volume when watching YouTube videos is very loud.. Is that related to the microphone optimisation from here?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] ettore88:
Many thx m8 4 your reply!!! If I understood properly...with the root i can install it on my stock fw.Right?
[Galaxy S 5 General] j1gga84:
[MENTION=3319912]ettore88[/MENTION]

Correct, you can flash the zip in twrp recovery, that's all ;)

Regards

Sent from my SM-T805 using german Tapatalk 4
[Galaxy S 5 General] thejester123:
Sorry, I've been on holiday. I will look into it and decrease speaker output a little [emoji106]
[Galaxy S 5 General] Struppi0815:
I opened just in JIRA an issue with the microphone volume. Please vote for this Issue. Thank you.

xxxx://jira.cyanogenmod.org/browse/NIGHTLIES-3041 (xxxx = https)
[Galaxy S 5 General] fbs:
don't need to mess with too much. only these first two values are needed to be changed.. (or maybe only the first one)

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

<path name="main-mic" />

<ctl name="DEC2 Volume" value="170" /><!-- 96 -->

</path>

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

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="180" /><!-- 94 -->

</path>
[Galaxy S 5 General] Reechings:
Anyone running resurrection remix and have fully working speakerphone? Can you share mixer_paths.xml? Thanks
[Galaxy S 5 General] j1gga84:
This would be a good thing because compared to stock (I can compare it after a dirty flash of new ResurrectionRemix builds) it is much louder and a bit overdriven.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] fbs:
any way to colorize the frontal cam ? my videocalls are almost B&W !!!!!
[Galaxy S 5 General] theelle:
how much increase volume rec and call with this mod on cm13?

Thanks for response
[Galaxy S 5 General] Stan93Italy:
but i have the zip or edit and stop via XML ?
[Galaxy S 5 General] j1gga84:
Yes, flash the zip (I would recommend v11.5) in recovery, thats all :good:

The only thing: the playback volume is much much louder than stock but I already told that [MENTION=3974390]thejester123[/MENTION]

Also, that we maybe still could go -1 for recording at least.

regards
[Galaxy S 5 General] Stan93Italy:
i love you.. CM13 finally audio OK eheheheheh
[Galaxy S 5 General] RowBan:
There's no version for SM-G900F? I tried flashing v11.5 that has no indicator of which model it is for, but it did not work :(
[Galaxy S 5 General] j1gga84:
Which version you tried? This one: http://xdaforums.com/attachment.php?attachmentid=3732178&d=1461750866

And which ROM do you use? I am not sure if this works under stock ROM (I don't think so).

Low volume only affects CM builds and therefore you only have to flash the zip file via recovery, for me it was a huge enrichment :good:

regards
[Galaxy S 5 General] RowBan:
Yeah, that one. v11.5 that has no modelname in its name. I'm using Alexanders ROM (not CM), and have been inflicted with poor gain on microphone for ages now. Can't seem to fix it, whichever thing I try.

Oh well. Thanks anyway.
[Galaxy S 5 General] j1gga84:
[MENTION=5936436]RowBan[/MENTION]

You could take a look with a file explorer if the following file exists under Alexandr ROM (which is a customized stock based ROM): system/etc/mixer_paths.xml

If not we have to wait for [MENTION=3974390]thejester123[/MENTION] if he has an idea

If yes, I don't understand why the flash did not improve the recording volume..

In this case you could try to replace the file manually.

in this case extract the mixer_paths.xml from the zip, replace the existing one under system/etc with that one, set permissions to 644 or rw-r-r then reboot.

If that does not work I have no idea what could be the reason.

Sometimes the microphone hole is full with dust or fluff, in this case the best modification does not help ;)

microphone is the very tiny "hole" on the top and bottom, you can try to "clean" it with a very thin needle and try it again.

regards
[Galaxy S 5 General] RowBan:
Confirmed the file was there before I flashed, also edited it manually and tried to copy the one from v11.5 manually. No improvements. Guess I'm suffering from a different problem entirely.

The microphone works fine in any app except while in the dialer app (calls, *#0283# tests, et.c.) which suggests it's not hardware related or blockage, as the microphone would (logically) behave the same way in any app if it was hardware or blockage problem.

Thanks anyway :)
[Galaxy S 5 General] j1gga84:
[MENTION=5936436]RowBan[/MENTION]

now I think I got you, the recording volume of the microphone is good (for example whatsapp voice messages) but the volume in telephone calls is to low?

If yes I guess therefore other settings have to be done but I don't know which one.. lets wait for [MENTION=640970]TheJester[/MENTION] :)

ohterwise did you also ask for a possible solution in the ROM thread?

regards
[Galaxy S 5 General] RowBan:
Precisely!

Did ask for support there as well, all I got in replies was other people with the same issue. It seems to be independant of ROM. Some have it with stock, some with CM, some with alexanders ROM et.c. Hopefully TheJester might know what's up :P
[Galaxy S 5 General] thejester123:
Ever so sorry guys, been away on business. My life has been rather busy lately. [MENTION=5936436]RowBan[/MENTION] plz can you attach a copy of your original mixer paths file for me to look at and [MENTION=4699854]j1gga84[/MENTION] new files will be uploaded around 9pm GMT when I get back from work.
[Galaxy S 5 General] thejester123:
Updates in OP guys, not much done this time, just optimization and speaker output adjustments.... :) enjoy
[Galaxy S 5 General] ervin444:
thejester123

:good::good::good:
[Galaxy S 5 General] j1gga84:
Many thanks for the update :good:

I was not able to test it in detail yet but what I recognized is that speaker output is extremely loud when watching instagram or snapchat videos or other embedded videos, for example youtube. The playback volume of whatsapp voice messages against it has normal volume.

I don't have this behaviour with stock mixer_paths or let me say audio in videos is still louder but not that much..

what could be the reason for that and what did you change in latest update? :)

[MENTION=516058]fbs[/MENTION]

I think it would be better if you could spoil the text of your mixer_path file ;)

regards
[Galaxy S 5 General] thejester123:
[MENTION=4699854]j1gga84[/MENTION] i packed the wrong files up, lol. all files repacked and reuploaded now so all should be sorted regarding playback volume ;)
[Galaxy S 5 General] thejester123:
[MENTION=516058]fbs[/MENTION] please upload your original untouched mixer_paths.xml file and i will take a look, because it looks like you may have edited the wrong area of the file but without it i cant be 100% sure..
[Galaxy S 5 General] Reechings:
I've always had to adjust the speaker playback manually after flashing your zip but I'll try the new one you just uploaded.
[Galaxy S 5 General] thejester123:
You should no longer need to adjust after flash as it is only +1 more than stock [emoji106]
[Galaxy S 5 General] Reechings:
Pretty sure my stock one is 79 for speaker under play scenario which is what I change your modded one back to and it works great for me. I could be wrong though and either way I appreciate your work. ?
[Galaxy S 5 General] senzatiOn-:
[MENTION=3974390]thejester123[/MENTION] mate is to loud.. and microphone when use voice recording sound is ugly. How reduce by 30 % lower value for microphone gain?
[Galaxy S 5 General] j1gga84:
Strange,

For me the latest update is okay..

Which ROM, file (11.6?) and device do you use? G900F (klte)?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] senzatiOn-:
G900F ... not rom problem. Have try stock to.
[Galaxy S 5 General] thejester123:
11.6 and 10.6 are pretty much flawless and it seems only you are having this issue. I need more detailed information before I can start looking into your issue as like I said so far only you are experiencing this.

ROM? Build date? System wipe? Mod version? Stock or third party apps used? Etc
[Galaxy S 5 General] themismar73:
This mod work on Galaxy s5 neo g903f?

Στάλθηκε από το SM-G903F μου χρησιμοποιώντας Tapatalk
[Galaxy S 5 General] thejester123:
Not quite sure as my wife won't let me touch her s5 neo, your best bet is to backup your original file then test it. If not then upload your mixer_paths.XML file and post it here and I will modify it for you ;)
[Galaxy S 5 General] themismar73:
OK thanks

Στάλθηκε από το SM-G903F μου χρησιμοποιώντας Tapatalk
[Galaxy S 5 General] k0v1k:
Please, u can take this for me to? my device galaxy s4. Thx. When you records video, quality of a voice simply ideal. I want to receive same) Thanks!
[Galaxy S 5 General] thejester123:
I will take a look at both files for you guys tomorrow when I'm back home ;)
[Galaxy S 5 General] themismar73:
Thanks my friend [emoji106]
[Galaxy S 5 General] nonyhaha:
Hello,

I am posting here for a little help as I seem not to find anybody else having this problem like me.

I am using a Xiaomi Redmi note 3 Snapdragon edition. Until yesterday I have used stock global rom, nothing added.

Yesterday, I flashed TWRP, and Cyanogenmd 13 - androd 6.0.1, root enabled from developer options and that is all I did. The issue is the mic is now behaving very badly, it has a very very low volume in call and also in audio recording apps.

Is there any way for you to hint me what I should try to change in my xml file?

many thanks!
[Galaxy S 5 General] thejester123:
All the Mixer_paths files are modified and here, just backup old file, rename the new one and replace and reboot. enjoy :D
[Galaxy S 5 General] nonyhaha:
Praysed be thy! :) Now Cyanogenmod is the greatest rom.

With YOUR help.
[Galaxy S 5 General] themismar73:
Thanks my friend I will test and I will tell you
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

are you comfortable with latest modifications or did you tweak something in the meanwhile? ;)

Regards
[Galaxy S 5 General] j1gga84:
doublepost -> delete
[Galaxy S 5 General] thejester123:
i ahve a few extra tweaks im currently testing my friend, fingers crossed updates will be this weekend :)
[Galaxy S 5 General] bilbonotry:
Don't you find mic level with an handsfree earphone is very low ?
[Galaxy S 5 General] thejester123:
Is it wired or Bluetooth?
[Galaxy S 5 General] bilbonotry:
Wired. It seems to me volume is lower than with regular mic. I use v10.6 and tested with Viber, forgot to specify.
[Galaxy S 5 General] thejester123:
I will take a look at increasing the volume before I release updates [emoji2]
[Galaxy S 5 General] daxecutioner24:
Is this compatible with G900T? Klte?

---------- Post added at 08:05 AM ---------- Previous post was at 07:35 AM ----------

Which line should i increase to increase call audio, its too low..thank you
[Galaxy S 5 General] thejester123:
I can't say it is, if you like upload your mixer_paths.XML and post it here and I will take a look for you.
[Galaxy S 5 General] j1gga84:
you mean generally increasing the volume or only in this specific case?

I wont increase the volume again because in the past it led to distortions..

Anyway, I am looking forward to an updated version :)

regards
[Galaxy S 5 General] thejester123:
Updates will be uploaded tomorrow and there will be a separate file for the increase ;)
[Galaxy S 5 General] j1gga84:
Perfect,

something different, please take a look here:

http://xdaforums.com/showpost.php?p=68008961&postcount=8315

Is there anything we can do to reduce audio background noise during recording a video without limiting the record quality in whatsapp.

regards
[Galaxy S 5 General] thejester123:
Updates in OP also [MENTION=1160716]bilbonotry[/MENTION] your file is the 10.7 headset - just flash as normal.

changes:

fixed crackle on playback

reduced background noise on video recording

other tiny adjustments to improve playback and recording quality
[Galaxy S 5 General] ervin444:
thejester123

Thank you for your work :good:
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

First of all, thanks for the update :good:

Second, please take a look here:

http://xdaforums.com/showpost.php?p=68065730&postcount=8377

What do you think of that?

He writes: Everything works now perfectly without any distortion ! (0 issue)

This would be super awesome.. But I still wanted the audio quality of your mod so maybe this could be combined somehow?

regards
[Galaxy S 5 General] thejester123:
I can merge the extra bits in his zip but his mixer_paths I will not implement as mine is tweaked a lot more. I'll take a look later on my friend [emoji2]
[Galaxy S 5 General] thejester123:
I have some test builds if anyone is wanting to test? Tell me what build your running and I'll give you a link....
[Galaxy S 5 General] j1gga84:
I will test 11.8 and report back :)

What if I don't like it and want back to stock, because now some more files than only mixerpath is tweaked ;)

regards
[Galaxy S 5 General] thejester123:
I have originals backed up my friend so don't worry ;)
[Galaxy S 5 General] j1gga84:
On the first glance it sounds very good :good:

What I can say is, that it definetly does not sounds inferior to 11.7 ;)

It seems that it also sounds better in loud environments but I will check it again.

When I am in a car I have crackling noise but it could also come from the electric generator because the S5 is not protected from EMI ;)

regards
[Galaxy S 5 General] PeanutBR:
Hello guys,

Where can I find the 11.8 build to test?

Thanks
[Galaxy S 5 General] thejester123:
10.8 test - http://d-h.st/aVBM

11.8 test - http://d-h.st/O9oM

Final builds will be posted at the weekend :)
[Galaxy S 5 General] PeanutBR:
Hello guys,

Thanks by the update, I tested the test build and I really liked, but is still with some problems in noisy places. I don't know if the problem is on my S5. Anyone tested too?

Thanks again and sorry my bad english
[Galaxy S 5 General] twito1992:
what about mm virsion?
[Galaxy S 5 General] thejester123:
The mod works on all cm based ROMs lollipop and marshmallow :)
[Galaxy S 5 General] j1gga84:
The new 11.8 definitely is an improvement compared to previous builds, especially in loud environments, although it is still a bit distorted. I don't know if this is the best we can get out of our S5 without the needed sources or if it still can be improved a little bit ;)

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] thejester123:
[MENTION=4699854]j1gga84[/MENTION] I have delayed finals I you are right and I'm having to retune the mixer_paths.xml to match the other altered files
[Galaxy S 5 General] bilbonotry:
[MENTION=3974390]thejester123[/MENTION] : sorry for the late report, I tested 10.7 headset but it did not change anything in Viber. What I do not understand is that with cm recorder app, sound with headset is much louder than with Viber.
[Galaxy S 5 General] phoberus:
Ok thanks.

Is it also better in loud environment than stock or mostly in the quite once?

Because, I want to have fewer distortion at concerts and other loud environments
[Galaxy S 5 General] j1gga84:
Hmm,

I would say it CAN be better in loud environments if it is finally optimized but in my opinion the microphone of my Galaxy S2 is much better.

I think it is because of optimized sound drivers (AOSP/CM) which is not yet possible to optimize on Galaxy S5 because the drivers are not yet documented and kernel developpers don't know how to work with it. There are some comments on latest 2 pages in the Boeffla CM Kernel thread concerning that problem. Because of that reason you cannot tune microphone with boeffla and any other kernel anymore..

It is hard to explain but I hope you know what I mean. Modifying the mixer_paths.xml is a very good "workaround" at the moment :)

regards
[Galaxy S 5 General] thejester123:
OP updated with new release, i think i have cracked it finally :D
[Galaxy S 5 General] j1gga84:
Many thanks for update :good:

I checked it and in quite environments it is nearly perfect, maybe only a little, little bit less gain and it is 100% perfect but I will first check it tomorrow while driving to work and when it is loud around me. I will check if sound is still distorted.

In comparison to my S2 it seems that voice is a bit deeper/has a bit more "bass" but that could also be the loudspeaker I guess ;)

So I will check tomorrow and report back :)

regards
[Galaxy S 5 General] j1gga84:
Good morning,

ok, I checked it today on the motorway with noise in the background and I must say that voice is still scratched but much better than with first 2 files..

Anyway the sensitivity seems to be much higher than with the microphone of my S2 but as stated before it could also be a driver related thing. I don't know if different drivers give different sensitivity/audio quality because with the xml file you can only change the gain/loudness, correct?

So I think still lower it a little bit and we can live with it :)

Btw. how much difference is it now to stock?

regards
[Galaxy S 5 General] thejester123:
New update with minor tweaks but as it is with the mixer paths, minor can be major lol. It is still at least 7-8 points greater than stock which is a large difference. Sensitivity and bass are hardware and/or driver related unfortunately :(
[Galaxy S 5 General] Italocarella:
Thank you very much. I found this so useful.
[Galaxy S 5 General] thejester123:
Glad to be of service ;)
[Galaxy S 5 General] j1gga84:
I am sorry to say that but it is still a bit too sensitive (loud), especially in loud environments, it still "clips" on the peaks and voice becomes slurred/scratched so I think to raise the gain is very sensitive and there is already a big difference by about +5 to all values.

So what is stock and how much + is it in the up to date file? But we are definetly on the right way :) :good:

Did you already test it on your side when it is a bit louder around you?

regards
[Galaxy S 5 General] thejester123:
The stock values are in the guide, I have pushed the values to around 94 on each, next update I will drop the values to around 90, I tried it while running my lawn mower earlier and yes I did notice the scratch in the voice. I think the lowest I will take the values down to 88 otherwise the voice isn't heard over the background noises.

Keep in mind it is the high gain values I'm adjusting as if I adjust the others it will be worse than stock ;)
[Galaxy S 5 General] thejester123:
Here is a new file, push and set permissions, will update zip and OP when I'm home ;)

http://d-h.st/qJot
[Galaxy S 5 General] Zimon02:
For me its better now.

Thanks!
[Galaxy S 5 General] j1gga84:
is it already in the OP? otherwise I will try the file and set permissions, no problem :)

regards
[Galaxy S 5 General] thejester123:
Yes OP is updated now :victory:
[Galaxy S 5 General] j1gga84:
Sounds better from Version to Version :good:

Still loud and clear but distortions get less :)

You have the values now around 90? I think we can set it to 88 or even min. 85 at least but I will check it today afternoon again after work in loud environment while driving.

regards and again many thanks
[Galaxy S 5 General] thejester123:
Update 7 in op :D
[Galaxy S 5 General] j1gga84:
What values do you have now? and what is original?

I think it could be ok now, will check it tomorrow and then I will do a "longer time" check, you could do the same and report back :good:

sometimes the voice gets a bit burred out of nothing but I think that is not SW related..

but sounds definetly better than stock :)

regards
[Galaxy S 5 General] thejester123:
I pushed it right down to 89 this time so just 2 points higher than stock ;)
[Galaxy S 5 General] j1gga84:
I think 89 is okay now, I will test it a few days now and report back :good:

btw. is there a possibility to keep the modified file after a dirty flash of a custom ROM?

Because after every flash you have to flash the modified file again.

It is no problem because I have to flash kernel, xposed and so on again but I think if there is no possibility to keep it you should mention this in the opener ;)

regards and have a nice weekend :)
[Galaxy S 5 General] thejester123:
Unfortunately you will need to flash after every update unless CM or Team Bliss merge it with the ROMs. Enjoy your weekend too ;)
[Galaxy S 5 General] thejester123:
Then it must be the audio compression and/or software codecs Viber uses
[Galaxy S 5 General] j1gga84:
I am looking forward my friend :good:

regards
[Galaxy S 5 General] Mohamed Elhadad:
does it increase incall volume ?????
[Galaxy S 5 General] thejester123:
No need to increase in call volume at all as it is more than loud enough my friend
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Will you upload the tweaked mod on the weekend? Would be cool if we will kill or slim down the distortions in loud environments to a minimum ;)

The new files are definitely a step in the right direction my friend :)

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] fbs:
<path name="rec-headset-mic">

<path name="ear-mic" />

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

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

</path>

from 14 to 130 ? this is extremely high.. notice that all others "ADC2 Volume" are between 14-19

I think this will screw-up Recordings (not video/voice CALLS) using the headphone's mic.
[Galaxy S 5 General] thejester123:
Had no issues so far my friend
[Galaxy S 5 General] boind:
My in call volumen is really low according to my girlfriend. Any suggestions?
[Galaxy S 5 General] fbs:
you with headphones or just the phone?
[Galaxy S 5 General] boind:
Just the phone
[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:

<path name="[B]voice-call-main-mic[/B]">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="[B]96[/B]" />
<ctl name="DEC4 Volume" value="[B]96[/B]" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="4" />
</path>

Raise those "96" values to something like "106" just to test. Save, reboot. Call your girlfriend. The higher, the louder, of course.

Got it?
[Galaxy S 5 General] andreoide:
It works like a charm!

Before when i used microphone i almost had to shout :P

Now i can use the microphone ( SM-G901f Samsung S5 PLUS ) like it should have come out the box when i bought it !

Many thanks friend! Well done job !