Art of Conquest! Play on PC with BlueStacks.

How to Unlock Bootloader on Huawei P20 [all variant] — official method

Ultimate guide on How to Unlock Bootloader of Huawei P20, P20 Pro and P20 Lite: Huawei P20 series has launched a few days back, and the device has started shipping to the buyers. The phone comes with a great hardware specification with the Triple Leica camera, which means the phone is photo-centric. You may fall in love with this device, but you don’t like the bloatware occupying the OS.

Also, the OS is EMUI; a Chinese skin is not for all. So, you may try out some other Custom Firmware. To play any experiment on your device, you need to open the window, i.e. Unlock Bootloader on Huawei P20.

Huawei P20
Image Credit:

Unlocking Bootloader will allow the users to flash any Custom ROM or root the device. Android enthusiasts might be looking forward to using root app on Huawei P20 or modding the device. In order to do so, the very first step is to Unlock Bootloader on Huawei P20.

Rooting Guide: Install TWRP and Root Huawei P20 Pro, P20 lite, and P20

See also: Official Galaxy S9 wallpapers, themes, sounds and apps [port] — download ’em here

Root App: 50+ best Android apps for rooted device!

Huawei allows unlocking the bootloader officially. However, the phone ships with a locked bootloader for security purpose and reliability as everyone is not tech-savvy like you 😀 — to modify the system.

WARNING: All the custom ROMs, Official Firmware, How-to guides, tutorials, roots, hacks, and tricks mentioned on our site belong to the respective developers. We are not responsible if anything goes wrong with your device. Perform it at your own risk.

See also: Download OnePlus 5T Official Wallpapers — Sandstone White, Lava Red edition


  • Install ADB and Fastboot driver!
  • You need to enable USB Debugging mode to connect your Android phone to computer. (Settings > About Phone > Build number > Tap it 7 times to become developer; Settings > Developer Options > USB Debugging).
  • Make sure your phone has at least 80 – 85% charge. If not, please do charge it before starting the experiment.
  • Obtain the product ID of your Huawei device: Open the dialer app and enter *#*#1357946#*#* to fetch the Product ID.
  • Note down the IMEI number and product serial number of your phone. Go to Setting > About > Status. Alternately, you can find it on the box of your phone.

Huawei P20 USB Driver

Make sure you have correctly installed Huawei P20 USB Driver on your computer. If not, please download it from our USB driver section below and install it correctly. Otherwise, your computer will not be able to detect your device.

Backup your Android Device

We don’t want you to lose any data, or anything could go wrong unexpectedly. Before starting the tutorial, we strongly recommend you to make a full backup of your phone. If possible, take a full Nandroid Backup via TWRP, or you can try out some of the Hand-Picked Android Backup Apps to secure your data quickly.

Step #1: Fetch the unlock code

In order to Unlock Bootloader on Huawei P20, you need to fetch a 16 digit unique bootloader unlock code directly from Huawei. Procuring the code will void the warranty of your device.

  1. Log on to the Official Huawei Bootloader Unlock request page.Huawei Bootloader Unlock
  2. Fill the details and click on “REGISTER” button. You will be redirected to the agreement page, where you need to check the box for “I have read and accepted all terms above” and continue.
  3. Provide the necessary pieces of information and get the 16-digit Unlock Code for your Huawei P20 / Huawei P20 pro / Huawei P20 Lite / P20 Plus.
  4. Choose the option “Since EMUI” from the list.Unlock Bootloader on Huawei
  5. Enter the product serial number, the IMEI number, and the product ID of the phone and hit “Commit“.
  6. You will get the 16-digit unlock code in a pop-up window. Note down the number and save it somewhere.

Step #2: Unlock Bootloader on Huawei P20

You have the unlock code. Now, you need to boot into Fastboot mode and unlock the bootloader of Huawei P20 using codes.

  1. Switch OFF your Huawei P20 / Huawei P20 pro / Huawei P20 Lite / P20 Plus.
  2. Press and hold [Volume Down] + [Power] buttons and release the [Power] button when the device vibrates.
  3. Your device should be in recovery mode. So, connect your phone to the computer using a compatible USB cable.
  4. Boot into Fastboot mode. In the Minimal ADB and Fastboot terminal, type the following command and HIT enter:
    adb reboot bootloader
  5. Once you are in the Fastboot mode, enter the following command:
    fastboot oem unlock your-unlock-password

    (Enter the 16-digit Unlock Code in place of your-unlock-password)

  6. That’s it! Your device is now unlocked and ready for rooting!

Your Huawei P20 / Huawei P20 pro / Huawei P20 Lite / P20 Plus device is ready for action with TWRP, Custom ROMs and rooting.

If you encounter any problem, please comment below, and we will get back to you as soon as possible.

Please don’t forget to share if you have found this post helpful!

Saeed Ashif Ahmed
Saeed Ashif Ahmed is a Blogger who has a keen interest in how emerging technology can help the world become a more just, equitable, and kind place. He enjoys interviewing CEOs of tech startups asking them what they are doing to bring greater opportunity and equity to our society.
Would love your thoughts, please comment.x