Iphone stuck in boot loop
I need help! So a few weeks ago my iPhone 5 died and when I plugged it in to charge it started to turn on, but then turned back off and kept repeating this process forever. I've tried everything to take it out of the boot loop but nothing has worked. When I tried restoring it on iTunes I got error 2001 and tried restoring it literally like 50 times over the past few weeks. It won't even connect to iTunes unless I go into DFU. I've downloaded all sorts of applications on my mac including tinyumbrella to try and downgrade it but it still gives me error message 2001. Also, the phone won't even turn on unless it's plugged in to the wall or the computer. This lead me to believe it was a software issue since the battery won't charge if there is no base software. Please help I've tried everything short of just buying a new phone and I really don't want to spend the money on a new one. I'm also not sure if I'm on iOS 9.1,9.2, or 9.2.1 and it is not jailbroken.