Jump to content



Recommended Posts

guys....i have a s4 duplicate model running android......i forgot the pattern and signing.in.using.account is not working.....

i tried all.the key combination.to enter factory reset mode...but not getting....

pls help

If you have enabled "usb-debugging" in your phone,  then you can try the following method by m.sabra:

ok so not long ago i had a problem with a locked android device with a pattern and i managed to unlock it using adb,so here's how in case you were stuck one day with a locked device.

the device needs to have usb debugging enabled in case usb debugging isn't enabled and you have cwm you can run the same instructions from cwm,root is not required (though it will be so better if the device was rooted)

this was tested on:gingerbread,ice cream sandwich and jelly bean.

both method are through adb.

method 1:


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';

method 2:


adb shell rm /data/system/gesture.key

and that's a video showing how method 2 is done (thanks to melvinchng) : http://www.youtube.com/watch?v=tVJ7T...layer_embedded

you can try both of them,here is how i managed to remove the lock:

1- run the first method.


3-run the second method



-in the first method each line is a seperate command so click enter after typing each line.

-in the second method type all the command and then press enter.

-after running both methods and rebooting you may see the pattern lock,that doesn't necessarily mean it doesn't work,just try any random pattern and it may unlock then remove the pattern from settings.

-this may and may not work,it may work on some devices and don't on others,so all you can do is trying it but i can't assure it will work.

Source : http://forum.xda-developers.com/showthread.php?t=1800799

Link to comment
Share on other sites

  • 1 year later...

First you have to get unclock code. 
Switch ON your Samsung mobile phone with a NOT ACCEPTED SIM Card.
Don't bother about what's being displayed on your Samsung Galaxy mobile
Compose : #0111*CODE#.There are various site like classicunlocking.com from where you can get unclock code. You can also check at Samsung India site in its support option

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...