(Tested by users)
I'm not liable for any damage, dead devices, corrupt sd cards bla bla bla
1) setup fastboot and adb drivers on pc
2) power off the phone and enter fastboot mode.
3) fire up fastboot terminal and connect your phone to the pc, enable USB debugging mode from dev. options too.
4) Run the command:
fastboot oem enable_camera_hal3 true
6) check g cam or any camera API testing apps to make sure if it's working.
7) report back here if all is good.
Thanks to @shakalaca