My S4 has been acting up for about a month now. It began when I unlocked my phone by purchasing an unlock code from my carrier (Fido, in Canada). Beginning then, my mobile data has been shutting off on a regular basis.
Today, I figured I'd try resetting the phone to factory settings...