handsfree microphone problem - OnePlus 7 Pro Questions & Answers

Hi all, my OP7P, running Android 10, microphone is really bad on handsfree mode (speakermode). when calling people are unable to understand me, and there is a lot of noise.
Are there more people on XDA with this problem?
What might be the cause?
Anyone with a possible solution or anything I can try? ( maybe an option in the engineer menu to change some mic settings?)
I tried a few things, that didn't make any difference:
- disabled OK Google
- change build.prop params:
Code:
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicerec=true
persist.audio.fluence.speaker=false
use.voice.path.for.pcm.voip=true
More threads about this problem:
https://forums.oneplus.com/threads/oneplus-7-pro-microphone-issues.1064785/
https://forums.oneplus.com/threads/oneplus-7-pro-mic-issues-faced-in-handsfree-mode.1051812/

washichi said:
Hi all, my OP7P, running Android 10, microphone is really bad on handsfree mode (speakermode). when calling people are unable to understand me, and there is a lot of noise.
Are there more people on XDA with this problem?
What might be the cause?
Anyone with a possible solution or anything I can try? ( maybe an option in the engineer menu to change some mic settings?)
I tried a few things, that didn't make any difference:
- disabled OK Google
- change build.prop params:
Code:
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicerec=true
persist.audio.fluence.speaker=false
use.voice.path.for.pcm.voip=true
More threads about this problem:
https://forums.oneplus.com/threads/oneplus-7-pro-microphone-issues.1064785/
https://forums.oneplus.com/threads/oneplus-7-pro-mic-issues-faced-in-handsfree-mode.1051812/
Click to expand...
Click to collapse
I have the same problem. I tried to edit build.prop file too. But nothing changed.
I tested with a sound recorder app where i can switch between bottom and top microphones. But both quality is perfect. Bottom mics do not use noise cancelling, my voice is clear from 10 meters. Top mic uses noise cancelling but the quality is still good.
But if i turn on speakermode people are unable to understand me from 30cm. I think when we are on speakermode the phone uses a higher noise cancelling and that causes that poor audio quality.
I rooted the phone tried several options, but i don't know how to turn off noise cancelling completely.
If i could select a mic to be the default one would be good also i think.

Related

[Q] Earpiece Hissing on Default Phone Dialer

On my new thunderbolt, I am experiencing a very low level hiss or white noise sound in the earpiece when making calls through the default htc dialer. This noise does not change regardless of anyone talking nor does changing the volume alter it. From reading and experimenting online, I have found two solutions:
1. Enabling hearing aid compatibility removes the hiss
2. Using a SIP dialer instead of the default phone dialer there is no hiss
I would stick with solution 1, except you can't adjust the volume with this setting. Does anyone have any suggestions for why hearing aid compatibility removes the hiss and if it is possible to modify the gain or other audio settings to replicate this fix without enabling that setting (and removing volume control)? Any other suggestions would be greatly appreciated.
Also, if anyone knows of a good replacement phone dialer (not SIP) I would be interested in testing it on the thunderbolt as well.
Thanks!
mongoose0318 said:
On my new thunderbolt, I am experiencing a very low level hiss or white noise sound in the earpiece when making calls through the default htc dialer. This noise does not change regardless of anyone talking nor does changing the volume alter it. From reading and experimenting online, I have found two solutions:
1. Enabling hearing aid compatibility removes the hiss
2. Using a SIP dialer instead of the default phone dialer there is no hiss
I would stick with solution 1, except you can't adjust the volume with this setting. Does anyone have any suggestions for why hearing aid compatibility removes the hiss and if it is possible to modify the gain or other audio settings to replicate this fix without enabling that setting (and removing volume control)? Any other suggestions would be greatly appreciated.
Also, if anyone knows of a good replacement phone dialer (not SIP) I would be interested in testing it on the thunderbolt as well.
Thanks!
Click to expand...
Click to collapse
I have this issue also...here's what HTC had to say about it...
I understand that you have a problem with a sound like white noise on your calls with the Thunderbolt (except when you have your the phone in hearing aid mode). I believe that the issue with the phone calls may, illogically, be with the noise cancelation software of the device, and in that case there is a fix being developed for it as this noise cancelation software is also affecting videos recorded on the device. I do apologize for any inconvenience you may have experienced, and please keep an eye on www.htc.com/us and www.twitter.com/htc for the latest news.
I installed the leaked RUU and still have the hiss...very annoying...

Lost Mic, Sound in video and voice recorder...

Hi,
A couple of days ago I lost completely my mic during calls. (Other persons can not here me but i can. Even when i speak through speakers they can not here me)
Even the sound with my video's is gone.
But the strange thing is that when i tap my phone when my voice recorder app is on, it will detect the tapping but it will not record anything.
Can anybody help in this matter?
I use a ZP999 rooted, custom rom
update : the voice recorder did record something afterall.
When i put my headset in i can hear it clear.
I did pull out my headset and i now can hear the voice recording through my speakers which before didn't work.
I had some hope now the mic of my phone dialer should work but it didn't.
Can there be something wrong with my headset-input-jack which controls also the mic of my dialer???
Is it possible that my phone "thinks" there is still a headset inside so my mic won't work?
I remember i used some softtouch-pen which had on the other end a "jack"-like the usual headsets. But i remember it didn't fit the wright way.
It could possibely caused the harm.
Any way to override or fix this problem ???
Any help would be welcome.

