[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] crpalmer:
CyanogenMod 13.0 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 <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/

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. You will need to provide your own Google Applications package (gapps). 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 our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Note: This thread is not about:

- Other devices!

- General Honor 5X stuff (Unlocking, Emui, going back to Stock, Updating Stock...)

- Aliens, UFOs, ...

-> Generally: ANYTHING not specifically about CyanogenMod 13.0 for Honor 5X

Important Notice:

As of July 19, an upgrade of the firmware to MM-Firmware is required ([URL="http://xdaforums.com/showpost.php?p=67840582&postcount=1813"]Link to instructions[/URL],
possibly find your firmware update here: [URL="http://xdaforums.com/honor-5x/how-to/repository-honor-5x-file-depot-t3328288"]LINK[/URL] - note: not related to us, thanks @clsA).
If you run a device below the required firmware,
flashing will fail due to checks in the upgrade package! (No, you shouldn't remove the checks!)
In that case please use a build of July 18 or below. (Link: [URL="https://www.androidfilehost.com/?w=files&flid=72880"]clsA's repo[/URL])

Please DO NOT complain about this, we are not responsible for non-released firmwares
and other things not directly under our control. Please also DO NOT ask for any support
of firmware update in this thread! Go to Q&A section and create or use an existing thread there!

Preparation

To make sure you can run the builds from July 20 and up, please do the following

(For all commands please copy everything between the quotes not including them! All commands require to press [ENTER] to execute)

1) Open the terminal app or connect via computer and type "adb shell"

2) Type "su"

3) Type (or copy)

strings /dev/block/platform/soc.0/7824900.sdhci/by-name/tz | sed 's/QC_IMAGE_VERSION_STRING=//p;d'

4) Compare the output to:

TZ.BF.3.0.C3-00025

5) Are they equal? Go on with the instructions and use a newer build

They are different? -> Go with build of July 18

Instructions

First time flashing CyanogenMod 13.0 on your device, or coming from another ROM?

1) Read this post completely! Make sure you are aware of the issues!

2) Download the zip(s).

3) Install a compatible Recovery (e.g. TWRP (Link))

4) Perform a NANDroid backup of your current ROM (Optional)

5) Wipe data & cache partitions of your device (required when coming from stock!).

6) Flash CyanogenMod.

7) Optional: Install the Google Apps addon package. (Pay attention to the note in "Download links"!)

Changelog

Device tree

Kernel tree

Generic CM tree

Broken Features / Known Issues

camera does not support HDR photos - no need to try other camera apps, it's disabled completely!

dt2wake doesn't use the proximity sensor to filter bogus d2twake triggers and therefore can turn on too easily in your pocket,

but it DOES work without proximity sensor

Builds older than July 20: fingerprint sensor not implemented! (Do not even ask for it, search the thread!)

smart view case support

Other Issues?

Before posting on this thread, make sure of a few things:

You've utilized the search function of the forums. Nothing irritates me more than lazy people who do not search for an answer before asking or ask the same question over and over again.

If you are the only one having a problem. Boot into recovery, wipe data/factory reset, reflash the rom/gapps and nothing else. Boot up and see if the problem persists.

LOGS LOGS LOGS!!!! Use this: SysLog by Tortel

If you have a hard reboot (to the vendor boot logo, not the CM boot logo), use adb or any other file explorer tool to pull a copy of

/sys/fs/postore/console-ramoops

after the reboot and provide that.

Note: We will not support any kind of modification on the ROM not done by our sources. If you are running XPosed, Kernel Booster or whatever occurs to you, we won't support you in any way. The problem will in every case be treated as the additional softwares' fault (because often it is!)

Download Links

CyanogenMod: ROM @ http://download.crpalmer.org/nightlies/kiwi-cm-13.0

Google apps addon:

(Note: Not required to run the ROM)

We are using Open GApps (Link) Arm64 version. (make sure to use 64bit when using other packages), others might also be working

Note: In case you want to use any gapps, YOU MUST install the right gapps the first time that you flash a marshmallow ROM. Do not boot with an older gapps or without one and then try to install it later.

Note: If you install a package which replaces the default dialer (mostly "Stock Gapps") you have to go to Settings->Apps->Gear-Icon and set the new dialer as a default telephony app to prevent force closing of apps

XDA:DevDB Information

CyanogenMod 13.0 Builds, ROM for the Honor 5X

Contributors

crpalmer, BadDaemon

Source Code: https://github.com/CyanogenMod/android_kernel_huawei_kiwi

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Version Information

Status: Beta

Created 2016-03-25

Last Updated 2016-07-27