Last miui version for our device with China app removed, mi setting fixed and all sensor working. Uploading to google drive )
Flash it and flash agni kernel+ sensor fix. Please UNMOUNT /system before flash ROM. after it booted, flash gapps. If phone can't boot after flash gapps, put battery out and reboot again
I have took much of my time trying to remove all the hidden **** in the framework.jar : framework.jar.out/smali/com/android/internal/os/ZygoteInit.smali where there is check for micore.apk etc...
but no way to figure it out .. so please explain for me to not die stupid ^^