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.