The factory reset does not resolve thge problem.
It's annoying because sometimes, the images are normal, but most of time, il's green. A friend of mine told me that the Bayer filter is damaged. But is it possible that it is a connector ? That's the way I explain the normal random photos.
I'm so sad. I'm in Madagascar and there is no Pentax dealer here. Just one year after buying the K20D (a used one) and it's already almost dead. It took me three months of my salary
Idon't know if I'm able to buy a new one.