iPhone 5 Boot Loop
Hi, I have had my iPhone 5 for about 8 months now. All of a sudden, it started to freeze. Now it is in a boot loop. It turns on to the Apple logo, then it fades away and shuts off. I've tried connecting it to iTunes but it won't show up. Also, I tried to restore it, but it said "Error 4005". I've researched this and I foundout that this happens to Jailbroken phones. My phone is not jailbroken. How can I fix this problem? If I go to the Apple Store, will they give me a new phone, since its still under warranty? Thank you so much!
iPhone 5, iOS 7.1