Huawei P20 Pro Lineage 17.1 with Gapps CLT-L09/L29/L04 (GSI Custom ROM)
Earlier we shared a tutorial about installing AOSP ROM on Huawei P20 Pro here. In this tutorial, we will guide you on how to install Lineage ROM on Huawei P20 Pro. This should work on all variants of Huawei P20 Pro (CT-L29/L09/L04 etc). This ROM only works on EMUI9.1/EMUI9.0-based devices. You can not unlock the bootloader with EMUI10 so for that reason you can not install any GSI ROM. The bootloader unlock code for this device is not available for free so you have to buy it to be able to unlock the bootloader.
Huawei P20 Pro Lineage Screenshots:
Disclaimer:
- Everything you do with your phone is your own responsibility, we are not responsible for your mistakes
- Basic functions call/camera/messages etc tested by us, but if there is any bug we can not resolve.
- By unlocking the bootloader you will lose the warranty
Installation Guide:
- This guide is only for Devices running EMUI9.1/EMUI9.0
- You must have a USB OTG connector and a USB flash drive with 8Gb free storage.
- Backup all important data of your phone (Hisuite doesn’t work with custom ROM), use another method
- If you don’t have the bootloader unlock code, buy the code 1st (click here)
- Download ROM from this link: Click Here (Make sure you download 17.1 ARM64 bvs version)
- Download other required Files from THIS LINK
- Extract the zip file (password=ministryofsolutions.com)
- Also, extract the Rom file and copy it to the same folder where you have extracted addons
- Copy Gapps zip and lineage ROM img file to a USB flash drive
- Connect phone in fastboot mode then open MAF32.exe and flash TWRP (command example=fastboot flash recovery_ramdisk recovery-3.3.1-0-e.img) TWRP credit
- Disconnect the phone from pc and hold the volume up and power, Keep holding until appears the TWRP recovery mode
- Now connect the USB flash drive to the phone
- Tap on Reboot and then tap on Recovery, phone will restart to TWRP mode again
- Now tap on wipe >advanced wipe then tick only system partition and swipe to wipe
- Then go back to the main menu of TWRP
- Tap on install > Tap on install image > Tap on Select Storage > choose OTG Drive
- Now tap on the Lineage image file and then select system_image partition to install
- Swipe to install, and wait for the installation to complete.
- If you don’t want to install the Gapps, you can reboot the phone if you want to install GAPPS please continue
- Go back to the main menu of TWRP
- Tap on wipe>advanced wipe>select system partition >tap on Repair or change file system > Resize File System and swipe to resize
- Go back to the main menu of TWRP and now flash the Gapps zip
- Then go back to the main menu of TWRP and tap on reboot > Bootloader
- The Phone will enter fastboot mode again and you should flash stock recovery with the flash command ( fastboot flash recovery_ramdisk RECOVERY_RAMDISk.img ) and press enter
- Once stock recovery is flashed, disconnect the phone from pc and hold the volume up + power button, keep holding until the stock recovery appears
- Wipe data factory reset and then reboot
- Lineage will bootup (1st boot may take some time)
Note: Those who want to root the lineage, only install the superuser app from Fdroid. and if you need magisk, it may not work, but you can try the magisk version from THIS LINK.
Video Tutorial
which filesystem should be used at usb disk?
NTFS/FAT
Thank you for the detailed instruction for installing of this awesome custom rom and for answer.
Had usb 3.0 32gb sandist flash drive and helped only merging it with win 10 buit-in function to few partitions.
And question about magisk installation.
I’ve used this instruction – https://www.youtube.com/watch?v=H6sBW-mLx4o
After patching boot i’ve installed it img-file with fastboot into recovery_ramdisk partition. But after that boot into a system was not with superuser (mgisk is installed, but no root).
I mean i holded volume up +power button during 20-30 sec after flashing of patched boot, but every time opened window with factory reset/reboot/shutdown/wipe cache partition…
Hoping that it’s last question.
oh, forgot to say, that came from emui 9.0
Question about magisk is solved.
https://ministryofsolutions.com/2021/02/huawei-p20-pro-root-emui9-1-using-magisk-clt-l29-l09-l04.html
This instruction helped fine.
Awesome job, Mutahhar Bashir.
Can you install magisk in this custom rom?
Yes
This instruction works fine:
https://ministryofsolutions.com/2021/02/huawei-p20-pro-root-emui9-1-using-magisk-clt-l29-l09-l04.html
So you rooted lineage OS with that link instructions, right?
I have not rooted my phone
Hello my friend. Will Work this Guide whit the newer Version?
lineage-18.1-20211010-UNOFFICIAL-treble_arm64_bvS.img.xz
You can install new versions, but files transfer mode will not work when you connect with pc
I installed this rom and rooted it with that instruction.
Does this rom work with Mate 10 PRo
Yes
I am currently on EMUI 10.0.0, can I do anything? or am i lost? Thank you!
Emui 10 does not allow bootloader unlock, so you can’t do anything on emui 10
After I flashed my CLT-AL00 as your guide, I found my phone lost its Widevine DRM status, not even an L3, like there’s only ClearKey CDM showing in the drm info app and of course netflix won’t work. I’m also failing passing the SafetyNet. Any ideas?
GSI rom is not for you