Erase all content and settings is not the same as restoring anyway. Only the settings and content get restored to factory, the firmware remains untouched.