Install TWRP and Root Huawei P20 Pro, P20 lite, and P20

In this post, we will guide you on how to root Huawei P20 Pro, P20 lite, and P20 with some easy step-by-step tutorial. Huawei entered to the flagship device business, a giant leap with the release of P20 series. Backed by the premium hardware, a home crafted software with a heavy EMUI 8.0 skin, the Huawei P20 series is set to be a strong contender for Samsung Galaxy S9/S9 Plus and Google Pixel 2.

Meanwhile, the Android developers have already figured out the way to do something more with the Huawei P20, P20 Pro, and P20 lite. You can now install TWRP custom recovery and root your Huawei P20 device.

Huawei P20 Pro
Image Courtesy:

The entire tutorial is below, that will take you through step by step process.

How to root the Huawei P20 Pro, Huawei P20, and Huawei P20 Lite

This may be a quite lengthy process if you are playing with the TWRP for the first time. To be able to root the Huawei P20, P20 Pro, and P20 lite, you need to Unlock the bootloader of the phone. This requires a code request from Huawei.

Unlocking bootloader also erases everything from the phone. So make sure to create a full backup before proceeding to the tutorial.


  1. Install ADB and Fastboot driver.
  2. Enable USB debugging: (Settings > About Phone > Build number > Tap it 7 times to become developer; Settings > Developer Options > USB Debugging).
  3. TWRP for Huawei P20 (model no. EML): [click here]
  4. TWRP for Huawei P20 Pro (model no. CLT): [click here]
  5. Ramdisk IMG file for Huawei P20 Lite (model no. ANE): [click here]

That’s it! Now read the tutorial below and root Huawei P20.

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.

Step 1: Unlock Bootloader on Huawei P20, P20 Pro, and P20 lite

In order to install TWRP and root Huawei P20, Huawei P20 Pro, and Huawei P20 lite, you need to unlock the bootloader first. But remember, in doing so, your device warranty will get void automatically. Click the link below to do that.

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

Step 2: Install TWRP Custom Recovery

  1. Connect your phone to the computer using compatible USB cable (preferably, the official one, provided by Huawei with the phone box).
  2. Open Command Prompt on the same directory as TWRP file. Press the SHIFT key and right-click on an empty space. Select “Open PowerShell window here” or “Open command window here” from the pop-up menu.
  3. On the PowerShell Window, type the following command and HIT enter:
    adb reboot bootloader

    (This will reboot the device into fastboot/bootloader mode.)

  4. Once you are in the fastboot mode, type the following command and HIT enter:
    fastboot flash ramdisk <twrp-recovery-filename.img>

    (For example: If the file name is TWRP_P20_0.1.IMG, type “fastboot flash ramdisk Huawei-P20-Lite-root-patched_ramdisk.img”)

  5. Once the file is flashed, reboot your device using the following command:
    fastboot reboot
  6. Once the process is complete, your Huawei P20 lite will boot up with root access via Magisk. You can verify the root access using the root checker app from Google Play Store.

So, Huawei P20 lite users, you are done here! No further steps are required for P20 lite users because root patch is included with the image file.

But Huawei P20 and P20 Pro users, you only have TWRP recovery. You need to flash SuperSU ZIP file in order to get root access. See the set of next instruction to get it.

How to flash SuperSU on Huawei P20 / P20 Pro to gain root access

  1. Download SuperSU ZIP file on your computer.
  2. Copy and paste the downloaded file to the internal storage of your phone.
  3. Open Command Prompt: Press the SHIFT key and right-click on an empty space. Select “Open PowerShell window here” or “Open command window here” from the pop-up menu.
  4. On the PowerShell Window, type the following command and HIT enter:
    adb reboot recovery

    This will boot your device into recovery mode!

  5. Once the device boot into recovery mode, you can see the TWRP interface as shown in the screenshot below:
    (Skip the system modifications.)TWRP
  6. Tap on “Install” button. From the list, choose the zip file that you have copied in Step 2.
  7. Confirm the installation by swiping the “Swipe to Confirm Flash” option on the next screen.
  8. Now, tap on the “Wipe cache/dalvik” button to clean the device OS and stay away from any boot loop issues.
  9. Hit on “Reboot System” button!

That’s it! Your device is fully rooted now. You can verify it using any root checker app from Play Store.

You can now take the advantage of Magisk modules or mods like ViPER4Android, and Xposed Framework on your device. Rooting gives full access to the system, which means, you can now modify the system software, the way you want.

Hope our guide was helpful to you! In case you have any query, let us know in the comment section below.

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