Mic issues - How to disable Noise Cancellation

HI,
People are complaining that they are unable to hear me during a voice call. They say it sounds as if I am talking under the ocean / not very clear.
I guess this seems to be because of the noise cancellation. Is there a way to improve the sound clarity during the calls. Increase the main mic gain and reduce /.disable the secondary mic?
I see that the build.prop does not have the same lines that kitkat used to have and hence cant make the below changes
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=false​
How do I disable noise cancellation in marshmallow?
cheth20 said:
HI,
People are complaining that they are unable to hear me during a voice call. They say it sounds as if I am talking under the ocean / not very clear.
I guess this seems to be because of the noise cancellation. Is there a way to improve the sound clarity during the calls. Increase the main mic gain and reduce /.disable the secondary mic?
I see that the build.prop does not have the same lines that kitkat used to have and hence cant make the below changes
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=false​
How do I disable noise cancellation in marshmallow?
Click to expand...
Click to collapse
Did you ever find a solution?

Broken main mic, using a seconfary mic

So my main mic is broken, as a temp solution I tried changing it to the secondary mic. I followed these instructions.
"Open up mixer_paths.xml, go to the "main-mic" entry under "Analog input devices", and change the "DEC4 MUX" value from "ADC3" to "ADC5". Then, change all instances of "DEC4" to "DEC2" (there should be 3 of them you need to change). Now, scroll down a bit to "Recording paths" and locate the "handset-mic" entry. Change "ADC3 Volume" to "ADC5 Volume".
Save your changes and reboot. The microphone used for phone calls will now be the one located at the very top of the device, right above the front-facing camera. This is also the microphone that is used when speakerphone is enabled."
At first this worked, but now it only works in audio recording apps. No longer when I'm in a call, unless I get on loudspeaker.
I'm on CM 12.1, anyone have any ideas?
This same thing happened to my wife's phone 2 days now. I can barely hear her on a phone call unless she uses speaker phone. The microphone works using google or in Handsent when voice typing. Hope this isn't a hardware failure. I tried uninstalling any new apps.
Running stock software on her phone. Maybe she wore out the mic.
Hi,
Try this. I hope it works.
Regards

Question Microphone issues poll. [ Please participate :) ]

