Ive not opened up a htc hd7 yet but usually the physical camera circuits are hardwired to the main phones board so swapping it out isn't an option. replacing the buttons or even the lens might be possible.
this place has an picture of a part they claim is the camera module for an hd7
I'm...