[HELP] Mi 4i Camera Solution

Hi All master,
Is anyone can help me with mi 4i Back camera problem ?
i've already change the camera,
But still not working.
I only can use the front camera only.
(Using another app camera from playstore.

The error Info is "can't connect to the camera,
Please restart device".

Please help.
By theway, the Torch/flash light not working also.

Sorry for my bad english