Puth the phone into recovery mode: Vol. UP+Home+Power on
Select Wipe Data/Factory reset
Select YES.
The phone will ask for user code.
Enter any user code.
The phone will tell you the code is wrong.
Repeat the operation few times.
After few tryes, the phone will ask you if you really want to reset.
Select YES
The phone will reset and the code will be removed.
This will also delete all the user data from the phone. |