I had my iPhone 7 Plus develop this fault early this year. The phone has hardly been used but only switched on to carry out iOS upgrade since 2016. Currently running on iOS 14.3 but Audio circuitry all not functioning. My Model number is MN4M2B/A (A1784) batch. Contacted Apple Support, what a joke, firstly trying to get to Apple support then trying to follow up. Final word from Apple Support is that they cant help you on this as its out of warranty. Clearly looking at Apple's own discussion forums this issue appears to be far more widespread impacting thousands of customers.
Anyway. what is interesting is that the diagnostics test Apple ran fail to identify the issue, really surprising, perhaps the diagnostics capture didn't look at all the logs. I ran xCode and examine the failure applications: See below:
VoiceMemo
error 12:59:34.391929 +0000 VoiceMemos -[RCMainControllerHelper _recordingFailed:error:] -- failed to start recording error = Error Domain=NSOSStatusErrorDomain Code=561145203
An error code that indicates that an operation failed because the device doesn’t have sufficient hardware resources to complete the action.
developer.apple.com
Phone Call App
Jan 8 10:54:25 SG-iPhone mediaserverd(CoreAudio)[34] <Notice>: HALS_IOContext::StartIO: failed to start the hardware
Jan 8 10:54:25 SG-iPhone mediaserverd(CoreAudio)[34] <Error>: HALS_IOContext::StartIOThread: the IO thread failed to start, Error: -536870184 (<private>)
Jan 8 10:54:25 SG-iPhone mediaserverd(VirtualAudio)[34] <Error>: 488: FAIL with status nope on AggregateDevice [ id: 152; addr: 0x10514bc00; uid: "VAD [vhaw] AggDev 5"; virt strms: { }; phys devs: { [ id: 50; addr: 0x1087236e0; uid: "Hawking"; streams: { i/51/0x108728d28, } ] } ].
Jan 8 10:54:25 SG-iPhone mediaserverd(VirtualAudio)[34] <Notice>: 678: Failed to start IO proc ID 0x1088d3a60 on VAD [ type: vhaw; id: 164; addr: 0x1088cc1d0; hidden: 0; VA strms: { i/169/0x1088cd0d0, }; agg dev: [ id: 152; addr: 0x10514bc00; uid: "VAD [vhaw] AggDev 5"; virt
Siri
Jan 8 11:01:37 SG-iPhone com.apple.siri.embeddedspeech[160] <Error>: -[ESConnection readProfileAndUserDataWithLanguage:allowOverride:completion:] Deserialization of existing speech profile failed: Error Domain=NSCocoaErrorDomain Code=260 "The file \M-b\M^@\M^\SpeechProfile_en_GB\M-b\M^@\M^] couldn\M-b\M^@\M^Yt be opened because there is no such file." UserInfo={NSFilePath=/var/mobile/Library/Assistant/SpeechProfile_en_GB, NSUnderlyingError=0x141fd7360 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Jan 8 11:01:37 SG-iPhone SpringBoard(AssistantServices)[59] <Error>: safelyGetAudioData #myriad BTLE could not open audio data file
Jan 8 11:01:37 SG-iPhone corespeechd(AVFAudio)[136] <Error>: AVVCAudioQueueRecordingEngine.mm:2074:getRecordRoute: AVVCAudioQueueRecordingEngine::getRecordRoute : Cached record route is nil!
Jan 8 11:01:37 SG-iPhone SpringBoard(UIKitCore)[59] <Error>: Error creating the CFMessagePort needed to communicate with PPT.
Jan 8 11:01:37 SG-iPhone corespeechd[136] <Notice>: -[CSVoiceTriggerXPCConnection _handleClientError:client:] Client 0x102f08e40 connection disconnected, noticing xpc listener
Jan 8 11:01:37 SG-iPhone corespeechd(AVFAudio)[136] <Error>: ControllerImplV1V2.mm:1706:setSessionActive_v1v2: ERROR: setSessionActive: setActive: TRUE - err = '!res', session id:0x220c5
Jan 8 11:01:37 SG-iPhone corespeechd(AVFAudio)[136] <Error>: ControllerImplV2.mm:807:activateAudioSessionForStream_v2: activateAudioSessionForStream ERROR: Failed checkSession at setAudioSessionActive. SessionState(Inactive). OSStatus(561145203).
Jan 8 11:01:37 SG-iPhone corespeechd[136] <Error>: -[CSAudioRecorder activateAudioSessionWithReason:streamHandleId:error:] AVVC setSessionActivate has failed : The operation couldn\M-b\M^@\M^Yt be completed. (OSStatus error 561145203.)
Jan 8 11:01:37 SG-iPhone corespeechd[136] <Error>: -[CSAudioProvider _activateAudioSessionWithReason:error:] Failed to activateAudioSession : The operation couldn\M-b\M^@\M^Yt be completed. (OSStatus error 561145203.)
FaceTime
Jan 8 11:04:36 SG-iPhone mediaserverd(AVConference)[34] <Error>: [ERROR] -[VCAudioManager startAUIOWithProperties:]:708 AUIOSetupFormats() failed. hResult=0xE57F743F
Jan 8 11:04:36 SG-iPhone mediaserverd(AVConference)[34] <Error>: [ERROR] -[VCAudioManager startClient:]_block_invoke:1185 controller start client FAILED (audioIO=0x10a6491c0)
Jan 8 11:04:36 SG-iPhone mediaserverd(AVConference)[34] <Error>: [ERROR] -[VCAudioIO didStart:error:]:483 (0x10a632070): Failed to start!!
Camera
an 8 11:05:48 SG-iPhone Camera(CameraUI)[341] <Error>: Creating an AVCaptureDeviceInput for the audio device ((null)) failed. (Error Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" UserInfo={NSLocalizedDescription=Cannot Record, NSLocalizedRecoverySuggestion=Try recording again.})
Jan 8 11:05:48 SG-iPhone mediaserverd(CoreAudio)[34] <Error>: HALS_AHPPlugIn::ObjectGetPropertyData: got an error from the plug-in routine, Error: 1852797556 (<private>)
Jan 8 11:05:48 SG-iPhone locationd[65] <Notice>: #Error no bundle ID or bundle path found - denying /usr/sbin/mediaserverd
Jan 8 11:05:48 SG-iPhone locationd[65] <Notice>: #Error no bundle ID or bundle path found - enabling background indicator /usr/sbin/mediaserverd
Jan 8 11:05:48 SG-iPhone mediaserverd(CoreAudio)[34] <Error>: HALS_IOA2UCDevice::StartIO: got an error when telling the hardware to start, Error: 0xE00002D8
Jan 8 11:05:48 SG-iPhone mediaserverd(CoreAudio)[34] <Notice>: Error during StartHardware call, calling StopHardware(): -536870184
Jan 8 11:05:48 SG-iPhone mediaserverd(CoreAudio)[34] <Error>: HALS_IOContext::StartIOThread: the IO thread failed to start, Error: -536870184 (<private>)
Jan 8 11:05:48 SG-iPhone mediaserverd(VirtualAudio)[34] <Error>: 488: FAIL with status nope on AggregateDevice [ id: 152; addr: 0x10514bc00; uid: "VAD [vhaw] AggDev 5"; virt strms: { }; phys devs: { [ id: 50; addr: 0x1087236e0; uid: "Hawking"; streams: { i/51/0x108728d28, } ] } ].
Jan 8 11:05:48 SG-iPhone mediaserverd(VirtualAudio)[34] <Error>: 495: EXCEPTION (startResult): "Unable to start IO."
Jan 8 11:05:48 SG-iPhone mediaserverd(VirtualAudio)[34] <Error>: 2694: EXCEPTION (theError) [error theError is an error]: "error starting the io engine"
Jan 8 11:05:48 SG-iPhone mediaserverd(VirtualAudio)[34] <Error>: 1144: EXCEPTION (theError): "nope"
Jan 8 11:05:48 SG-iPhone mediaserverd(CoreAudio)[34] <Error>: HALS_AHPPlugIn::StartIOProc: got an error from the plug-in routine, Error: 1852797029 (<private>)
Jan 8 11:05:48 SG-iPhone mediaserverd(AudioToolbox)[34] <Error>: AQMEIO.cpp:194:StartIO_Sync: error 1852797029
Jan 8 11:05:48 SG-iPhone mediaserverd(libEmbeddedSystemAUs.dylib)[34] <Error>: AURemoteIO.cpp:1598:Start: AUIOClient_StartIO failed (1852797029)
Clearly see the resource on core Audio device has failed and OS bootup has marked it bad.
Thought and comments on the above would be great.
Cheers