Updating Android Devices with the Latest Android OS as soon as possible has always been the bane of the Nexus Line.
The Google Nexus 4 recently had the OTA upgrade to KitKat (Android 4.4) released of recent and for those with rooted devices who after trying to update via their custom recovery and failed got stuck at boot, here is a fix that worked for me. All these is based on the assumption that your device has previously been rooted and has custom recovery (ClockWork) installed. If not you should visit this link : Link
What you need:
1. A Linux O.S (In my case ubuntu). 2. The Android SDK (adb specifically) installed on the OS. 3. The .zip containing the update Link : **WARNING : THIS IS SPECIFICALLY FOR THE NEXUS 4** [Link](http://goo.gl/kQN38z) (Copy this file and put it in the root directory of your device) 4. Fastboot : This can be installed using **sudo apt-get install android-tools-fastboot** on Ubuntu. 5. ClockWork Touch 188.8.131.52 : [Link](http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-184.108.40.206-mako.img)
1. Boot your device into the Fastboot menu. (Pressing the Volume Down and Power Button) 2. Once in the Fastboot menu, run **fastboot flash recovery recovery-clockwork-touch-220.127.116.11-mako.img** 3. Then run **fastboot reboot-bootloader** 4. Once in the recovery, use the **install update from zip** option and select the downloaded zip OTA. This should install the update. 5. Restart your device. There is a probability that you would lose root access after this, that can be fixed by checking out [Link](http://goo.gl/pvLxlq).
Voila!! Let me know if you have any issues in the comment box.