I had the exact same problem last night. You have to download the recovery tool from Microsoft. Plug in your phone via USB, if it doesn't recognize your phone like it mine then click that your phone wasn't recognized. Start downloading it, since the phone was turning off and on the entire time it took more than two hours to download. Once it was downloaded it was a quick 1 minute install and the phone was good as new. Recovery tool is the only way to fix it!