Program to reset the phone to factory settings. How to roll back Android to factory settings

There are situations when the rollback of the device to the factory settings is the best solution to the problem. There are several ways to perform a reset: through the reset device itself or using a computer. .

Why reset

Hard Reset - Rollback operating system  to default values. When performing a reset, all files and third-party applications are deleted from the device’s memory, and all settings accept factory settings. Resetting the system, you will get a clean device, that is, it will be in the form in which it was in the store.

A reset can be useful in the following situations:

  • the device started to freeze due to a large number  installed programs;
  • the system started to hang due to overloaded memory;
  • in file system  many files left from remote applicationswhich occupy free space;
  • the device is sold, so you need to delete all personal information from it;
  • need to reset the password, because it was forgotten.

As a result, it turns out that the reset must be performed when it is necessary to format the device.

How to save data

Since when you reset the system, all data (videos, photos, music, pictures, books and other elements) from the device is erased, it is strongly recommended that you think over how to save all the important information in advance. The easiest way is to transfer all important files to a memory card or computer. When resetting, the items stored on the SD card, even if it is inserted into the device, are not deleted, but just in case for the duration of the operation, it is better to remove the memory card.

Another way is to create a backup copy in which all files will be stored. After performing a reset, you can restore the system from a previously created backup, and all items and applications will be returned. The positive side of this method is that you will not lose not only files, but also applications. The negative side - if the reset is carried out in order to clean the device from idle files, then when restoring from the backup, the files you wanted to get rid of will also be restored.

Copying is done using google service  and only via Wi-Fi, as the amount of information is too large to be downloaded via mobile Internet. Go to the device’s settings, open the “Restore and reset” tab and make sure that the automatic backup function is enabled. The copy will be tied to your Google account, you can recover from it after you perform a reset. The device itself will offer you to use the found copy.

Activate backup  files

Device reset

There are several ways to reset your device. The easiest is through the system settings.

Through settings

You can use this option if you have access to the system. If you forgot your password, or the device freezes at the boot stage, preventing you from entering the system, then use the method described below.

Video: how to reset Android

Through the recovery menu

If you have a turned off device, and there is no way to turn it on, then this method is suitable for you:



Via computer

This method will help you enter the recovery menu if, for some reason, the previous method failed to do this. Connect the device to the computer using the USB-adapter and in the connection type specify “Charging only”. Download the archive with the ADB program and unzip it to any folder whose path does not contain Russian letters. In the resulting folder, create a file called devices.cmd, where cmd is its extension, and write three commands into it:

  • echo off
  • adb devices
  • pause

Run the created file, the command line will open on the screen with the following commands already registered:

  • D: \\ adb\u003e devices.cmd
  • adb devices
  • List of devices attached
  • HT16GV402012 device
  • D: \\ adb\u003e pause
  • To continue, press any key ...

Done, the program is installed. Now open command line  as administrator and use the adb reboot recovery command in it. Your Android device will automatically be transferred to the recovery menu, and further actions that need to be performed to reset are described above in the “Via the recovery menu” sub-item.



  We enter Recovery mode  through computer

What to do if the password has not been reset

If you reset the device in order to remove the password that you forgot from it, and after the procedure is completed, the system still asks you to enter it, that is, two ways out of this situation. First, enter the wrong password five times, a message appears on the screen stating that the device is locked for 30 seconds, as well as the “Forgot your password?” Button. Click on the button that appears, you will be asked to log into your Google account, which was previously tied to this phone or tablet. If you log in desired account, then get the opportunity to reset the existing password.

  Recover device password through Google account

Password reset via ADB

The second option is to reset the password using ADB. How to install this program is described above in the sub-item “Via computer”. When you are done with the installation, run the command prompt as administrator and execute the following options in it:

  • adb shell
  • cd /data/data/com.android.providers.settings/databases
  • sqlite3 settings.db
  • update system set value \u003d 0 where name \u003d ’lock_pattern_autolock’;
  • update system set value \u003d 0 where name \u003d ’lockscreen.lockedoutpermanently’;
  • .quit

If these commands do not help, then use the adb shellrm /data/system/gesture.key or adb shell command
  rm /data/system/gesture.key.

How to recover data after a reset

It was previously described that in order to save data, you must first create backup  files or transfer all important items to another medium. If you did not do this, but at the same time reset the device, then, most likely, it will not work to restore the lost information. But it’s worth a try: get root-rights on the device, and download a program on your computer designed to recover deleted files on Android. For example, you can use EASEUS Mobisaver for Android Free.



  We restore deleted files  using EASEUS Mobisaver for Android Free

You can roll back the device to the factory settings in two ways: through the device settings or the recovery menu. You can enter Recovery Mode both from the device itself and using a computer. Before resetting the system, do not forget to transfer all important information to reliable third-party media. .

Many experienced users, when buying a laptop, prefer to remove the installed operating system and download it again, from scratch. This is done due to the fact that the manufacturer often installs a huge amount of software that slows down and clogs the OS. Not everyone knows that laptops, like devices running an operating android systems, have the ability to restore factory settings. However, this can only be done if the backup partition with copy of windows  on your hard drive is not deleted. It is worth noting that the process of restoring settings can take a long time, since all programs and drivers will be restored with the system. Next, we will try to describe ways to restore factory settings for the most popular laptop manufacturers.

