Yep, that does indeed not look good
One thing you could try is to make a backup with either adb backup (with the apk option) or use titanium backup, then reflash the latest official firmware with the xiaomi mi flash tool
This doesn't look like the kind of issue to be solved with a factory reset...