Factory Reset an Android Phone the Right Way (Before Selling)
Tools You'll Need
SettingsAccounts
Resetting without removing your accounts first leaves the phone locked to your Google account (FRP) for the next owner.
1. Back up: photos (Google Photos or a PC), WhatsApp chats, contacts (see our backup tips).
2. Remove accounts: Settings, Accounts (or Passwords and accounts), tap the Google account, Remove account. Samsung: also remove the Samsung account.
3. Remove the screen lock: Settings, Lock screen, Screen lock type, None.
4. Take out the SIM and memory card.
5. Reset: Settings, General management (or System), Reset, Factory data reset, Reset.
After the reset the phone starts with the welcome screen and can be set up by anyone. If you are buying a used phone, ask the seller to do this in front of you.