My S4 began with occasional SIM card error messages and eventually progressing to a state where this error message never went away. The most obvious symptom (I assume it was related) was that I could not send or receive text messages.
I cut out a small square (about 1 cm x 1 cm) of cardboard...