For devices powered by the HiSilicon Kirin 710 chipset (like the Huawei P30 Lite Mate 20 Lite Honor 10 Lite
If your phone is stuck in a boot loop or you are using service tools like UnlockTool or SigmaKey, you need the Huawei USB COM 1.0 driver hisilicon kirin 710 usb driver
Navigate to Settings > System & Updates > Developer options and toggle on USB Debugging . For devices powered by the HiSilicon Kirin 710