In my case, I had a working nandroid backup stored on the phone, so once I got into recovery, I just restored the nandroid and went on with my life. Not sure if that would work for you or if it's even an option for you. Or even if I remember it correctly. But "that's that my story and I'm sticking with it"..
Sent from my HTC One using xda app-developers app