My Samsung s4 had the same problem. It kept saying Sim card not detected and it would restart. I tried everything that everyone here posted. I searched YouTube and tried the foam ear plug solution and it works great I don't have that problem anymore.
Instructions: remove the back cover from your...