iPhone 7 does not detect wired headphones
See the end for a tl;dr
I just replaced my lightning port assembly and everything was working well until about 3 days after the replacement. I plugged in my phone to charge and it wouldn’t charge. I opened the phone to see if I hadn’t aligned the assembly properly, but it was fine. I disconnected the assembly from the logic board, re-connected it and started restarted the phone. Luckily, it charges now but does not detect earphones, playing sound out of the speakers.
tl;dr I changed the lightning port assembly and the phone charges but does not detect headphones or audio cables (tried multiple dongles/earphones).
Anyone else have this problem and is there a solution? Or is the part faulty?