Yes, modifying or tampering with the Samsung SSD in any way voids Samsung’s warranty on the SSD.
See Warranty Statement at http://www.samsung.com/semiconductor/minisite/ssd/support/warranty.html.