[Mate 8 General] Samavb:
How to unbrick or get back stock on your Huawei Mate 8. There are many reasons why you would want to do that.

In my case my device (AL10) was stuck at "your device cannot be trusted" after updating from B180 to B321.

First I got to thank acer73 for his software. ajsmsg78 and Kris Chen for their links to the right ROMs.

Also thanks to DarkSilentSC for his help, especially with the L29, great support.

He has a L29, which I don't have, so I'm glad he provides help with that device.

This worked for me on my AL10 to get it back on track, should work on other models too. Just have to find the right ROMSs as according to your model. However, I am not responsible if this does not work for you or if it bricks your phone even more.

And remember: don't forget turning on usb debugging whenever you can!

Unbrick (return to Stock)

1.	Find yourself a stock ROM.zip according to your model and extract from the zip the update.app (I used one from a B172 (AL10) Stock ROM, I was running a B180 custom ROM, it worked.)

2.	Download the Huawei Update Extractor http://xdaforums.com/showthread.php?t=2433454

3.	Extract boot.img, recovery.img, system.img and cust.img with the HuaweiUpateExtractor from the Update.App you find in the ROM to somewhere where you can find them easily

4.	Head over to http://xdaforums.com/mate-8/development/rayglobe-italian-knife-t3295526 (You can also do it with fastboot commands, but Acer73's tool makes it easier)

5.	get yourself the Italian Knife (btw you probably have to turn off your anti-virus program), extract it in a directory on your PC and start Rayglobe_knife.exe

6.	Put the images you have extracted into the folder Unbrick (same directory where you extracted Rayglobe Knife in). The folder was created after you started Rayglobe_Knife.exe

7.	Boot your phone into bootloader.

8.	In the Rayglobe Knife tool choose Unbrick and choose the option where it says you have placed all the images in the unbrick folder.

9.	let the magic work. The phone will restart and it will probably take 15 minutes, make sure its charged enough.

After all that I quickly updated to the latest Stock ROM version, in my case B321, which you need to do if you want to flash later a custom B321. See second post if you want to do that as well or continue with unlocking the bootloader.

Now lets get the bootloader unlocked (for some reason mine was still unlocked)

1.	Get Minimal ADB https://www.androidfilehost.com/?fid=24521665358595410

2.	Hopefully you still have your unlock code (cause you need it otherwise it won't work)

3.	Put your phone in Bootloader Mode (Press & hold power and volume down)

4.	Extract Minimal ADB zip and run command.bat

5.	Type <fastboot oem unlock xxxxxxxxxxxxx> (where xxxx is your bootloader unlock code)

6.	Done

Now lets get twrp set up

1.	For that we need minimal ADB again

2.	Headover to http://xdaforums.com/mate-8/development/recovery-twrp-huawei-mate-8-t3298567

3.	Download TWRP according to your EMUI (For B321 it's EMUI 4.1)

4.	Place the image in the directory of the Minimal ADB

5.	Rename it to just twrp.img (not necessary but simplifies things)

6.	Put your phone in Bootloader Mode (Press & hold power and volume down)

7.	Run command.bat

8.	Type <fastboot flash recovery twrp.img>

9.	Then type fastboot reboot

10.	Now you can hold volume up and power until your phone boots into TWRP

11. You need to format data (you'll lose everything on your phone)

12.	Done