Short answer
On a Pixel, turn on Repair Mode in Settings, System, Repair mode: the phone restarts into a clean space with your data locked behind your screen lock. On a Samsung running One UI 5 or later, turn on Maintenance mode in Settings, Advanced settings, or through the Samsung Members app: photos, messages and contacts become inaccessible until you turn it off. On any other Android, the choices are a full backup and factory reset, a guest user for the technician, or keeping private files in an encrypted vault with its own code. Whatever you do, remove the SIM and back up first.
On this page
What a repair technician can actually see
The honest answer is: whatever you can see. To test a replaced screen, a technician needs the phone to boot and respond to touch, and many shops ask for your screen lock so they can open the camera, the gallery and the settings. Once a phone is unlocked, your gallery, your messages, your email and your Google Photos library are a tap away, and a locked album that opens with the same screen lock opens for them too.
Most technicians are professionals who look at nothing. The point of preparing is that you should not have to rely on that, and the preparation takes ten minutes.
On a Pixel: Repair Mode
Google's Repair Mode puts the phone into a separate, clean space while your data stays locked away. Google's own page describes it as follows.
- Update first
Install any pending system update, so the technician is testing the latest software.
- Open Settings, System, Repair mode
Follow the on-screen instructions and enter your PIN, password or pattern. If you have none set, you are asked to create one. Do not share it with the technician.
- Let it restart
After the restart the phone is in Repair Mode. Some first-party apps are available for testing, and the technician's diagnostic tools do not interact with your data.
- Remove the SIM
Google suggests taking the SIM card out and keeping it before you hand the phone in.
- Afterwards, exit
Settings, System, Repair mode, or tap the Repair Mode notification, then enter your code. Anything created in Repair Mode, by you or the shop, is removed on exit.
Google says only certain devices can enter Repair Mode: Pixel phones on the Android 14 December 2023 update or later, with at least 2 GB of free space. Google also says not to create a new PIN once in Repair Mode. If the menu entry is not there, the section for other Androids below applies.
Sources: Pixel Phone Help: Use Repair Mode
On a Samsung: Maintenance mode
Samsung's Maintenance mode does the same job on Galaxy phones running One UI 5 or later. When it is on, Samsung says photos, videos and other personal files cannot be accessed, contacts and call logs are inaccessible, messages cannot be viewed, and only pre-installed apps are available.
- Back up and update
Samsung recommends a backup through Samsung Cloud or a computer first, and the latest software. Remove any SD card and accessories.
- Turn it on
Settings, Advanced settings, Maintenance mode, on some phones under Battery and device care instead. The Samsung Members app has it under the Support tab too. Toggle it on and confirm.
- Let it restart
The phone restarts into Maintenance mode. The technician can test hardware and use the pre-installed apps, signed out of your accounts.
- Afterwards, turn it off
Settings, Advanced settings, Maintenance mode, toggle it off, and the phone restarts normally with your data back.
Check what your service centre asks for. If they need the phone in normal mode to reproduce a fault, the rest of this page is your fallback.
Sources: Samsung: How to use Maintenance mode on your Galaxy smartphone or tablet
On every other Android
Most phones from other makers have no repair mode. You have three options, and they are different in how much they protect and how much work they are.
- Back up, then factory reset
- The cleanest. Back up to your Google account or a computer, then Settings, System, Reset options, Erase all data. Know your Google account password: Android's factory reset protection asks for it on the next setup, which is how a reset phone proves it is yours. The cost is restoring everything afterwards, and some repairs need a phone with data on it to reproduce a fault.
- A guest user for the technician
- Settings, System, Multiple users, lets you add a guest profile with its own space on the device. Hand the phone over in the guest profile with your own profile locked. This hides your apps and files from a casual look, but the technician can switch users from the lock screen, so your own lock has to hold.
- Keep private files where the screen lock does not reach
- Secure Folder on older Samsungs without Maintenance mode, or a vault app with its own code. The phone can be unlocked and tested while those files stay sealed. This is the only option that works when the shop insists on your screen lock.
Sources: Android Help: Reset your Android device to factory settings, Android Help: Help prevent others from using your device without permission, Android Help: Delete, switch or add users, Samsung: What is the Secure Folder and how can I use it
Why Locked Folder is not enough here
Google Photos Locked Folder is the obvious thing to reach for, and in most of life it is fine. In a repair it has one weakness: Google states that it opens with your device screen lock and cannot have a different one. If the shop has your screen lock to test the display, it has your Locked Folder too.
The same applies to any locked album that uses the phone's own lock. For a repair, you want either a mode that hides everything, or a place whose code is not the one you wrote on the repair form.
Sources: Google Photos Help: Locked Folder
Where a vault app fits, including ours
We make AlterVault, so weigh this section accordingly. Repair Mode and Maintenance mode are the right answer on phones that have them, and nothing from the Play Store replaces them. A vault app is for the two cases they leave open: a phone without either mode, and a repair that needs the phone in normal mode with your screen lock.
In both cases the vault stays sealed while the phone is open. Each file is encrypted with XChaCha20-Poly1305 behind a six-digit code that is not your screen lock, and the key is derived from that code with Argon2id, so the files are unreadable without it even to someone browsing the phone's storage. If a technician opens the app and asks what it is, a shake shows an ordinary gallery. The free version holds 10 items, enough for the photos you would rather not explain.

