Home » Blog » Unlocking Android Phones without loosing Data

Unlocking Android Phones without loosing Data

Unlocking Android Phones without loosing Data

When the phone gets locked after the minimum number of attempts of either password or PIN, what would we do? We factory reset the whole thing and Boom! All your data is gone forever. What if I tell you that you can unlock your phone, without even losing a single piece of data? Yes! This post guides you through the simplest ways possible to unlock your devices in such cases. Read More – Stock Rom vs Custom Rom

This Post Actually Written Because some users mail us and ask:

  • how to unlock Galaxy S7 edge password without losing data
  • reset pattern lock on android without google account
  • how to unlock android phone after too many pattern attempts without factory reset
  • unlock android pattern lock if forgotten

unlock android pattern lock

Android Phones are being designed more smarter day by day. Most of the phones manufactured now are having fingerprint unlock enabled in it. But, still there are tons and tons of mobiles out there without too. This post will come in handy for those who have such devices. Read More – Enable OTG support on Android Device

There are some solutions available to get this solved. We have listed out all such remedies.

Solution 1:

Using Stock recovery and memory card

Unlock android device Using Stock recovery and memory card

Pre-requisite: The phone should be supporting external storage through micro SD card. Download the Aroma file manager APK first.

  • Copy the APK file to an extra external SD card you are having then replace it in the SD card of your locked device.
  • Hold the volume down and power button for 8-10 seconds and release and boot in stock recovery mode.
  • Navigate to “Install Zip from SD card” using volume down button
  • Select the previously downloaded Aroma installer app and install. After downloading, open it in recovery mode.
  • Settings -> Auto mount all devices on start
  • Come back to the main screen and open Data folder -> System folder  and search for the file password.Key or gesture.key  for the respective lock which you have set.
  • Long press on the file you get and then delete it.
  • Reboot the device in Recovery mode. Now you can enter the new PIN or password according to your wish.

Solution 2:

Using Android Device manager

Android device manager is one such application from Google which lets you have a control your device from any corner of the world. Thanks to google for that. Not only in fixing this issue, it can do lot more things actually. Finding the location when you lose your phone, Remote manager, Remote erasing. Ringing when its theft and what not. Read More – Increase Internal Rom SIZE After Root on Android Device.

Here are the steps to be followed.

  • Open the browser from your phone and type https://myaccount.google.com/find-your-phone-guide
  • Now Login to your google account and select the particular Account which your phone is using.
  • It will display several options on the screen. Select “lock Your Phone”.
  • Set a new password there, which will be your future password from then on.

Wait for few minutes , so that it get reflected on your present device and you can use the phone later normally, without even losing a single piece of data.


Solution 3: 

By ADB Commands


This is not a simple process. If you do not have much knowledge about the insight of the mobile, then I would never recommend this.

You should have you USB debugging enabled on your phone prior to some steps to be followed.

  • Connect your Phone to PC by using the USB cable.
  • Open the folder where your ADB files are present using Command window.
  • Put the mobile in Fastboot mode and type the below shown command.


adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';


Unlock android device

Now reboot your phone and it will be unlocked without any difficulty.

Solution 4:

Safe Mode Booting

If you by chance were using a third party Screen app or Av’s then you can use this method to get it resolved.

  • Boot into safe mode first.
  • Go to settings ->Apps and then find the app which you were using and then disable the app.
  • Reboot your phone again and should work normally.

Congratulations on unlocking your device! Thank you for coming to our Page. If this page helped you , So then please share this website to all Social Medias like Facebook ,twitter and Reddit so then Others can find this Guide. Finally If you have any problem then don’t hesitate, feel free to Leave a Comment with Error Message.So one of team our team member will help you as soon as possible.

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *
Email *