Unlock Android Pattern Lock With Command Line Prompt

Here you will be knowing how to unlock an Android tablet pc using command line prompt on a  general Computer PC by accessing the Android shell.

Sponsored

To unlock pattern password through your Computer PC, first you need the following software:-

1) Android Developer Tool. ( Only one folder of Android Developer tool is required i.e.  platform-tool) download the Full Android Developer tool from here (400 MB)  or if you want only the platform-tools file then click here (900KB) to download.

2) Tablet PC drivers.

Also See :

  1. To unlock the tablet through hard or factory reset
  2. Other methods of pattern password unlocking 

Now note the following steps required to unlock the tablet:

1) Connect the tablet to your system through a USB cable. The system will automatically detect the drivers for the Tablet PC. To check if the drivers were detected, you can right click on the My Computer icon. Then click on Manage option in the appeared menu and select the option Device Manager.

tabelet pc drivers

2) In case the Drivers are not detected automatically, then the sign shown below will show up  in the Device manager. This means the drivers have to be installed manually.

drivers not detected

Under the option “Other devices” select “Android“. Right click on it and then select “Update driver“. In the window which comes next, following two option will be available:-

1. Select automatically for updated driver software.

2. Browse My computer for driver software.

Select first option but make sure you are connected to the Internet. After clicking on the first option the drivers will be downloaded from the Internet.

If the drivers were not installed automatically then you will have to go for the 2nd option which says “Browse My computer for drivers software“.   Click on it and located the drivers folder on your computer itself.

After the drivers have been installed. Open the command prompt, for that go to Run and type cmd then press Enter.

In the command prompt, change the drive location to the downloaded drivers location. For this use the command “cd <folder path>” eg. cd desktop/platform-tools

When the folder ‘platform-tools’ path is brought in the command line, type the command adb shell and press Enter. Now enter the command rm /data/system/gesture.key and press enter.

unlock tablet commandsCheck other Unlocking Software for PC:-
1- Allwinner Tablet
2- Rockchip Tablet

Thereafter,  look into tablet and give any pattern sequence. Your tablet pc will get unlocked.

