Chosen Solution

The front microphone makes a noise for the first 2-3 seconds of the call/video and then starts working normally. I tried replacing the proximity cable but the problem persists. There are no other issues with the phone. Could this be audio IC?

Are you certain it’s the front microphone on the proximity sensor? There’s a total of 4 mics in the 8. Two at the bottom attached to the charge port, one at the top attached to the proximity sensor, and one by the rear camera. You also may have received a defective proximity sensor assembly depending on where you sourced it from.