Just to let you guys know in case you experience the same thing...
I also soft bricked my m7 when I reformatted my internal storage. It happened to me before, and I know that I can use ADB sideload (from TWRP recovery) to install a new custom rom. This time around, though, my windows 8.1...