• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Bootloader Unlock Guide

Search This thread

Apo11on

Senior Member
Sep 5, 2008
1,659
332
San Diego, CA
DISCLAIMER: I'm not responsible for anything that happens to your device. Use the steps below at your own risk . Be mindful of the facts unlocking bootloader voids your warranty and also hard resets your device - ALL YOUR DATA, SETTINGS, FILES AND APPS WILL BE DELETED. These steps worked for me - I own Chinese version of 8.4" LTE model. I do not know if they will work for any other models of M5, including European versions, WiFi only version and 10" models.

To execute the steps below you will need to obtain unlock code, specific to bootloader of your device. There is a slow, painful and free way to get it, and there is a quick and easy way to get the code instantly, which will cost you 4 euros. The slow way is to create Huawei ID, register on Huawei website and request the unlock code directly from Huawei, through dedicated link they provide. I do not use this method, so I don't have the link - do not ask. You will have to provide justification why you need it, such as being a developer and you bought the device to develop and make a living off of it - something Huawei support would find reasonable. In most cases they will not agree to unlock bootloader if you just tell them you want to install some roms. In this guide I will be describing the other method to get it done, which costs 4 euros.

Follow these steps.

1. Go to DC Unlocker website, register for an account (or login, if you already have one)
2. Buy 4 credits (cost is 4 euro) using the Buy link
3. Download the latest DC Unlocker client (pictures 1,2 below)
4. Open the DC Unlocker client, click "server" tab on the right (picture 1) , enter your website login you created in step 1 and click "Check Login"
5. Select "Huawei phones" from "Select manufacturer" dropdown
6. On your M5, go to Dialer app, and type in *#*#2846579#*#* to open Project Menu
7. Click Background Settings->USB Port Settings->Manufacture Mode
8. Connect your M5 to PC via USB cable and return to DC Unlocker client
9. Click the Search button to detect your device. It should be detected as "Huawei HiSilicon Kirin Android" (picture 1)
10. Click "Unlocking" tab
11. Click "Read Bootloader Code"(picture 2). It may not work on the first try, but don't worry - unsuccessful bootloader code reads do not spend your credits. Give it a few seconds, disconnect/reconnect USB cable and try again
12. Copy and save generated bootloader code
13. Download Huawei Multi Tool from the bottom of this page and install it
14. Boot into download mode by powering off your M5, then holding Vol Down + Power keys simultaneously for a few seconds and then plugging in USB cable while still holding these 2 keys
15. Open Multi Tool v8 and paste the code you got from DC Unlocker into "Get Unlock Key" input field
16 Click "Use your key" button next to it (picture 3)
17. On the bottom right click the green "Unlock bootloader" button
18. You will get a bunch of warnings on your M5 screen about unlocking bootloader - press Vol Up key and then Power key
19. At this point your bootloader will be unlocked and M5 will factory reset itself

Note: using Multi Tool is optional. Instead, if you have ADB tools with fastboot installed on your PC, then after step 14 you can just use fastboot to unlock your bootloader, by typing "fastboot oem unlock <code>"
Note 2: I don't do tech support via PM, so don't PM me for help or with questions. Use the thread instead, and some other XDA members or myself will probably help you. Good luck!

Now I'm hoping some dev takes a shine to our phablet, and compiles TWRP build for it. It can certainly be installed now that we managed to unlock the bootloader :cool:
 

Attachments

  • xda2.jpg
    xda2.jpg
    237.6 KB · Views: 11,827
  • xda3.jpg
    xda3.jpg
    245.9 KB · Views: 11,590
  • xda.jpg
    xda.jpg
    241.8 KB · Views: 11,515
Last edited:

kev1807

Senior Member
Jan 17, 2011
193
12
Heidelberg
Why do we have to pay for it? I bet there's an easy way to unlock it without to pay, isn't it?

This Page describe an unlock process for huawei devices that's likely the prozess for Google or Motorola devices.

Isn't it working on the M5, too?

I think an answer for using the "unofficial" way would be that officially having an unlocked bootloader may void your warranty and I do not know how nice Huawei plays with that, so that the "official" way is not the best option to many people ...
If the device is halfway bricked, however, and you cannot restore the locked bootloader, they still know and are not too friendly either, because one did not use the proper method ...
 

Apo11on

