[Google Camera Mods] cstark27:
Thank you for still working on this. It has got to be exhausting. I appreciate your efforts; also I hope you're enjoying the OP6 to use as a daily phone? :P

I will do more tests later tonight if I can. I had random tint with this version initially but after a reboot it was more consistently blue-ish. I will try your new suggested settings posted later. I also had an instance where the tint was altered by what color was in the middle of the photo. I will try to reproduce that later and get logs for it. For example, I had a green Playdoh lid in the middle and there was green tint, and then I put a white Playdoh lid in the middle and the color balance was pretty normal.

Personally, a couple things I've tried without success (but maybe I did it wrong if you want to check) was try to force SENSOR_FORWARD_MATRIX1 (or 2) instead, and also tried rearranging SENSOR_COLOR_TRANSFORM1, SENSOR_REFERENCE_ILLUMINANT1, SENSOR_CALIBRATION_TRANSFORM1 and SENSOR_COLOR_TRANSFORM2 SENSOR_REFERENCE_ILLUMINANT2, SENSOR_CALIBRATION_TRANSFORM2 but it seemed like the code was bypassing that section and I couldn't figure out why. This was with 5.1.018 not 5.3.015. I also messed around with setXyz_to_model_rgb and setModel_rgb_to_device_rgb.

OP6 (SD845):

- calibrationTransform1 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- calibrationTransform2 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- colorTransform1 = ColorSpaceTransform([78/128, -37/128, -12/128], [-124/128, 240/128, 5/128], [7/128, -24/128, 127/128])
- colorTransform2 = ColorSpaceTransform([187/128, -89/128, -29/128], [-124/128, 240/128, 5/128], [5/128, -17/128, 87/128])
[B]- [B]forwardMatrix1 [/B]= [COLOR="Red"]ColorSpaceTransform([56/128, 49/128, 18/128], [28/128, 92/128, 8/128], [2/128, 12/128, 91/128])[/COLOR]
- [B]forwardMatrix2[/B] = [COLOR="red"]ColorSpaceTransform([56/128, 49/128, 18/128], [28/128, 92/128, 8/128], [2/128, 12/128, 91/128])[/COLOR] [/B]

LG G7 (SD845)

- calibrationTransform1 = ColorSpaceTransform([129/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 132/128])
- calibrationTransform2 = ColorSpaceTransform([131/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 130/128])
- colorTransform1 = ColorSpaceTransform([217/128, -103/128, -33/128], [-124/128, 240/128, 5/128], [5/128, -18/128, 94/128])
- colorTransform2 = ColorSpaceTransform([374/128, -177/128, -58/128], [-124/128, 240/128, 5/128], [3/128, -10/128, 52/128])
[B]- [B]forwardMatrix1 [/B]=[COLOR="red"] ColorSpaceTransform([56/128, 49/128, 18/128], [28/128, 92/128, 8/128], [2/128, 12/128, 91/128])[/COLOR]
- [B]forwardMatrix2[/B] = [COLOR="red"]ColorSpaceTransform([56/128, 49/128, 18/128], [28/128, 92/128, 8/128], [2/128, 12/128, 91/128])[/COLOR][/B]

Pixel 2 (SD835):

- calibrationTransform1 = ColorSpaceTransform([127/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 127/128])
- calibrationTransform2 = ColorSpaceTransform([129/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 126/128])
- colorTransform1 = ColorSpaceTransform([104/128, -21/128, -16/128], [-81/128, 201/128, 4/128], [-22/128, 44/128, 60/128])
- colorTransform2 = ColorSpaceTransform([198/128, -96/128, -25/128], [-91/128, 239/128, -29/128], [-11/128, 31/128, 70/128])
[B]- [B]forwardMatrix1 [/B]= [COLOR="YellowGreen"]ColorSpaceTransform([86/128, 13/128, 24/128], [35/128, 87/128, 6/128], [4/128, -45/128, 147/128]) [/COLOR]
- [B]forwardMatrix2 [/B]=[COLOR="yellowgreen"] ColorSpaceTransform([75/128, 16/128, 33/128], [27/128, 79/128, 22/128], [-1/128, -75/128, 182/128])[/COLOR][/B]

LG V30 (SD835):

- calibrationTransform1 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- calibrationTransform2 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- colorTransform1 = ColorSpaceTransform([113/128, -18/128, -19/128], [-71/128, 187/128, 8/128], [-19/128, 49/128, 49/128])
- colorTransform2 = ColorSpaceTransform([151/128, -30/128, -48/128], [-84/128, 221/128, -3/128], [-13/128, 38/128, 63/128])
[B]- forwardMatrix1 = [COLOR="yellowgreen"]ColorSpaceTransform([88/128, 6/128, 29/128], [34/128, 92/128, 2/128], [0/128, -67/128, 173/128])[/COLOR]
- forwardMatrix2 = [COLOR="yellowgreen"]ColorSpaceTransform([91/128, -17/128, 50/128], [33/128, 77/128, 19/128], [-4/128, -112/128, 221/128])[/COLOR][/B]

[MENTION=4860033]Arnova8G2[/MENTION] is it weird that the 2 SD845 phones have identical Forward Matrix numbers, and that 1 and 2 are the same?

[MENTION=5226301]Z953RR[/MENTION] can you provide these values from the Mi Mix 2S (SD845) with https://play.google.com/store/apps/details?id=com.camera2.test&hl=en_US

[MENTION=3266378]xterminater07[/MENTION] can you provide these values from the Galaxy S9 (SD845) with https://play.google.com/store/apps/details?id=com.camera2.test&hl=en_US