This is done by editing build.prop to add or enable "persist.camera.HAL3.enabled=1".
This mod only adds camera2api in the build.prop. this does not guarantee google camera hdr+ will work on your device.
Axon 7 Users:
Here's a working GCAM that works on my device.
Snapdragon 820+ devices
Add the zip in Magisk Manager -> Modules and reboot.
Or you could also flash it in your custom recovery, TWRP etc.
How to check if it is running:
1. Open terminal and issue command "getprop | grep camera".
If it's running, you should be able to find a line "persist.camera.HAL3.enabled=1"
-added v1400 template
-added camera2api with slowmo fix for Axon 7 users. (I can't guarantee slowmo on other models will work since I used my device's media_profiles.xml file.)
- BSG (4pda)