Related Posts Plugin for WordPress, Blogger...

  • Benjamin Hatch

    I have a astro tab a724. This tablet has no external volume butons . The only external button is the power button. I put a pattern password on it a little wile ago and I forgot what it was. I’m trying to find a factory reset for this. Any answers would be helpful

    • Try to hold power key for 40-50 seconds or insert pin in reset hole. it will reset the device automatically
      or you can download its flash file & select user data through SP Flash tool
      and flash the device
      It will unlock your device

      • Benjamin Hatch

        I can reset it but it keeps coming back to the patern screen I need to do a factory reset because I can’t remember the patern password

      • Benjamin Hatch

        How would I download it’s flash file?and special splash tool?

  • Atul Chawathe

    My device is Micromax P362 tablet.
    After installing Android ADB Interface, it shows exclamation mark in Device manager.
    Hence the device is not detected. How can i proceed further?

  • elizabeth

    I have an irulu tablet. Nephew forgot password and nothing I have tried will reset it. help!! I cant even reach customer support for help.

  • lynell allen

    I have a genius tablet it’s locked on voice password sn I can’t unlock it

  • Virgil

    hi, my daughter has a yopad android tablet but forgot her password. tried following the other steps on how to do a factory reset but unfortunately, this tablet does not have a home nor a volume button. what to do next?

  • Khushi Singhal

    i have sony xperia c3 and i am locket out becouse i forgot the pattern. i tried this method but when i type platform-tools in the command it comes “This system cannot find the path specified”
    Please help.

  • guest

    my tab is huawei s7-301u i frgot my pattern and was not able to open it so i tried so many combinations of pattern for 15 times and now it says to login with google account and the tablet does not even connect to the net so i was not able to try that method
    i tried guru’s method still in my PC it does not detect my tablet what shall i do.
    i also tried reseting it still it just switch on and gets switch off and again it asks for my google acount pls help me

    • Your mobile should be charged atleast 70 percent.
      Switch off your mobile.
      Press & Hold Power+volume up+volume down.
      When android logo with yellow exclamation mark appear release power button
      then screen with lining will appear
      Release volume up key
      but hold volume down for next 10 seconds
      Ok will appear at screen
      First booting after hard reset will take 5-8 mnutes

  • Sridhar Reddy

    wen i typed adb shell am getting $ symbol instead of #..though i tried with

    “rm /data/system/gesture.key” and am getting msg as

    rm failed for /data/system/gesture.key, Permission denied”

    y am not able to get # symbol…wat i have to do for getting #..i guess if i get # symbol then for sure pattern will get break..

    please help me Admin.

    • rajak

      even i have the same problem plz admin help us

      • The Guy With Random Stuff

        lemme help, the # sign means that your tab is rooted, and the $ sign means it’s not.. Root your tab. Check google on how to root a tab using adb.’.. HOPE I HELPED!

  • Jerrell Jabbo Morrow

    Please Guru can you help me please,my problem Is that I got a supersonic SC-91JB. This tablet does not have any volume button so I can’t do the steps you say go through.but I did hook up a keyboard and was using the vol buttons on that. But I still can’t unlock my tablet, Please if you can Help me out I would appreciate it. Thank you for your time and patient concerning this matter.

  • Inu

    which software is used for unlocking pattern lock …other than tablet ….

  • HBtsunami

    How do I unlock a Jazz c725?
    The driver was updated after I plugged it into the computer.
    Am I still able to access any apps signed on before the update?
    Thanks

  • nayan

    i have a mid android 7-inch and he is locked many pattern attempt and i forget my gmail account and usb debbug mode is olso disseble so how can i reset this tablet

  • terrence

    i tried the reset button hold down power and volume button..i get to the android laying screen.. but i can’t get to the recovery menu.. mine is a13 allwinner q8-v0709..

    • Now press the volume down + power button to enter into the recovery menu.

  • T5UNAMI

    real working method

    One . Tap file download platform -tools ( 900KB )

    2.Connect the tablet to your system through a USB cable . The System will automatically detect the drivers for the Tablet PC . To check if the drivers Were detected , you CAN right click on the My Computer icon . Then click on Manage option in the menu and select the option appeared Device Manager.

    March . Drivers In the case has not detected automatically , THEN the sign Shown Below Will show up in the Device manager. This Means the drivers have to be installed manually .

    4.Under the option “Other devices” select “Android ” . Right click on it and THEN select “Update Driver ” . In the window Which comes next , GMT Will be available two option : –

    One . Select automatically for updated driver software .

    Two . Browse My computer for driver software .

    Select first option but make sure you have connected to the internet. After Clicking on the first option the drivers downloaded from the Internet Will Be .

    If not installed the drivers automatically Were Will THEN you have to go for the 2nd option Which says “Browse My computer for drivers software ” . Click on it and the drivers folder located on your computer Itself . Download the drivers from here . Download Tablet PC drivers .

    After the drivers have been installed . Open the command prompt , for That Go to Run and type cmd THEN press Enter.

    In the command prompt , change the drive location to the downloaded drivers location . For this use the command ” cd ” eg. cd desktop / platform -tools

    When the folder ‘platform -tools’ is Brought path in the command line , type the command adb shell and press Enter.

    THEN TYPE A and the Tablet Will be reset to it’s factory setings . Thanks in advance !!
    e-mail me if this method worked for you because the method above didn’t work for me

    • Thanks for this method.

    • terrence

      i tried but its say don’t recognised the memory internal or external..help please..

    • terrence

      i can’t too..its always say not recognised path..

    • Guest

      wen i typed adb shell am getting $ symbol instead of #..though i tried with

      “rm /data/system/gesture.key” and am getting msg as

      rm failed for /data/system/gesture.key, Permission denied”

      y am not able to get # symbol…wat i have to do for getting #..i guess if i get # symbol then for sure pattern will get break..

      please help me Admin

    • Drama Lover Min

      I got this message

      ‘adb’ is not recognized as an internal or external command, operable program or batch file

      what to do?

  • rozit deula

    my android phone sky vega how can i find my driver and how to download multi tools…i cant find

  • terrence

    i have a13 q8-v0709 can go to recovery mode not been debugging either..can you plz help

    • Now only hard reset and Android re-installation will work on your tab. See the link in above post.

      • terrence

        does my tablet got any power reset key..because i can’t get in the recovery mode..once i see a laying android logo..help me..plss

        • If you are see the lying Android logo then you are one step away from reset menu. Just press the volume down + power button to enter into the recovery menu.

          • terrence

            i try but i still can’t get to the recovery menu..help me with the button please..

          • Then try the different button combination.

          • pau

            I also have the same problem. I’m stuck in laying android logo. ive tried also the vol down + power button to enter the recovery menu but still it is not working. pls help 🙁

          • Try random key combination.

      • Alex De Leon

        Do you know any free unziping app??

  • rajit deula

    sir i have anroid device i mean sky…….plz give me solosution

  • sagar saha

    i am having iball slide i6012 tablet. it is not having volume buttons.only power, menu and back button are available.forgot the pattern how to reset???

    • Tablet Guru

      Try pressing the menu + power button together.

  • Mohamed

    i have station china tablet too many pattern attempt… so plz salve the solution.. is not working power+up+home…

    • Ashish Karn

      In that case you should android multi tool for hard reset your device via PC

  • Robby

    I have a few of these tablets, all with pattern lock.. i tried everything nothing seems to be working… Would really appreciate if anyone could help me out, my email: robby_persaud@yahoo.com. Thank you.

  • Ajey

    i have bsnl penta IS709C tablet and i forgot my pattern and also forgot my gmail id, password and that time i can’t what to do with this tablet. let me find the way to solve this problem please do the needful.

  • rohit

    I have an andriod china tablet named sago s708. I forgot the pattern lock. And i tried many key sequences.and i cannot install device driver software too.what should i do? Can u email me please.my email id is c.rohit25@yahoo.in

  • Bhavya Agarwal

    I have a karbonn smart tab and I have tried to unlock it through the hard set method but after pressing the keys required for the same the screen that should come is not coming, the tablet remains off. What should i do .

    • Tablet Guru

      Which Smart tab you have got. Give me the name I will provide you drivers, through which you can use the Android Multi-tool software to unlock it.

  • I locked my self out of my tablet and can’t get back in and its not an drawing one its an word one and I need help and I tried to do the reset but still won’t work

  • sajidh

    Hi.. tab guru In need a help from you can you help me ?

    • Ashish Karn

      Sajidh feel free to ask. 🙂

  • Rehana

    Hi,

    I have a croma tablet which has been locked by too many password attempts.
    If the debugger is not on, can i still unlock it using above method?

    • Tablet Guru

      In that case you have to use the hard reset method to unlock the tab.

      • Rehana

        i tried hard reset by pressing the power button and volume + , nothing works
        power button and volume up and volume down, still nothing happened.

        tried to reset using command prompt
        adb shell returns “No device found”

        • Tablet Guru

          Make sure that USB debugging is switch on and drivers are installed.

        • Rehana

          i think USB debugging is switched off that’s why it cannot detect the device.
          what to do in this case???

  • arnab

    thanks.. this does work gr8.. only the debugger should be on.

  • Adjoa

    Dear Tablet Guru. My daughter android 4 tab has been locked because of too many password attempts. I was doing the command prompts on the screen shots example.I typed in cmn however its not accepting the command of the folder path. Advise on what to type in exactly. Thanks

    • Tablet Guru

      Download the platform-tool zip file from above post and extract it on desktop. A folder named platform-tools will be shown on the screen. Now on the command line make sure you are on the C drive, as something like this C:/Users/Adjoa must be on the command line.
      On command line type cd Desktop/platform-tools and press enter.
      Now follow the instructions as mention above.

      • jebe

        Hi..i follow instructions above for command but it said that” ‘adb’ is not recognized as an internal or external command, operable program or batch file.” Please help me i try all the ways to reset my tablet but it doesn’t work i think this is the last chance i have..pls send me a reply in my email..thanks so much..

        • Tablet Guru

          It means you are not in the correct folder.

  • Mehul

    I’ve the same tab showed in the video above. In my tab samsung is written but i know its not samsung as i bought it from a local shop in bangkok. I forgot the pattern and i don’t have usb debugging on. i’m trying to go to recovery mode but whenever i try an android logo appears lying down on the chest with a red triangle.Please help. I tried the wipe data software but it didn’t detect the tab.