iPHONE WILL NOT POWER ON-Tried holding home and power buttons
Iphone automatically turned off yesterday while I was using safari and will not turn back on at all. I tried holding the home button and power button simultaneously, but that didn't work. I plugged it in to the wall to charge and after 5-10 minutes a dim blank black screen shows up. I tried connecting it to iTunes to restore it, but there was an error 4005.
Now the phone won't turn on at all. When connected to a computer or an outlet it will turn on a blank black screen for a while until it turns off and repeat the process again after several minutes.
iPhone 5s, iOS 8.4.1