...Don't throw your it away just yet!
Click link for:
PHOTOGRAPHY WITH BROKEN CAMERA
Upon experimentation I discovered that the broken lens error was overwritten after removing the lens. I was able to still take pictures and video, and the most useful thing about the broken camera was that the inner lens had great magnificationwhich could be used to the users advantage. The broken camera used in this video is an old Sony Cybershot (DSC-W1). If you own a nice fancy camera you probably don't need to view this, but you can always donate it to a hacker-in-need. Also, since the basic structure of most cameras is very similar this video should work for other old cameras as well.
BTW...I'm not a photographer, I'm an engineering student.