Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have CM10 running on my rooted Galaxy Nexus and I just enabled the disk encryption. However, I can't find any options what happens after a few failed attempts? I would like to reset and wipe my data and files so that it will be usable, but without any of my data. Cerberus is flashed, so I think I'll have a better chance at recovering my phone if it's usable and not completely locked.

I have set a profile with tasker + secure settings to shutdown after 3 failed PIN attempts (which is different than the encryption password), so I should be save there and a thief would be forced to guess my much safer encryption password.

I know that I can do it with cerberus, but only manually.

@Robert answered a similar question, that is possible with encryption, but doesn't get specific.

Bonus point: Is there any possibility to use a pattern instead of a PIN for the display lock? It's unavailable after encrypting..

share|improve this question
Define 'usable'? Android will automatically wipe after 30 unsuccessful attempts, but this value is hard coded. – Nikolay Elenkov Dec 17 '14 at 1:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.