Chosen Solution
When the dock connector is connected, it will restart. I changed the dock connetor, but it not good.
What is the problem? :S
Front camera cable must have been ripped, this would be a fault caused by the proximity sensor somehow being damaged. See if it reboots with front camera disconnected. Siri also uses proximity sensor so see if it reboots when you try to run Siri.