You can now get the Poco M5 Stock ROM Firmware from the link provided below. You can use this firmware to solve all software issues on your Poco M5, such as hang-on Logo, FRP lock, fastboot Mode, display blank or white after flash, dead recovery, dead after flash, and so on.
This page contains a direct link to the official Poco M5 Stock ROM Firmware (flash file) download page. The Firmware is delivered in the form of a zip file that contains the original Firmware, Flash Tool, Driver, and How-to Flash Manual.
make a backup before the Process
it will erase all your data Including Internal Storage