How to Unlock Android Pattern Without Losing Any Data

Spread the love

If you forget to unlock the pattern of your phone you can still unlock this without losing data. You need to use Android SDK Tools.

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

Step 2. After installing, open Android SDK Tools, uncheck the other packages, check Android SDK Platform tools, and then click on install packages.  USB Debugging should be enabled before your android device is locked. You should also have specific and compatible drivers for your phone, otherwise, this process will not help.

Step 4. Open the 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 the right mouse button and select open command window here.

Step 5. Comman window will open. 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.

Please note that USB Debugging should be enabled before locked, and it is a must. But If it is not enabled, you cannot proceed with further steps.

You might also like