Microphone and audio completely stopped working

Please tell us some basic information before asking for help:
- Model Name: ROG Phone 2 ASUS_I001DC
- Firmware Version: 18.0210.2201.215
- Rooted or not: Not rooted
- Frequency of Occurrence: Constant
- APP Name & APP Version (If your issue relates to the app):
In addition to information above, please also provide as much details as you can, e.g., using scenario, what troubleshooting you've already done, screenshot, etc.
========================================
I answered a call, I could hear other person but they didn't hear me.
I tried sound recorder, it worked but didn't record anything so I decided to reboot phone. Boot took significantly longer than usual and after that audio stopped working completely - speaker, receiver and microphone.
AudioWizard and sound recorder give errors, audio jack doesn't work and some games started crashing.
Tried factory reset but it didn't work.
I managed to connect to phone via ADB and check logs with logcat, there's a constant spam of following errors:
06-29 21:32:01.251 2985 3894 W AudioManager: updateAudioPortCache: listAudioPorts failed
06-29 21:32:01.251 2588 3508 E AudioSystem-JNI: AudioSystem: :listAudioPorts error -19
06-29 21:32:01.252 1598 3027 E AudioSystem-JNI: AudioSystem: :listAudioPorts error -19
06-29 21:32:01.252 2588 3508 W AudioManager: updateAudioPortCache: listAudioPorts failed
06-29 21:32:01.252 1598 3027 W AudioManager: updateAudioPortCache: listAudioPorts failed
Hopefully someone knows how to deal with this.
Comments
Thread automatically closed due to inactivity. If the reported issue has not been resolved or you require further assistance from one of our moderators, please create a new thread and we will be with you shortly.