I was cleaning the lens and the housing twisted.
Place the camera flat on its back on a table, pointed at the ceiling. Press and hold the shutter button down, and at the same time press the power-on button. The idea is that the camera will try to autofocus while the lens is extending, hopefully seating the lens barrel guide pins in their slots.
Fix #5: Blow compressed air in the gaps around the lens barrels with the idea of blowing out any sand or grit that may be in there jamming the lens. Other variations include blowing with a hair dryer in “no heat” setting, or sucking the gaps with a vacuum (careful with this one).
Now we're entering into the realm of potentially damaging your camera in conducting the fix. There is definitely some risk here, so take care when conducting the following two fixes
Repeatedly tap the padded/rubber usb cover on a hard surface with the intent of dislodging any particles that may be jamming the lens. Other variations include hitting a side of the camera against the palm of your hand. A lot of people have reported success with this method. HOWEVER, there is also some potential for damaging or dislodging internal components with this method, such as unseating ribbon cables, or cracking LCD screens.
Try forcing the lens. More people have reported success with this method than with any of the other methods. HOWEVER, there's obviously some potential for damaging your camera by using this method. Variations include gently pulling, rotating, and/or twisting the lens barrel while hitting the power button. Attempt to gently straighten or align the barrel if it's crooked or twisted. Another variation includes looking for uneven gaps around the lens barrel, and then pushing on the side of the lens barrel that has the largest gap (note pushing the lens barrel all the way in is NOT recommended as it may become stuck there). While doing any of the above, listen for a click that indicates that the lens barrel guide pins may have reseated in their guide slots. If you hear this click, immediately stop and try the camera.
on Dec 16, 2016