Default [Q]{SOLVED} CM11 camera not working.

First of all Thanks @kashifmin bro for the cm11 port to a116
I started using cm11 from the 0.5 version but when v0.8 came and after i flashed that my camera stopped working

Sorry cant post pics

I tried everything,re flashed my device removed the cache,installed other roms to reset it,installed manually,etc.
The camera is working in other roms, i dont know why :/
I've tried everything that other people told to fix this problem,nothing worked.
I think the problem is because of the torch app in the newer versions :/
I have tried uninstalling it manually using Link2SD.
Is there any way to not let it install while flashing?

Can any one help me?

Thank you.

Edit : I found a solution to this problem,go in the recovery menu and then in advance and then format \system.