I would be extremely surprised if the camera physically fit, let alone if the connections were the same (and aren't soldiered on). If you did get them connected (by some miracle they lined up properly) It's still a different sensor, and likely won't have the software driver to tell your S6 how to communicate with it properly.