Nexus 4
Nexus 4 .

Flashing of a custom recovery on your Android device will allow you to install various custom ROMs on the device. But to flash such custom ROMs, users have to install a custom recovery on their device. XDA senior member known as jellybellys has released the ClockworkMod (CWM) recovery for the Nexus 4.

Before flashing CWM recovery, users should unlock the bootloader on their Nexus 4. Nexus 4 owners looking to install the CWM recovery may follow this tutorial but IBTimes UK reminds readers it will not be held responsible for damage to the device during installation. Remember this guide works only with the Nexus 4.

Also, this procedure will wipe out data on your device and reset it to factory settings.

Pre-requisites:

  • Ensure all important data is backed-up
  • Ensure the bootloader on your device is unlocked

To install CWM on Nexus 4:

  • Download and install the Android SDK to your computer. This is required to install the necessary drivers for the device
  • Download Fastboot and extract the Fastboot.zip file to any convenient location on the computer
  • Download the CWM recovery image. The file name should be cwm6-jellybellys-occam-bld1.img
  • Copy the downloaded recovery image to the Fastboot folder obtained in step 2
  • Switch off the device and boot into Fastboot mode by pressing and holding Volume Down and Power buttons together until screen turns on and shows "Start" written in green
  • Connect your Nexus 4 to the computer via USB cable and wait for Windows to finish installing the drivers
  • Click on Start menu > All Programs > Accessories and then right-click on Command Prompt. Click on Run As Administrator. If you are using Windows 8, this can be done by right-clicking on the extreme bottom left corner of the taskbar and then choosing Command Prompt (admin)
  • Flash the CWM image on the device. Follow the below steps:
    • Head to Fastboot folder obtained in the step 2
    • Enter Fastboot devices in command prompt
    • Flash CWM recovery by entering Fastboot flash recovery cwm6-jellybellys-occam-bld1.img in the command prompt
    • You will see a message saying finished or OKAY
  • CWM recovery is now installed on Nexus 4. To boot into CWM recovery, turn off the device and boot into bootloader mode. Scroll to and select Recovery mode option to reboot the phone into CWM recovery

[Source: The Android Soul]