I am trying to set a lock pattern for my phone with a snoopy guy behind. If he is able to see what my pattern looks like at the end, what is best possible sequence i can set so he will take maximum number of attempts to unlock the phone (assuming he can pry it from my hand)? Rules for the pattern: The pattern should be something that can be set on any android screen lock
The Android imposes these conditions on patterns:
- The dots in the pattern must all be distinct and connected with line segments and only at the end point of which you draw another line segment connecting another dot.
- If line segment passes through a previous unused dot X, then you can't use X as a start/end point again, though another line segment can pass through it.
- If line segment passes through a used dot X and endpoint is not used, it is a valid segment.
- The pattern can have only one start and end point for the pattern
For eg: Assume all dots have same position as a telephone keypad (so 1,1 is 1; 2,2 is 5 etc) if he sees the following pattern:
There are only two combinations he needs to try (6->5->2->1) or (1->2->5->6)
Right now the best i can come up with is this:
There are 4 possible combinations and they are (2->5->8) (5->2->8) (5->8->2) and (8->5->2)
Can anybody tell me a better pattern?