I updated my Nexus 4 to Android 4.3. I don't like it, so I want to return to version 4.2.2. How do I go back to a previous version?
You can find the official Factory Images from Google's Factory Images for Nexus Devices page, and the download contains all that you need to downgrade. Unfortunately, this means you'll lose all data on the device, so be sure to make backups beforehand.
Basically, you'll have to download and extract the package, install drivers if necessary, boot your device into fastboot mode and use the script (
flash-all.sh for Linux/Mac or
flash-all.bat for Windows) from the package to flash the image. More detailed instructions can be found on XDA.