How to Unlock Bootloader on Any Huawei Smartphone [Official and Unofficial]

Huawei is one of the largest smartphone brands in the world. Recently the company decided to take a harsh step by stopping the official bootloader unlock possibilities on any Huawei devices. Many users want to unlock the bootloader on Huawei devices because they want to install third-party software, root their devices, flash mods such as Magisk, Xposed, etc., and some users want to flash TWRP Recovery and Custom ROM on their devices. This is not surprising; the number of Huawei fans is increasing day by day, which increases the request for – how to unlock the bootloader on Huawei devices. Today we will guide both the method official and unofficial way to unlock the bootloader on any Huawei devices.

Here we have given both the official and unofficial way to unlock the bootloader. So you can try the first method, called an official way to unlock the bootloader, and it should work. If not, then we request you to try the unofficial bootloader unlock method. The unofficial bootloader method should work on any smartphone. Make sure to back up your phone before trying any of the methods given below.

What is Unlock Bootloader?

A Bootloader is a code that runs when we turn on our device. This code initializes some hardware and then loads the kernel and ramdisk, and gets the boot process going. So this process is known as Bootloader. The same concept applies to all the technical stuff such as laptops, PC, Smartphones, and any such device. Every Android OEM manufacturers lock the bootloader even though it is an Open Source. So if you want to try any CUSTOM ROM, it is impossible to load the CUSTOM ROM without the Unlock Bootloader. So Manufacturer made a policy of making the smartphone with Unlocked Bootloader will void the warranty. They want you to stick with the Stock ROM. Unlock Bootloader allows you to Root your android smartphone, Flash TWRP, and Custom ROM in a simple, easy method.

Updated on April 2019: Currently, most of the methods to unlock the bootloader has been blocked by Huawei. So don’t try this method; we will get back to you if there is any new method to unlock the bootloader safely.

By Unlocking the bootloader, your warranty can void. So take your own risk. At GetDroidTips will not be responsible for any bricking/damage to your phone while/after installing this ROM.

Method 1: Unlock Bootloader using Third-Party Unlock Code:

Since Huawei has officially stopped providing unlock code to unlock the bootloader on any Huawei device. These third-party services came to rescue us. We know Huawei uses to provide the unlock code for free, but now you need to pay the price ranging from 20$ to 60$ for the unlock code. Here are the few third-party sites which provide unlock code to unlock the bootloader on any Huawei devices. All you need is to provide them your device IMEI number, and they will send the unlock code within 14 days of the time period.

Purchase the bootloader unlock code


  • To Unlock Bootloader On Huawei MediaPad M5, you need a laptop or PC.
  • Charge the Huawei MediaPad M5 to a sufficient battery level to avoid any sudden shutdowns during the process.
  • We strongly recommend you to take a complete full backup of your personal data, including the internal storage. The phone will be formatted, so be prepared for it. You can also follow our Android backup guide for the same.
  • You need a USB cable to connect your phone to the PC.
  • Now note your IMEI no by dialing *#06# also make a note of the ProductId by dialing  # *#1357946#*#*

Required Files on your PC:

