I was trying to install Ubuntu OS on my Nexus 4, everything downloaded just fine. After that it started booting into boot.img and that's where the issues started. Here's what I got on screen:
INFO:phablet-flash:Booting /tmp/tmpbT_cJ5/partitions/recovery.img downloading 'boot.img'... OKAY [ 1.085s] booting... OKAY [ 0.004s] finished. total time: 1.088s INFO:phablet-flash:Waiting for install to finish on device. Please do not unplug device until phablet-flash finishes. ERROR:phablet-flash:Installation is taking too long or an error occured along the way. Removing directory /tmp/tmpbT_cJ5 Removing directory /tmp/tmpsMhqAw
Before installation failed the screen was black for around 10 minutes on my phone. I can boot into bootloader and recovery mode but I don't know what to do to either finish installing Ubuntu or to revert to Android 4.3.