Before you buy a new cell phone or new tablet, please try the following procedure to repair your device. First charge your battery, backup your important data if possible and in most cases take out SIM and SD card before factory reset. It is impossible to recover your data after doing a hard reset, so online backup is always important. For all of your data, a backup should be done on an external device, hard drive, raid system or media. With or without insurance, if your cell phone lost, damaged or stolen at least your invaluable data is backed up in a safe place. If you are about to sell your phone and you want to wipe your personal data, or if your phone affected with virus you have to do a hard reset. In some cases, you can delete the forgotten password or lock pattern from your device as well.
Reset Motorola DROID RAZR XT912
To reset your phone to factory settings and erase all the data on your phone, touch Menu > Settings > Privacy > Factory data reset > Reset phone.
Select Settings → Back up and reset→ Factory data reset → Reset device→ Delete all.
Motorola Razr hard reset using buttons Power the device off. Press and hold the Volume Up + Down then press and hold Power button. When the device screen goes blank release the Power button while continuing to hold Volume Up + Down. Press and hold the Volume Up + Down then press the Power button. When presented with the Boot Mode Selection Menu release all buttons. Press Volume Down to select Recovery then press Volume Up. From the Droid triage screen, simultaneously press Volume Up and Down. Select wipe data / factory reset then press the Power button. Use Volume keys to navigate options. Select Yes -- delete all user data then press the Power button. Use Volume keys to navigate options. After wiping data select reboot system now and press the Power button.