After gaining root access, install a custom recovery image on your smartphone; when flashing custom ROMs the stock recovery can't be used. (android.gs)
Then, the next thing to do will be to install a custom recovery image on your handset. (android.gs)
I hope that you found this guide helpful and that you've managed to successfully flash this a new custom Recovery image for your Nexus 4. (android.gs)