[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] BadDaemon:
Firmware update instructions

Firmware update instructions

By reading and doing the following you agree, that you won't use the current thread to discuss it.

In case of trouble please go to Q&A section of this forum and post it there.

[B]Disclaimer:[/B]
The procedure described below can brick your device!
We are not responsible for this or any other damage taken by following these instructions.
The same info found in the first posts' disclaimer applies to this one!

[B]THE FOLLOWING PROCEDURE WILL WIPE ALL DATA AND APPS[/B]

[B]Note:[/B]
Although stated by some that the following method does work without returning to stock recovery,
we could not make it work properly that way.
Anyone is free to try, though!

All commands given have to be used exactly the way they are put here. If the command is surrounded by quotes ("), those are NOT part of the command

Preliminary steps

1) READ THIS POST ENTIRELY AND PROPERLY INCLUDING ALL THE WARNINGS, INSTRUCTIONS, TODO's and TO-NOT-DO's (sorry but I know some will not!) BEFORE EVEN THINKING OF STARTING

2) Download the stock recovery for your device (e.g. from clsA's AndroidFileHost - thanks [MENTION=2895182]clsA[/MENTION] )

Attention: The stock recovery of the firmware you want to flash will not work - use the appropriate version (like coming from firmware B140 also use that one, not the B331 one which you will upgrade to)

Also please note that this is not the right thread to ask for links or uploads of recoveries!

3) Download the new firmware for your device (e.g. from clsA's AndroidFileHost - thanks [MENTION=2895182]clsA[/MENTION] )

4) Backup all of your data and apps, they will get lost!

5) Put the folder "dload" from the stock firmware zip to your (internal) sdcard's root (so you will have a file structure "/sdcard/dload/UPDATE.APP")

6) Make sure your battery charge is 30% and up (having the device plugged in will not have any effect, it will not charge during the procedure!)

Steps

1) Reboot the device to bootloader.

This can be done by enabling the reboot-menu (Settings->Keys->On-/Off-Menu->Reboot-Menu) and then long pressing the Power-Key, selecting Reboot->Bootloader

or by going to recovery (Switch off and then press VOL DOWN + POWER) and using the reboot menu there

2) Make sure your device can be found using "fastboot devices" - if nothing is shown in the list of devices, make sure fastboot is installed correctly.

Please do NOT use THIS thread to complain if nothing is shown - open or use an existing thread in Q&A section of the forums

3) Flash stock recovery (Replace the name (underlined!) by the one you have)

fastboot flash recovery [I][U]NameOfRecoveryFileHere.img[/U][/I]

4) Power off device

5) Power on device pressing VOL UP + VOL DOWN + POWER

6) The update procedure should start now (you will see an EMUI logo with progress bar circle around)

If this gets stuck at 5% it's likely you had the wrong recovery version. Wait until it auto-reboots the device after some time and when you see the usual CM-Bootanimation you did it wrong - use the right recovery!)

7) On success it will boot to EMUI 4.0 and Android MM - let it boot

8) Once booted you can power off the device again (no need to go through EMUI setup)

9) Power On by Pressing VOL DOWN + POWER

10) Follow the steps of first CM-Installation in the first post (attention to the gapps - if you need them, install them right away before you first-boot cm again) - Also make sure to reflash custom recovery!

11) When an error occurs when trying to flash CM its most likely error 6 or 7. Please do NOT post it butz read the lines above. Might as well say smth that a factory reset is required -> Then do it!

I am fine with updating this post with other info in case something is missing, required or wrong (I did the same steps yesterday so at least for me its working) - but make sure your message does contain useful information and is not a general complaint ("buuuh, it's not working [for me]", "I get an error x") and, just to make sure: no "I can't find the firmware for my device, please help" or similar.

And for those who think they are smart: This is just examples, I am generally talking about that kind of message, not the exact sentences!