How To Unlock HTC Phones
How to unlock HTC phones. This article is only for educational purpose. Don’t use this for cracking any other person’s device without their permission. Also, I’ll be not held responsible for any kind of damage caused to your phone by referring to this guide. Though there are least chances that your device will get damaged still I recommend you to attempt everything mentioned below at your own risk.
- Make sure your device has at least 60% battery level.
- USB debugging must be enabled in your phone. If debugging is not enabled it can be done from any custom recovery
- You must temporary disable all the security-related applications like Antivirus on your PC
Method 1: Regain your Original Pattern/Password Lock back (Most Effective Method)
download ADB files for android
Step 1: Download and extract the adb.zip file on your PC. After extracting you’ll find the following files in it:
Step 2: Now connect your phone to PC using the USB cable.
Step 3: Open the ADB folder which you’ve just downloaded. Now press and hold shift button + right mouse key simultaneously on an empty space in that folder.
Refer the image:
Step 4: Select ‘Open command window here’ option.
As soon as you click on it, a black colored command prompt window will appear.
Step 5: In this command prompt window, type the following command to make sure that your device is properly connected to PC or not.
after entering this command, some random numbers will appear. This will confirm that your phone has connected properly.
Step 3: Now type the following commands one by one. Don’t forget to hit enter after each 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’; .quit
If above commands doesn’t work then try with this one.
adb shell rm /data/system/gesture. Key
Step 4: Now you need to reboot your phone.
Step 5: After restarting, you’ll see that the pattern or password lock is still there. Don’t panic, just enter any random pattern or password and your phone will get unlocked
Method 2: Unlock Pattern/Password lock without installing Recovery
- A computer running a Linux distro or Windows + Cygwin.
- USB cable to connect your phone to the PC.
Steps to install ADB:
Step 1: Launch the Terminal Window.
Step 2: Type the following command in it:
sudo apt-get install android-tools-adb
Step 3: Press Enter.
Step 4: Follow all the instructions until everything is installed.
Steps to Reset Pattern/Password lock:
Step 1: Connect your (turned on) phone to PC using the USB cable.
Step 2: Launch the Terminal window.
Step 3: Type the following command in it:
cd data/system su
Step 4: Reboot your phone.
Step 5: After restarting, if you see the pattern/password lock, then try any random pattern/password to unlock it.
Success That’s all! You’ve successfully unlocked/cracked the pattern/password lock of your Android phone. So this is all about how to unlock/bypass/crack pattern or password lock of any android phone.