Mic not working with non-Sony apps - Xperia Z2 Q&A, Help & Troubleshooting

Since I installed the 23.5.A.1.291 (Android 6.0.1) update, my Z2 has had problems with almost every app using mic, with exception of the Sony-made ones, even if they are not default apps, like "Audio Recorder". Mic works fine with camera apps, for videos and sound photos, but Phone, WhatsApp, Skype, etc., are all muted. I enabled the Mic permissions but they just don't work.
Could you please give me any advice about what to do to solve this issue? It's really annoying, as you might guess. I have rooted the phone and have some notions for flashing the device and so on, but I haven't been able to downgrade or install the custom Android 7 ROM.
Thanks.

Please, any ideas, suggestions?
Thanks.

I have to answer myself, just in case other people have the same problem. In my case, some recording apps allow to record "stereo" sound (two channels), while most of Sony and other important apps, like Whatsapp and Skype, just record mono audio (one channel). I read some solutions to improving volume could by found by modifying the mixer_paths.xml file (/system/etc), then I tried several changes until I decided to copy the same parameters of
<path name="stereo-mic-common">
to
<path name="mono-mic-split-stereo-common">
Now the mic is working fine with those apps. For some reason I can't understand, mono input was taken from the "virtual" second channel, not from the real and only mic channel. As far as I know, the handset mic is mono, not stereo.

Related

[Q] Is there a system-wide default mic setting?

So, I've come to expect most apps that utilize the microphone to pick up nothing but godawful static on my Atrix. I'm sure everyone's who's tried Skype (and most other VOIP titles before recent updates) knows what I'm talking about. But, I was recently playing with TapeMachine, and it's the first app I've used that allows me to select an audio source, which includes "Front mic" and "Rear mic" on the Atrix. When I use Front mic, I record the same blasting static I get with Skype's Sound Test Service, but when I use Rear mic, it records perfectly.
I can't find any way to tell Skype, specifically, which microphone to use. Even when I switch to speakerphone in Skype, it still seems to use the front mic. But, I bet it'd use the rear mic if that could somehow be set as a system-wide default somewhere in the Atrix's settings. I've browsed through a lot of .conf files, but can't seem to find this setting anywhere. Does anyone know of a way to change the system's default mic? I'm running a rooted 1.5.7, but I am willing to switch ROMs.

No audio from browser, audio player but phone works. possibly skype related.