Welcome back!
Enter your PIN
A vault does not hide that it exists, and it does not hide anything you left outside it. It also needs a backup you keep elsewhere: if the shop replaces the phone or wipes it, a local vault goes with the old storage. The app sends anonymous usage events and a purchase check, never your photos, file names or code.
The copies no mode hides
Repair Mode and Maintenance mode lock the phone. They do nothing about the places your photos already are, and a technician with your unlocked phone is also a technician with your signed-in apps.
- Google Photos in a browser
- If backup is on, your library is at photos.google.com from any computer. That is not a repair risk, but it is why a photo hidden on the phone is not hidden.
- Chat apps
- WhatsApp, Telegram and Instagram keep their own copies of received and sent photos, and the apps open without a separate lock on most phones. In the guest-user and vault options above, these are still open.
- The SD card
- Samsung says to remove it, and Google says to take out the SIM card. A card is readable in any computer, whatever the phone is doing.
- Recently deleted
- Google Photos and Samsung Gallery both keep deleted items for 30 days. Empty both if what you are hiding is something you deleted.
Sources: Pixel Phone Help: Use Repair Mode, Samsung: How to use Maintenance mode on your Galaxy smartphone or tablet, Google Photos Help: Locked Folder
The ten-minute checklist
- Back up
Google account backup, Samsung Cloud, or a computer. Repairs sometimes end in a reset, and Google and the repair partners say they are not responsible for data loss.
- Take the SIM card out
And the SD card, if there is one.
- Turn on the repair mode your phone has
Repair Mode on a Pixel, Maintenance mode on a Samsung with One UI 5 or later.
- Otherwise choose: reset, guest, or vault
Reset if you can live without the phone's contents for a day. Guest if the shop only needs to test hardware. A vault if they need your screen lock.
- Do not write your screen lock on the form
If the shop needs a code, set a temporary one for the repair and change it back afterwards. Turn fingerprint unlock off, since it is a second way in that a mode does not change.
- Check on return
Exit the repair mode, confirm your data is there, change any temporary code, and check Settings, Security, for devices or accounts you do not recognise.
Sources: Pixel Phone Help: Use Repair Mode, Samsung: How to use Maintenance mode on your Galaxy smartphone or tablet
Questions
Can a phone repair shop see my photos?
If the phone is unlocked for testing, yes: the gallery, messages and signed-in apps are open, and a locked album that uses the screen lock opens too. Pixel Repair Mode and Samsung Maintenance mode exist to prevent this. On other phones, a factory reset, a guest user or an encrypted vault with its own code are the options.
How do I turn on Repair Mode on a Pixel?
Settings, System, Repair mode, then follow the prompts and enter your PIN, password or pattern. The phone restarts into Repair Mode. To exit, go back to the same setting or tap the notification and enter your code. Google says it needs a Pixel on the Android 14 December 2023 update or later with 2 GB free.
How do I turn on Maintenance mode on a Samsung?
On One UI 5 or later: Settings, Advanced settings, Maintenance mode, or under Battery and device care on some phones, or through the Samsung Members app. Toggle it on, confirm, and the phone restarts. Back up first, and remove the SD card.
Does Maintenance mode hide photos?
Yes. Samsung says photos, videos and other personal files cannot be accessed while it is on, along with contacts, call logs and messages, and only pre-installed apps are available.
Should I factory reset my phone before a repair?
It is the most thorough option, and the right one if your phone has no repair mode and the shop only needs to test hardware. Back up first, and make sure you know your Google account password, because the phone will ask for it at the next setup.
Is Google Photos Locked Folder safe during a repair?
Only if the shop never has your screen lock. Google states that Locked Folder opens with the device screen lock and cannot have a different one, so a technician with your lock can open it.
What if the repair shop needs my PIN?
Set a temporary PIN for the repair and change it back afterwards. Turn off fingerprint unlock. Keep anything private either in the phone's repair mode or in a place with a code of its own, such as Secure Folder or a vault app.
Can the technician still see my photos in Repair Mode?
Not according to Google: Repair Mode is a separate space, your data stays locked behind your code, and anything created during the repair is removed when you exit. The same applies to Samsung's Maintenance mode.