First you need to remove the battery. Then gently pry the antenna tube out of it's bottom holder.
Using a Torx size 6 bit remove the 4 screws holding down the rear cover.
Use a small flathead screwdrive to pry the rear cover off. Note the 5 plastic clips that hold it together, press and pry at each of those. 2 on the right side.
2 on top
and one on the left
The back cover can now be set aside.
The circuit board can just be lifted off.
Remove the 4 rubber plugs on the top face to expose the 4 phillips screws. Remove the screws using a #000 bit.
Two latches are on each side of this cover. Press and pry gently on each one.
If you are taking apart your phone to dry it out this is usually far enough. Wipe off any visible water and set it aside to dry. This has been enough to fix my wife's phone twice now. The first time everything worked afterwards, including the battery, the second time I had to replace the battery.
However I was trying to repair the switch that tells the phone when it is open or closed. Pry apart the 4 brown tabs holding the keypad circuit board from the main circuit board to expose the ribbon cable connection point.
The ribbon cable is also soldered on. I decided I didn't want to break out the soldering iron so I put that section back together.
In this picture you can see a blue plastic piece inside the hinge. Take a small flathead screwdrive and press hard on it to allow you to take the hinge apart.
Be careful with the ribbon cable.
You can now remove the spring/switch piece.
Note the rubber plug at the bottom of the hole that allows you to press on the spring/switch to take the hinge apart.
I didn't figure out how to fix the spring/switch. In fact this may only be the spring that operates the flip action. I suspect the switch portion is a non contact switch operated by a magnet in the spring.