how to delete data

All models of iPhone

IMEI Samsung
Go to SETTINGS (on your homescreen)
Select GENERAL
Select RESET
Click on ERASE CONTENT & SETTINGS

Selected models of samsung

IMEI Samsung
Go to SETTINGS (on your homescreen)
Select BACKUP & RESET
Click on FACTORY DATA & RESET