Your best bet is to install the latest factory image and start fresh.
1. download and install the android SDK toolkit and get the nexus 4 driver if you don't already have one.
2. download the latest factory image for the nexus 4
3. unzip the factory image and transfer the files to the platform...