Before performing a hard reset on your HUAWEI Mate 30 Pro 5G, make sure to:
If you cannot log into HUAWEI Cloud, you may need to use an OTG flash drive containing the "dload" firmware folder. This is advanced and risky; it’s often easier to contact HUAWEI support for this specific model. How to Hard Reset HUAWEI Mate 30 Pro 5G
If your device is not responsive or you've forgotten your password, you can use Recovery Mode to perform a hard reset: Before performing a hard reset on your HUAWEI
Connect your HUAWEI Mate 30 Pro 5G to the computer using a USB cable. How to Hard Reset HUAWEI Mate 30 Pro 5G