Simply download the rom and flash. (Follow the instructions in 2nd post)
No factory reset or whatever needed.
P.S: there's no "latest" 12.5 beta ;)
Maybe you meant "last"
Here is the link to the guide. ;)
https://xiaomi.eu/community/threads/guide-cupid-psyche-zeus-how-to-install-xiaomi-eu-rom-for-xiaomi-12-12x-12pro.64904/
It seems you're trying to install corrupted drivers, or drivers that are not digitally signed.
Follow the guide here to install proper working drivers
https://xiaomi.eu/community/threads/problems-with-updating.61957/post-616357
Like @JiaiJ said, people don't try to "understand" the issue.
That's where the real problem lies...lack of understanding.
Simple solution for anyone who doesn't understand post #7
No, if you use the update script.
Xiaomi can tell you that.
Whatever rom is available is what the Xiaomi.eu team releases
From what ROM version did you come from?
What script did you use to install?