yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 General] Pauper:
You are fast. Wil try now! Thanks again.

---------- Post added at 04:52 PM ---------- Previous post was at 04:21 PM ----------

Hm, I do notice some improvement in your updated 11.2 script, but it is still halfway I would say. People on the other end of the line will have to keep their background absolutely quiet if they want to hear me speak with normal voice. Any possible improvements remaining, you think? Best, Pauper
[Galaxy S 5 General] j1gga84:
Maybe this is a silly tip but have you checked if you have dust or lint inside the microphone hole?

I asked myself a few weeks ago why my voice sounded so dump allthough I have installed the optimization, but after carefully cleaning it with a very tiny nail, the good sound was back again ;)

regards
[Galaxy S 5 General] thejester123:
If that doesn't work give the attached file a shot :)
[Galaxy S 5 General] Pauper:
That's a great tip j1gga84! Will look into it and grab a needle from the attic. Thejester123, will try your update after that. Thanks a bunch.

---------- Post added at 06:00 PM ---------- Previous post was at 05:44 PM ----------

All right, I have a needle. How hard should I stick it in ? [emoji16] It's hard to see what I do, wouldn't I run the risk of damaging something?
[Galaxy S 5 General] j1gga84:
[MENTION=580408]Pauper[/MENTION]

Only the opening of the microphone hole, I would not stick it further inside than 1mm because you want to get it out not further inside ;)

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 General] Pauper:
All right, did it. Not much of a difference soundwise, but I did manage to get some dust out. [emoji2]

---------- Post added at 07:35 PM ---------- Previous post was at 07:34 PM ----------

I am gonna have to try the script once more.
[Galaxy S 5 General] ervin444:
thejester

THANK YOU!
[Galaxy S 5 General] Jan0sch:
After flashing the v11.2 Zip it gets stuck on bootlogo?!

Nightly CM13 02032016, G900F
[Galaxy S 5 General] j1gga84:
[MENTION=5693627]Jan0sch[/MENTION]

when did you flash the script? Before booting up CM13 build of today for the first time?

If yes I would not flash the zip together with flashing the new build, I would first let the system boot up once and then trying again, I had no problems.

Or maybe the download was corrupted, that could also lead to stuck at bootlogo.

[MENTION=3974390]thejester123[/MENTION]

I don't know but would it be possible to create a micgain.sh script that prevents the mixer_path.xml gets overwritten during a dirty flash of the ROM? I know this is possible with kernel, xposed, Viper4Android and so on and that are also system files, if not possible it is also no problem but I just asked myself ;)

regards
[Galaxy S 5 General] Jan0sch:
Hi [MENTION=4699854]j1gga84[/MENTION]

No, I installed the latest build of CM, installed all apps etc. and then booted in recovery and flashed the latest zip of the mic gain.

Now I wiped the dalvik + cache but still the same :( so I guess I have to flash cm new?
[Galaxy S 5 General] j1gga84:
I can't imagine that this script causes CM not to boot, only one file changes and system should also boot even if the file is missing..

I would try to download and flash the script again and if that does not work you can try to install CM again, without wiping your system.

regards
[Galaxy S 5 General] thejester123:
The worst thing that can happen with this mod is you end up with no sound or mic. Something else is broken somewhere in your setup.
[Galaxy S 5 General] thejester123:
[MENTION=4699854]j1gga84[/MENTION] I will see what I can do my friend
[Galaxy S 5 General] Pauper:
Hm, I have been testing the 901F 11.2 script for two days now and I am consistently being reported on 'sounding like someone in a fishtank, as if I was underwater'. Do we 901F users still need some adjustments to the script before were could properly use it?

Regards everyone. Pauper
[Galaxy S 5 General] Jan0sch:
Ok then I will try again and next time i'll do a nandroid backup before :D just in case

thank you both
[Galaxy S 5 General] XDAMaxe:
I think you can have it much easier on your own.

Simply replace mixer_path.xml within the new rom.zip (which I did all the time...), flash like you always did and then you're done. Nothing to overwrite afterwards cos you have it already ;)

and btw: you can also - yes there is always an even easier way - copy your desired mixer_path.xml into an existing system (system/etc), set correct permissions, reboot, and voila !
[Galaxy S 5 General] j1gga84:
I agree but this only works if the ROM you install is 'unpacked' inside the ROM zip ;)

I use Resurrection Remix and I only have system.new.dat with about 600MB ;)

For me it is no problem to flash the file, a script would be nice to have but absolutely not a must have ;)

regards
[Galaxy S 5 General] XDAMaxe:
ah, alrighty, then you have no other choice.

