No errors appear, or popups, it just doesn't work, as if the microphone hardware is not even attached. It is certainly a software issue, but not too sure what is causing it. There is another older thread that covers microphone problems, but is not related to this new issue caused by something wrong in Sense 6.
Temp fix 1: Boot the phone into safe mode.
Temp fix 2: Reboot, but not guaranteed to work for very long.
If we all share our settings, we might be able to pinpoint what is causing this issue.
- ViperOne 6.1
- ElementalX 14.1
- TWRP 22.214.171.124
- Radio 4A.25.3263.21_10.38x.1157.04L
- ProjectERA v15.2
- Viperdark 6.1.1
- Launcher: Google Experience
- Xposed with a few modules *Ruled Out*
EDIT: I think I figured it out. It is the caused by the IntenseBlast addon in ProjectEra. Flashing this should fix your issue: IntenseBLAST_UNINSTALL.zip.
I will test this out for a few days and see if the problem persists after uninstalling IntenseBlast.
EDIT 2: I reflashed IntenseBlast to test my luck, and... my mic seems to be working fine. I'm guessing now that countless reboots fixed the issue, and it was simply a coincidence that the time I uninstalled IntenseBlast... the microphone decided to work. As of now, there is no known solution, but you can try rebooting your device a few times.
EDIT 3: A full factory reset and reflash solved my problem completely.
EDIT 4: The problem was discovered to be Project ERA. However, v18 is said to fix the issue, so try that build than any older release.