My son forgot his password in my Nexus Tablet. He does not remember the pattern to draw. Is it possible to reset it, or I must delete his account and recreate it?

It used to be possible. Android used to display an option after a number of failures, but it does not work anymore in Lollipop.

I have the password if the admin user. Lollipop does not display the forgot pattern link anymore. If I downgrade, I'll loose all my data.

  • Are you talking about resetting password for a secondary user in Lollipop? – Firelord Sep 9 '15 at 15:48
  • @firelord: yes. Non administrativa user – neves Sep 11 '15 at 3:21

If the device is rooted, resetting the PIN/Password/Pattern involves the same dirty tricks that you would use if Google credentials doesn't work and you don't want to do factory reset.

  1. Install a file manager with root explorer abilities such as ES File Explorer or MiXplorer.
  2. When you're logged in as the primary user, use the file manager to go to /data/system/users/10/ and rename:

    • password.keypassword_old.key // to reset PIN/Password
    • gesture.keygesture_old.key // to reset Pattern

    10 is not absolute here. You'd have to identify which userId belongs to the account whose credentials you want to reset.

  3. Changes would take effect immediately but you may consider restarting the system.

  4. Switch to that secondary user. You can now use any Pattern/PIN/Password and it would unlock the screen.
  5. You can also set a new lock-screen security from scratch.

It is impossible to do in lollipop without loosing all your data. Better to do not upgrade and stay with KitKat.

It is sad that android is so closed, that I can't restore data in my own machine even if I have the root password.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.