Camera Error on Custom ROMs

After i have ported CM13 and resurrection Remix Rom (Android 6.0) for my smartphone, in both the ROMs when I run the camera app a popup shows "camera is in use by another app".
I have tried replacing all camera files and lib files but it doesn't work........
but the camera works well in stock rom and miui custom ROM
If anyone has solution to this please tell me.....

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by lesch.asa
15 minutes ago
Last post by carlie.herzog
2 hours ago
Last post by kariane46
52 minutes ago
Last post by smith.charlotte
4 hours ago
Last post by hilton.klocko
55 minutes ago
Last post by rkoelpin
4 hours ago
Last post by lueilwitz.ima
3 hours ago
Last post by nola96
4 hours ago
Last post by oratke
2 hours ago
Last post by xwisoky
1 hour ago