I left these formats - I don't know for sure or not:
AIMAGE_FORMAT_RAW16 = 0x20,
AIMAGE_FORMAT_PRIVATE = 0x22,
AIMAGE_FORMAT_YUV_420_888 = 0x23,
AIMAGE_FORMAT_RAW_PRIVATE = 0x24,
AIMAGE_FORMAT_RAW10 = 0x25,
AIMAGE_FORMAT_RAW12 = 0x26,
AIMAGE_FORMAT_JPEG = 0x100
Remove the second LiBu, leaving only the original Google.
I checked the work on the Redmi K30 5G - all options work on my main module, except RAW12
So I think - what to put RAW10 or something else (without fixing - as an option)
ps Although this is probably not entirely correct either - in the sense that it needs to be supplemented. At the very least - a different setting for different sensors at the most - to review the rav formats used on the camera. But until now.