First check specs if they are different then the device will brick since the parttions will differ
Also check the build numbers are the same
Also check the build numbers are the same