How to Unlock Android Pattern Without Losing Any Data

Pattern lock is super easy to set up on , but it can create lots of troubles if you have forgotten what you have set. So, in this article, we are going to share another best trick that would help you to Android pattern without any data.

To unlock the Android pattern without losing any data, we need to use Android SDK Tools. So, let's check out the step-by-step guide on how to unlock pattern lock on Android without losing any data.

Step 1. Download and install Android SDK Tools for run ADB commands. Now select platform according to you download and install it.

Step 2. After installing open it, uncheck the other packages and check Android SDK Platform-tools and then click on install packages according to the image given below.

So the other requirement is USB Debugging should be enabled before your android device locked.

Note:  The process will not be helpful if you don't have specific and compatible drivers for your phone. So you should be very careful While installing your device compatible drivers.

Step 3. Connect your locked android phone with your system via USB.

Step 4. Open folder where you installed Android SDK Tools Users > App Data > Local > Android > Android-SDK > Platform-Tools and then click on blank space hold shift and click right mouse button and select open command window here.

Step 5. It will open you command window now you have to put some commands in the command window:-

To check whether your device is properly connected or not put command:-

adb devices

Now put these commands:-

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';
.quit

If the above commands don't work put:-

adb shell rm /data/system/gesture.key

Step 6. Once you are done you have to reboot your android phone. Now it's all done.

Note: USB Debugging should be enabled before locked and it is the must. But If it is not enabled then you cannot proceed with further steps.

So, the above is all about how to unlock Android Pattern without losing any data. Hope this article helped you share it with your friends also. If you have any doubts related to this, let us know in the comment box below.

You might also like

Comments are closed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More