Description


This script is designed to remove basic PIN, password or pattern lock from a connected device. This method was tested and works on Android versions from Gingerbread (2.3) to Jelly Bean (4.1), but it may work on others.

The Console tab will show commands as they are run, and any errors that result. This technique does not require Root on most devices, but does require USB debugging to be enabled. It also requires a binary called 'sqlite3' which is part of stock android builds, but some customized builds do not include it. The 'sqlite3' binary needs to be located in /system/bin and requires Root.

Most devices are rootable if USB debugging is enabled, even if the screen is locked. If your device is not listed, check Device Manager for a device called 'Android Composite ADB Interface'. If this is not listed, then you need to install proper drivers. Otherwise your device may not have USB debugging enabled.

Step 1: Updates a sqlite database located at /data/data/com.android.providers.settings/databases/settings.db Table:secure; Field:lock_pattern_autolock; Value=0 (if it exists) Table:secure; Field:lockscreen.lockedoutpermanently; Value=0 (if it exists) Table:secure; Field:lockscreen.password_type; Value=65536

Step 2: SQLite updates may remove lock, so reboot device. If lock screen still shows try step 3.

Step 3: Delete file that stores hash of lock pattern. /data/system/gesture.key

Step 4: Reboot device again. Lock screen should be removed.

This script was developed for use in EnCase training. For more details, please click the following link:

Releases

Release
Size
Date
Android Screen Unlock 1.0.0
  |  
Aug 1, 2024
More info Less info
Product compatibility
Release notes

Tested with:
EnCase Forensic 7.05

Languages
English

Unsubscribe from notifications

You are receiving release updates for this item because you have subscribed to the following products:
If you unsubscribe, you will no longer receive any notifications for these products.
Tip: to update your subscription preferences, go to Manage Subscriptions from your Dashboard, uncheck the products you no longer want to receive notifications for, and click 'Save'.

Marketplace Terms of Service

In order to continue, you must accept the updated Marketplace Terms of Service
Since you are downloading an app from the OpenText Marketplace, you need to accept the updated Marketplace Terms of Service before you can continue. Use the link to review the Marketplace Terms of Service. Once complete check the, "I accept the Marketplace Terms of Service" box below and click accept to continue your download.


Your download has begun...

Your download has begun

Related content and resources

Your browser is not supported!

Please upgrade to one of the following broswers: Internet Explorer 11 (or greater) or the latest version of Chrome or Firefox

release-rel-2024-10-1-6270 | Sun Oct 6 21:16:47 PDT 2024