Guide to unlock Huawei Ascend Mate bootloader
I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE. DO IT AT YOUR OWN RISK.EVERYTHING WRITTEN IN THIS DOCUMENT WAS TESTED ON MY PHONE.
I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE. DO IT AT YOUR OWN RISK.EVERYTHING WRITTEN IN THIS DOCUMENT WAS TESTED ON MY PHONE.
After playing with my Mate I found a way to unlock the locked bootloader. If your bootloader is unlocked you can flash custom kernel , recovery to your phone.
The files used to unlock the bootloader is from P6 KitKat firmware. These two files are for efi and fastboot partition. Flashing only these partitions can avoid problems with mismatching modem firmware. The process was tested on official B221 firmware , but should work with any firmware. Reflashing a stock firmware(as I know there are only firmwares for Mate only with locked bootloader) with dload will relock the bootloader.
Unlocking process need proper adb and fastboot drivers installed. I use this driver :Huawei handset drivers for windows
Guide in pdf format
If your adb and fastboot drivers are correct you can start unlocking the bootloader.
If you want to unlock the bootloader and install Twrp recovery use this package :Bootloader unlock with TWRP install
Bootloader unlock with TWRP install mirror
This way powering on your phone with volume up button hold TWRP recovery comes up instead of stock 3e recovery. If you want to use the dload method to install a stock rom you have to restore the stock recovery.
Stock B221 fastboot flashable recovery
Stock B221 fastboot flashable recovery mirror
The other package just unlocks the bootloader .Bootloader unlock.
Bootloader unlock mirror.
Turn on USB debugging on your phone (settings->developer settings)
Start the package.
File extraction starts.
Command prompt window should appear.
Your phone restarts in bootloader mode.
Efi partition is flashed.
Fastboot partition is flashed.
Your phone restarts in bootloader mode.
Your bootloader state is displayed. (should say bootloader unlocked)
Your phone restart in normal mode.
This is what the packages do :
.\adb wait-for-device
.\adb reboot bootloader
.\fastboot flash efi efi.img
.\fastboot flash fastboot fastboot.img
.\fastboot reboot-bootloader
timeout 2
.\fastboot oem get-bootinfo
timeout 10
If it says your bootloader is still locked you can try the following:
adb reboot bootloader
fastboot oem unlock UUUUUUUUUUUUUUUU
If you want to restore stock rom and recovery here are the packages.
Recovery restore package for B221
Recovery restore package for B907
These packages restores the original efi and fastboot partition and then restores the stock recovery. These packages do the opposite as the unlock bootloader , however my phone stayed unlocked. Also this package solves the problem when the stock recovery stuck at the begining when trying to flash a stock rom using dload method.
WARNING:If you plan to flash a rom not made for Mate , always check that it does not overwrite other partitions then boot, system, data, cust. If the install package reflash the modem do not install it as it can hard brick your device.
For updated versions of permanent TWRP recovery check my thread here
Thanks to surdu_petru for the initial device tree to compile twrp.
Attachments
Last edited: