Move to a newer version of EMUI or revert to a more stable older version.
Connect the flash drive to your P30 Lite using a USB OTG adapter.
Go to Settings > About Phone and note your current build (e.g., MAR-LX1A 10.0.0.158). You should always try to flash a version that matches or is newer than your current one.