← Simulator

Letter P pattern lock

How to draw the letter P as an Android unlock pattern, step by step, on the standard 3×3 grid and on 4×4, with the security score PatternGuard’s analyzer gives each version.

Letter P pattern lock on a 3×3 grid, step by step: 4, 5, 6, 3, 2, 1, 7
Green = start, yellow = end. Numbers show the order.

The letter P on a 3×3 grid

The letter P can be drawn exactly on the 3×3 grid thanks to one Android rule most people don’t know: the stroke may pass over a dot you already used. That lets you go back over a line: in step 7 the stroke passes over dot 4 again.

  1. Start at dot 4 (middle left).
  2. Go to dot 5 (center).
  3. Go to dot 6 (middle right).
  4. Go to dot 3 (top-right corner).
  5. Go to dot 2 (top middle).
  6. Go to dot 1 (top-left corner).
  7. Finish at dot 7 (bottom-left corner), passing over dot 4 again.

PatternGuard’s analyzer gives it 28/100 (Weak): 7 dots, 1 crossing, starting at the middle left.

Try it in the simulator

Is a letter P pattern safe?

Not really. Letters are among the first shapes anyone tries: research on real-world patterns found that about 1 in 10 is shaped like a letter, often the initial of a partner or a child (Løge, 2015). If your name or your partner’s name starts with P, this is one of the first patterns someone who knows you would draw.

A stronger way to use the letter P

If you like the letter P, don’t draw it on its own. Adding 1 dot before it and 1 after it keeps the shape you remember but hides it inside a longer stroke: 8 → 4 → 5 → 6 → 3 → 2 → 1 → 7 → 9 scores 55/100 (Moderate), against 28 for the plain letter P.

It’s still published here, so treat it as an example of the idea, not as a pattern to copy. The safest pattern is one of your own that doesn’t spell anything.

Try this version in the simulator

Letter P pattern lock on a 4×4 grid, step by step: 9, 10, 11, 8, 3, 2, 1, 5, 13

The letter P on a 4×4 grid

Stock Android uses the 3×3 grid; 4×4 shows up in some custom ROMs and lock-screen apps, and the simulator supports it. The letter P can be drawn exactly on the 4×4 grid thanks to one Android rule most people don’t know: the stroke may pass over a dot you already used. That lets you go back over a line: in step 9 the stroke passes over dot 9 again.

Order: 9 → 10 → 11 → 8 → 3 → 2 → 1 → 5 → 13

PatternGuard’s analyzer gives it 40/100 (Weak): 9 dots, 1 crossing, starting at the row 3, column 1.

Try the 4×4 version

Why some letters can’t be drawn exactly

Android’s pattern lock has three rules: at least 4 dots, no dot can be selected twice, and if the stroke passes over a dot you haven’t used yet, Android adds it automatically. Passing over a dot you already used is allowed, which is how letters like P, R or F can be traced exactly. On 3×3, shapes with a closed loop or three or more loose ends (like A, B or O) still need one line left out or one line added; the 4×4 grid has more room, but not always enough.