but I'm a bit astonished cos resurrection for g900f is actually based on android 6.0 and I thought you want your phone stable (you use(d) boeffla kernel, right ?) :silly:
[Galaxy S 5 General] j1gga84:
Absolutely, but guess what, I had no single reboot or FC since I switched to MM ;)

The only annoying thing is that I cannot restore apps from external SD with titanium backup and WiFi connection breaks very often (I guess because of Doze) but CM is aware of that problem ;)

I don't use official Resurrection Remix, I use the customized build of the german user Blackjubel and it is very stable.

But this is OT ;)

regards
[Galaxy S 5 General] thejester123:
[MENTION=4699854]j1gga84[/MENTION] > https://youtu.be/MyLDOifti5M
[Galaxy S 5 General] Pauper:
Any ideas folks?
[Galaxy S 5 General] thejester123:
I am currently looking in to the issue for you. I will have the device within a couple of days to test on ;)
[Galaxy S 5 General] Pauper:
Fabulous. Patiently waiting.
[Galaxy S 5 General] j1gga84:
OMG you are my hero, that worked :fingers-crossed::fingers-crossed::good:

regards
[Galaxy S 5 General] boind:
When I flash v11.2 onto my S5 using CM from 10.03.2016 my Audio it totally bricked. I can not play any sounds via Whatsapp, Spotify, Youtube etc..

Had to reflash.

Can you please update the .zip? :)
[Galaxy S 5 General] thejester123:
Which model S5 do you have my friend?
[Galaxy S 5 General] Pauper:
Hi Thejester123, any results yet on why I sound like I am underwater when using the phone on my 901F?
[Galaxy S 5 General] thejester123:
Right when using the phone on speakerphone, the mic is ducked as to avoid interference from using the loud speaker to the mic as they are such a short distance apart, if its during a call without speakerphone on its possible its your hardware as the normal voice call on my g901f is the same as my g900f but I will continue to help in this matter with you :)
[Galaxy S 5 General] jjohn7293:
I use the G900T Galaxy S5, I tried the zip and it was so loud that the speakers sounded as though they were falling apart...
[Galaxy S 5 General] Reechings:
I use the zip then go into the mixer_paths.xml and turn down the level for the speaker.
[Galaxy S 5 General] boind:
G900F KLTE - So the the Standard normal S5. Any suggestions?
[Galaxy S 5 General] thejester123:
I will be updating all files either today or tomorrow, hoping to iron out some issues ;)
[Galaxy S 5 General] Atento:
Exactly the same experience here.
[Galaxy S 5 General] thejester123:
I will reduce speaker gain on all files before releasing the updates :good:
[Galaxy S 5 General] thejester123:
Updates in OP everyone :D have a nice weekend :good:

Tested On All latest builds of CM13 Based ROMs ;)
[Galaxy S 5 General] Pauper:
Whoop. Flashed your 11.3 script on my 901F and my microphone stopped working completely. I cannot even record memos anymore. My recording apps says the mic cannot be used. Stock flash did not get me out of this. Any help? Kind regards, Pauper
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Many thanks for the update ;)

Maybe you should give an information in the opener what the differences are between v10 and v11 because we had this question several times as I can remember ;)

What did you change from v11.2 to 11.3?

I am on ResurrectionRemix 5.6.4 (MM) at the moment and audio is much lower than 11.2

Okay 11.2 was a bit too overdriven but 11.3 is a little bit too low I think.. If you reduced gain by 2 I think 1 would have been enough but I will further test it tomorrow ;)

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 General] Reechings:
Is anyone here on CM13 based roms able to use their speakerphone for calls to other people and if so what mod version are you using? Thanks!
[Galaxy S 5 General] thejester123:
OP updated with version explanations > thanks for pointing it out for me [MENTION=4699854]j1gga84[/MENTION] :) . All files re-updated, only a few mic levels lowered by 1 since x.2 builds and adjusted speaker output. so no real big changes at all this time.

