The structure of a RAW image is very complicated and take a long time to fully understand it. And the error may come from every bit inside that RAW file so good luck finding them. Ff you really want to fix them, google an app call "AptEdit" to read the file into hex values, then you will be able...