[GUIDE] Unlock Bootloader, Root, Install TWRP & Decrypt

ajsmsg78

Senior Member
Dec 6, 2008
5,089
4,540
253
Selden, NY
For an easy way to Unlock, Root & Decrypt your Mate 8 here are the steps you need to take. This has been requested by a number of you so here it goes:

1) Unlock your bootloader. There are three steps you can take. The first is free. The second method requires you to pay a few dollars but it works and is the fastest way. I would highly recommended this method. This is confirmed working on all models.

Option 1: Make a Huawei ID on your phone and stay signed in for 14 days and go then online to unlock your bootloader and it should work on the website.
https://uniportal.huawei.com/accounts/register.do?method=toRegister

Option 2: If you want to unlock your phone immediately and don't mind paying a few dollars this method works. Visit here:
https://www.dc-unlocker.com/buy

- Download the DC Unlocker Software
- On their site buy 4 credits. I used PayPal. It cost me around $4.38 USD.
- Follow the instructions in their tutorial. Choose "Read Bootloader Code" in DC-Unlocker to get your bootloader code. It was pretty easy.
- Put your phone in bootloader mode (plug into the computer and hold in power and volume down with the phone off) and download the Android tools from the link at the end of step two. Extract them to a folder on your desktop and open a command prompt to that folder and type in fastboot oem unlock xxxxxxxxxxxxxxxx where x is your bootloader unlock code the DC Unlocker program gave you.

2) Download the TWRP recovery of the EMUI version you are currently on (5.0 ,5.1, 6.0) from here:
https://drive.google.com/drive/folders/0B5I_q70mNuR4Vmo5LUUyU2t5TWs?usp=sharing

Then put your phone into Bootloader Mode (plug phone into computer and hold in power + vol down) and fastboot flash the TWRP recovery file you downloaded. Here are the Android tools you need to fastboot flash. Extract them to a folder and put the twrp recovery img file inside the folder as well and open up a command prompt to the folder and type in fastboot flash recovery TWRP-ENG-XXX.img (where XXX is the version of TWRP you downloaded) Then type in fastboot reboot. When your phone reboots shut it back down and then hold in volume up and power until it turns on and keep holding in volume up until the phone boots into TWRP recovery.
https://drive.google.com/file/d/0B5I_q70mNuR4UzdkeERRZExnUVk/view?usp=sharing

3) Root your phone.
In TWRP flash SuperSU:
https://drive.google.com/file/d/0B5I_q70mNuR4OWlXeTJuTjdoS0k/view?usp=sharing

After flashing you will be rooted and on TWRP successfully.

4) Decrypt your internal storage.
You must decrypt your internal storage so TWRP can see it or if you want to be able to flash a rom. If you're getting an unable to format data in TWRP then you know you need to do this. Boot into TWRP then go to Wipe then Advanced Wipe then Format Data and type in yes. This will wipe and decrypt your internal storage. BACK UP YOUR INTERNAL STORAGE before you do this if you have anything important on it. (Pics are at the bottom of this post) Then either flash one of my roms or decrypted boot.img to keep the internal storage decrypted. If you boot with the stock boot.img installed it will encrypt your internal storage again and you'll have to repeat the process.

*To take an ota or do the dload method you don't have to relock"
 

Attachments

Last edited:

jbmc83

Senior Member
Oct 12, 2011
3,808
1,851
253
Singapore
yep thats correct, B137 latest chinese and B133 latest international rom :)

thanks for the info, i had some problems with flashing supersu, but once i flashed the decrypted boot image my bootloop and partition mounting troubles in twrp were gone :) no idea what exactly was the culprit there but i guess ill stick to flashing the decrypted boot.img first before continuing with rooting a firmware...
 

EGOiST1991

Senior Member
Jul 3, 2015
500
106
0
Cologne
i would like to do the 4$ Method. But link is dead :(

"Option 2: If you want to unlock your phone immediately and don't mind paying a few dollars this method works. Visit here:
https://www.dc-unlocker.com/how-to-r...er-unlock-code".

So i cant do it.. :(

edit:

i think the dead link is:
https://www.dc-unlocker.com/huawei-android-hisilicon-unlock-guide

but if i scroll down there is no MATE8. Only MATE 7.
 
Last edited:

m3dd0g

Senior Member
Jul 11, 2011
2,061
5,721
203
NRW

SlyUK

Senior Member
May 13, 2015
2,493
724
183
Does this now mean we are likely to see numerous custom roms & kernels being developed in the very near future for this awesome smartphone ?
 

jbmc83

Senior Member
Oct 12, 2011
3,808
1,851
253
Singapore
i sure hope so :) especially since huawei seems to have publicized its kernel source for the mate 8 just recently :) in the end it depends on the interest of the devs, though, and the overall popularity of the mate 8! im staying optimistic that itll be better than with the mate 7 ;)
 

SlyUK

Senior Member
May 13, 2015
2,493
724
183
i sure hope so :) especially since huawei seems to have publicized its kernel source for the mate 8 just recently :) in the end it depends on the interest of the devs, though, and the overall popularity of the mate 8! im staying optimistic that itll be better than with the mate 7 ;)
Its a BEAST of a phone, lets hope its POWER can be UNLEASHED to its true potential with such development :)
 

EGOiST1991

Senior Member
Jul 3, 2015
500
106
0
Cologne
dont work . paid 4$ got things that looked like:

8++++++++++++++++++Unlock codes:
NCK : 46++++++++++++++++++
NetSub : 1++++++++++++++++++
SP : 00++++++++++++++++++
Unblock : 2++++++++++++++++++

and it says always failed (rmeote: password wrong)
 

ajsmsg78

Senior Member
Dec 6, 2008
5,089
4,540
253
Selden, NY
i would like to do the 4$ Method. But link is dead :(

"Option 2: If you want to unlock your phone immediately and don't mind paying a few dollars this method works. Visit here:
https://www.dc-unlocker.com/how-to-r...er-unlock-code".

So i cant do it.. :(

edit:

i think the dead link is:
https://www.dc-unlocker.com/huawei-android-hisilicon-unlock-guide

but if i scroll down there is no MATE8. Only MATE 7.
Don't worry, it works with the Mate 8. You're doing something wrong if it didn't work.
 

ajsmsg78

Senior Member
Dec 6, 2008
5,089
4,540
253
Selden, NY
Say we do unlock BL and then root... Than I guess we cannot get OTA updates right? Also does the BL re-lock?
You should still get ota updates if you're unlocked and rooted. Yes you can relock just make sure you fastboot flash or do the dload method to get back to stock before you relock.
 
  • Like
Reactions: icy20

ivan552

Member
Oct 28, 2008
27
4
23
it's the code in first line, cofusing

---------- Post added at 01:06 AM ---------- Previous post was at 01:06 AM ----------

your phone is already unlocked to provider