I have Xiaomi MI3 clone MT6589 phone. After installing a custom TWRP ROM from previous stock MIUI ROM, now my camera is not working. Opening the camera app gives "Can't connect to the camera" error. I tried reflashing ROM and installing different camera apps but it's still not working...
The camera on my S4 stopped working last week and I have tried all sorts to get it working again;
cleared cache / data / forced stop
Started phone in safe mode
Downloaded camera apps from the marketplace (but none work, all displaying camera failed message).
Cleared cache partition