Demian Mioc
It's not the earphones, they worked normally a week ago and I've tried others too and I got the same results.
The proximity sensor is working fine at least when I'm making a call the screen goes dark when I put it on my ear.
Tnx for the tip monedetoune. I'll try it tomorrow.