Nexus 4
Official CyanogenMod 12 nightly is available for Nexus 4. Google

The CyanogenMod team announced the long awaited CyanogenMod 12 official nightlies, as a New Year gift for the Android community.

Based on Android 5.0.2 Lollipop, the first batch of CyanogenMod 12 nightlies are available for a total of 31 Android powered smartphones, with additional devices expected to be listed shortly.

Several important features from the CyanogenMod 11 and smaller tweaks are missing in this nightly release, which the team promises to incorporate in the new Material UI in due course.

The CyanogenMod 12 compatible devices bring full hardware support such as calls, Wi-Fi, GPS, camera and other features. However, depending on the devices, some features might not be functioning properly at this time, for eg, IR support.

As for the flashing, since these builds are in their nightly state, expect bugs with the installation. Also, remember that once you have installed the CyanogenMod 12 nightly, you cannot downgrade to CM11 without wiping. Besides, you need an Android Lollipop compatible recovery. Head over to the development thread to know more about nightly release.

The CyanogenMod 12 nightly is also available for the fourth generation Nexus smartphone codenamed mako. Check out the following installation method if you wish to install Android 5.0.2 on your Nexus 4 using the latest nightly build.

Points to remember

  • As the tutorial might wipe out all data of the phone, create a backup using any custom recovery.
  • Enable USB Debugging Mode on the phone to connect it with the computer and use Android SDK with it. [Go to Settings>> About phone. Scroll down to Build number, Tap seven times on the build number. The Developer options under Settings should appear now. You can now enable USB debugging mode.]
  • Your Nexus 4 should have above 80% of battery charge.
  • The phone should be rooted and have latest version of recovery installed.
  • The bootloader of the phone should be unlocked.
  • The CyanogenMod 12 nightly works only with Nexus 4 mako. Applying these on any incorrect variant might brick the device. Verify the model number of the smartphone by navigating to Settings>> About phone>> Model number and install firmware accordingly.
  • Since this is a nightly release, bugs are highly likely.
  • IBTimes UK will not be held liable for any damage to the device. Installation will be completely on your risk.

Download links:

CyanogenMod 12 nightly-

Alternate link

Gapps file

How to install Android 5.0.2 Lollipop on Nexus 4 with official CyanogenMod 12 nightly

Step-1: Connect your Nexus 4 to the PC through USB cable. Without extracting move the downloaded files to the internal storage of the phone and remember the location

Step-2: Switch off the Nexus 4 and unplug the USB cable from it

Step-3: Boot your phone into custom recovery. For this press ad hold Volume Up, Volume Down and Power buttons together. Release all the buttons when you see Bootloader/fastboot menu.

You will also see the Start button on the screen, press Volume Down or Up until the start text changes to Recovery Mode. Press the Power button to confirm entering into Recovery mode

Step-4: In recovery mode, perform a Nandroid backup by selecting backup and restore

Step-5: Perform data wipe by selecting wipe data/factory reset. Use the Power button to select everything in the Recovery mode

Step-6: Perform a cache wipe by selecting wipe cache partition

Step-7: Perform a wipe of your dalvik cache to avoid boot loops or, any other errors. From recovery go to advanced>> wipe dalvik cache

Step-8: Return to the main recovery menu and select install zip from sdcard>> choose zip from sdcard. Browse to the location where you have saved the CyanogenMod 12 ROM, select it and confirm installation

Step-9: Once you have flashed the ROM, follow the similar steps to install Gapps package

Step-10: When you have installed all the files, boot the phone into normal mode by selecting reboot system now. Keep in mind that the first boot will take some time before it loads all the new files

Once your Nexus 4 boots up successfully, it should be running the official CyanogenMod 12 nightly based on Android 5.0.2.

[Source: Android Geeks]