Home » Android » How To : Huawei P20 Lite Root & Install Magisk

How To : Huawei P20 Lite Root & Install Magisk

How To : Huawei P20 Lite 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 Lite, 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 Lite root. Follow along and by the end of this post you will have a rooted Huawei P20 Lite.

Huawei P20 Lite root


How To : Huawei P20 Lite Root & Install Magisk


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


Make sure your Huawei P20 Lite has model number ANE-LX1, Android version is 8.0 and is charged 70-80 percent.

Also, make sure you have unlocked the bootloader on your Huawei P20 Lite. 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 Lite from the link below 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.

Download patched Ramdsik for Huawei P20 Lite (ANE-LX1)

Step 2 – Boot Huawei P20 Lite into fastboot mode

Boot Huawei P20 Lite into fastboot aka bootloader mode.

  1. Make sure Huawei P20 Lite 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.


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 Lite (Flash Patched Ramdisk)

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


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.


fastboot flash ramdisk patched_ramdisk.img

Mac or Linux

./fastboot flash ramdisk patched_ramdisk.img

Step 4 – Reboot

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


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 Lite Root

To double check if your Huawei P20 Lite 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.


How to : Revert Huawei  P20 Lite 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

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


fastboot flash ramdisk original_ramdisk.img

Mac or Linux

./fastboot flash ramdisk original_ramdisk.img