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.
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.
joe.stone said:
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.
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
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
The other package just unlocks the bootloader .Bootloader unlock.
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
Thanks to surdu_petru for the initial device tree to compile twrp.
Click to expand...
Click to collapse
Thanks joe....atlast bootloader unlocked..
One more thing i installed Fly UI OS from p6 and replaced with stock HAM boot.img....OS is not booting properly getting lots of FC's...
Does CM10.1 require different kernel or do we need to change any setting?
svvv said:
Thanks joe....atlast bootloader unlocked..
One more thing i installed Fly UI OS from p6 and replaced with stock HAM boot.img....OS is not booting properly getting lots of FC's...
Does CM10.1 require different kernel or do we need to change any setting?
Click to expand...
Click to collapse
CM 10.1 may need some change in kernel or/and its config. Init.rc files needs modifications (framework , init.d support) , and it can happen that the init binary need some mods in cm source for proper working.For example wifi firmware path as on g510 . The standard cm init uses 2 firmware path , while the g510 init uses 4 to properly load wifi firmware files.You can check it on my github.
I am planning to compile a cm rom for our device , but the bootloader was the first step.
Awesome news mate ...
Finally someone can make goodies on HAM !
You can take a look also on my CM11 development project for P6, maybe you will make one for HAM !
Good luck !
Nice , very nice
Yes !!! This is best news on Ham. Thanks
Inviato dal mio HUAWEI MT1-U06 utilizzando Tapatalk
Thanks! ...While this method works to unlock bootloader in B907 HAM??? I think I'll try
Unlocked on B907 it was only a problem , the bat don't find the extracted folder on %temp% but it was there .....I was running adb cmd inside temp folder. Work perfect . THANKS
IT'S DAY ZERO FOR OWR DEVICE
Inviato dal mio HUAWEI MT1-U06 utilizzando Tapatalk
unlocked bootloader will be easier to carry kitkat HAM??
ErSergi said:
unlocked bootloader will be easier to carry kitkat HAM??
Click to expand...
Click to collapse
Yes, KitKat will be more easily to port on HAM !
surdu_petru said:
Yes, KitKat will be more easily to port on HAM !
Click to expand...
Click to collapse
but we need kernel from huawei right....for kitkat
Tested and works in B907 Oficial, unlocked bootloader ... Thank you for the contribution
Now this is a great Birthday present for me..
HAM Finally can be UNLOCKED.
i havent try yet but just wanna ask few questions.
1. Since now i'm using Hyd52Rom from Husen, can HAM be Unlocked with this Rom running?
2. Whats the best choice of current rom running for Unlocking?
maybe its sound stupid but its me (non-devs brain and only a user who dare to test..)...
Thanks guys.
You can unlock your phone using any rom. The only thing is needed turned on usb debugging. Of course the drivers on your pc should be installed .
After unlock check my other thread and update your permanent twrp to 2.6.3.2.
Sent from my HUAWEI MT1-U06 using xda app-developers app
HAM finally unlocked.
Looking forward for testing Compatible Roms.
Any suggestions highly appreciatable.
Thinking of trying P6 roms but not sure if theyre compatible
[email protected]
theoppositeman said:
HAM finally unlocked.
Looking forward for testing Compatible Roms.
Any suggestions highly appreciatable.
Thinking of trying P6 roms but not sure if theyre compatible
[email protected]
Click to expand...
Click to collapse
I think every p6 JB ROM will compitable just you have to change dpi in build.prop
Sent from my P6-U06 using xda app-developers app
Hi @ all,
it's all progressing really well in recent times
Can i use this method only for HAM or can i use this for my P6 also?
87insane said:
Hi @ all,
it's all progressing really well in recent times
Can i use this method only for HAM or can i use this for my P6 also?
Click to expand...
Click to collapse
It should work on P6 too , but for P6 there are stock roms with unlocked bootloader.(KK beta).
If you want to use it on your P6 , use unlock bootloader only , and flash permanent twrp made for P6.
Of course permanent twrp for Mate will work on P6 as well , but the device identifier will be hwmt1_u06 and not hwp6_u06 which can cause assert errors when you try to flash a recovery flashable P6 rom .
I know. But i search for a way to use this on B125 international. In the CN it is to easy
Gesendet von meinem HUAWEI P6-U06
Hi,
I can't flash [ROM][JB4.2.2][HAM][ HYD52ROM V5] [Superfast,Stable][V5 7-02-14]
from TWRP 2.6.3.2 . Everythings go right but on reboot the device never end logo.
I need to relock bottloader and start again whit dload. I have tryed flashing same zip from tmp recovery on locked and everything is working. i will to know if is a rom problem or twrp or unlocked bootloader.Also i have try buckup from HYD52ROM V5 whit twpr 2.6.3.2 and restore rom, after a factory reset, but was a id mismatching and no user app.
I will try to unlock and no permanent twpr, but use a cwm tmp whats happen. i will report
Edit: whit unlocked bootloader and tmp twrp
2.6.3.0 from sordu_petru recovery flash of same zip ad no problem.
Hello,
I have recently updated my phone to marshmallow complete stock, then I flashed pre rooted marshmallow system.img and boot files through fastboot and twrp.img too, but I cant get into TWRP, even tho If I flash stock recovery, i can go into it. So I flashed stock recovery and running prerooted marshmallow, It seems that I've to unlock the bootloader in able to get into TWRP custom recovery. I want to use a custom rom like XOSP or CM there available. I tried the unlock bootloader app provided by ASUS but that seems to only work for ollipop. Is it really about bootloader should be unlocked in able to get into TWRP? I cant get into TWRP, ASUS logo appears and If I continue pressing power+volume down it will just hold on to that screen and restart.
Please Help!!!
This happens with me too ..
any help ?
hi how install twrp ? i try bumper and dont work only fast mode say and nothing.....i dont have unlock bootloader and i need unlock and twrp !! please help me thx
Dear,
First you have to root your device, and then you will be able to flash TWRP Recovery. However, refer to this thread "https://forum.xda-developers.com/lg-g3/general/root-twrp-marshmallow-d855-30b-t3286268".
Thanks.
I used fastboot oem lock command without oem unlock enabled in developer settings, but before that I installed noguat bootloader and v29a . then when I locked my bootloader i couldn't enter recovery or os, i can only enter fastboot or download mode, in download mode i cant recover with
any kdz i suppose thats because i have nougat bootlader, in fastboot when i try too boot recovery.img or when i try to use oem unlock or flash any partition i always get message device locked. is there hope??
KyotoSen said:
I used fastboot oem lock command without oem unlock enabled in developer settings, but before that I installed noguat bootloader and v29a . then when I locked my bootloader i couldn't enter recovery or os, i can only enter fastboot or download mode, in download mode i cant recover with
any kdz i suppose thats because i have nougat bootlader, in fastboot when i try too boot recovery.img or when i try to use oem unlock or flash any partition i always get message device locked. is there hope??
Click to expand...
Click to collapse
Flashing kdz fails on 18% or similar? If so, try to flash v20p ROM using the latest LG UP library that is 0.4.3.
Here is the link http://www.mediafire.com/file/7ry19u299ynwer5 extracted from f500 variant of the device.
tulen_kobi said:
Flashing kdz fails on 18% or similar? If so, try to flash v20p ROM using the latest LG UP library that is 0.4.3.
Here is the link http://www.mediafire.com/file/7ry19u299ynwer5 extracted from f500 variant of the device.
Click to expand...
Click to collapse
thank you, youre the best.
Hello ,i have a problem whit my a5 2017
I have updated my phone to latest version of oreo , before doing this i disabled oem unlock but i got twpr installed in my phone .
Now after the oreo update the phone is a brick , i have no command screen and if i try to enter recovery i have this message :
#fail to open recovery_(cause no such file or directory)#
Now i am on the latest version of bootloader , oem locked and frp lock active whit an infinite bootlop.
I tried to extract recovery file of latest oreo update whit cmd l4z command , success , i flashed it but still no recovery
If i try to flash twpr i get an error : custom binary locked by frp lock on download mode screen
Adb does not recognize my phone i can't unlock oem from adb
I tried to install stock firmwares a lot of times but the problem still persist
What can i do?
gd9719 said:
Hello ,i have a problem whit my a5 2017
I have updated my phone to latest version of oreo , before doing this i disabled oem unlock but i got twpr installed in my phone .
Now after the oreo update the phone is a brick , i have no command screen and if i try to enter recovery i have this message :
#fail to open recovery_(cause no such file or directory)#
Now i am on the latest version of bootloader , oem locked and frp lock active whit an infinite bootlop.
I tried to extract recovery file of latest oreo update whit cmd l4z command , success , i flashed it but still no recovery
If i try to flash twpr i get an error : custom binary locked by frp lock on download mode screen
Adb does not recognize my phone i can't unlock oem from adb
I tried to install stock firmwares a lot of times but the problem still persist
What can i do?
Click to expand...
Click to collapse
I suggest try to download another stock rom and try again with it.
matkali said:
I suggest try to download another stock rom and try again with it.
Click to expand...
Click to collapse
i have done this 13 times and the problem still.
gd9719 said:
i have done this 13 times and the problem still.
Click to expand...
Click to collapse
Download from here:
https://www.sammobile.com/samsung/galaxy-a5-2017/firmware/#SM-A520F
matkali said:
I suggest try to download another stock rom and try again with it.
Click to expand...
Click to collapse
I finally booted up my phone and unlocked oem
but network is not working , everytime i update my firmware recovery is missing and i have to install recovery manually (only twpr work , stock recovery not working cause of bootloader)
i have tried to unpack recovery from lz4 stoc files ( latest update) create a tar whit 7 zip and flash it , flash success but still no recovery.
after erasing screen after update i have no command whit failed to load recovery no such file or directory