You should be able to boot to recovery and do all the install procedures in the OP and have it working..
make sure you follow the instructions tho.. and format data.. data is a partition outside of /system and
sometimes there's a lot of garbage left behind. especially coming from aosp to stock or stock to aosp.
Sent from my Nexus 4 using xda app-developers app