Unlock Android phone after too many incorrect PIN entries

After too many incorrect PIN entries, Android phones are locked out. In some cases, they dont accept Google Password for unlocking. The only commonly known way to unlock it is to wipe all data (factory reset). In such an attempt, your phone becomes wiped clean of all data, and you loose all your Contacts and other data in case they haven’t been synchronized to Google servers. This situation happened to my fiance’s phone (which wasnt rooted), and I had to fix it.

What you need:

Steps:

  1. Run CWM recovery installation zip from Stock Android recovery.
  2. Create a backup of current system.
  3. Now run Aroma File Manager from CWM. The first time AromaFM is run, you need to change the Settings to automount all partitions on startup. Next, exit from Aroma and once again reopen Aroma from CWM.
  4. From AromaFM, copy the following file /data/data/com.android.providers.settings/databases/settings.db to /sdcard/.
  5. Download and run SQLite Database Browser portable from http://sqlitebrowser.org/
  6. Open the database file settings.db in SQLite Database Browser. Create a backup copy, and edit the original file:
  7. Browse data > Table: secure
  8. Edit the following to the new values here:
  9. lockscreen.lockedoutpermanently: 0
    lockscreen.patterneverchosen: 0
    lock_pattern_autolock: 0
  10. Save the database.
  11. Now replace the edited file in the original location: /data/data/com.android.providers.settings/databases/
  12. Use CWM’s “Fix permissions” option
  13. restart the phone.

Now, You will find that the phone is now unlocked, and you no longer have the phone nagging you to supply the Google account and password.