Disabling Pattern Lock Using the Command Line

Disabling Pattern Lock Using the Command Line


1Download the Android SDK:-

http://developer.android.com/sdk/index.html#Other to download, install, and extract the appropriate Android SDK. Be sure you know where on your system you have extracted the SDK.     
        
  • Note that this method will only work if you have previously enabled USB debugging. If you have ever connected your Android to your computer, you have likely enabled USB debugging.

2 Plug your phone in to your computer. 

Using a microUSB cable, connect your phone to your computer. You may have to wait for a little bit for the appropriate drivers to install if this is the first time connecting your phone.

Open the command line. Depending on whether or not you use Windows or Mac, the process is slightly different.

  • Windows: Press Start, type cmd, then press  Enter.
  • Mac: In the Finder app, press Command + Spacebar, type "Terminal", then press  Enter.

Navigate to the correct folder. In the command line, navigate to the folder where you have extracted the Android SDK. Within that folder, navigate to the Toolsfolder. Read our article about how to navigate a command line if you are unsure.

  • Essentially, you change folders by typing cd FolderName and pressing Enter. You can only navigate and progress one embedded folder at a time, so it may take a bit of typing to get to the correct directory.
  • At any time, type dir and press  Enter to see a list of all files in that directory. If you are in the correct Tools folder, you should see a file called adb.exe.

Unlock your screen. Type adb -d shell into the command line and press Enter.


Disconnect and restart your phone. After typing the command, unplug your phone and restart to hopefully see no pattern lock on your phone. You should have full access.

  • Be sure to set a new lock immediately after gaining access.

Comments

Popular posts from this blog

HACK EMAIL-ID,USERNAME AND PASSWORD OR ANY USER DETAILS BY USING KALI LINUX.

Port Fail Vulnerability : Critical VPN Vulnerability