How to fix camera vibration or shacky camera issue in any mobile phone

Solved: Mobile camera starts vibrating or shacking when you switch on the camera for picture or video, due to which picture get blurred. You might also be able to hear light-sound from camera.
In spite of going to service center if you want to solve it at home, you can apply this trick. You need to stick a small magnet (preferably the size of a camera) on backside of mobile just opposite to the vibrating camera as shown below.