Found the source of the problem: Xiaomi made a huge mistake using one pre-compiled MiuiSystemUIPlugin.apk for all devices.
Some of the references to framework resources are completely incorrect.
We were unable to find a matching framework that has the correct references (we checked all of the 20.11.18 ROMs).
So only Xiaomi can fix that, they should have built the APK for each device individually during ROM build process.
You may want to report that to Xiaomi directly, there's nothing we can do without knowing the correct resource references.