My phone was working perfectly fine earlier today but then when I left and came home my phone kept restarting itself. It would turn back on, stay on the screen for a few seconds and the restart. I took the battery out for a half and hour before replacing it. Still was doing it. Then I tried removing the sd card but it still kept restarting. It didn't stop until I quickly turned off the wifi and data. I tried turning one at a time but if either are on it will restart again. Is there something to fix this or am going to have to replace my phone? I'd rather not have to do a factory reset if I have to.