Hey everyone. I currently have a Iphone 4s 32gb thats constantly looping to the apple logo.

what happens is that the phone boots up, gets to the lock screen and stays there perfectly fine. you can even use the camera from the short cut. however, the moment you unlock the phone, the screen fades to black and then boots back to the apple logo and starts the cycle again. I am running iOS 7.0.4 and it was working fine until today. I tried going into safe mode with the volume up button as well, but even that doesnt work. Anyone have any ideas? I dont believe it would be hardware if its fine with camera and doesnt restart unless you try to unlock it.

any suggestion would be nice cause i am out of ideas.