Today i tried to root and flash P.A.C rom on my Nexus 4. I believe i managed to root it but when I went to flash the rom it failed. I tried over and over again but it didnt work. I followed the guide and still. So instead i thought i would format everything possible in CWM 18.104.22.168( or 22.214.171.124). Now i want to go back to factory state and try again. My phone is booting but stuck at the google logo. i can still go into CWM recovery and ADB bootloader. Help PLS. Im on a mac too.