Ilm Tech

How to Factory Reset Your Android Phone Safely (Backup First!)

Quick answer: A factory reset is the nuclear option for a misbehaving Android phone: it wipes everything and returns the phone to the state it was in on day one. Slow phone, persistent bugs, a virus you cannot shake, selling the phone, or handing it to a family member — a reset fixes all of these.

A factory reset is the nuclear option for a misbehaving Android phone: it wipes everything and returns the phone to the state it was in on day one. Slow phone, persistent bugs, a virus you cannot shake, selling the phone, or handing it to a family member — a reset fixes all of these. But it also deletes everything, permanently, and there is no undo. This guide walks you through the whole thing in the safe order: backup first, reset second, restore third. Follow it in sequence and you will lose nothing that matters.

One thing to get straight before we start: a factory reset is not the same as a restart. Restarting your phone just turns it off and on again. A factory reset erases all your data — apps, photos, videos, messages, accounts, settings — and reinstalls the operating system fresh. If you are unsure whether you actually need one, read the first section. If you are sure, skip to the backup checklist and work down from there.

Smartphone with a reset arrow on screen, backup cloud and photos floating upward

Do You Actually Need a Factory Reset?

Not every problem needs a wipe. A factory reset is powerful, but it is also the most work. Try the simpler fixes first if your complaint is on this list:

Now, the situations where a factory reset genuinely is the right call: the phone is infected with malware that keeps coming back, system bugs persist even after software updates, you are selling or giving away the phone and want your data gone, or you are passing it to a child and want a clean start with parental controls. In those cases, carry on — this guide is for you.

The Backup Checklist: Everything You Must Save First

This is the most important section of this article. Skim the reset instructions all you want, but do not skim this. Work through each item before touching the reset button:

  1. Google account backup. Go to Settings → System → Backup and make sure "Backup by Google One" is switched on. This saves your apps, call history, contacts, device settings, and SMS messages to your Google account. Tap "Back up now" and wait for it to finish.
  2. Photos and videos. Open the Google Photos app, go to Settings → Backup, and confirm backup is on and complete. Check the photos icon — a cloud with a check mark means everything is uploaded. If you have years of photos, connect to Wi-Fi and plug in the charger; the first backup can take hours. Alternatively, copy your DCIM folder to a computer with a USB cable as a second copy.
  3. WhatsApp chats. WhatsApp does not include chats in the Google backup. Open WhatsApp → Settings → Chats → Chat backup and tap "Back up." Make sure it backs up to Google Drive and that the backup includes videos if you care about them. After the reset, reinstalling WhatsApp and signing in with the same number will offer to restore this backup.
  4. Contacts. Most people already sync contacts to their Google account, but check: open the Contacts app, look at the account under your profile picture. If contacts live only "On this device," export them to a .vcf file (Contacts → Settings → Export) or import them into your Google account first.
  5. Downloads, files, and music. Files sitting in the Downloads folder or a file-manager app are not backed up automatically. Copy anything important — documents, voice notes, downloaded PDFs, music — to Google Drive or a computer.
  6. Authenticator and banking apps. If you use Google Authenticator, Microsoft Authenticator, or any 2-step verification app, transfer your codes to a new device or save your backup codes first. Getting locked out of your own accounts after a reset is miserable and entirely avoidable.
  7. Passwords. Make sure you know your Google account password and any app passwords you will need. A password manager makes this trivial; otherwise write them down somewhere safe (not on the phone).

When every item above is done, give the backup a final sanity check: open photos.google.com and drive.google.com in a browser and confirm your photos and files are actually there. Trust but verify.

Removing Your Google Account Before a Reset (If Selling or Giving Away)

Android has a security feature called Factory Reset Protection (FRP). After a reset, the phone demands the Google account and password that were on it before the wipe. This is great if the phone is stolen — the thief cannot use it — but it is a problem if you are selling it, because the buyer will get stuck at the lock screen demanding your password.

