This cheap USB webcam was given to me by a friend for repair. The webcam would sometimes turn on and then turn off.
The repair was really easy, I just had the plug the white connector in the white socket.
I also tested the usb cable with my multimeter to see if intern cables were broken.
To keep the connector firmly in place and preventing some new issues I decided to put some drops of hot glue.