Steps to Unlock Bootloader on any Huawei devices:

  1. First of all, enable the Developer Option
  2. To Enable the Developer Option, Go to your Settings –> System -> About Phone -> Now Tap on the Build Number 7-8 times until you see a toast message “Developer option enabled“ Huawei Developer enabled
  3. Now go to Developer option in the settings and Enable OEM unlockHuawei Enable OEM Unlock
  4. Once you have got the unlock code, then save the unlock code somewhere safe
  5. Now open the ADB and FASTBOOT folder and open the command window / PowerShell by holding the SHIFT key + Press right click on the mouse. adb command window
  6. Turn off your phone and Press the Volume Up and Power button simultaneously to open Fastboot mode or enter the command [to enter the command, you need to connect your phone to PC using USB Cable.
    adb reboot bootloader
  7. Now unlock your device’s bootloader with this command line.
    fastboot oem unlock ******

    You need to replace the ****** with the unique unlock code which you purchased. Check your email!

  8. Once it is done, you can reboot your phone. Now you can install TWRP Recovery, Custom Kernel, Root, or even install custom ROM. Enjoy!

Useful command:

To boot into Fastboot mode, type the below command in the black window:

adb reboot bootloader

To Unlock, you can even type the command with the unlock code that you received from Huawei.


fastboot oem unlock [unlock code]

That’s it! You have unlocked the bootloader Huawei MediaPad M5 smartphone.

Method 2: Official Method to Unlock Bootloader [Not working]

As we all know, Huawei and most of the other OEM companies ship their device out of the box with bootloader locked. But don’t worry! You can unlock the bootloader on any Huawei EMUI device. Huawei introduced a page to request the bootloader unlock code. Thanks to the huge support of Huawei. Here you can follow the complete guide to unlock the bootloader using the official Huawei method.

What you need:

  • You need either a Laptop or PC
  • Charge your phone to at least 70%
  • Back up your device just in case if you need it later
  • Working USB Cable
  • Now note your IMEI no by dialing *#06# also make a note of the ProductId by dialing  # *#1357946#*#*
  • You need to register on the Huawei website to Get The Unlock Code – Click here.
  • Download Minimal ADB Tool – CLICK HERE or Download the Full ADB setup for Windows / Mac here

Instructions to Unlock

  1. First of all, enable the Developer Option.
  2. To Enable the Developer Option, Go to your Settings -> About Phone -> Now Tap on the Build Number 7-8 times until you see a toast message “Developer option enabled
  3. Now go to Developer option in the settings and Enable OEM unlock.
  4. Download ADB Fastboot tool and Extract the ADB Fastboot Tool somewhere on PC
  5. Now note your IMEI no by dialing *#06# also make a note of the ProductId by dialing  # *#1357946#*#*
  6. Now Click this link and Register on the Huawei website to get an unlock code – CLICK HERE.
  7. You need to Login with Huawei id or Sign Up with a new one.
  8. First Click Download in the Huawei Portalunlock
  9. Then click the Bootloader unlock page.bootloader
  10. Enter your Nickname if it asks.
  11. Click and Agree to the Unlocking agreement
  12. Now enter the device informationunlocking product info
  13. In Case if you unsucceed with the unlocking, then click CONTACT US and send an email with the phone details. They will send you the unlock code 2-3 days unlocking product info d
  14. If you get it, then save the unlock code somewhere safe
  15. Now Open the Extracter ADB and Fastboot folder and Open Command Window by pressing Shift Key + Right Mouse Click fastboot
  16. Now connect the PC to Mobile with USB Cable
  17. You need to Reboot the phone into Bootloader – Type the Command from below in your Command window that you opened
    adb reboot bootloader
  18. Your device will boot into the bootloader; Now you need to check if your cable or drivers working properly. To do that, type the below command on your command window
    fastboot devices
  19. To unlock the Bootloader, Type the following command on your command window (here, unlock key is the number: So the command will be like this fastboot oem unlock 54547545454487)
    fastboot oem unlock unlock key
  20. If you are done! Now reboot device by typing a new command,
    fastboot reboot

Method 3: Unofficial Method to Unlock Bootloader

Recently, The Chinese manufacturer officially confirmed that it will end the support for unlockable bootloaders on May 24. The racket hits the devices that are launched after 24th of May 2018. Followed in 60 days for the devices released before that date. But don’t worry! You can still unlock bootloader on any Huawei device by using the below method.


  1. Please make sure you have a working data cable to carry out this procedure.
  2. Take a full backup of all your important data. This includes photos, videos, messages, contacts, etc.
  3. Charge your device to at least 75%.
  4. Download Huawei USB Drivers
  5. Enable developer options/ USB debugging & OEM unlock

Enabling Developer options in Android

  • Go To Settings -> About Phone -> Tap On “Build Number” 7 Times To Enable Developer Options.
  • Now Go To Developer Options ->Enable USB Debugging
  • Tick The “Oem Unlock” Checkbox

Also read: Download Firmware for Huawei Devices Install Huawei P20 Stock Themes 



Download these files from the links given below.

Huawei_Android_phone_drivers Download
Download DC Huawei Bootloader Codes Apk Download
Download DC Unlocker Download DC-unlocker client
Download Unlock Bootloader Tool  Download Huawei Unlock

Installing Huawei_Android_phone_drivers

  • Download the Huawei_Android_phone_drivers from the link above.
  • Run “DriverSetup.exe” to install the driver

Buy Dc Unlocker Credit With Android App:-

1. Download and install “DC Huawei Bootloader Codes Android app“ from the link given above in downloads section.

2. Open the downloaded apk file and install it on your device.


3. Click on DC Unlocker Account.

4. Type your email id and complete the payment processes.

5. After successful payment; save the user password. You will need this while using DC unlocker pc app.

Get Huawei Bootloader Unlock Code With Dc Unlocker:-

1. Download DC Unlocker Pc app from the links given in download section above. After download, extract the zip file.

2. Run dc-unlocker2client.exe.

3. Now go to the server tab and log in. You can use the user password which you got in DC Huawei Bootloader Codes Android app.

4. Connect your device to pc and enable Manufacturer Mode.

Note: You can easily enable manufacturer mode by Typing *#*#2846579#*#* the in dial pad. After that click on Background settings > USB port settings > Manufacturer Mode.

5. Select the Manufacturer type “Huawei Phones” Model “Auto Detect”. After that click on the search button.

6. Click on Unlocking Tab. After that choose Read Bootloader Code.

7. Wait for some time to Unlock code to arrive. When it does, copy the data and save it in a notepad file.

Instructions to Unlock Bootloader:-

Most of the difficult task is completed not. This is the easy part.

1. Download “Huawei Unlock“ from the downloads section above.

2. Turn off your device.

3. Put it in Fastboot mode. You can do by pressing Volume down + Power button at the same time.

4. Connect your device to a PC with a working data cable.

5. Paste The Unlock Code In Code In Cmd Window Hit Enter.

6. That’s it! Just wait for a few minutes and your device will restart automatically.

Now you have Unlocked the Bootloader of your Phone. Search on our website if your phone has root and Custom recovery. IF not let us know in the command below your phone model name.


  1. The dial code for retrieving the product ID has a typo. A “*” is missing in the front. Instead of “# *#1357946#*#*” it should be “*#*#1357946#*#*”

  2. this blog is just fake. dc unlocker don’t support unlocking of honor play. its not on their list of supported devices.

  3. I want to sell P30 Pro and buy Samsung. I do not like stupid politics huawei !!! If they care about users, so that not knowing people do not climb into the system !!! BUT I KNOW WHAT TO DO, buying such an expensive smart and listening to what we care about, so we will not give the key to the system, it’s something like APPLE, I switched from APPLE to a bad android !!!NEED SELLER THIS PHONE!!!DO NOT BUY HUAWAY if you do not want to use the root!!!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.