Stashio
Feature

The recovery code: if you forget your pattern

Each vault gets a 26-character code when you create it. It lets you set a new pattern and opens the vault’s backups. Nobody else has a way in.

Updated 2 min readBy the Stashio team

Short answer

When you create a vault, Stashio shows its recovery code: 26 characters carrying 128 random bits. If you forget the pattern, tap “Forgot pattern?” on the lock screen, enter the code and draw a new pattern; your files stay. The same code opens the vault’s encrypted backups on any phone. Without the pattern and the code, nobody can open the vault.

Why there is no “reset by email”

Most apps let you reset a password through an email link. That works because the company holds your data or a key to it. Stashio holds nothing: no account, no server, no copy of any key. A reset link would need a back door, and a back door is available to anyone who gets hold of it. The recovery code is the alternative that keeps the decision with you.

What the code is

The code is 26 characters long and carries 128 random bits, the same strength as the encryption key it protects. It’s generated on the phone when you create the vault and shown once. Stashio doesn’t allow screenshots of it, so you write it down. Each vault has its own code.

Resetting a forgotten pattern

  1. On the lock screen, tap Forgot pattern?
  2. Enter the recovery code of the vault and tap Verify the code.
  3. Draw a new pattern. Files, folders and the recovery code stay the same.

The code also helps when the pattern stops working through no fault of yours: if the key in the phone’s hardware is gone, for example after a system reset, only the recovery code opens the vault.

Keeping the code safe

  • On paper, away from the phone. A note in your wallet, a page in a notebook at home. If the phone is lost, the code must not be lost with it.
  • Not next to the backup. A backup on Google Drive and the code in a Google Doc on the same account is one password away from both.
  • A password manager is fine if you trust it and it isn’t only on the same phone.

Before showing the code, Stashio checks whether an accessibility service that can read the screen is turned on and warns you if one is, since such a service could read the code too.

Replacing the code

If you lose the code, or think someone saw it, open the vault and go to Settings → New recovery code. The new code is shown first and takes effect once you confirm you’ve written it down; the old code stops working on this phone. Backups made earlier still open only with the old code, so make a new backup afterwards.

Frequently asked questions

Can Stashio support recover my vault?

No. We have no copy of your keys or files and no way to make one. That is the point of the design, and why the code matters.

Does the recovery code open the vault instead of the pattern?

It lets you set a new pattern and it opens backups. Day to day, you use the pattern.

I have two vaults. Do they share a code?

No. Every vault has its own code, so knowing one code reveals nothing about the other vaults.

Keep your photos where only you can open them

Stashio encrypts photos, videos and documents on your phone. No account, no server, no internet permission.

Get it on Google Play

Free · Android 9 and later