• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[OFFICIAL] CyanogenMod 14.1 - mi4 [cancro]

linuxxxx

Senior Member
Sep 22, 2013
764
2,307
0

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 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.

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

Installation
First time CyanogenMod 14.1 installation on your Xiaomi Mi4:
  • 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 and 12.1) :
  • 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

Supported devices
  • Mi3w
  • Mi4 (WCDMA)
These devices are supported, but the maintainer WILL NOT fix bugs that are reproduceable just in those devices
  • Mi4 LTE

Downloads
-----------------------------------------------------------------------------

Reporting bugs
  • DO NOT report bugs if you're running a custom kernel
  • DO NOT report bugs if you've modifies system files
  • DO NOT report bugs if you've installed xposed and/or other mods
  • 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 /proc/last_kmsg. (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 or bugs reported in the lastest 5 pages of this thread. Any bug not reported in the bug report format below may be ignored.

Code:
Phone Informations
* Model (Mi3 / Mi4 / Mi4 LTE)
* 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.
  • 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"
  • 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)
  • Why no <insert miui feature here>?
  • Because this is CyanogenMod
  • 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!

XDA:DevDB Information
[OFFICIAL] CyanogenMod 14.1 - mi4 [cancro], ROM for the Xiaomi Mi 4

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

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: MiUi MM baseband and partition layout

Version Information
Status: Nightly

Created 2016-11-08
Last Updated 2016-11-14
 

rahulkamma14

Senior Member
Sep 9, 2016
209
56
0
The new build is great. It has been one day. No issues. Battery life is great. All sensors are working. Camera quality is not bad. And the rom is for daily drivers. Only problem is slow charging issue. I hope it will be fixed soon. Get into the nest guys
 

TrueMS

Senior Member
Nov 17, 2013
735
120
43
Hi, is there any way to see if phone is unlocked? I got phone with custom MIUI 8 from czech developers with pre-installed TWRP, does that mean that phone is unlocked? Thanks :) I guess it is, because I can manually flash new updates of MIUI 8 through TWRP. Btw. really like this rom!
 
Last edited:

0perat0r

Senior Member
Jul 4, 2011
72
12
0
Istanbul
Hi, is there any way to see if phone is unlocked? I got phone with custom MIUI 8 from czech developers with pre-installed TWRP, does that mean that phone is unlocked? Thanks :) I guess it is, because I can manually flash new updates of MIUI 8 through TWRP. Btw. really like this rom!
AFAIK Mi4 models are not bootloader locked from factory. BUT if you already have TWRP installed then it is definitely unlocked.
 

TrueMS

Senior Member
Nov 17, 2013
735
120
43
Okay, thank you so much :) i thought the same but I wanted to be sure :) and how is it with going back to MIUI? Can I just flash MIUI in TWRP to go back?
 

TrueMS

Senior Member
Nov 17, 2013
735
120
43
Yes. But once you flash you'll never like miui. CM is better in every way. I'm using CM from 2 years. You'll like it
I know, I was using CM on my Zenfone 5 and S3 mini, it's awesome, but I kinda like MIUI, our czech version of MIUI is debloated and without annoying apps and a lot faster, and also im asking because there can be some breaking bug so I will have to go back to the MIUI.
 

Anarchy16

Senior Member
Dec 25, 2015
614
274
63
sandakan
I know, I was using CM on my Zenfone 5 and S3 mini, it's awesome, but I kinda like MIUI, our czech version of MIUI is debloated and without annoying apps and a lot faster, and also im asking because there can be some breaking bug so I will have to go back to the MIUI.
i also dont like miui since i flash cm based rom
btw if u want debloated miui there are 2 site for that xiaomi.eu and mi-globe.com . go ahead
edit : u need twrp to flash miui from both site
 

0perat0r

Senior Member
Jul 4, 2011
72
12
0
Istanbul
Okay, thank you so much :) i thought the same but I wanted to be sure :) and how is it with going back to MIUI? Can I just flash MIUI in TWRP to go back?
you can flash official firmware without TWRP or you can head to the Xiaomi.eu and flash the zip from twrp.
And, I'd prefer CM with 7.1 on my Mi4 but since Qualcomm not releasing the vulcan files for our SoC, not sure how it will affect it :/ damn you Qualcomm.
 
Last edited:

epulrevo

Senior Member
Jan 11, 2013
309
50
0
Johor
Things are working great! Except for the slow charging. *Edit* After flashing ZheurionX Kernel and Feralab script mod. Charging problem is gone and no problem with battery backup either. Now this rom is my daily driver.
 
Last edited:
  • Like
Reactions: chaitanyar8

epulrevo

Senior Member
Jan 11, 2013
309
50
0
Johor
Things are working great! Except for the slow charging. *Edit* After flashing ZheurionX Kernel and Feralab script mod. Charging problem is gone and no problem with battery backup either. Now this rom is my daily driver.
Sorry for double post, but I can't upload pic in "edit"
 

Attachments