I couldn't find a Poco M5 ROM files on this website but found them elsewhere, however it didn't come with a script.
I have adb and fastboot downloaded, and I unpacked the payload.bin to generate all the .img files.
But now I don't know how to use flashboot to flash the .img files to my phone...