CM12 installation interrupted Just started installation of cm12 via tool from http://www.cyanogenmod.org/ on my Nexus 4
At some point during installation ive got message that it lost connection to the device and i need to reboot or switch usb port.

I rebooted and only thing that i can get now is bootloader. If i go with normal load or recovery it the same screen with "standing cynagenmod guy". And device is doing nothing. 

Im running Windows 8 and in fastboot its not detected.

I have tried both adb and fastboot but it seems that they do not see the device.

Is it the end of my phone? Thanks.
Uninstall any existing drivers through device manager/USBDeview and install raw google drivers (you can use Nexus Root Toolkit for that). On side note, also try this-> http://forum.xda-developers.com/showthread.php?t=2588979 I too have nexus 4 and I too faced drivers problem in windows 8.1, but this was what fixed it for me.


  Is it the end of my phone?


No android devices arent that easy to completely mess up (especially modern ones). So in case you fail to get phone to be detected via fastboot in windows 8, try that in linux (like ubuntu) instead. Thats because there you only need to add USB rules while setting up adb. And until today, I havent faced a single situation personally where it didnt detect my phone.

Now what to do after your fastboot has been detected?

First, download twrp or similar recovery. If its in zip form, extract it and get the recovery.img file. If its already in img format, leave it as is. Then open terminal in linux/cmd in windows and use command->

fastboot erase recovery
fastboot flash recovery PathToRecoveryAndFileName.img


This will flash recovery into your phone. Just download flashable zip on CM rom (do not use any tools this time, get directly flashable zip).

Use fastboot reboot recovery to boot it into recovery, push the zip file you downloaded as rom by->

adb push PathToROMZIPAndFileName.zip /sdcard/


This will push rom zip into sdcard, then simply flash using recovery.

In case you fail to flash recovery from some reason, you can also directly boot into recovery without flashing it right from pc. For this, use command fastboot boot PathToRecoveryAndFileName.img

One last thing, in case you decide to use nexus root tookit, it has an in built option to try recovering from bootloop. Select I cant use recovery or any such option in that, it should automatically do some work for you.