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.
hi every one
last night when i wanted to sleep.my phone suddenly restart .when the os wants to load.it reamins at huawei logo
i think i have this os :SelfieP6 by Reyncla
so i decided to install another rom
i found this one interest :
[ROM][4.4.4][ Unofficially Omni ROM
in order to install this rom.it said :ive to first install kk beta .to install kk beta i have to go back to stock recovery.i had twrp.so ive installed these 2 by twrp : Stock Firmware Huawei B506 CN KitKat boot and recovery.zip
first i install boot then recovery.
and now what ever i do .it reamains in huawei logo.my twrp gone,my os gone
i cant do anything with adb commands cuz it says :device not found
am i bricked my phone >?
v.mohamadtaghi said:
hi every one
last night when i wanted to sleep.my phone suddenly restart .when the os wants to load.it reamins at huawei logo
i think i have this os :SelfieP6 by Reyncla
so i decided to install another rom
i found this one interest :
[ROM][4.4.4][ Unofficially Omni ROM
in order to install this rom.it said :ive to first install kk beta .to install kk beta i have to go back to stock recovery.i had twrp.so ive installed these 2 by twrp : Stock Firmware Huawei B506 CN KitKat boot and recovery.zip
first i install boot then recovery.
and now what ever i do .it reamains in huawei logo.my twrp gone,my os gone
i cant do anything with adb commands cuz it says :device not found
am i bricked my phone >?
Click to expand...
Click to collapse
Boot into bootloader and reflash twrp.
1) I dont remember the key combination required to get into fastboot, could anyone help out on this one
2) When in fastboot your phone should get stuck on the huawei screen, then you run fastboot flash recovery recovery_twrp.img
recovery_twrp.img being the twrp file from surdus thread.
3) fastboot restart and you should be able to access twrp
TNX
tauio111 said:
Boot into bootloader and reflash twrp.
1) I dont remember the key combination required to get into fastboot, could anyone help out on this one
2) When in fastboot your phone should get stuck on the huawei screen, then you run fastboot flash recovery recovery_twrp.img
recovery_twrp.img being the twrp file from surdus thread.
3) fastboot restart and you should be able to access twrp
Click to expand...
Click to collapse
hi buddy tanx for your help.thats quite helpful.when i have twrp ,i want to use dlod methode.but i cant .can u help me what to do >?
v.mohamadtaghi said:
hi buddy tanx for your help.thats quite helpful.when i have twrp ,i want to use dlod methode.but i cant .can u help me what to do >?
Click to expand...
Click to collapse
dload method can be used only with stock recovery.
TWRP is for flashing custom ROM's.
install
XDAvatar said:
dload method can be used only with stock recovery.
TWRP is for flashing custom ROM's.
Click to expand...
Click to collapse
how can i install stock recovery ? .in surdu's post .there are 2 types of stock recovery.which one of them should i install?
v.mohamadtaghi said:
how can i install stock recovery ? .in surdu's post .there are 2 types of stock recovery.which one of them should i install?
Click to expand...
Click to collapse
Try both. See which one is working.
Hey guys,
I have Canvas A1 device which I had upgraded to Marshmallow but later on i flashed CM 12 LP. Then I tried to get back on Official Stock LP by using flash files from SP Tool it was successful but my phone is not booting up!
I flashed it on Download Mode! Now what should i do help me?
can u boot in bootloder?
if yes, flash a custom recovery and apply this nandroid to go to stock rom, replace your custom recovery with stock and lock your bootloder to return to officiall mode of your phone.
http://forum.xda-developers.com/canvas-a1/help/dg-downgrade-to-stock-kitkat-4-4-4-t3070721
madhurajkumar said:
can u boot in bootloder?
if yes, flash a custom recovery and apply this nandroid to go to stock rom, replace your custom recovery with stock and lock your bootloder to return to officiall mode of your phone.
http://forum.xda-developers.com/canvas-a1/help/dg-downgrade-to-stock-kitkat-4-4-4-t3070721
Click to expand...
Click to collapse
not able go into recovery plz help. but gets detected only for flashing
nilesh15 said:
not able go into recovery plz help. but gets detected only for flashing
Click to expand...
Click to collapse
If you have a working fastboot in your pc then follow these steps:
1. copy compatible recovery.img into the fastboot folder.
2.go to bootloader and type this command: fastboot boot recovery.img .
mee too facing this same situation... :\ please help me
update sp flash tool and try again. it solved mine i hope it helps.
i was rooted with twrp custom recovery installed. i wanted to unroot my phone so i flash the recovery and locked he bootloader again and now im trying to sideload the latest oos to my phone but it keeps failing. everytime i plug my device in i get a popup saying to insatll device drivers and when i let it do it abd its successful i still get a sideload failed error. what am i doing wrong?
envious86 said:
i was rooted with twrp custom recovery installed. i wanted to unroot my phone so i flash the recovery and locked he bootloader again and now im trying to sideload the latest oos to my phone but it keeps failing. everytime i plug my device in i get a popup saying to insatll device drivers and when i let it do it abd its successful i still get a sideload failed error. what am i doing wrong?
Click to expand...
Click to collapse
- Unlock the BL again
- Flash modded TWRP
- Flash stock OOS rom using TWRP (TWRP will be replaced by stock recovery!)
-Check if everything wroks as it should
-Relock the BL
-DONE
LS.xD said:
- Unlock the BL again
- Flash modded TWRP
- Flash stock OOS rom using TWRP (TWRP will be replaced by stock recovery!)
-Check if everything wroks as it should
-Relock the BL
-DONE
Click to expand...
Click to collapse
probably a stupid question but how do i unlock the bootloader again?
envious86 said:
probably a stupid question but how do i unlock the bootloader again?
Click to expand...
Click to collapse
Just like the time before.
fastboot oem unlock
LS.xD said:
Just like the time before.
fastboot oem unlock
Click to expand...
Click to collapse
OK I'll try thanks.
guys i cant flash my fastbooot rom for mi 11x i wanted to reclock my bootlader so i flashed stock rom in middle it gave error from that my phone is booting and it only stuck in fastboot i only get errors while flashing in flash tool but before i used to flash from batch file if i open it it will get flashed but now it just closses can anyone tell why is that?
EDIT : it got fixed when i used xiaomi adb fastbooot tools to flash fastboot rom
Thanks for posting the update