Use TWRP to bypass Android lockscreen

Use TWRP to bypass Android lockscreen

TWRP custom recovery makes it quite easy to remove any kind of lock (except for fingerprint) from your Android device. 
You'll find a step-by-step guide below:

  1. Reboot your phone into TWRP and click the "Advanced" button




  2. In the advanced options, click on "File Manager"



  3. Navigate to \data\system as seen on screenshots below:

     

  4. Locate the "gesture.key", "password.key", "gatekeeper.pin.key" or "gatekeeper.pattern.key" file



  5. Long-press on the  '*.key' file to reveal more options and choose "Rename File".



  6. Add the extension  ".old" to the file (the lock screen will be enabled afterward by deleting the ".old" from the file name extension). 



  7. "Swipe" to confirm the renaming of the file.



  8. After the file has been renamed, just click on "Reboot System" 



  9. After you boot into an Android, your lock screen should be removed completely or should accept any pattern/PIN/password you will try. 
On some devices, the lock screen file can be named differently but it will always have ".key" at the end.

    • Related Articles

    • Flash phone with recovery image (TWRP)

      Every Android phone has a "recovery“ partition which is by default used for performing factory resets using an OEM’s preloaded tools. However, this partition can be modified in order to replace the default tools by third-party recovery tools such ...
    • How to unlock bootloader (Android)

      Why do I need to unlock my phone's bootloader?  Unlocking the bootloader is an essential step in the process of modifying system partitions such as flashing TWRP recovery. Locked bootloader basically prevents users from loading or flashing any custom ...
    • How to root an Android phone?

      Why root an Android phone? There are countless ways in which you can use root access on your Android smartphone, but in this article we will focus on those used in conjunction with MOBILedit Forensic Express.  Our software uses root access to obtain ...
    • How to boot into recovery (Android)

      Why do I need to boot into recovery?  Recovery is a tool used to perform factory reset and install system updates by default.  However, there are many custom recoveries (CWM, TWRP, etc.) made especially to flash custom ROMs (unofficial builds of ...
    • Connecting an Android phone

      To achieve a successful phone connection, there are a few important steps that must be taken for this or any other tool. This is only required for the first time, then you can enjoy the functionality of all our products. An Android phone can be ...