Several common causes trigger this issue:
P40 lite (JNY-L21) Software install failed · Issue #216 - GitHub
Experiencing a "Software Install Failed" error while trying to restore your Huawei or Honor device can be incredibly frustrating. This specific issue frequently points back to the legacy EMUI recovery website ( http://emui.com ). Several common causes trigger this issue: P40 lite
If none of the above methods succeed — particularly if you hear beeps, see a black screen with no signs of life, or the phone fails to enter Fastboot or eRecovery — it is time to seek professional help.
Copy this entire dload folder to the root directory of a MicroSD card or a USB OTG drive. Insert the card or connect the OTG drive to your phone. Turn off the phone completely. Copy this entire dload folder to the root
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
Before diving into complex technical solutions, it's always worth trying a simple force restart. Sometimes the system just gets stuck in a glitched state. This public link is valid for 7 days
Tap on Download latest version and recovery .