This write-up includes a significant warning section due to Huawei’s specific hardware limitations.
Install TWRP to manage partitions and flash images.
Unlike a Samsung Galaxy Tab or a Xiaomi Mi Pad, development for the M5 Lite was niche. However, the chipset (Kirin 659) is actually the same as the Huawei P20 Lite and Mate 10 Lite. This helps.