CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Note: It is the firmware CyanogenMod supports and all users are expected to be on this very firmware. So it's mandatory that you flash this firmware via TWRP if you're newly installing CM.
You need to flash this zip only once. In case you installed MIUI and then wanna install CM back, reflash the following firmware.
You don't need to reflash this everytime you update you CyanogenMod build.
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /sys/fs/pstore/console-ramoops. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
Frequently Asked Questions:
Q) Where are Developer options? A) Go to Settings > About phone, and press five times on Build number.
Q) How can I enable root access? A) Go to Settings > Developer options > Root access, and enable it for apps, adb or both.
Q) I don't like superuser icon in statusbar, can I install SuperSU? A) Yes, that would not show superuser icon in statusbar.
Q) How do I update GApps? (Also useful if you have GApps related problems). A) Reboot to recovery. Wipe System, Cache and Dalvik Cache. Install ROM + GApps. (Yes, without rebooting). Reboot.
Q) Facing Settings -> Security force close?
B]A)[/B] Flash the supported firmware linked in Post #2.
Q) Is VoLTE supported? (Also useful if you have GApps related problems). A) No. We use all proprietary blobs from MIUI Marshmallow alpha 'leaked' builds and those builds itself do not have it working. So we'll have to wait until Xiaomi fixes it in their marshmallow builds in future. Also we can't fallback to old LP radio blobs/libs and are not suited with current setup. #blamexiaomi
I have already moved on to cm-14.0 dev. You can follow it on CM gerrit: here
Also I have rebased kernel to N CAF tag and added back Xiaomi edits from LP release. (Camera, battery drivers are 100% from Xiaomi kernel release with no edits regarding adding/removing any new support)
Keep calm and wait for it
Also, wanted to know ov16880_f16v01a and ov16880_omida05 camera sensors are present on some devices too? Anyone with them here?
On CM, I just now added s5k5e8_z5e8yab thought it was the only one missing. If those two exist too on fewer RN3, let me know so that I can add support for those 2 sensors in CM.