Transfer image after completely wiping Nexus device I've completely wiped my Google Nexus device. I still have Team Win Recovery Project. But, seems that the device isn't detecting USB.

Executing adb shell returns error: no devices found.

Executing adb devices doesn't return my device.

Tried it out on bith Windows 8 and OSX (El Capitan).
I've resolved it. Used a different USB cable and got everything fixed!