A photo vault protects photos that are locked inside it. It can't protect what is already outside it, what is on the screen while it is open, or a phone that someone else fully controls. In practice that means five limits: someone holding your unlocked phone can try to guess your vault PIN (waits slow this down); root access, deep malware or forensic tools on an unlocked phone can get around any app; whatever is on screen can be seen or filmed; copies you take out, and originals left in the gallery or in cloud photo backups, aren't protected; and losing both your backup file and your recovery words loses the vault. We make HideBerry, an encrypted vault for Android, and we list these limits on every page that recommends it. Below is what each one means and what you can do about it.
This page is part of photo encryption and security explained.
What a vault does protect against
Limits make more sense next to what works. With HideBerry's design (each item encrypted with AES-256-GCM, an encrypted index, a PIN that goes through Argon2id and a key in the phone's secure hardware), these are the situations it is built for:
| Situation | Protected? | Why |
|---|---|---|
| Someone scrolls your gallery | Yes | Items in the vault aren't in the gallery |
| An app with photo access looks through your storage | Yes | Vault items are encrypted, names and thumbnails included |
| Someone copies the vault files to a computer | Yes | They can't be opened with the PIN alone; part of the key stays in the phone's secure hardware |
| Your phone is lost or stolen while locked | Yes, with a screen lock | The vault's device key can't be used while the phone is locked |
| Someone gets a screenshot of the vault | Yes | Screenshots and screen recording of the app are blocked |
| A cloud or ADB app backup of your phone | Yes | HideBerry turns app data backup off, so these don't copy the vault |
Now the limits.
Limit 1: someone holding your unlocked phone
If someone has your phone unlocked, they can open HideBerry and try PINs or patterns. The vault doesn't open for them, but they get to guess.
What slows them: the first 4 wrong tries have no wait; then 30 seconds after the 5th, 1 minute after the 6th, 5 minutes after the 7th, 15 minutes after the 8th, and 30 minutes after the 9th and every one after. That is about 56 tries in the first day. Against a random 6-digit PIN, that is a very long road; against your birthday, it isn't.
What doesn't: the waits are rules in the app, not encryption. Someone with root, or who moves the clock forward, can get past them.
What you can do: use a PIN longer than 6 digits that isn't about you, keep it different from your phone's PIN, and don't hand over your phone unlocked for long. The numbers are on guessing protection and lockouts.
Limit 2: root access, deep malware or forensic tools
Root means full control over Android on the phone, beyond what any normal app is allowed. Malware with deep system access is a harmful app that has gained similar control. Forensic tools are specialist kits used to pull data from phones. On an unlocked phone, any of these can get around what an app does to protect itself.
What this means for keys: Google's Android documentation says that if the OS is compromised, an attacker can't extract hardware-bound keys from the device but might be able to use them on it. So the key still can't be copied away, but someone in control of the phone can make the phone do the work: skipping the waits, watching the screen, or reading what the vault decrypts while you use it.
What you can do:
- Keep a screen lock. With one set, HideBerry's hardware key only works while the phone is unlocked.
- Install apps only from sources you trust, and don't grant accessibility or device admin access to apps you don't know.
- Don't root a phone that holds a vault you care about.
- If you think the phone is compromised, don't open the vault on it. Restore from a backup file on a phone you trust, using your recovery words.
No app can promise to stop an attacker who controls the phone, and we don't.
Limit 3: what's on the screen
Encryption covers stored data. Once a photo is open, it is light coming off your screen.
- HideBerry blocks screenshots and screen recording of the app and hides the recent-apps preview.
- It can't stop someone looking over your shoulder or filming the screen with another phone.
- Google notes that
FLAG_SECURE, Android's screenshot-blocking setting, isn't reliable against overlay attacks by other apps.
What you can do: open the vault where people can't see your screen, tap Lock now when you're done, and set auto-lock to immediately if you hand your phone over often. More on blocking screenshots and the recent-apps preview.
Limit 4: copies outside the vault
A vault protects its own copy. It has no power over copies elsewhere:
- Originals in the gallery. HideBerry checks its copy byte for byte, then offers to delete the original through Android's own dialog on Android 11 and newer. On Android 9 and 10, you delete it in your gallery app yourself. If you skip this, the original is still there.
- Cloud photo backups. If Google Photos or another service backed up a photo before you put it in the vault, that cloud copy is untouched. Check your cloud library and delete it there. Steps for Google Photos are on hide photos in Google Photos.
- Copies you take out. Take out saves a normal, unencrypted copy outside the vault. The app labels this as leaving the vault's protection.
- Photos you sent to someone. Once a photo is in a chat or an email, it lives on their device and the service's servers.
What you can do: after putting photos in, check three places: gallery, cloud photo library, and the downloads or folder where you took anything out.
Limit 5: losing both the backup file and the recovery words
HideBerry has no account and no server. Nobody, including us, can open a vault or reset access. That is the point, and it is also the risk.
| You still have | Result |
|---|---|
| Phone, PIN | Everything works |
| Phone, recovery words (forgot PIN) | Choose a new PIN; everything stays |
| Backup file, recovery words (phone lost or new) | Restore on any phone |
| Backup file only | Can't be opened |
| Recovery words only | Nothing to restore |
| Neither | The vault is gone |
Deleting the app also deletes the vault on that phone. What you can do: write the 12 recovery words on paper and keep them somewhere safe, make a backup file after you add things, and save it off the phone. If you're already in this spot, read photo vault recovery without a backup.
Other things worth knowing
- The vault itself is visible. HideBerry doesn't disguise its icon. Someone looking through your apps can see you have a vault, even though they can't open it.
- Being made to unlock it. If someone forces you to open the vault, encryption doesn't help. That is a safety problem, not a technical one.
- A weak phone screen lock. A vault's protection is stronger when the phone's own lock is strong, because the phone's lock comes first.
Warning signs that a vault is overpromising
Be wary of any vault app (ours included, if we ever slip) that:
- says nothing can ever get in, with no mention of root, malware or the screen
- promises to recover your vault if you forget everything, which means someone else holds a key
- doesn't say what happens to originals in the gallery and the cloud
- doesn't say how the PIN becomes a key, or how guessing is slowed
- needs an account and internet access without saying why
The questions to ask before trusting any vault are listed on the photo encryption and security pillar.
Your checklist to close the gaps
- Set a phone screen lock, and keep it different from the vault PIN.
- Use a vault PIN of more than 6 digits, not a date or a keypad shape.
- Delete originals from the gallery after putting photos in.
- Delete cloud copies made before you put photos in.
- Write the 12 recovery words on paper.
- Make a backup file and save it off the phone, then again after adding more.
- Set auto-lock to match how often others hold your phone.
- Don't open the vault on a phone you think is compromised.
People Also Ask
Can a photo vault protect me if my phone is hacked? Partly. Files copied off the phone still can't be opened with the PIN alone, because part of the key stays in secure hardware. But someone with deep control of an unlocked phone can skip app waits, watch the screen and see what you open. Restore your backup on a clean phone instead.
Is a vault useless if someone has my unlocked phone? No. They still need your vault PIN, and HideBerry's waits allow about 56 tries in the first day. A long, unpredictable PIN keeps that person out for a very long time. What a vault can't do is stop someone with root or forensic tools on that unlocked phone.
Does a vault protect photos already in Google Photos? No. A vault protects its own copy. Anything Google Photos or another service backed up before you moved the photo stays in that cloud until you delete it there. Check your cloud library after moving photos into a vault.
Can the developer recover my vault? Not for HideBerry. There is no account, no server and no copy of your keys. Your 12 recovery words and a backup file are the only way back if you lose the phone or forget the PIN.
FAQs
What can't an encrypted photo vault protect against?
It can't protect against someone with root access, deep malware or forensic tools on an unlocked phone; what's on the screen while the vault is open; copies outside the vault such as originals and cloud backups; and losing both your backup and recovery words. Someone with your unlocked phone can also try guessing your PIN, though waits slow that down.
Can someone with root access open my vault?
Root lets someone get past an app's own protections, such as wrong-attempt waits, and watch what the app does. They still can't copy the hardware-bound key off the phone, and they still need your PIN or recovery words to unlock the vault, but a short or predictable PIN gives them a real chance.
Is my vault safe if my phone is stolen?
If the phone was locked with a screen lock, the vault is in good shape: HideBerry's hardware key only works while the phone is unlocked, and copied files can't be opened with the PIN alone. Restore your backup file on a new phone with your 12 recovery words.
Why do you list limits for your own app?
Because a vault that sounds perfect leads people to take risks they wouldn't otherwise take. Knowing the limits tells you which habits matter: a strong PIN, a screen lock, deleting originals and keeping your recovery words safe.
Has HideBerry had an independent security assessment?
No outside security assessment has been done. Everything we say about HideBerry's protection comes from its documented design, which we publish on HideBerry security, along with these limits.
Know the limits, then decide
HideBerry is coming soon to Google Play. It encrypts everything you put in, needs no account or internet, and tells you plainly where its protection ends. Read the full design and every limit on HideBerry security before you choose.
Sources
- Android Keystore system, Android Developers
- Secure sensitive activities, Android Developers