[Nexus 4 Q&A, Help & Troubleshooting] Abhiheart:
Steps required to install 4.4 factory steps

[MENTION=4930936]vinay28761[/MENTION]

Here You are :

I would fully recommend unlocking your bootloader for this purpose, unlocking has many advantages and one disadvantage, that your waranty will be void, but if you do these steps correctly, you should be fine with it

1) Download the SDK from here : http://developer.android.com/sdk/index.html

2) Extract the folder to an appropriate location . I prefer C:/adt-bundle-windows-x86_64 , you will see sdk folder> platform-tools. This is the main folder, here u will get your fastboot and adb

3) Now when you first download the facctory image, it will be in .tgz file, Use 7-zip software (Google it) and extract it to the same folder where you have downloaded your factory image.

4) After extracting you will get .tar file, extract it again using 7 zip . All files will be extracted to a folder called occam-krt160o and you will get img files like bootloader-mako-makoz20i and radio img's . Now Copy these files namely : bootloader-mako-makoz20i , radio-mako-m9615a-cefwmazm-2.0.1700.84 and image-occam-krt16o.zip

5) Now copy the img files that i mentioned from the occam-krt160o folder and paste into platform-tools folder present in your adt bundle

For the connection part :

1) On the nexus 4 go to settings > about phone and tap on build number 2-3 times , it will say now you are a developer, now you should see a developer option in your setting menu, go into developer options and enable USB debugging.

2) Now go to storage option in the nexus 4 and tap on sought of options button present there it will say connection option or something like that when u tap it will ask MTP or PTP (basically two connection modes for your N4 when connecting to the PC), uncheck MTP

3) Now On your PC, go to device manager on you PC (Google it) and look for Nexus 4 , right click it and click uninstall and if a option is there to delete the drivers put a check on it or if there is no option just uninstall the phone.

4) Connect your phone via a USB cable it will say installing driver (It should install ADB by default).

For Unlocking bootloader connecting Fastboot and installing images.

* You will lose all data on the internal memory that is films,music, apps (Back it up )

1) Switch off your phone.

2)Hold the pwerbutton and volume down to enter into fastboot ( Phone should be connected to PC)

3) You will see a start button on top and droid icon like a repair tool ) . You will also see bootloader lock status

4) Now on your PC , browse to your platform-tools folder . hold shift-rightclick and open a command prompt.

5) Now type fastboot oem unlock on your command prompt . Now your bootloader is unlocked and all your data is wiped.

6) Now reboot your bootloader by : pressing volume down/up and press the power-button to select (when u browse by volume up/down it will show resrat bootloader or reboot bootloader)

7) After N4 comes back to your bootloader, Type in your command prompt :

fastboot flash bootloader bootloader-mako-makoz20i

fastboot reboot-bootloader

fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.84

fastboot reboot-bootloader

fastboot -w update image-occam-krt16o

fastboot reboot-bootloader

Note: I recommend restarting the bootloader manually after flashing each image.

Now you should have a android 4,4 running on your nexus phone.

To install recovery on the N4 , Go to ClockWorkMod homepage ( Google it ) and choose N4 touch recovery download it and rename it as recovery and paste in to into platform-tools folder.

To flash type on your command prompt fastboot flash recovery recovery,img

You should have a CWM recovery now.