How to Erase iPhone without Apple ID Password:
Put your iPhone into Recovery Mode. Open iTunes or Finder on your Mac or Windows, keep your iPhone connected to the computer, and then put iPhone into Recovery Mode: ...
Restore your iPhone with iTunes. ...
iTunes will start to restore your iPhone. how to reset iphone without apple id