Hi, I've noticed that when recording voice notes on instant messaging apps such as WhatsApp or Telegram, the microphone being used for that is the one on the top (near the selfie cameras) instead of the one on the bottom (next to the USB port) and it records in such a bad quality. This issue extends to all apps, including Google voice search and Google assistant.
I've used this app (https://play.google.com/store/apps/details?id=org.greh.mictest) to test the microphone and it only works with the bottom microphone only if you set it to MIC and Stereo, every other setting just uses the top microphone. Also, recording video with the stock camera (using audio zoom or not) records audio with just the top mic too.
If anyone could test their device (either on stock or custom ROM, it doesn't matter as they both use the same mixer path and audio platform info) and answer the poll either with a yes or a no I would be very grateful.
I've factory reset the phone, checked apps that may be conflicting, etc and it's driving me nuts. Motorola support is just suggesting me to replace the phone, but I'm pretty sure this is a software issue.
I'm on the latest stock update if that matters.
EDIT: After more testing on camcorder, stereo recording works fine, but when choosing mono recording, it records sound with the top mic. This done with OpenCamera. Choosing different input options from open camera shows that when you select "Default input" in mono mode, it defaults to the top mic instead of the bottom one.
I am on lineage os 18.1 currently and honestly had no answer for the poor audio quality of my VNs in IM apps... I even developed a practice of asking about my voice clarity during phone calls. Now I understand...
I am going to upgrade to 19.1. If I find a fix or workaround, I will report back here.
I was just doing a little research. Maybe someone can compile an apk or a flashable zip to iron out this bug if Motorola doesn't step on it...
It appears that the "android.permission.RECORD_AUDIO" for IM apps is linked to "MediaRecorder.AudioSource.CAMCORDER" when it should be linked to "MediaRecorder.AudioSource.MIC" or vice-versa.
KnightTheWayne said:
I was just doing a little research. Maybe someone can compile an apk or a flashable zip to iron out this bug if Motorola doesn't step on it...
It appears that the "android.permission.RECORD_AUDIO" for IM apps is linked to "MediaRecorder.AudioSource.CAMCORDER" when it should be linked to "MediaRecorder.AudioSource.MIC" or vice-versa.
Click to expand...
Click to collapse
Nice find, I was taking a look at the stock mixer_paths.xml and the build.prop file under system_ext and found two things, for mono recordings, the mixer_paths.xml redirects all voice recording requests to the "speaker mic" which is set to record from microphone 2 (the top microphone from my testing) and the build.prop file has noise cancelling disabled for speaker and voice recording, if noise cancelling was active, the phone would use the main mic and use the top one for noise cancelling.
I will report this again to Motorola (the first time they just told me to get the phone RMA'd lmao, now I have mor people to back up my claims).
KnightTheWayne said:
I was just doing a little research. Maybe someone can compile an apk or a flashable zip to iron out this bug if Motorola doesn't step on it...
It appears that the "android.permission.RECORD_AUDIO" for IM apps is linked to "MediaRecorder.AudioSource.CAMCORDER" when it should be linked to "MediaRecorder.AudioSource.MIC" or vice-versa.
Click to expand...
Click to collapse
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
blckbear said:
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
Click to expand...
Click to collapse
On any custom ROM I have noise cancelling issues: my caller always hears their own voice when I'm in speaker mode.
So I tried to apply the changes you mentioned on LineageOS 19.1:
1) Cannot be done because lines 37-38 are missing
2) I did it by setting amic1 and then amic4, with a restart each time. But it looks like I broke my phone by doing this, as now calling apps just crash or stop working properly. Do I have to do anything else besides just modifying and restarting the phone? Even after setting it back to amic3, calling apps still crashed.
Edit: I had to update LineageOS to finally fix the problems.
In any case, can you share your stock build.prop and mixer_paths?
Demax55 said:
On any custom ROM I have noise cancelling issues: my caller always hears their own voice when I'm in speaker mode.
So I tried to apply the changes you mentioned on LineageOS 19.1:
1) Cannot be done because lines 37-38 are missing
2) I did it by setting amic1 and then amic4, with a restart each time. But it looks like I broke my phone by doing this, as now calling apps just crash or stop working properly. Do I have to do anything else besides just modifying and restarting the phone? Even after setting it back to amic3, calling apps still crashed.
Edit: I had to update LineageOS to finally fix the problems.
In any case, can you share your stock build.prop and mixer_paths?
Click to expand...
Click to collapse
the mixer paths file is the same on stock and custom roms, the build prop is auto generated so they're different, it wouldn't be a good idea to use the stock build prop in lineage. It's a pitty that the changes made stuff worse. the only thing that comes to mind is to check under /vendor/etc and system/etc for the other build prop files and see which ones have the settings for noise cancelling. I'll extract them from lineage and see if there's anything I can suggest. Thanks for testing tho
Demax55 said:
On any custom ROM I have noise cancelling issues: my caller always hears their own voice when I'm in speaker mode.
So I tried to apply the changes you mentioned on LineageOS 19.1:
1) Cannot be done because lines 37-38 are missing
2) I did it by setting amic1 and then amic4, with a restart each time. But it looks like I broke my phone by doing this, as now calling apps just crash or stop working properly. Do I have to do anything else besides just modifying and restarting the phone? Even after setting it back to amic3, calling apps still crashed.
Edit: I had to update LineageOS to finally fix the problems.
In any case, can you share your stock build.prop and mixer_paths?
Click to expand...
Click to collapse
For the issue you say, you may be able to fix it by changing some stuff inside /vendor/build.prop
In line 134 change "persist.vendor.audio.voicecall.speaker.stereo" from true to false. If this doesn't fix your issue when calling using speaker mode then I'm out of ideas sadly.
blckbear said:
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
Click to expand...
Click to collapse
Hi @blckbear ;
Could you share the exact lines (the content) in /vendor/etc/mixer_paths.xml and /system_ext/etc/build.prop which should be tested? I am on LOS20 and could do the check for you by pulling/pushing the files and changing the lines you are talking about, though on LOS20 it is definitely not /system_ext/etc/build.prop ;-)
blckbear said:
For the issue you say, you may be able to fix it by changing some stuff inside /vendor/build.prop
In line 134 change "persist.vendor.audio.voicecall.speaker.stereo" from true to false. If this doesn't fix your issue when calling using speaker mode then I'm out of ideas sadly.
Click to expand...
Click to collapse
Thanks for the help, but unluckily changing line 134 from true to false did not fix the issue...
blckbear said:
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
Click to expand...
Click to collapse
Using LOS20 build and changed the lines as you mentioned:
In /system/build.prop:
Code:
persist.vendor.audio.voicecall.speaker.stereo=false
In /system/vendor/etc/mxer_paths.xml line 3018:
Code:
<path name="amic1" />
The complete part:
Code:
<path name="speaker-mic">
<path name="amic1" />
</path>
Testing the coming days, will let you know the results.
Moto-J said:
Using LOS20 build and changed the lines as you mentioned:
In /system/build.prop:
Code:
persist.vendor.audio.voicecall.speaker.stereo=false
In /system/vendor/etc/mxer_paths.xml line 3018:
Code:
<path name="amic1" />
The complete part:
Code:
<path name="speaker-mic">
<path name="amic1" />
</path>
Testing the coming days, will let you know the results.
Click to expand...
Click to collapse
Unfortunately people on the phone are complaining about echo every time when on loudspeaker.
So, back to default settings.. ;-)

Categories

Resources