Use this guide to learn how to replace a broken main camera in your Samsung Galaxy S6 Edge.
This guide involves removing the rear glass. Removing the rear glass destroys the adhesive holding it in place. Follow [https://www.ifixit.com/Guide/Samsung+Galaxy+S6+Edge+Rear+Glass+Adhesive+Replacement/47490|this guide] to reinstall the rear glass.
To reassemble your device, follow these instructions in reverse order.