as for g901f I have no issue with my mod on my device so i would like a few more g901f users to try it out and get back to me aswell as post me there stock Mixer-path files :good:
[Galaxy S 5 General] NoodleMunkee:
If I have a G900W8, which file should I flash?
[Galaxy S 5 General] thejester123:
Post a copy of you mixer_paths.XML from system/etc for me, also back it up before flashing any files ;)
[Galaxy S 5 General] Pauper:
Any help guys? I can't make phonecalls right now. Kind regards, Pauper
[Galaxy S 5 General] thejester123:
I am currently working on this, be with you within the hour :good:
[Galaxy S 5 General] thejester123:
Download both files and copy and overwrite to system/etc, then set permissions rw-r-r
[Galaxy S 5 General] Pauper:
Thanks Thejester123, for your swift response. Unfortunately that has not solved the problem. What has changed that I encounter this issue now? Any clue?
[Galaxy S 5 General] thejester123:
The only thing I recommend is to do a clean installed of a ROM & gapps and then first test without the mod and then with the mod v)
[Galaxy S 5 General] NoodleMunkee:
I've flashed a CM13 ROM, flashed your mod (the one without any model specified in the file name), flashed the back to stock zip, and reflashed the ROM. Flashing your mod didn't seem to mess anything up. I was able to make a call, hear the person, and they could hear me, I was just wondering if I'd flashed the right one.

Should I still provide you with the stock xml file?
[Galaxy S 5 General] j1gga84:
The strange thing is that a friend of mine says that my voice got louder from 11.2 to 11.3 !?

Very strange..

I tested it by myself and indeed, in quiet environments 11.3 sounds a bit louder than 11.2

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 General] thejester123:
If it worked all is good my friend :good:
[Galaxy S 5 General] BigJim.T32:
Excuse what might be a dumb question, but according to advice given in this (http://xdaforums.com/galaxy-s4/help/low-mic-volume-issue-t3291168) thread, your mod ought to be able to help me?

I'm using a Galaxy S4 i9505, running Cm12.1, and I'm definitely experiencing an overly quiet mic during calls - people are telling me the only reliable way to hear me is to use speakerphone (different mic) - so I'd like to try increasing the levels slightly on the regular mic (mic only, other audio levels seem to be fine)...

When I play back a recorded call (this issue persists in safe mode, so I'm confident it's not caused by my call recorder), I notice my side of the conversation is noticeably quieter unless I activate speakerphone mode.

However, I can't seem to find the file mixer_paths.xml in system/etc, nor would it appear using file search in the cyanogen file browser...

I don't mind trying the suck it & see method; nandroid backup & then attempt to flash [Mic Gain Mod v10.3.zip], as I assume it simply replaces the original file with one that incorporates your new values - but before I do that, I'd feel daft if I didn't at least ask the modder if he thinks it's a silly idea?

Thanks mate - ps; Sheffield? Ha! You're just down the road from me... :p
[Galaxy S 5 General] thejester123:
All levels are controlled by files in the /system/etc/snd_soc_msm folder. Root access is required, plus you'd need to know what you are doing. If not zip the contents and attach them here and I will take a look for you :) . Are you a Yorkshireman then?
[Galaxy S 5 General] j1gga84:
[MENTION=3974390]thejester123[/MENTION]

Any idea on my last reply: http://xdaforums.com/showpost.php?p=65825558&postcount=255 :confused:

I compared the sound from whatsapp voice messages between 11.2 and 11.3 and 11.3 seems to be definetly louder (and scratched in the peaks) a bit..

Maybe you raised a value by mistake instead of lowering it? :confused:

If not I will revert to 11.2 I guess.

regards
[Galaxy S 5 General] thejester123:
Will take a look my friend ;)
[Galaxy S 5 General] BigJim.T32:
Wow, what a gent! :good:

Yup, I'm a Chesterfield boy (I still say "ayup" when I meet someone new :p), S41 postcode so call it about 15 mins from Sheffield proper & I've got a fair few mates in Sheff' - good man!

Thanks by the way - not going to lie, I'm a tinkerer, and by judicious use of common sense can usually avoid breaking anything permanently, but I don't fully know what I'm doing when it comes to messing about with the internals of Android - the last time I did anything comparable I was writing proggies with VB6 and modding game engines - hell, the word "app" back then was just for when you couldn't be bothered to type "lication" in your .readme or comments, nothing to do with phones... :eek:

Anyway, the system/ect/snd_soc_msm folder only contains a single file, "snd_soc_msm2x_fusion3" (no file extension as I can tell, I don't know what kind of file it is).

Cyanogen file browser's editor can read it, and I can "sort of" figure out some of the things it does, but I'd be lying if I said I fully understand what I'm looking at.

I'm rooted (was required so I could use Chainfire's Stickmout of get usb OTG working properly), and I'm willing to get my hands dirty but I'm really grateful to you for taking a peek for me - attached. (the "[1]" appended to the filename was added by the forum upon attaching the .rar).

Thanks again Jester!
[Galaxy S 5 General] thejester123:
WOW a guy from Chessy lol, backup your current file then copy over the attached file and set permissions rw-r-r and reboot. Let me know how it goes :fingers-crossed:
[Galaxy S 5 General] BigJim.T32:
Haha, yup, guilty as charged - Chessy good & proper... ;)

