PHONE : REDMI NOTE 7 PRO Violet
I had same Problem on 29Feb2020 . I lost all my sensors when i flashed
stock MIUI 11 fastboot rom from Pixel Experience 10 via Miflashtool ( even witth cmd) .
Solution is What i found here Only is That :
1. Flash Miui 10 anybuild [ V10.2.7.0.PFHINXM ] (i used this build)
from this
2. Flash Via MiFlashtool (same method official one , fastboot rom via flashtool )
IF U WANT TO KEEP BOOTLOADER UNLOCKED THEN SELECT OPTION " clean all" !
and if you want to lock bootloader then select " clean all and lock" ! I KEPT MY BOOTLOADER UNLOCKED !
3. within 250seconds , You will Boot To System Sucessfully !
4. Download CPU-Z app and Verify Sensors Working or Not ! ( mine worked )
5. Now You will get Notification of MIUI 11 Update !
6. Update To MIUI 11 . withing 5 min your device will boot to MIUI 11 Sucessfully !
7. Again Verify All sensors using CPU-Z app ( Mine Worked )
8.
And Be Sure to Give a Like if it Worked for You , That's how i will know how many people i helped