PLEASE HELP! iPhone keeps rebooting, iTunes doesn't recognize it!

iPhone doesn't start up. What the problem?

My phone won't turn on. Help.
I fixed my friend's phone. For anyone who reads this and has the same problem, I plugged the iPhone in, held down the power and select button for 10 seconds. It was trying to read it, but then I held down the power button for 20 seconds and then iTunes recognized it. Now I am happily restoring it.
Here's a step by step guide Bad Ash has put together for this problem:

http://www.theiphoneblog.com/2008/10/09/how-to-problems-with-your-iphone-restore/

Original thread: https://forums.imore.com/threads/please-help-iphone-keeps-rebooting-itunes-doesnt-recognize-it.170352/