when selling things like unlocked iphone
it is critical to disclaim any "implied warranty of merchantability" and "implied warranty of fitness for a particular purpose". And warn people that the item is "As-is". So there would be no dispute regarding the quality of the goods.