Hey together. I'm a noob *duck* - but I did quite some search on google and on these forums before posting, and I'm not a very stupid noob.
Today I got the situation that no audio is audible any longer from my browser, games, audio apps, or from an audio player (all of them previously worked). This is the case for headphone and also the built in speaker. The problem occurred very likely after using skype. I also still have audio in phone calls and also I still have sound for ringtones and other alarms. Handset functioms all still work fine.
The first obvious thing I did was checking volume settings in the android settings. There I moved all sliders - the one responsible for regular audio did not give me any feedback. If I use the volume buttons on the phone while I'm on my home screen I get audible feedback - but that doesn't influence my problem.
Funnily the sound in skype still works. More funnily: during skype calls the audio from my browser or the audio player is also audible (I tried this just out of couriousity as I suspected Skype to be the cause of my problem. Et voila - I got sound from a TV News page and also from the Walkman app while the call on skype was still running. As soon as the call in Skype ended the audio from browser and adio player got muted again.
I also tried to kill skype during a call in order to kill it before it can again mute the audio - No luck. as soon as the skype app is killed also the audio from audio player and Browser vanishes.
I also tried some audio apps - all have the same issue of having no sound.
I then tried different apps which control volumes - without any luck. So at the moment I don't have audio, except during skype calls.
I guess that skype has either access to some hardware settings which aren't used usually (I hated skype for things like this as long as it had existed) - or I'm missing something very obvious. Or something else. Does anybody of the developers here know about linux settings I could modify? (is there something like alsamixer which is only possible to access via jni or similar?)
// Edit:
Just found out that toggling airplane mode ON I have sound for media (audio player, browser). (but also lose the ability to use my cellphone and network). As soon as I switch back to airplainmode OFF also audio is muted again. And for sure - I also tried rebooting in different states of my phone quite often without any difference.
// Edit 2:
looks like I found a workaround but no permanent solution - I installed an app SoundAbout (free app) recommended for similar problems in an other thread: 89996-galaxy-s3-media-volume-stuck-mute.html (I have now put output permanently to "headphones" for media sounds. However as soon as this setting is reset to the default (let app decide) it is muted again when airplane mod is set to off - looks like an other app resets it? (could not find any app obviously doing this though as I stopped the usual suspects)
I still suspect Skype as the original reason for this problem as I just recently had it updated when the problem appeard and it also messes with this kind of stuff during usage (and I don't really use other apps dealing with audio except of browser, music player which weren't updated for a long time).
Maybe also of concern:
It's an sony xperia p, running Android 4.0.3 and it is currently rooted.

Help with microphone settings 5.0.1

Hey, I use an LG F60 wich runs 5.0.1 and since i upgraded ( March 10th) the stereo of the microphone disappeared on most of the apps , and i ran a CPU test and said that rear microphone didnt existed when in this app running kk said i had rear mic, i waant someone to help me to change the microphone settings to disable Automatic gain control, bc the mono sound of my micro sounds muffled and dirty, i disabled AGC in one 3rd app recorder, but i cant find a setting to disable it of system, i tried ALSA and Viper4Android, and didn't find nothing related to mic, also in enginer mode Audio settings are not implemented yet. I also tried changing mixer_paths and those files, but i really don't know wich text i have to replace,and i can upload the files here, if someone wants to help me changing it..
Does someone know is there is one specific app or module, (without recovery) that disables AGC? my microphone without AGC in mono sound, sounds very HQ but with it sounds pretty muffled, and in whatsapp recordings is terrible.

Mic in calls does barelly transmits any sound, unless you speak at <1 inch from it

When I place or receive a regular call the other person can barely hear me unless I speak less than 0.5 inches from the microphone. At less than 0.5t inches, they hear me good. At 2 inches extremely muffled or nill (this is the distance of the mouth in a regular call), and at 3 or more inches nothing at all.
Physically the mic however works fine when recording videos, so it has to be something non-physical. Also confirmed with a test on the Microphone at *#*#7378423#*#* where the both primary and secondary mics record fine.
In desperation I used flashtool and re-image the whole thing (even with erasing all data) with the latest XpriFirm ROM and tested it right after the successful image and without installing any 3rd party apps. The problem still there.
I also tried 3 different ROMs from different countries, but the problem still there.
Using a external wired headset mic works fine.
It seems, like a setting that is aggressively reducing the mic sensitivity just for the phone calls.
Ruled out 3rd party applications, mic physical damage or normal Android setting, I am really lost on to proceed from here!
Does anyone know what to do?
----
Model: E5823.
Bootloader has never been unlocked so no root.
Do you have the volume all the way up during the call? As in once call is started turn it up.
Idk how much it will help but have you tried to flash the soundmod? I have never had a problem with the mic other than a small echo on speakerphone. Also have you tried speakerphone wile in call? Might be something wrong with the phone apk, try a third party phone dialer? It wouldn't hurt to go through the sound menus to check everything as well.
Hi!
I doubt is a setting (in the Sound Effects options everything is off) since I flashed a stock clean ROM.
Did not know there are alternative dialers... I will study them today.
Regarding flashing the soundmod, can you do that without being rooted? If so, i'll search in how to do it too.
Cheers and thanks from just a couple of dozen miles south of you Sagnasty.
Have you tried to change the value of microphone sensitivity, although the option is in the Settings / Sound and Notification / Accessory Settings - turn mic sensitivity to high and see how it is then in a conversation?
The Speakerphone as suggested by civicsr2cool was surprising... the mic just picks up voice just fine from the distance in that setting!!
Then I just played with those mic sound settings as per Monipeev, (I did that days ago) but now it did something and in any sensitivity setting works fine... it must have been playing with this setting and the speakerphone one that may have unstuck some mic glitch.
Thanks so much guys... and two think I spend hours trying to solve this and even flashing ROMs! :victory:
Hi everybody. It happend to me with my Xperia Z5 compact as well - the mic did not work properly during call, but when I tested it offline the mic was OK. Playing with settings did not work as well as factory reset, so I ordered microphone spare part from China (ca 2$) and replaced it. Then the problem disappeared. I agree with polar_bay above it seems like mic glitch - I think my spare mic was slightly different from the original (maybe less sensitive) and that's it. Maybe also complete voltage drop (battery disconnection) helped to unstuck it.
My recommendations are:
1. play with mic settings (sw)
2. open the phone and disconnect the battery for a while (1 minute)
3. place small&thin absorber between mic and hole in phone case
4. replace microphone
hi, I have just bought another used xperia z5 compact as my other device has gotten old. after I received the new one I almost directly rooted it installed twrp and flashed lineageos 17. after a while I recognized that the microphone is not working during calls, only if the speaker is enabled. also when i want to record audio or use the tuner it doesn't work.
is there any chance to find out if it is a hardware problem or if it can be solved by some setting or so, be it coding?
thanks for any hints!

Speaker broken? /ringtone problem?

currently on AOSP 5.1.1 there is no volume at all, can't play music from music app or youtube or anywhere else, the problem started off with no volume when people try to call me (yes the ringer was on full volume and sound), after a few days the volume started to not work on facebook videos and youtube and other stuff, the phone speaker works so when i notice that someone does call me (vibrate works but don't really notice most calls) the speaker works i can hear the other person (mics not broken), loud speaker doesn't work, is the actual speaker broken? how do i go about a replacement if so, have looked a lot around the web and cannot find parts other than screen and digitizer. I have tried flashing the firmware with twrp and sp flashtool, formatting everything and tried different versions of firmwares and still the same not fixed, also tried custom roms... any suggestions?
I have flashed my phone to stock Android 5.1 as this is the only stable version and all is working well apart from the microphone. When I receive a call the ringtone occurs and i can hear the other person but they can't hear me. I also tested the mic on google but nothing happened.
However, I downloaded TestYourAndroid from Play store and the mic works so I know it's got to be a firmware issue.
Also I can record voice by recording app
If you can help me I would be most grateful.
Note. this is android 5.1 lollipop so it doesn't have full permissions mode, I can access permissions for downloaded app but not for system app such as "phone" is.

Categories

Resources