I was having the situation where after accidentally using factory restore from the settings menu, I was only able to boot into my recovery, which originally was CWM, I then installed Zengarden to remove the boot loop and that did not work, trying to do factory upgrade to ZV5 did not work either...