Ok, so I'm seeing an improvement already, I've made a few calls "hey! do I sound clearer than I did yesterday!?" and I've had positive replies, apparently I'm sounding less like a guy at the bottom of a well, which since I don't have a dog called lassie to drag my a** out, is a good thing.

If I'd have been clever, I'd have given my phone to someone else before & after so I could hear the difference myself, but I'm thick & didn't think of that - but certainly I sound better on recordings, my audio level by ear sounds about the same as the other party so I'm happy with that...

So did you just change one or two of the values in that snd_soc_msm2x_fusion3 file?

If this were 24 or something, I'd have a handy little program that parses the two files & highlights what line has changed, but since it's not, and I don't, all I'll say is that whatever modification you made appears to have done the trick, and kept the levels reasonable enough so nobody has reported any clipping or audio artifacts - you are indeed the man right now... :good:

To be honest, it's more than just annoyance value - I was debating whether to keep this phone if the audio was going to be an on-going issue, so you've saved me from more than just having to shout!

Again, many thanks Jester, much appreciated.
[Galaxy S 5 General] thejester123:
Glad to be of service fella. If you have anymore issues just hit me up and I'll see what I can do :)
[Galaxy S 5 General] j1gga84:
did you already have time to check it? :)

regards
[Galaxy S 5 General] thejester123:
Yes sorry been busy with work, it is due to a couple of values I changed. There will be a set of updates by Thursday at the latest :good:
[Galaxy S 5 General] j1gga84:
I'm really looking forward to it ;)

Regards

Sent from my SM-T805 using german Tapatalk 4
[Galaxy S 5 General] thejester123:
Sorry about the delay, had some personal issues. Updates will be posted later today
[Galaxy S 5 General] thejester123:
Updates posted, reverted some changes and increased playback by 1 :good:
[Galaxy S 5 General] ervin444:
thejester123

Great job :good:
[Galaxy S 5 General] novice_coder:
Thanks a bunch Jester, good man... :good:

I can also confirm it's working properly on my SM-G900FD (Klte Duos), the mic gain is just right now (from the feedback I've got so far), prior to applying the mod (10.4) I couldn't have a decent Skype video call while on speakerphone. The speaker gain may be a bit stretched out for my tastes, it gets too loud at the maximum volume (although, to be fair, it does not appear to distort noticeably even at the maximum volume). I could try and tone down the speaker gain values just a tad I guess :cool:
[Galaxy S 5 General] Reechings:
Are you using a touchwiz or CM13 based rom? Can't use speakerphone on my phone because the other person can hear themselves too much. Haven't tried on 10.4 yet though.
[Galaxy S 5 General] novice_coder:
Hi Reechings, I am using the newly released CM13.0 (Marshmallow 6.0.1) ROM. Strangely though, my previous ROM, CM12.1 (Lollipop 5.1.1) was not having the same issue so I didn't need to look around for a solution up until I flashed my current ROM.
[Galaxy S 5 General] Reechings:
So you have no issues on speakerphone when people are trying to talk to you?
[Galaxy S 5 General] novice_coder:
I haven't tested it excessively but, at least a couple of calls on Skype while on speakerphone suggested that the problem had been rectified, the other party confirmed they could hear me loud and clear. I'd never had this problem in normal GSM calls anyway so not sure what else to test really.
[Galaxy S 5 General] Reechings:
Yeah it's really annoying. If I'm talking it seems fine but when I don't talk and the other side does they start getting weird sounds and feedback.
[Galaxy S 5 General] novice_coder:
That's actually something else to look out for, as I said I haven't tested it thoroughly but thanks for the feedback, mate. At least I know what kind of issues I might be experiencing with further testing. But so far so good! I had been keeping an eye on this thread for a few days and was aware of people encountering significant problems with the first releases. By the time I gave this mod a go, version 10.4 had come out which seems good enough so far. Which versions have you tried?
[Galaxy S 5 General] Reechings:
I've been following this thread for quite a while so have tried quite a few. I used to have to turn down the speaker gain after flashing but don't seem to have to do that on 10.4. I usually try speakerphone every so often with various versions over the last months but always seem to have same issue. My understanding was that it was most likely a result of closed source Samsung drivers where the different microphones aren't able to be adjusted properly by CyanogenMod for speakerphone to work properly.
[Galaxy S 5 General] thejester123:
You hit the nail on the head there my friend, if it wasn't for Samsung and their closed sources this would not be an issue but unfortunately those tight wads won't release them so I have to continue fine tuning the mixer paths for each variant. I am aware of the issue you mention and I'm still painstakingly trying to make things better :good:
[Galaxy S 5 General] Reechings:
Can't tell you how much I appreciate all of your continued effort. I don't use the speakerphone too much but sometimes it's really annoying when you need your hands free for a sec and can't use it. It is one of those little niggling things that gets on my nerves and makes me sometimes consider giving a modified touchwiz rom another go. (Shudder)
[Galaxy S 5 General] herske:
flashing this mod will trip knox to 0x1?

