After a hard fall, My iPhone keeps restarting
'''Hi, this is my first quistion here :)
I accidantally droped my iphone 3g very hard and the screen poped out a littile bit from the upper side and I pushed it back wile the device was still runing.
I used the device for 15 minutes (it is runing normally) then I pluged the cable to charge the iphone, after 10 minutes the iphone started rebooting by it self again and again and again (it shows the apple logo for 5 minutes then it restarts) like forever.
I tryd to put it in DFU mode and restore it, after the restore is complete it starts rebooting again.
can anyone please tell me if its a hardware or software problem and how to fix it!! ?
best regards :) '''