Restore HP notebook settings




  • Turn off the laptop and disconnect all drives from it (flash drives, memory cards, hard drives)

  • During boot, press the F11 key on the keyboard until the program starts recovery recovery  Manager

  • Now select “System Recovery”

  • The utility will offer you to save personal data, you can do this if necessary

  • Next, the program will restore the system to auto modeoverloading several times. You just need to wait for the completion of the work.

Restore Acer laptop settings



  • Turn off the laptop

  • Turn it on and, while loading, hold down the Alt key and press F10

  • When you are prompted to enter a password, enter 000000. If you yourself have changed the password, then it is worth entering your choice.

  • Now you have to select (Factory reset).

  • Say that all of the above items can be completed through special utility  eRecovery Management, which comes on the software disc

Restore ASUS Laptop Settings



  • Turn on the computer and during boot, press F2

  • In the BIOS, find the "Boot" tab and disable Boot Booster (turn the switch to Disabled). After that, save the settings and reboot.

  • During boot, press the F9 button on the keyboard

  • After completing the preparation, the utility will ask for confirmation of the reset

  • Now it remains only to wait until the system automatically recovers

Restoring Samsung Notebook Settings



If you can download Windows on a laptop, then the easiest way is to use a proprietary utility Samsung Recovery  Solution If you can’t use this program, you can restore the factory settings in a more traditional way.

  • While the laptop is loading, press the F4 key, this will start recovery mode

  • Select Restore

  • Select a recovery method. We recommend " Full recovery»(Complete Restore)

  • Now it remains only to select a saved copy of the system to restore the factory settings.

Restore Toshiba Notebook Settings



  • Turn off the laptop

  • Press and hold 0

  • Turn on the laptop

  • When the laptop starts beeping, you can release the 0 key

  • Next, follow the onscreen instructions.

As the name implies, Simple Factory Phone Reset is a small free application that allows you to reset the device to factory settings.

Surely lovers of downloading modified games encountered problems in the device after trying to install them. As a result of such rash actions, novice users carry their gadget to the service center, but, unfortunately, the services there are paid. Experienced users will probably try to cope with the problem on their own, trying to remove the malicious program.


But if all else fails, then Simple Factory Phone Reset will help the first and second. This application easily resets all device settings, deletes from boot sectors  extra scripts, thereby allowing you to bring the device back to life. In addition, the tool can only remove installed programswithout affecting the entire system.


The application interface is the simplest - a large red button in the center. After clicking it, just in case the program asks you to confirm the action. This is not a waste of time, because during a reset to the factory settings, all user data, including address book data, will be deleted. Therefore, you need to remember the need to backup all data from the device, in order to save your favorite photos, music and other necessary files.


Restoring files after a factory reset will be virtually impossible. Therefore, you should record the username and password from the account in order to restore the address book. Also, it will not be superfluous to enable synchronization account  in the cloud. The tool will also come in handy in the event that a decision is made to sell your phone / tablet to another person, so that after the transaction there are no questions about maintaining the confidentiality of personal data.

Simple Factory Phone Reset is an excellent program that fully copes with the task - 5.0 points.

On the site, we described many ways that helped us reset graphic key  or password from the device. But today we will analyze the case in which you have no way to reset the settings using the combinations in the dialing and number keys. This method will occur using team building. More recently, I wrote an article about,. Reset to factory condition  your device, you can see here "" and if your device is not in the list, you can ask by creating a topic on the forum here "", start the topic like "How can I reset the settings to your device," we will write everything possible options reset and give you links to information. Now to the topic. Users who previously unlocked the "For Developers" section and did not activate the "USB Debugging" function cannot reset the settings via ABD.

If you previously activated the developers section and enabled the "USB Debugging" function, then you can continue. Now download ABD from a previous topic or from the official site. Before working with the Android SDK, I highly recommend reading the following topics:

When ABD is installed through the official website, install the drivers for the device. Drivers for your smartphone or tablet can be downloaded from the official website of your device. Only after the driver and ABD are installed on your computer, open the command line and specify the path to ABD in it, or use the previous article and find out how easier it is to get right on the path to the command line.


After you open the command line and specify the path to ABD, connect your device to the computer and wait for the installation of additional drivers. When connecting the device to a computer, a window should appear on the working layer of the device confirming the permission to connect. Check the box and click on "OK"

Enter the combination " adb devices"and check if the device is connected. If there are no errors in the log and you see your device, then type the following command" adb shellrm /data/system/gesture.key". After that, reboot your device, the password should be removed from your gadget.

If that doesn’t help, try this command:

adb shell
  su
  rm /data/system/locksettings.db
  rm /data/system/locksettings.db-wal
  rm /data/system/locksettings.db-shm
  reboot

Your device should reboot without a key or password.

All teams for the reset were taken from a foreign source XDA-Developers, the exact work can be found only by testing on your device. You should not bring harm to your gadget. That's all thank you for your attention! If you have any questions, we are waiting for comments below