The fix is simple: remove your Google account from the phone before you reset it. Go to Settings → Accounts (or Passwords & accounts), tap your Google account, and choose "Remove account." Do this for every Google account on the phone. This disables Factory Reset Protection and lets the new owner set up the phone fresh. If you are keeping the phone yourself, you can skip this step — FRP will simply ask for your own password after the reset, which you know.

Step-by-Step: How to Factory Reset an Android Phone

With the backup done and (if needed) your Google account removed, here is the reset itself. The exact menu names vary slightly between Samsung, Xiaomi, Oppo, Infinix, Tecno, and Pixel phones, but the path is always similar:

  1. Charge the phone to at least 60% (or keep it plugged in). A phone dying mid-reset can cause serious problems.
  2. Open Settings.
  3. Go to System (on Samsung phones: General management; on some phones: Additional settings or About phone).
  4. Tap Reset options (on Samsung: Reset).
  5. Tap "Erase all data (factory reset)" — not "Reset Wi-Fi, mobile & Bluetooth" and not "Reset app preferences." Read the button carefully; this is the point of no return.
  6. The phone shows a summary of what will be erased. Scroll through it and tap "Erase all data" or "Reset phone" to confirm.
  7. Enter your screen lock PIN, pattern, or password when asked.
  8. Wait. The phone will reboot and show a progress indicator. Do not touch it, do not turn it off. This typically takes 5 to 15 minutes.

When it finishes, the phone reboots into the original setup wizard — language selection, Wi-Fi connection, and "Hi there" — exactly as it looked when the phone was new. If you are selling it, stop here and power it off. If it is yours, continue to the next section.

The Alternative: Reset from Recovery Mode

If your phone is so broken you cannot get into Settings — it boot-loops, the screen is unresponsive, or you forgot your lock-screen password — you can reset from Recovery Mode instead. The backup advice still applies if you can do any of it first, but in a boot-loop situation your options may be limited.

  1. Power the phone completely off.
  2. Hold Power + Volume Up together until the phone's logo appears (some brands use Power + Volume Down — check your manual if this does not work).
  3. You will see a text menu. Use the volume buttons to navigate and the power button to select.
  4. Choose "Wipe data / factory reset" and confirm.
  5. Select "Reboot system now."

One warning: on many phones, using recovery mode to reset still triggers Factory Reset Protection afterward. You will need the previously synced Google account credentials to get in, so have them ready.

Restoring Your Phone After the Reset

During the initial setup wizard, Android will offer to restore from your Google backup — say yes. Sign in with the same Google account, choose the backup you made (it shows the date and device name), and the phone will start downloading your apps and settings. Your contacts, calendar, and emails return automatically because they live in your Google account.

Then handle the pieces the Google backup does not cover:

Expect the restoration to take a while — apps download one by one in the background. Let it finish before deciding the reset "didn't work." Judge the phone's speed after everything has settled, not during the chaos of re-downloading 80 apps.

Frequently Asked Questions

Will a factory reset delete my photos?

Yes — everything stored on the phone's internal memory is wiped, including photos, videos, WhatsApp chats, contacts, apps, and downloaded files. That is exactly why this guide walks through a full backup first. Anything synced to Google Photos or your Google account survives automatically.

Does a factory reset remove viruses and malware?

In almost all cases, yes. A factory reset wipes the entire system partition and reinstalls a clean copy of Android, which removes any malicious app or malware installed in the normal way. Extremely rare malware can hide deeper in the firmware, but for the vast majority of infections, a reset fixes it completely.

I forgot my Google account password after resetting — am I locked out?

The phone will ask for the Google account that was signed in before the reset (Factory Reset Protection). If you do not know the password, you can recover it at accounts.google.com from any browser by verifying your identity — use your recovery email or phone number. If you are selling the phone, always remove your Google account in Settings BEFORE resetting so the buyer never hits this screen.

How long does a factory reset take?

The wipe itself usually takes 5 to 15 minutes. The backup beforehand is what takes time — uploading photos and files to the cloud can take anywhere from a few minutes to several hours depending on how much you have and your internet speed. Plan the whole job on a free evening with the phone on Wi-Fi and the charger plugged in.

Ilm Tech Editorial Team — we explain technology in plain language.