How to root the Huawei P20 Pro and install Magisk
The Huawei P20 and P20 Pro were launched in March as Huawei’s latest flagship smartphones. The Huawei P20 Pro is the most expensive Huawei smartphone yet. Its high-end list of specifications includes the HiSilicon Kirin 970 system-on-chip, 6GB of RAM paired with 128GB of storage, a 6-inch Full HD+ (2244×1080) OLED notched display with an 18.7:9 aspect ratio, triple 40MP (RGB) + 20MP (monochrome) + 8MP (telephoto) rear cameras, 24MP front-facing camera, and a 4000mAh battery. The phone ships with EMUI 8.1 on top of Android 8.1 Oreo.
The P20 and P20 Pro are both powered by the Kirin 970 SoC. This SoC also powers the Huawei Mate 10 and Mate 10 Pro, as well as the Honor View 10. In February, XDA Recognized Developer topjohnwu released Magisk for the latest Project Treble Huawei devices, including the Honor View 10. The official Magisk installation method for the Honor View 10/Huawei Mate 10/Huawei Mate 10 Pro requires obtaining a bootloader unlock code, unlocking the bootloader, patching the stock ramdisk image, pulling it with ADB, and then flashing it via fastboot.
TWRP hasn’t been released for the Huawei P20 and the P20 Pro yet. Up until now, it wasn’t possible to root the P20 Pro because no boot image had been dumped yet.
This changes now as XDA Senior Member LastStandingDroid has released a patched ramdisk image for the Huawei P20 Pro. This allows users of the P20 Pro (with device name: CLT-L29) to root their device and install Magisk. The instructions to do so are:
- Obtain bootloader unlock code from Huawei.
- Unlock the bootloader.
- Flash ramdisk with fastboot flash ramdisk CLT-L29-MAGISK.img, and reboot.
LastStandingDroid mentions that this method has been tested on a demo unit of the Huawei P20 Pro. Magisk is confirmed to work, and he also states that he will soon post a patched boot image of the Huawei P20.
Source: XDA Forums
Want more posts like this delivered to your inbox? Enter your email to be subscribed to our newsletter.