Senior Member
Sep 5, 2008
1,659
332
San Diego, CA
I think an answer for using the "unofficial" way would be that officially having an unlocked bootloader may void your warranty and I do not know how nice Huawei plays with that, so that the "official" way is not the best option to many people ...
If the device is halfway bricked, however, and you cannot restore the locked bootloader, they still know and are not too friendly either, because one did not use the proper method ...

Your assumptions are incorrect. Warranty is voided no matter whichever way you use to unlock. The correct answer to Marcopoloy13' post is that (1) he doesn't "have to" do anything, and (2) the site he linked, simply echoes what I already said in the OP - that you can contact Huawei to request the unlock code.
 
  • Like
Reactions: LuckOne79

Si73

Senior Member
Nov 15, 2007
98
68
Suffolk
Your assumptions are incorrect. Warranty is voided no matter whichever way you use to unlock. The correct answer to Marcopoloy13' post is that (1) he doesn't "have to" do anything, and (2) the site he linked, simply echoes what I already said in the OP - that you can contact Huawei to request the unlock code.

I requested the unlock code via email. They were quick in replying but none of the codes they sent worked. They sent me 4 different codes and one was even my tablets serial number! Gave up asking in the end and will just use dc unlocker.
 

Apo11on

Senior Member
Sep 5, 2008
1,659
332
San Diego, CA
If you have been successful unlocking your M5 bootloader using the steps provided - please share your experience here, including any kind of problems you've encountered and how did you solve them. This will help others.
 

m5mediapad

Member
May 9, 2018
7
0
I also have the CMR-w09 how ever DC can not find the device i have it fully installed on my windows 10 maybe it is because of HI(hiwai sync)?

---------- Post added at 03:58 PM ---------- Previous post was at 03:53 PM ----------

Why do we have to pay for it? I bet there's an easy way to unlock it without to pay, isn't it?

