AndroidHow To

How To : Huawei P20 Pro Root & Install Magisk

Huawei P20 Pro Root & Install Magisk: Huawei released a trio of P20 devices a few days back; Huawei P20, Huawei P20 Pro and Huawei P20 Lite. If you are the proud owner of a Huawei P20 Pro, and want to root your smartphone you have come to the right place. Ih this post we are going to tell you how to achieve Huawei P20 Pro root. Follow along and by the end of this post you will have a rooted Huawei P20 Pro.

huweie

How To : Huawei P20 Pro Root & Install Magisk

Warning

We are not responsible for any bricked devices. You are doing this at your own risk.

Pre-Requisites

Make sure your Huawei P20 Pro  is charged 70-80 percent.

Also, make sure you have unlocked the bootloader on your Huawei P20 Pro. If not, then you can follow the below guide.

How To : Huawei P20 Bootloader Unlock (P20/P20 Pro/P20 Lite)

Setup adb and fastboot on your computer (Windows, Mac or Linux) by following the steps listed in the link below.

How to Setup ADB and Fastboot

Step 1 – Download Patched Ramdisk

Download patched ramdisk for Huawei P20 Pro from the links below, rename the file to patched_ramdisk.img and place the img file in platform-tools folder. You should have a platform-tools folder if you followed the guide to setup adb and fastboot above.

Compatible Models

CLT-L29 on Android 8.1.0.106 build

CLT-L09 on Android 8.1.0.106 build

Download patched Ramdsik for Huawei P20 Pro

Compatible Models

CLT-L09 on Android 8.1.0.103 build (EE UK model)

Download Patched Ramdisk for Huawei P20 Pro

If your model is not listed above, please do not proceed further.

Step 2 – Boot Huawei P20 Pro into fastboot mode

Boot Huawei P20 Pro into fastboot aka bootloader mode.

  1. Make sure Huawei P20 Pro is turned on and connect to computer using usb cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to platform-tools folder and issue below command.

Windows

adb reboot bootloader

Mac or Linux

./adb reboot bootloader

With device turned off, pressing and holding Volume Down and Power at the same time will also get you into bootloader mode.

Step 3 – Root Huawei P20 Pro (Flash Patched Ramdisk)

Once in fastboot mode, issue below command to check Huawei P20 Pro is detected in fasboot mode.

Windows

fastboot devices

Mac or Linux

./fastboot devices

If drivers are installed correctly you will see your device listed. If not, you will have to reinstall Huawei usb drivers.
Next, we are going to flash patched ramdisk we downloaded in Step 1.

Windows

fastboot flash ramdisk patched_ramdisk.img

Mac or Linux

./fastboot flash ramdisk patched_ramdisk.img

Step 4 – Reboot

That’s it folks. Huawei P20 Pro root has been achieved. Next step is to reboot. Issue below command to reboot back into Android.

Windows

fastboot reboot

Mac or Linux

./fastboot reboot

Step 5 – Install Magisk

Download and Install Magisk Manager apk from the below link.

Download Magisk Manager apk

Open Magisk Manager, and insall Magisk again to avoid any issues.

How to : Check Huawei  P20 Pro Root

To double check if your Huawei P20 Pro has root access or not, download Root Checker app, open it and click on Verify Root. If you are rooted you will get an appropriate message.

RootChecker

How to : Revert Huawei  P20 Pro Root

If you feel the need to revert root, or are in a bootloop after installing patched ramdisk, download stock ramdisk and flash it via fastboot mode.

Download Stock Ramdisk

Compatible Models

CLT-L29 on Android 8.1.0 build

CLT-L09 on Android 8.1.0 build

Place the above img file in platform-tools folder, boot into fasboot mode (Step 2 above) and then issue below commands.

Windows

fastboot flash ramdisk RAMDISK.img

Mac or Linux

./fastboot flash ramdisk RAMDISK.img

Related Articles

Leave a Reply

Back to top button