keepcalculator

06 Numbers and Powers

Samsung Factory Reset Code & How to Use It

Card No. 06·70992 · Updated · Standard formula, shown below

The Samsung factory reset code is *2767*3855#, which performs a full wipe and reinstalls the firmware. Dialing this code instantly erases all user data and resets the device to its out-of-box state, without any confirmation prompt. This guide explains how the code works, when to use it, and safer alternatives.

What Is the Samsung Factory Reset Code?

The code *2767*3855# is a hidden service menu command that triggers a factory reset on many Samsung phones and tablets. It is also known as the “hard reset” or “master reset” code. When you dial it, the device immediately wipes the internal storage, clears all settings, and reboots with the original firmware. There is no confirmation dialog, so the reset happens instantly.

This code has been present on Samsung devices for over a decade, appearing on models from the Galaxy S series, Note series, and many mid-range and budget phones. However, it is not a universal code—it may not work on newer models or devices with custom ROMs. The code is part of Samsung’s diagnostic and service menu, which is not intended for everyday users.

How the Code Works

When you enter *2767*3855# on the dialer, the phone interprets it as a special command that invokes the factory reset function in the device’s firmware. The code triggers a low-level format of the user data partition and the cache partition, then reinstalls the system files from a recovery partition. This is similar to a “wipe data/factory reset” from the recovery menu, but it bypasses the confirmation step.

The reset does not remove the operating system itself—it only clears user data and restores defaults. After the reset, the phone boots up like a new device, requiring you to set up the language, Wi-Fi, and Google account. On some models, the code may also reset the IMEI or baseband, which can cause network issues if the device is carrier-locked.

When to Use the Factory Reset Code

Use the factory reset code only when you cannot access the normal reset options. Common scenarios include:

  • The phone is stuck on a boot loop or frozen on the logo screen.
  • The screen is locked and you have forgotten the PIN, password, or pattern.
  • The device is infected with malware that prevents normal operation.
  • You are selling or giving away the phone and want to erase personal data.

Before using the code, back up all important data—photos, contacts, messages, and files—because the reset will permanently delete them. If the phone is linked to a Google account, you will need to enter that account’s credentials after the reset to bypass Factory Reset Protection (FRP).

How to Perform the Reset Using the Code

Follow these steps to reset a Samsung device with the code:

  1. Open the Phone (dialer) app on your Samsung device.
  2. Type *2767*3855# exactly as shown.
  3. Press the call button or wait for the code to auto-execute.
  4. The device will immediately begin the reset process—do not interrupt it.
  5. Wait for the phone to reboot. It may take several minutes.
  6. Complete the initial setup as if the phone were new.

If the code does not work, your device may not support it, or the dialer may not accept service codes. In that case, use the hardware key method (Volume Up + Home/Power) to access the recovery menu and select “Wipe data/factory reset.”

Risks and Precautions

The factory reset code is powerful and dangerous if used carelessly. Since there is no confirmation, accidentally dialing the code will wipe your device instantly. To avoid this, never store the code in your contacts or speed dial. Also, note that the code may not work on all Samsung models—especially newer ones that have removed the service menu. On some devices, the code can trigger a “factory reset” that also clears the internal SD card, so remove any external SD card before running it.

Another risk is that the code may not remove the Google FRP lock. If you reset a phone that is still linked to a Google account, you will be prompted to enter that account’s password after the reset. If you do not know the password, the phone will be unusable. This is a security feature to prevent thieves from using stolen phones.

Alternative Reset Methods

If the code does not work or you prefer a safer method, use one of these alternatives:

  • Settings menu: Go to Settings > General Management > Reset > Factory Data Reset. This is the safest method and includes a confirmation step.
  • Recovery mode: Turn off the device, then press and hold Volume Up + Power (or Volume Up + Home + Power on older models) to boot into recovery mode. Use the volume keys to navigate and select “Wipe data/factory reset.”
  • Find My Mobile: If you have a Samsung account, you can remotely reset the device from the Find My Mobile website, provided the phone is connected to the internet.

Each method achieves the same result, but the recovery mode is the most reliable if the phone is unresponsive. The Settings method is best for planning a reset, as it allows you to back up data first.

Frequently Asked Questions

Does the factory reset code work on all Samsung phones?

No. The code *2767*3855# works on many older Samsung models, but newer devices may ignore it or have removed the service menu. If the code does not work, use the recovery mode method instead.

Will the reset code remove my Google account lock?

No. The reset code only wipes user data, not the Google FRP lock. After the reset, you will need to enter the Google account credentials that were previously on the device. If you do not remember them, the phone will be locked.

Can I recover data after using the factory reset code?

No. The reset permanently erases all data on the internal storage. There is no way to recover it without a backup. Always back up your data before performing a reset.

Is the factory reset code the same as a hard reset?

Yes, the code performs a hard reset, which is the same as a factory data reset. It clears all user data and restores the device to its original state.

What if the code causes my phone to boot loop?

If the phone gets stuck in a boot loop after using the code, try booting into recovery mode and performing a factory reset from there. If that does not work, you may need to flash the firmware using Odin or take the device to a service center.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →