I am using Redmi note 7 pro, it was a chinese variant which i flashed with Indian rom(fastboot).
Earlier rom- Redmi Note 7 Pro China - V12.5.4.0.QFHCNXM(Recovery)
Later shifted to- Redmi Note 7 pro India - V12.5.4.0.QFHCNXM(Fastboot)
Yesterday i was flashing Pixel OS on my 7 pro but i encountered some difficulties so i decided to shift back to Indian fastboot rom but i forgot to click on the clean option in MI flash tool and later i found out it was on "clean and lock" option which locked the developer mode, and while restarting it said "This MIUI version is not supported with this device". Now i can't turn on developer mode through the settings since i didn't flash accurately and stuck in fastboot and main menu section now.