Not sure why folks keep telling you to flash a custom rom when you ha e clearly stated that it fails. So, heres my two cents......
Since you already wiped the internal memory and there is no chance of data loss, just download the stock image and fastboot back to a fresh system. And for gods sake, dont use wugs. Just use good ole fastboot. There is a very easy how-to in the stickies of this section. This forum is full of problems arising from toolkits, that could have been easily avoided by fastboot.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Galaxy S4 M919N Unlocked to AT&T w/ AOSP 4.4.4
Galaxy S4 i337 Safestrapped w/ MYBA 4.4.2
Nexus 7 32Gb Multirom w/ Android L
Nexus 7 16Gb Multirom w/ Stock 4.4.4 and Ubuntu Desktop
Acer Iconia A500 w/ Beanstalk 4.4.4
SkyRocket i727 Powered by LiquidSmooth 4.4.4
"There is no dark side of the moon, really. As a matter of fact, its all dark"