CyanogenMod is primarily based on the Android Open Source Project with extra contributions from many people within the Android community.
WARNING:
Installing custom ROM requires a custom recovery to be installed on your device, which may VOID your warranty and may delete all your data.
Before proceeding further you may consider backup your all data.
Please visit the Disclaimer page below to agree with the risks involved and proceed before flashing this ROM to your phone:
ROM Disclaimer link
Installing custom ROM requires a custom recovery to be installed on your device, which may VOID your warranty and may delete all your data.
Before proceeding further you may consider backup your all data.
Please visit the Disclaimer page below to agree with the risks involved and proceed before flashing this ROM to your phone:
ROM Disclaimer link
Recommended files for this installation:
Latest TWRP recovery download linkCyanogenMod 12.1(Lollipop 5.1) ROM download link
Google Apps download link
Installing CyanogenMod 12.1 ROM on Nexus 4:
STEP 1:
Copy the ROM zip and the GApps zip file to your internal memory (By using a USB cable or via adb push command).
STEP 2:
Reboot into recovery by pressing key combination or type the following command if you are on a PC:
$ adb reboot recovery
STEP 3:
Wipe Data/Factory Reset
Format /system, clean Dalvik Cache (If you are coming from KitKat ROM) and then Format Cache
NOTE:
This step may delete all your data.
Consider backup your data out of your phone.
Data Backup guide
STEP 4:
Select the Install Zip from SDcard option.
Select the ROM zip file where you have kept in the SD card and do the same for GApps also.