[Huawei P20 Pro Guides, News, & Discussion] dlads:
[MENTION=1599044]ToLive4[/MENTION]

Here you go :D

Please read the pre-requisites prior to attempting this guide.

Please bare in mind that this procedure will completely wipe your device.

Pre-requisites

A) A P20 Pro

B) ADB / fastboot files and drivers for ADB usage

C) An unlocked bootloader

D) TWRP Installed and functional: fastboot flash recovery_ramdisk name of recovery

E) Rooted with ramdisk-CLT-L29-MAGISK.img fastboot flash ramdisk CLT-L29-MAGISK.img

F) The ability to use ADB / Fastboot commands to your device - ie: right drivers etc

G) Android debugging and OEM unlocking turned on.

H) Every file in the Google drive link at the bottom of this guide downloaded to your computer.

I) ]NOTE*** If you are on a later firmware than 120, please do not attempt this guide!!

J) NOTE**** There has been 1 known issue with an L-04 device, others have been able to de-brand on L-04 so it's your decision, we don't know if the guide was followed to the letter or not but it ended up unbootable so it's your choice.

Steps

1. Copy all these files to the SDCARD section of your phones memory

update.zip

update_data_public.zip

update_all_hw.zip

oeminfo.bin

2. Copy this file to your ADB folder on your Computer

recovery_ramdisk_nocheckP20.img

3. Boot your phone into Fastboot mode and open a command prompt on your Computer from your ADB folder, then type:

fastboot flash recovery_ramdisk recovery_ramdisk_nocheckP20.img

4. Reboot your phone so it's in the system

5. Install the Magisk Manager APK on your phone

6. With your phone still turned on in the system and connected to your Computer go back to the CMD / ADB prompt.

7. Type: adb shell

PRESS ENTER

Type: su

PRESS ENTER

NOTE* Accept the prompt on your P20 Pro by pressing: Grant

8. Type: mkdir /data/local/tmp

PRESS ENTER

Type: mv /sdcard/oeminfo /data/local/tmp

PRESS ENTER

Type: cd /data/local/tmp

PRESS ENTER

Type: chmod +x oeminfo

PRESS ENTER

Type: ./oeminfo CLT-L29 C432 hw/eu

PRESS ENTER

Type: mkdir /data/update/HWOTA

PRESS ENTER

Type: cd /sdcard/

PRESS ENTER

Type: mv *.zip /data/update/HWOTA

PRESS ENTER

9. Copy and paste this whole section into the CMD prompt, make sure there are no spaces before or after the script.

echo "--update_package=/data/update/HWOTA/update.zip" > /cache/recovery/command

echo "--update_package=/data/update/HWOTA/update_data_public.zip" >> /cache/recovery/command

echo "--update_package=/data/update/HWOTA/update_all_hw.zip" >> /cache/recovery/command

10. Type: Exit

PRESS ENTER

Type: Exit

PRESS ENTER

Type: adb reboot recovery

PRESS ENTER

Finally. The device will now reboot and will begin the de-brand process, you'll see a percentage and an EMUI sign with the words "Installing update.."

Allow it to finish, do not interrupt the process.

Once complete, It'll say update success and the device will now reboot

*NOTE: I got an error saying "No SD card or USB device please connect in 2 minutes!" with a percentage moving round from 0 - 100% but it still worked.

Allow the device to continue and it'll perform a factory reset

The device will then boot

Your device will now have the following model and firmware

Model: CLT-L29

Build: CLT -L29 9.1.0.120(C432)

EMUI: 8.1.0

Android: 8.1.0

;) ;) ;) ;) ;) ;)

Link to files: https://drive.google.com/drive/folders/1oWS92OT0Bt2bFktwNCIKLsogA8L50g57