I don't know. It ranges from status 0 -> status 7 errors. We've have luck using a stock framework-miui-res.apk, instead of our modified one. Though, we build that apk the same for all devices and only OPPO complains.
I didn't have a problem when I flashed latest ColorOS, then MIUI. Thats about...