Android & iPhone

How to Safely Wipe and Factory Reset an iPhone or Android Before Selling

A complete pre-sale security checklist to unpair devices, remove iCloud and Google FRP locks, transfer 2FA authenticators, and cryptographically erase all data.

Quick Summary & Key Takeaways

  • Objective: A complete pre-sale security checklist to unpair devices, remove iCloud and Google FRP locks, transfer 2FA authenticators, and cryptographically erase all data.
  • Estimated Time: Approximately 8 minutes following our step-by-step instructions.
  • Safety Recommendation: Ensure your device battery is above 30% and preserve any important files or passwords before modifying system settings.
Modern smartphones resting on clean white surface prepared for reset
Executing pre-sale cryptographic data wipes and account unlinking on mobile phones.

Handing over an old smartphone without proper sanitization puts your personal photographs, banking apps, email inboxes, and cloud accounts at severe risk. Simply deleting photos or logging out of social media apps leaves recoverable data behind and can leave the device locked to your account, preventing the buyer from activating it.

Before selling, trading in, or gifting your iPhone or Android device, follow this comprehensive step-by-step sanitization protocol to guarantee zero data leaks and ensure a smooth transfer.


Phase 1: The Essential Pre-Reset Checklist

Do not rush into a factory reset without completing these critical preparation steps:

  1. Migrate Two-Factor Authentication (2FA) Apps:
  • Open apps like Google Authenticator, Microsoft Authenticator, or Duo Mobile.
  • Use the built-in Cloud Sync or QR Code Export function to transfer your verification codes to your new device. Losing your active 2FA keys can permanently lock you out of financial and primary email accounts.
  1. Unpair Connected Smartwatches:
  • Apple Watch: Open the Watch app on your iPhone, tap All Watches > Info (i) > Unpair Apple Watch. This automatically creates an updated backup and removes Activation Lock.
  • Wear OS / Galaxy Watch: Open the Galaxy Wearable or companion app and disconnect the watch so it can pair smoothly with your next phone.
  1. Backup Your Entire Device:
  • iPhone: Go to Settings > [Your Name] > iCloud > iCloud Backup > Back Up Now.
  • Android: Go to Settings > Google > Backup > Back Up Now, and verify that Google Photos backup is 100% complete.

Phase 2: How to Factory Reset an iPhone (Erase All Content & Settings)

Modern iOS devices utilize hardware-level AES-256 cryptographic encryption. When you perform a factory reset, iOS securely destroys the encryption keys, rendering residual flash storage data mathematically impossible to recover.

Step-by-Step for iOS 15, 16, 17, and Newer:

  1. Open Settings on your iPhone.
  2. Tap General, then scroll to the bottom and select Transfer or Reset iPhone.
  3. Tap Erase All Content and Settings at the bottom of the screen.
  4. Review the items scheduled for removal (Apps & Data, Apple ID, eSIMs, and Find My Activation Lock). Tap Continue.
  5. Enter your device passcode when prompted.
  6. Enter your Apple Account (Apple ID) Password to disable Find My and remove the Activation Lock. This step is mandatory—if skipped, the buyer will be trapped on the "iPhone Locked to Owner" screen.
  7. Confirm the erase command. The phone will display the Apple logo and progress bar before rebooting into the multi-language "Hello" setup screen.
iPhone Erase All Content Screen
iPhone Erase All Content Screen

eSIM Notice: If your carrier line is staying with you, choose Delete eSIM (or keep it temporarily only if upgrading to another iPhone immediately using eSIM Quick Transfer).


Phase 3: How to Factory Reset an Android Phone Safely (Removing FRP Lock)

Android features a security mechanism called Factory Reset Protection (FRP). If you wipe an Android phone without manually removing your Google account first, the next user will be forced to enter your previous Google credentials to boot into the home screen.

Step-by-Step for Samsung Galaxy, Google Pixel, and Android Devices:

  1. Remove Your Google and Brand Accounts First:
  • Go to Settings > Accounts and Backup (or Passwords & Accounts).
  • Tap your primary Google Account and select Remove Account.
  • On Samsung devices, scroll up and remove your Samsung Account as well.
  1. Deactivate Screen Lock:
  • Go to Settings > Lock Screen > Screen Lock Type and temporarily change it to None or Swipe.
  1. Execute the Factory Data Reset:
  • Google Pixel / Motorola / Stock Android: Go to Settings > System > Reset options > Erase all data (factory reset).
  • Samsung Galaxy: Go to Settings > General Management > Reset > Factory data reset.
  • Xiaomi / OnePlus / Realme: Go to Settings > Additional Settings > Back up and reset > Erase all data.
  1. Tap Delete All or Erase All Data and confirm your device PIN or password.
  2. The device will reboot, perform a cryptographic wipe, and present the out-of-the-box setup wizard.
Android System Factory Reset
Android System Factory Reset

Phase 4: Final Physical Preparation

  • Remove Physical SIM and MicroSD Cards: Inspect the SIM tray carefully using an ejector pin to ensure no microSD memory cards containing personal photos remain inside.
  • Clean the Exterior: Gently wipe the screen and chassis with a microfiber cloth dampened with 70% isopropyl alcohol to remove smudges and oils before handover.

Frequently Asked Questions

Can someone recover my deleted photos after a factory reset?

On modern iOS (iOS 8+) and Android (Android 6+) devices with file-based hardware encryption, factory resetting deletes the master cryptographic key. Without this key, raw flash memory recovery yields only unreadable encrypted noise.

What happens if I forget to sign out of iCloud before resetting my iPhone?

The iPhone will trigger Activation Lock, requiring your Apple Account password during setup. If you have already shipped the phone, you must log into iCloud.com/find, select the device, and click 'Remove from Account' remotely.

Does a factory reset remove the eSIM profile?

iOS and Android will explicitly ask whether you wish to keep or delete installed eSIM profiles during the reset flow. Choose 'Delete eSIM' if you are selling or giving the device away.

What is the difference between my Public IP address and my Private IP address?

Your Public IP is assigned by your ISP to your router and is visible to all websites you browse worldwide. Your Private IP (such as 192.168.1.15) is assigned locally by your router's DHCP server to identify individual devices inside your home network.

Will changing my DNS server increase my download speed?

Changing to a fast DNS resolver (like Cloudflare 1.1.1.1 or Google 8.8.8.8) reduces the lookup latency (time it takes to resolve a website name into an IP address) by 20-50 milliseconds, making web browsing feel substantially snappier. However, it does not increase raw file download bandwidth provided by your ISP.

Why does my 5GHz Wi-Fi have shorter range than 2.4GHz Wi-Fi?

Higher radio frequencies (5GHz and 6GHz) attenuate much faster when passing through solid matter like concrete, brick walls, and timber studs due to shorter electromagnetic wavelengths. 2.4GHz waves travel further and penetrate obstacles better, but offer lower peak throughput.

Alex Morgan

About the Author: Alex Morgan

Senior Editorial Director & Tech Lead

Alex is the Senior Technology Editor at AkTricky with over 10 years of experience diagnosing mobile operating systems, iOS features, and hardware issues. He specializes in practical everyday consumer technology.