How to Unlock Bootloader on Huawei Mate 20 X 5G (Official method)

From this tutorial, you will be able to unlock the bootloader of Huawei Mate 20 X 5G using the official method. This guide is written in such a way so that the first time user doesn’t get confused. A beginner guide, along with essential tips are given below; read ahead!

Huawei Mate 20 X 5G

Huawei Mate 20 X 5G a big-screened 5G phone having high power to handle everything on Android. With a nice triple camera setup, the Mate 20 X 5G is a strange beast. It’s a perfect device for streaming, gaming, and poised to take advantage of fast 5G data speeds, thanks to its huge screen and ample power.

With a 7.2-inch screen, 40 MP camera, and a Kirin 980 chipset powering experience, this device is versatile. Talking about the software part, the Huawei Mate 20 X 5G comes with Android 9.0 on EMUI 9 skin. The phone has plenty of access from the Google Play Store, and Huawei has guaranteed support for the Mate 20 series in the future.

Anyway, Huawei’s EMUI skin is not for everyone. Like iPhone, Huawei doesn’t have an app drawer by default. However, you can enable it from the settings menu if you want to keep your home screens app-free.

Since the EMUI skin is not for everyone, people might be looking forward to unlocking the bootloader of Mate 20 X 5G. Once unlocked, one can install a custom recovery like TWRP and flash Custom ROMs like LineageOS 17.1 and Pixel Experience.

Since Huawei Mate 20 X 5G is a high ended device, it’s quite certain that the device will get several custom ROMs, recovery supports, mods, and other modifications from the developer community like XDA. So, in order to utilize the full benefit of your Mate 20 X 5G, you need to unlock the bootloader. This is the first step for any modification on an Android smartphone.

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 — to modify the system. So, we will be using the official method to unlock the bootloader on Huawei Mate 20 X 5G; read ahead!


  1. Install ADB and Fastboot driver!
  2. 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).
  3. Make sure your phone has at least 80 – 85% charge. If not, please do charge it before starting the experiment.
  4. Obtain the product ID of your Huawei device: Open the dialer app and enter *#*#1357946#*#* to fetch the Product ID.
  5. 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.

The method for unlocking the bootloader is quite easy; we have a detailed guide below, along with the essential tools that you need to download. All the download links are given below with a complete step by step tutorial. Read ahead and don’t skip a single part of this guide.

About Huawei Mate 20 X 5G

NetworkGSM / HSPA / LTE / 5G
ChipsetHiSilicon Kirin 980
Memory256GB 8GB RAM, UFS 2.1
Primary Camera40 MP, f/1.8, 27mm (wide), 1/1.7″, PDAF, Laser AF, 8 MP, f/2.4, 80mm (telephoto), 1/4.0″, PDAF, Laser AF, OIS, 3x optical zoom, 20 MP, f/2.2, 16mm (ultrawide), 1/2.7″, PDAF, Laser AF
Front Camera24 MP, f/2.0, 26mm (wide), 1/2.8″, 0.9µm
DisplayOLED capacitive touchscreen, 16M colors
Size7.2 inches, 130.7 cm2 (~87.6% screen-to-body ratio)
Resolution1080 x 2244 pixels, 18.7:9 ratio (~346 ppi density)
OSAndroid 9.0 (Pie); EMUI 9.1
GPUMali-G76 MP10
BatteryLi-Po 4200mAh

The phone is still on Android 9.0 Pie, but it doesn’t mean that it won’t get Android 10 in the near future. We are not sure if the company will roll Android 10 OTA on the Huawei Mate 20 X 5G or not, but we can expect something amazing from the XDA Developers. Whether the company keeps supporting the phone or not, but the developer community definitely does up to a certain extent. You can expect some custom ROM based on Android 10 on this device.

Once you unlock your phone, you can install a custom recovery like TWRP and flash Magisk ZIP to root your device. We also have a tutorial on how to root Huawei Mate 20 X 5G using Magisk or SuperSU utility. So proceed to the guide below, but before starting the tutorial, check out some vital information and prerequisites which would be required while unlocking.

Benefits of Unlocking Bootloader on Huawei Mate 20 X 5G

There are many benefits of Unlocking Bootloader on an Android device. Android Enthusiast or super users love to use root App from Play Store and XDA forum. So, for them, Unlocking Bootloader is the first step to experiment. Some of the main benefits of Unlocking Bootloader are:

  • Rooting: You can root your device using Magisk or SuperSU once you have a unlocked phone.
  • Custom ROM: You can try out some of the cool Custom ROM out there in the community forum for your device.
  • Custom Recovery: You can replace your current stock recovery with Custom Recovery like TWRP. Recovery helps on flashing any kind of supported ZIP files on your device.
  • System modification: You can modify your Android OS in the way you want using some Xposed Modules or Magisk Modules.
  • Clean Flash: Sometimes, updating software via OTA can cause bootloop issues on your device because of existing cache from the older OS. You can clean flash the official ROM ZIP using TWRP by erasing the previous version, which gives a fresh OS.

Thanks to Huawei for providing a simple mechanism to unlock the bootloader with the fastboot tool. But before heading to the tutorial, please check out the pre-requisites below. Make sure to fulfill all before proceeding to the tutorial.

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.

Backup Huawei Mate 20 X 5G (Warning)

Unlocking the bootloader on Huawei Mate 20 X 5G will erase everything from your phone. This includes SMS, photos, apps, videos, games, contacts, or anything on your internal storage. So, before proceeding to the tutorial, make sure to back up everything from your device. This backup application list might help you:

Once you are sure that you have completely backed up your data, proceed to the tutorial below to unlock bootloader on Huawei Mate 20 X 5G using fastboot.

Download Huawei Mate 20 X 5G USB Driver

Make sure you have correctly installed Huawei Mate 20 X 5G USB Driver on your computer. If not, please download from any official source and install it correctly. Otherwise, your computer will not detect your device.

How-To: Unlock Bootloader on Huawei Mate 20 X 5G

We have mentioned the full step-by-step instructions on how to unlock bootloader on Huawei Mate 20 X 5G using official method. If you are entirely new to rooting, flashing a Custom ROM or an Official Firmwareplease read the entire tutorial once before actually performing it on your device.

Step #1: Fetch the unlock code

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

UPDATE: Huawei is no longer providing unlock codes. Following are the third-party services that offer unlock codes for Huawei devices (if you are looking for an alternative):

  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 Mate 20 X 5G.
  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.

NOTE: Wait for the 16 digit code from Huawei (this can take up to 7 days) that will be sent by e-mail.

Step #2: Unlock Bootloader on Huawei Mate 20 X 5G

You have the unlock code. Now, you need to boot into Fastboot mode and unlock the bootloader of Huawei Mate 20 X 5G using codes.


  1. Switch OFF your Huawei Mate 20 X 5G.
  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 Mate 20 X 5G is ready for the action with TWRPCustom ROMs, and rooting.

How to root Huawei Mate 20 X 5G?

Done with the bootloader unlocking on Huawei Mate 20 X 5G? You might be looking forward to rooting your phone. Don’t worry; we have a detailed guide on that too. Check out the link below:

We have tons of guides, article, and tips for Android on our blog, but we think you might be interested in the following post:

So you are done with this tutorial! You had successfully unlocked bootloader on Huawei Mate 20 X 5G using our guide. If you faced any problem with performing this tutorial, please let us know by dropping a comment below. Our team will reply you back as soon as possible.

Is this post helpful? Please do share it on Social Media to THANK US.

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