Chosen Solution

As soon as I connect the earpiece with the cable, the proximity sensor no longer works. If I do not connect the earpiece the proximity sensor works without problems. The light sensor always works independently. Do you have any solutions?

Have you tried a different speaker? or even a different prox flex?