I'll go straight to the point. When I plug my earphones in and play music it plays for some time and then stops and then I resume the music and after some time it does the same thing again. So I did some tests and came to the conclusion that when I plug the earphones it goes into "headphone mode" for about 10 seconds gets back to "normal mode" for a second or two and then back to "headphone mode" again. And it does so repeatedly. I tried using other headphones/earphones, soft reset and hard reset and the problem still occurs. So i got here hoping for getting a solution which doesn't make me send my phone to repair. Any DIY solution would be preferred.