When flashing the EEA and Global version to Redmi K40 CN hardware, the front and back cameras will has some control issue, such as mirroring and fail.
MIUI V14.0.3.0 both for EEA and Global version, if you are a different version, just extract com.qti.sensormodule.munch_ofilm_imx582_wide.bin from the CN images and replace the target com.qti.sensormodule.munch_sunny_ov64b40_wide.bin