[Nexus 4 Original Android Development] janarthanan.v:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

Code:

#include "std_disclaimer.h"

/*

* Your warranty is not void.

*

* I am not responsible for bricked devices, dead SD cards,

* thermonuclear war, or you getting fired because the alarm app failed. Please

* do some research if you have any concerns about features included in this ROM

* before flashing it! YOU are choosing to make these modifications, and if

* you point the finger at me for messing up your device, I will laugh at you.

*/

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit Gerrit Code Review.

Wiki

Official CyanogenMod Wiki:https://wiki.cyanogenmod.org/w/Mako_Info

Installation

First time CyanogenMod 14.1 installation on your Nexus 4:

Read the official Wiki page

Unlock your bootloader if you haven't done so already

Flash a custom recovery via Fastboot

Push GApps (arm) and the CM 14.1 zip to your device

Boot into Recovery

Perform factory reset

Flash the CM 14.1 zip from SD card

Flash GApps from SD card

Reboot

Upgrading from earlier version of CyanogenMod (even from 13.0) :

Push the new CM 14.1 zip to your SD card

Boot into Recovery

Flash the CM 14.1 zip from SD card

Flash the most recent GApps for 7.1 if you are upgrading from earlier android version

Reboot

Downloads

Lastest Nightly 14: http://get.cm/get/mako-latest.zip

Lastest Recovery (Nightly) : http://get.cm/get/mako-latest-recovery.img

Lastest Snapshot : http://get.cm/get/mako-snapshot.zip

Lastest Recovery (Snapshot) : http://get.cm/get/mako-snapshot-recovery.img

-----------------------------------------------------------------------------

Google Apps (arm): wiki.cyanogenmod.org/w/gapps

All the builds: http://download.cyanogenmod.org/?device=mako

Code:

Phone Informations

* CM version

* Gapps version

What you did:

* Wipe data: y/n

* Upgrade from previous official cm build: y/n

* Restore with titanium backup: y/n

You're using (if yes write which one) :

* Task killer

* Phone cleaner / Battery enhancer apps

* Non-stock kernel

* Modified kernel settings

* Other mods

Bug info:

* Last version it worked on

* Repro steps

F.A.Q.

ROOT! ROOT! Give me root or i'll die!!! Where root is???

First of all DO NOT flash any SuperSu/SuperUser/SuperMan zip package to get root. Go to Settings>Developement Settings>Root access and select "Apps Only"

Why no nightly today?

Build failed. Check again tomorrow

When do I have to wipe data?

You must wipe data only when you're switching from another rom or migrating to Snapshot branch from Nightly and vice versa. You don't need to wipe data when you update in the same release channe (this applies to 13.0 -> 14.1 upgrades too)

Will you add <insert awesome feature here>?

I won't. If you write it, submit a commit to gerrit, where it will be reviewed.

The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Contributors

cyanogen, CM team

Source Code: https://github.com/cyanogenmod