I also had a bug with the camera of my redmi notes 8 pro, the photos were muddy, I threw off the camera settings, rebooted the phone and the problem disappeared