Home > Tips and Tricks > Android

Bypass Password/Pattern/PIN on Android without Reset

In this guide, we will show you various methods to bypass the password, pattern, and pin lock on your Android device without a factory reset. Android devices come with a slew of lock screen measures, and you could find one of them on every user’s device. However, there could be a few instances wherein the actual device owner might end up forgetting the device’s password and hence is unable to gain access to their own device.

Likewise, if you have an old device lying somewhere around and you wish to revive it, then there are chances that you might have forgotten the unlock password. To counter all these issues, Google gives you an option- to factory reset the device which will remove the Factory Reset protection and allow you to re-setup your device as well as implement a new lock screen security measure.

However, not every user might be comfortable with deleting all their precious data. So is there an alternate way out? Well, there does exist a plethora of other methods through which you could bypass the password, pattern, and pin lock on your Android device without even the need for a reset. And in this guide, we will make you aware of all those approaches. Follow along.

How to Bypass Password/Pattern/PIN on Android without Reset

Do know that this is just an educational write-up and should only be carried out on your own device. It should not be emulated on any other device or for any malicious intent. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

After carrying out any of the below fixes, you might see the password/pattern/pin screen reappear. On that screen, you need to type in your new password which you will have to use subsequently.

Using Custom Recovery

This method requires you to have a custom recovery installed beforehand that supports the basic flashing [AOSP recoveries are not supported as they only have ADB Sideload].

  1. Download the Pattern Password Disabler ZIP and send it to your device.
  2. Then boot your device to the Recovery Mode via the hardware key combo.bypass pin android without reset
  3. Now go to Install > select the ZIP file and perform a right swipe to flash it.
  4. Once done, go to Reboot and select System. Your device will now boot to OS.
  5. You could now access the system and input the desired password/pattern/pin.

Using ADB Commands

This method requires you to have USB Debugging enabled beforehand

  1. Download and extract Android SDK Platform Tools on your PC.galaxy s23 ultra recovery mode
  2. Then connect your device to your PC via a USB cable.
  3. Now open the CMD window inside the platform-tools folder:
  4. After that, execute the below five commands, one after another:
    adb devices
    adb shell
    cd data/system
    su
    rm *.key
  5. Finally, restart your device to bypass the password/pattern/pin lock on your Android device without a reset.

Via ADB SQL Command

This method requires you to have USB Debugging enabled beforehand

  1. Download and extract Android SDK Platform Tools on your PC.bypass pin android without reset
  2. Then connect your device to your PC via a USB cable.
  3. Now open the CMD window inside the platform-tools folder:
  4. After that, execute the below commands, one after another:
    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
  5. Finally, restart your device. You would have bypassed the password/pattern/pin lock on your Android device without a reset.

Via ADB File Removal

This method requires you to have USB Debugging enabled beforehand

  1. Download and extract Android SDK Platform Tools on your PC.bypass pin android without reset
  2. Then connect your device to your PC via a USB cable.
  3. Now open the CMD window inside the platform-tools folder:
  4. After that, execute the below commands, one after another:
    adb devices
    adb shell
    adb shell rm /data/system/gesture.key
  5. Finally, restart your device. You would have bypassed the password/pattern/pin lock on your Android device without a reset.

Using Recovery

  1. This method requires you to have a custom recovery installed beforehand that supports the basic flashing/sideload.
  2. Download Aroma File Manager.zip and transfer it to the platform-tools folder [rename it to afm.zip]
  3. Then boot your device to the Recovery Mode via the hardware key combinations.bypass pin android without reset
  4. Now go to Advanced > Sideload and perform a right swipe to start the sideload.bypass pin android without reset
  5. Then launch CMD inside the platform-tools folder and execute the below command
    adb sideload afm.zip
  6. It will now load the Aroma File Manager. Go to Menu > Settings.
  7. Now select “mount all partition in startup ” then exit from the Aroma File Manager.
  8. Again go to Advanced > Sideload and perform a right swipe to start the sideload.bypass pin android without reset
  9. Then launch CMD inside the platform-tools folder and execute the below command
    adb sideload afm.zip
  10. Now go to Data > System and select either the ‘gesture.key’ (for pattern lock) or ’password.key’ (for password lock)
  11. Then long press on that key and select Delete > Delete that file. Finally, restart your device.bypass pin android without reset
  12. That’s it. It will bypass the password/pattern/pin lock on your Android device without a reset.

Using  SQLite Database Browser

Initial Setup

  1. Download & Extract to anywhere – Bypass Security Hack
  2. Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
  3. Run pull settings.db.cmd inside the By-pass security Hacks folder to pull the setting file out of your phone.
  4. Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
  5. Navigate to the Browse data tab, At the table there, click to list down the selection & select Secure.

Remove Pattern Lock

  1. Now, find lock_pattern_autolock, Delete Record.
  2. Then close & save the database.
  3. Finally, run push settings.db.cmd and reboot your phone

Remove PIN Lock

  1. Find Or Create lockscreen.password_type, double-click & change it’s value to 65536, Apply changes!
  2. Then, find lock_pattern_autolock, Delete Record, If doesn’t exist, then just ignore
  3. Now close & save the database
  4. Finally, run push settings.db.cmd and reboot your phone.

Remove Password Lock

  1. Find lockscreen.password_salt, Delete Record
  2. Then find lockscreen.password_type, Delete Record
  3. Now close & save the database
  4. Run push settings.db.cmd and reboot your phone

Using an App Installed Beforehand

Some of you might tag it as one of the most dumbest fixes and I could agree more but still, it does the job for a small niche segment. Before you could proceed ahead, make sure that your device is rooted and more importantly, you should have installed the SMS Bypass app beforehand. If you are among the lucky few who have checkmarked both these requirements, then here’s how to proceed

  1. Pick up another Android device and send the following code as an SMS to your device
    1234 reset
  2. Here, 1234 is the default code and reset is the default keyword [if you hadn’t changed them beforehand].
  3. Once you receive the SMS, restart your device. Once it boots up, you will be greeted with a new lock screen.
  4. Type in the desired PIN/Password/Pattern and it will act as the new one from now onwards.

That’s it. These were the various methods to bypass the password, pattern, and pin lock on your Android device without a factory reset. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

Share: