So every time I turn on my phone after like 40 seconds my phone will restart and I don't know why. I've tried factory resetting the phone via holding the volume up, home and power buttons. It says it factory resets the phone, but it really doesn't. I've also tried replacing the battery and shutting off the phone and turning it on again, but they both didn't work either. One thing that I noticed about it though is that it gets warm like between the front and back cameras on either side but not anywhere else. If someone can tell me what's wrong with my phone it would be greatly appreciated.