Last Updated on August 15, 2023 by Mathew Diekhake

The Samsung Galaxy A51 SM-A515YN comes with a partition for the Android operating system and a separate partition for Recovery Mode. If your software is working well, you can back up from the Settings app. If your Android operating system needs troubleshooting, you can boot into the recovery partition and hard reset from there.

Most people apply hard resets to phones because they want to wipe all data or reset it to factory settings. Sometimes advanced Android users who install custom software will hard reset because they need to before switching from stock Android to custom firmware.

This tutorial demonstrates how to hard reset the Samsung SM-A515YN smartphone.

Caution:

  • Hard resetting the Samsung SM-A515YN smartphone wipes all data and reset the factory settings. You need to have backed up your data before taking the hard reset if you want to restore it afterward. You can back up the data by opening the phone’s Settings app and tapping Google > Backup. If your Settings are different, type “Backup” into the search field in the Settings app.
  • You may need to sign in to your Google account after the hard reset which means you should know your email and password for the Google account. You can reset the password by visiting Google.com on any computer.

Method One: Hard Reset Samsung SM-A515YN Using Settings

You can hard reset the Samsung SM-A515YN smartphone from Recovery Mode and the Settings app. There is no need to hard reset from Recovery Mode unless the software is unresponsive or you use custom firmware in place of stock Android. Most people can hard reset from the Settings app. Here is how:

  1. With the Samsung SM-A515YN turned on, open the Settings app.
  2. Tap General management.
  3. Tap Reset > Factory data reset.
  4. Tap Reset.
  5. Tap Delete all.

The smartphone will be reset to factory settings and all data will be wiped.

Method Two: Hard Reset Samsung SM-A515YN Using Recovery Mode

You can also hard reset using Recovery Mode which boots into a separate recovery partition. This partition is useful if your Android OS has bugs making the software unusable. Sometimes people who install custom firmware will also use Recovery Mode because they need to wipe the cache as well. There are two recovery partitions: one for stock Android and a custom recovery developed for custom firmware. Here is how to hard reset using the stock recovery partition first:

  1. With the Samsung SM-A515YN turned off, press and hold Power + Volume Up until it boots to Recovery Mode.
  2. From the Android Recovery menu, press Wipe data/factory reset.
  3. Press Factory data reset.
  4. Press Reboot system now.

Method Three: Hard Reset Samsung SM-A515YN Using Custom Recovery

If you install custom firmware, you may have a custom recovery already installed in place of the stock recovery, in which case you would hard reset with the following steps instead:

Notes:

  • If you are installing custom firmware for the first time, you should always wipe the data and caches. The caches available may vary depending on the version of TWRP you have installed. In general, clear all caches unless you have a reason not to.
  • TWRP offers a backup option from its main menu known as a NANDroid backup.
  1. With the Samsung SM-A515YN turned off, boot to TWRP by pressing Power + Volume Up.
  2. Tap Wipe.
  3. Select as many caches as your version of TWRP allows to wipe and wipe the data as well.
  4. Tap Reboot.

The smartphone will reboot out of the recovery partition and back into the Android operating system.

In conclusion, that is how to hard reset the Samsung SM-A515YN smartphone.