Thinking about installing CM 12.1 on my GS5...

Please help me. I tried to use heimdall to flash a recovery image onto my phone and I don't think it worked. My phone is stuck on downloading do not turn off target!! and here's the logs from it:

D:\Users\Owner\Desktop\Samsung Cyanogen\Heimdall Suite>heimdall flash --RECOVERY recovery.img --no-reboot Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is encouraged.

If you appreciate this software and you would like to support future development please consider donating: http://www.glassechidna.com.au/donate/

Initialising connection... Detecting device... libusbx: error [init_device] device '\.\USB#VID_262A&PID_100E&MI_01#7&1A6A7031& 0&0001' is no longer connected! libusbx: error [init_device] device '\.\USB#VID_B58E&PID_9E84&MI_03#8&78CC2BF&0 &0003' is no longer connected! libusbx: error [init_device] device '\.\USB#VID_046D&PID_C080&MI_01#7&498F63B&0 &0001' is no longer connected! Claiming interface... Setting up interface...

Initialising protocol... Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond. Please be patient!

Session begun.

Downloading device's PIT file... ERROR: Failed to send request to end PIT file transfer! ERROR: Failed to download PIT file! Ending session... ERROR: Failed to send end session packet! Releasing device interface...

D:\Users\Owner\Desktop\Samsung Cyanogen\Heimdall Suite>

Is my phone bricked? What do I do? Can I unplug it from my computer, can I turn my phone off? Please help me!!!

/r/cyanogenmod Thread Parent