[Mi 3 Original Android Development] linuxxxx:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0.x (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.

#include
/*
* Your warranty is now 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.

IMPORTANT INFORMATIONS

We will not support users and answer questions from users which:

are running a custom kernel

have flashed mods

modified system files

didn't follow our instructions word by word

are unfriendly

WIKI

Official CyanogenMod Wiki: http://wiki.cyanogenmod.org/w/cancro_Info

INSTRUCTIONS

First time installing CyanogenMod 13.0 to your Xiaomi Mi3:

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 13.0 zip to your device

Boot into Recovery

Perform factory reset

Flash the CM 13.0 zip from SD card

Flash GApps from SD card

Reboot (be patient, "optimizing apps" takes a while)

Upgrading from earlier version of CyanogenMod:

Push the new CM 13.0 zip to your SD card

Boot into Recovery

Flash the CM 13.0 zip from SD card

Flash the most recent GApps for Marshmallow if you are upgrading from 12.1

Reboot (be patient, "optimizing apps" takes a while)

DOWNLOADS

Lastest Nightly : http://get.cm/get/cancro-latest.zip

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

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

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

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

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

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

BUGS

Report bugs for nightly builds at https://jira.cyanogenmod.org/browse/NIGHTLIES. Please keep in mind that bugs are expected on these builds. If you want something stable, choose the Snapshot branch. Before reporting any bug, make sure it has not been reported by someone else.

Current status:

Builds: nightlies, snapshots

Lastest Snapshot: ZNH0EAO2NJ

Will get next Snapshot: Yes

Known issues: none

Security (kernel): all CVE (Common Vulnerabilities and Exposures) are fixed

FAQ

I get error 7 while flashing this rom, what does it mean?

Read what the recovery says: "You're running on an unsupported (Kitkat) baseband". In order to flash the lastest CM builds you must have Miui MM baseband and partition layout installed. Visit http://bit.ly/cancroCMBaseband to learn how to update these

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"

Are these gapps working with cm13?

Use the suggested package

Why no nightly today?

There was a compilation issue

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 channel. This applies to 12.1 -> 13.0 too

Why no ?

Because this is CyanogenMod

Will you add ?

I won't. If you want that, 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!

XDA:DevDB Information

[OFFICIAL] CyanogenMod 13.0 - Mi3 [cancro], ROM for the Xiaomi Mi 3

Contributors

linuxxxx

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

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: MiUi MM baseband and partition layout

Version Information

Status: Nightly

Created 2015-12-22

Last Updated 2016-05-30