Disassembling the K20D is exactly the same as with the K10D, most parts of the body are interchangeable (but not the LCD).
Follow those steps as described here for the K30:
Manual solenoid replacement Pentax K30 / Discharge flash-condenser / Solenoid choice - PentaxForums.com
but the backside as well.
The Samsung GX20 is almost identical, service manual here:
SAMSUNG GX-20 SERVICE MANUAL Pdf Download | ManualsLib
Discharge of the flash-condensor crucial, it charges whenever you open the pop-up flash and you need to do so for the 2 screws located there!
I would take these steps:
- the back-part with the LCD connects just with one quiete large connector, very simple to take off and to "plug on" again.
- Top part back into position, battery in: Test. Could all be fine now.
if not:
- battery out, discharge of condensor!
- smaller flat-wire ribbon connector of the LCD is visible on the K10D, so I think as well on the K20D: Open, clean it with alcool and back in.
TEST
if not fine:
- battery out, discharge
- disassembly of LCD to get to the 2-nd smaller ribbon-wire (I think the K10D and K20D have that, it is too long time ago that I disassembled the LCD, can't remember, but the K5 and
others have 2
If all that doesn't help, then you need a new LCD which is difficult, no longer available. The K200D/K-m/K-x LCD is of the same size but might not fit.