SM-G925 6.0.1 imei Repair Question

Do we need to wipe efs or root to write cert to this device? Or can we simply just right the cert and be done? Any help with this device will be greatly appreciated as I have two of them to do butt want to make sure I do them properly. Thanks in advance