Sound generated by Samsung Galaxy S9/S9+ 2018 during shaking
The sound is due to the Camera Lens Barrel that required to operate the Auto Focus function.
Samsung Galaxy S9+ supports a dual-lens camera and it consists of a 12MP main camera with a wide angle of view and a 12MP telephoto camera. Both cameras also support the Auto Focus feature required for high quality and high resolution of camera.
Auto Focus feature adjusts focus by moving the Lens units up and down over the Image Sensor. This enables Auto Focus speed and accuracy and helps in reducing battery usage.
However Camera module is fitted with a Stopper part to limit lens unit movement within the space for the Camera module.
When the device is shaken, the lens and stopper will touch causing a noise to occur. This is normal due to the operation of Auto Focus feature of the camera and the device is not faulty.
Please note: The sound made may differ slightly by device types and model
Thank you for your feedback!