Tried new Sim and removed SD card. Replaced the sim/SD reader module in my galaxy s4. Still failed after a few days. Then reset OS while preventing automatic restore from Google account. Reinstalled all apps manually. Phone is as good as new after the first week.