[ Source ]
New version of the app which only has "Model" setting. Algorithm will match set model from the beginning to the end, including modes and visual appearance. This is completely new version of the app based on original, unmodified google camera.
First launch will set the model to the one in your build.prop file.
P.S.: I used this version of google camera because I didn't modify it before (it came out later than regular 5.1.014).
P.P.S.: Please don't forget that Pixel 2XL has HDR+ button hidden by default - you need to turn it on in settings.