[new user can not post url"]This Page[/XXX] describe an unlock process for huawei devices that's likely the prozess for Google or Motorola devices.

Isn't it working on the M5, too?

I tried this but the link does not open to register for unlock? also i am based in Uk and there is no option to give a UK number

---------- Post added at 04:19 PM ---------- Previous post was at 03:58 PM ----------

I also have the CMR-w09 how ever DC can not find the device i have it fully installed on my windows 10 maybe it is because of HI(hiwai sync)?

---------- Post added at 03:58 PM ---------- Previous post was at 03:53 PM ----------



I tried this but the link does not open to register for unlock? also i am based in Uk and there is no option to give a UK number

I am trying yo get debian9 with xfce fully installed on this tablet with NO andriod system running such as linux deploy or VNC....
 

thref23

Senior Member
Jul 27, 2007
248
38
Am I the only one who couldn't get these instructions to work?

I can't get the device to install cleanly on either or my two Windows PCs. Perhaps I need drivers?

Perhaps as a result, DC Unlocker won't find my phone via automatic detection.

I might be able to get a code elsewhere - but I also can't get this thing to boot into Download mode.

Am I supposed to enable anything in Developer Options?

When I hook up to my PC, I get asked whether I want to charge only or xfer files or photos. Does it matter what I select?

Manufacture mode tends to revert back to Hisuite mode after I disconnect the USB cable.

Thanks...

(ETA - I figured out DL mode - the instructions say "power keyS" not "power key" - my bad)

(ETA - I got my key from DC. Got the following error message from Multi-Tool - 'Error! Unable to execute command, check the status of Bootloader and FRP (Phone Finder).' I'll figure this out.)

(ETA - turns out you have to enable OEM unlocking, who'd a thunk it. For the record, I'm not that Android illiterate, this is simply the first device I have bought in years, the first device I've bought within days of first root, and I'm used to everything being spelled out. Big thanks to the OP nonetheless!)
 
Last edited:

PewPewK

Senior Member
Dec 23, 2013
140
45
Seattle
Am I the only one who couldn't get these instructions to work?

I can't get the device to install cleanly on either or my two Windows PCs. Perhaps I need drivers?

Perhaps as a result, DC Unlocker won't find my phone via automatic detection.

I might be able to get a code elsewhere - but I also can't get this thing to boot into Download mode.

Am I supposed to enable anything in Developer Options?

When I hook up to my PC, I get asked whether I want to charge only or xfer files or photos. Does it matter what I select?

Manufacture mode tends to revert back to Hisuite mode after I disconnect the USB cable.

Thanks...

(ETA - I figured out DL mode - the instructions say "power keyS" not "power key" - my bad)

(ETA - I got my key from DC. Got the following error message from Multi-Tool - 'Error! Unable to execute command, check the status of Bootloader and FRP (Phone Finder).' I'll figure this out.)

(ETA - turns out you have to enable OEM unlocking, who'd a thunk it. For the record, I'm not that Android illiterate, this is simply the first device I have bought in years, the first device I've bought within days of first root, and I'm used to everything being spelled out. Big thanks to the OP nonetheless!)

How'd you fix the device not being detected? I've tried everything to get drivers installed, but none of them work. I'm stuck at finding the phone via automatic detection.
 

thref23

Senior Member
Jul 27, 2007
248
38
How'd you fix the device not being detected? I've tried everything to get drivers installed, but none of them work. I'm stuck at finding the phone via automatic detection.

I'm not 100% sure, but three things:

Make sure to enable USB debugging via Developer Options.

Make sure you are still in Manufacturer mode, and have not been reverted back to Hisuite mode, before hooking it up to your PC .

I installed and opened Multi-Tool before I successfully generated a code; I forget if I did anything in particular, but it prompted me to download a Huawei_Drivers zip file that I might or might not have needed.
 

PewPewK

Senior Member
Dec 23, 2013
140
45
Seattle
I'm not 100% sure, but three things:

Make sure to enable USB debugging via Developer Options.

Make sure you are still in Manufacturer mode, and have not been reverted back to Hisuite mode, before hooking it up to your PC .

I installed and opened Multi-Tool before I successfully generated a code; I forget if I did anything in particular, but it prompted me to download a Huawei_Drivers zip file that I might or might not have needed.

I managed to fix it, but I'm also not clear on what I did that caused it to work for others who might be running into the problem.

The last thing I did before it worked was install and update the latest HiSuite from Huawei's website. Otherwise I also was trying to install the Huawei drivers from Multi-Tool. Either one of those is likely the culprit for it finally working.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    DISCLAIMER: I'm not responsible for anything that happens to your device. Use the steps below at your own risk . Be mindful of the facts unlocking bootloader voids your warranty and also hard resets your device - ALL YOUR DATA, SETTINGS, FILES AND APPS WILL BE DELETED. These steps worked for me - I own Chinese version of 8.4" LTE model. I do not know if they will work for any other models of M5, including European versions, WiFi only version and 10" models.

    To execute the steps below you will need to obtain unlock code, specific to bootloader of your device. There is a slow, painful and free way to get it, and there is a quick and easy way to get the code instantly, which will cost you 4 euros. The slow way is to create Huawei ID, register on Huawei website and request the unlock code directly from Huawei, through dedicated link they provide. I do not use this method, so I don't have the link - do not ask. You will have to provide justification why you need it, such as being a developer and you bought the device to develop and make a living off of it - something Huawei support would find reasonable. In most cases they will not agree to unlock bootloader if you just tell them you want to install some roms. In this guide I will be describing the other method to get it done, which costs 4 euros.

    Follow these steps.

    1. Go to DC Unlocker website, register for an account (or login, if you already have one)
    2. Buy 4 credits (cost is 4 euro) using the Buy link
    3. Download the latest DC Unlocker client (pictures 1,2 below)
    4. Open the DC Unlocker client, click "server" tab on the right (picture 1) , enter your website login you created in step 1 and click "Check Login"
    5. Select "Huawei phones" from "Select manufacturer" dropdown
    6. On your M5, go to Dialer app, and type in *#*#2846579#*#* to open Project Menu
    7. Click Background Settings->USB Port Settings->Manufacture Mode
    8. Connect your M5 to PC via USB cable and return to DC Unlocker client
    9. Click the Search button to detect your device. It should be detected as "Huawei HiSilicon Kirin Android" (picture 1)
    10. Click "Unlocking" tab
    11. Click "Read Bootloader Code"(picture 2). It may not work on the first try, but don't worry - unsuccessful bootloader code reads do not spend your credits. Give it a few seconds, disconnect/reconnect USB cable and try again
    12. Copy and save generated bootloader code
    13. Download Huawei Multi Tool from the bottom of this page and install it
    14. Boot into download mode by powering off your M5, then holding Vol Down + Power keys simultaneously for a few seconds and then plugging in USB cable while still holding these 2 keys
    15. Open Multi Tool v8 and paste the code you got from DC Unlocker into "Get Unlock Key" input field
    16 Click "Use your key" button next to it (picture 3)
    17. On the bottom right click the green "Unlock bootloader" button
    18. You will get a bunch of warnings on your M5 screen about unlocking bootloader - press Vol Up key and then Power key
    19. At this point your bootloader will be unlocked and M5 will factory reset itself

    Note: using Multi Tool is optional. Instead, if you have ADB tools with fastboot installed on your PC, then after step 14 you can just use fastboot to unlock your bootloader, by typing "fastboot oem unlock <code>"
    Note 2: I don't do tech support via PM, so don't PM me for help or with questions. Use the thread instead, and some other XDA members or myself will probably help you. Good luck!

    Now I'm hoping some dev takes a shine to our phablet, and compiles TWRP build for it. It can certainly be installed now that we managed to unlock the bootloader :cool:
    17
    To enter Project Mode on Wifi only tablets, open calculator and enter () () 2,846,579 () (). On 10.8" tablet, it will need to be in landscape mode to get all the calculator symbols to show.
    7
    * * *Thread Cleaned, again * * *

    Look guys, everyone here was new, asked dumb questions, made stupid remarks, and frustrated those who are contributing to Xda. Each of us has done it when we were new, someone of us are still doing it as senior members.

    My point; now that you're the one being frustrated by new users, don't threaten to pick up your toys and go home, if every dev here did that this place would be another social site. Report abusive users, don't "punish" the many users who show respect and appreciation for your time and efforts by walking away because a few new guys get irritating (remember when you were the one doing the irritating).

    Maybe it would do us all good to remember the days when we were the ones making people mad, asking stupid questions or arguing because we thought we knew when we really didn't.

    Those who are here to share your hard work, and be recognized, thanked, and grow your experience, please remember that the rules are for you as well as everyone else.

    If you are relatively new, and don't know how things work in Xda, or think you know more than someone else, or feel like arguing because your opinion is different than the one providing mods, Roms, etc. figure out a way to communicate the difference with respect and realizing that people who develop word here do it for free, they do it when they could be hanging out with friends or family, and they share it with us because they want to see if it works, what's broke, and get feedback on how to fix it. Not be disrespected by users who haven't put in that time yet. And the rules apply to you as well as everyone else.

    This thread has talented and experienced people in it, don't let all that get wasted and lost in arguing, bickering, and violation Forum Rules. Nothing productive come of that.

    No one is permitted to insult, be rude, or disrespect another user, regardless of your title, your skill level, or your time in Xda. Those who give up their personal time to develop mods for our devices deserve respect from those of us who use their work for free.

    tl;dr

    Be respectful to those who dedicate their free time to provide free stuff for us, every users should show respect to every user, report those causing heartache and frustration, remember you are here for the greater good, not the lesser evil. Be kind, and be an example of what you think Xda should be.
    4
    • Once you're on the unlock page, fill everything out for a Wifi tablet with "Before EMUI5.0 selected".
    • Before hitting Submit, go into the chrome developer tools and under the sources tab, open up the file 'emui.huawei.com -> en -> publish static -> plugin -> unlock/template -> js -> detail.js?v.4.15'.
    • Click the '{ }' icon at the bottom left of the source pane to pretty-print the file
    • Scroll down to line 150 that should say "if(param.before5)". Right click the line number for that line and select 'add breakpoint'.
    • Now hit submit.
    • The submission should break on that line number, when it does (it'll be highlight), go into the console and enter "param.before5 = 0" (without quotes, followed by enter) to change it's value
    • Hit the '>' symbol at the top right of the source tab to resume submission.
    Got mine today for the CMR-W09 in a simliar way which may be easier for some:
    • Go to unlock page but select "Since EMUI5.0"
    • Fill in everything but IMEI
    • Open Konsole (F12) and paste
      Code:
      $('#model').val('Tablet-Wi-Fi')
      second box should change from "Smartphone" to "Tablet-Wi-Fi"
    • Click Commit and receive unlock code
    4
    The B181 update includes a security patch, which closes the backdoor used by DC-unocker to obtain the booloader unlock code.
    DC-unlocker comments this with: "Your device now runs new security system and no service will work even if it is detected as it appears [​IMG] Only possibly downgrade may help it."

    So, if you want to get the bootloader code, you must use B168 or versions below that.
    If you have already updated to B181 , you must try to downgrade.

    You can find versions with working common dload method via project menu and SD Card
    find it here: http://androidhost.ru/search.html
    Just search "AL09" or "W09" , "Mediapad M5" or "Madiapad M5" (Seems they have a typo maybe because of diffenent russian characters)
    I checked B181 and B168 (for W09) both have XLOADER 02 (checked via ante09 tool) , so this should work.