thanks.
[Galaxy S 5 General] j1gga84:
You have to be rooted to do this mod so not the mod itself will trip it but the root process will.

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 General] bleros:
Edit
[Galaxy S 5 General] ettore88:
HI guys!!!Where's the file for S5 G900F?I found the file for G901F,G900FD,but not for G900F.Where can i find it?THX in advance!!!
[Galaxy S 5 General] xeizo:
Sorry to jump in, it looks like you're doing great work here but as I understand any missing sound sources aren't exactly Samsungs fault as the soundchip of the S5 to my knowledge is built into the Snapdragon SOC. It should in other words be Qualcomms fault.

The S3 had a Wolfson soundchip

The S2 had a Yamaha soundchip

but the S5 has it all integrated into the Qualcomm SOC. I can't say anything about the mic as I haven't even tested it assuming it would be worthless for anything but phonecalls, but playback is indeed much better in the S5 than the earlier phones. The Qualcomm SOC is of rather good quality regarding sound.
[Galaxy S 5 General] j1gga84:
The file Mic gain mod v11.4.zip is for G900F

[MENTION=3974390]thejester123[/MENTION]

After a long time of using 11.4 I would say if we finally go -1 it would be good because in loud environments or when I talk a bit louder the audio is still a bit distorted in the peaks.

I am on latest ResurrectionRemix at the moment. I don't know what your experiences are?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S 5 General] ettore88:
Just a question.Is it compatible with Boeffla?Thx in advance.
[Galaxy S 5 General] bilbonotry:
It has nothing to do with kernel, so yes
[Galaxy S 5 General] thejester123:
Yeah thats what ive been thinking, will lower by 1 and release new versions on the weekend :good:
[Galaxy S 5 General] yurividal:
How can I use this on Galaxy S4 running CM13?

I don't have that file on that folder
[Galaxy S 5 General] licha26:
Hi,

I have a background noise on G901F AOSP roms with and without your mod. Do you know where does it come from ? I attached a sound recording in the archive allowing you to understand what I mean ! It is the same with video recording...

Thank you for your help
[Galaxy S 5 General] BigJim.T32:
Go back to post #257 in this thread mate :); I'm using a Galaxy S4 but with CM12.1... Different rom I know, but check out how the OP helped me, you may be able to use the exact same file that he uploaded and which solved my problem...

Worth a punt anyway - remember to back up your original! :good:
[Galaxy S 5 General] j1gga84:
Don't forget us my friend ;) :good:

Many thanks in advance :)

regards
[Galaxy S 5 General] thejester123:
I will be uploading updates this evening my friend
[Galaxy S 5 General] j1gga84:
Thanks, looking forward ;)

regards
[Galaxy S 5 General] unibombz:
So with this mod, you can't make specific mic boost flashable zips ? for example a low/medium/high zip ... or you are always required to manually edit the file that is stated in the op?
[Galaxy S 5 General] thejester123:
updates in OP guys. [MENTION=4335664]unibombz[/MENTION] - its easier to tweak the same file as it is hard to find a medium level as stock is very low and my mod is not high but much better than stock.
[Galaxy S 5 General] ervin444:
thejester123

Many thanks !!! :good:
[Galaxy S 5 General] igorescu04:
[MENTION=225651]op[/MENTION] [MENTION=3974390]thejester123[/MENTION] Hello friend! can you prepare a zip for us to pump up a little de volume for speaker and headphones for this rom? Ej. Lite

>> "G900FXXU1CPD7_DevBase_v3.3.zip " 6.0.1 MM

If you need something let me know.

Thx
[Galaxy S 5 General] j1gga84:
[MENTION=3153249]igorescu04[/MENTION]

I think that has nothing directly to do with the file mentioned in the OP.

If you want a better/louder speaker experience I can recommend you this thread/solution:

http://xdaforums.com/nexus-6/themes-apps/viper4android-t2952137

[MENTION=3974390]thejester123[/MENTION]

Many thanks for the update, I will test it now in a long term test but compared to 11.4 it is very good now :good:

I also think that CM changed something to improve audio also from ROM side but I am not sure.

regards