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:
- Clockwork mod recovery for your phone. I worked with GT-S5360. CWM for GT-S5360 is attached below. [download id=”0″]
- Aroma File Manager 1.80. [download id=”0″]
- Run CWM recovery installation zip from Stock Android recovery.
- Create a backup of current system.
- 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.
- From AromaFM, copy the following file /data/data/com.android.providers.settings/databases/settings.db to /sdcard/.
- Download and run SQLite Database Browser portable from http://sqlitebrowser.org/
- Open the database file settings.db in SQLite Database Browser. Create a backup copy, and edit the original file:
- Browse data > Table: secure
- Edit the following to the new values here:
- Save the database.
- Now replace the edited file in the original location: /data/data/com.android.providers.settings/databases/
- Use CWM’s “Fix permissions” option
- restart the phone.
lockscreen.lockedoutpermanently: 0 lockscreen.patterneverchosen: 0 lock_pattern_autolock: 0
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.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.