Sync Android Photos Privately and Encrypted with Syncthing (No Root)
11 min read
Step‑by‑step guide to install Syncthing on Android, configure a secure encrypted photo folder, and keep pictures in sync across devices without using cloud services.
September 28, 2026 12:00
Before you start
Syncthing is an open‑source, peer‑to‑peer file synchronization tool that works over Wi‑Fi or mobile data without any third‑party cloud. It encrypts traffic with TLS, so your photos never leave your devices in an unprotected form.
- Devices needed: at least two Android phones (or a phone and a tablet) that you control.
- Network: Wi‑Fi is recommended for the initial pairing; mobile data works once devices are trusted.
- Battery: Keep devices charged above 50 % to avoid interruptions during the first sync.
- Backup: If you already have photos in a cloud service, consider making a quick local copy before moving them.
Note: Syncthing does not require root. All operations are performed in user space, so the procedure works on stock Android, Samsung One UI, Pixel UI, and most custom ROMs.
Step 1: Install Syncthing on Android
- Open the Google Play Store (or F-Droid for the open‑source build) on each device.
- Search for Syncthing and tap Install. The package name is
com.nutomic.syncthingandroid.
- After installation, launch the app. The first launch will ask for permission to access files. Tap Allow for
Storage (or All files access on Android 11+).
- Syncthing will generate a unique device ID. This is a long alphanumeric string; keep the screen open for the next step.
Tip: On Android 12+, you may need to enable “All files access” in Settings → Apps → Syncthing → Permissions to let Syncthing read your DCIM folder.
Step 2: Prepare the Photo Folder
We will create a dedicated folder that Syncthing will manage. Keeping photos in a separate folder avoids accidental sync of unrelated files.
- Open the built‑in file manager (or use a third‑party app like Files by Google).
- Navigate to
/storage/emulated/0/ (the internal storage root).
- Create a new folder named
SyncedPhotos. You can do this by tapping the + button and selecting Folder.
- Copy or move the photos you want to sync into
SyncedPhotos. For a clean start, you might copy only the most recent 100 images.
Warning: Do not place the folder inside another Syncthing‑shared folder, as this can cause recursive sync loops.
Step 3: Create a Device ID and Share It
Each Android device must know the other’s device ID to establish a trusted connection.
- On Device A, tap the three‑dot menu (⋮) in Syncthing’s main screen and select Device ID. A QR code and the raw ID appear.
- Tap Share and choose Copy to clipboard. You can also tap the QR code to share via Android Beam or a messaging app.
- Repeat the same on Device B.
- Now, on Device A, tap Add Device (the plus icon). In the dialog, paste the Device B ID or scan the QR code. Give the device a friendly name, e.g., “Phone‑Bob”.
- Confirm by tapping Save. Device B will receive a notification asking to approve Device A. Accept it and optionally assign a name.
Note: The first time two devices meet, Syncthing uses TLS with self‑signed certificates. The “Approve” step is crucial – it prevents unknown devices from joining your sync network.
Step 4: Add the Photo Folder to Syncthing
- On Device A, tap the + button at the bottom of the main screen and choose Folder.
- Enter a Folder Label such as “My Photos”.
- For Folder ID, keep the default (a short random string) or type
photos for readability.
- Tap Browse and navigate to the
SyncedPhotos folder you created earlier. Select it.
- Under Sharing, enable the remote device you added in Step 3 (e.g., “Phone‑Bob”).
- Leave the default sync protocol (TLS) enabled. Optionally enable Versioning → Simple File Versioning with a keep‑count of 5 to protect against accidental deletions.
- Tap Save. Device A now announces the folder to Device B.
On Device B, a pop‑up will appear: “Folder ‘My Photos’ is offered by Phone‑Alice. Accept?” Tap Accept, then choose a local path (preferably the same SyncedPhotos folder or a different one if you want separate copies).
Step 5: Configure Folder Sync Settings
Syncthing offers several options that affect privacy, battery, and data usage.
- Sync Protocol: Keep the default “TLS” – it provides end‑to‑end encryption.
- Folder Type: Choose “Send & Receive” (default) to keep both devices up to date.
- Ignore Patterns: If you have large videos you don’t want to sync, add a pattern like
*.mp4 to the .stignore file.
- Automatic Scanning: The default 60 seconds works well, but you can set it to 10 seconds for near‑real‑time sync on a fast Wi‑Fi network.
- Battery Settings: Enable “Pause when battery is low” (default) to avoid draining the battery during long syncs.
After adjusting settings, tap the back arrow to return to the main screen. Both devices should now show a green checkmark next to the folder, indicating they are in sync.
Step 6: Verify Encryption and Sync
Even though Syncthing uses TLS automatically, it’s good practice to confirm the connection is encrypted.
- Open Syncthing’s Actions menu (three‑dot icon) and select Show Log.
- Look for lines containing
tls: handshake complete. This confirms a secure channel.
- To test sync, add a new picture to the
SyncedPhotos folder on Device A. Within a few seconds, the same picture should appear on Device B.
- Check the file’s timestamp and size on both devices to ensure integrity.
Tip: If you want to see the raw TLS certificates, tap the folder’s three‑dot menu → Folder Settings → Advanced → Show Device Certificate.
Optional: Fine‑tune Battery and Data Usage
Syncthing is designed to be lightweight, but on older phones you may want to limit its impact.
- Wi‑Fi‑only mode: In Settings → Connections, toggle Only sync on Wi‑Fi if you have a limited mobile plan.
- Background restrictions: On Android 10+, go to Settings → Apps → Syncthing → Battery → Background restriction and set it to “Unrestricted” to keep sync alive when the screen is off.
- CPU usage: Under Settings → Advanced, you can lower the Sync Rate Limit (e.g., 500 KB/s) to reduce power draw during large transfers.
Troubleshooting
Device does not see the other device
- Make sure both devices are on the same local network or that each device’s NAT allows inbound connections (most home routers handle this automatically).
- Check that the firewall on the router isn’t blocking port
22000 (TCP) – Syncthing’s default listening port.
- On Android, go to Settings → Apps → Syncthing → Permissions and ensure Location is granted; some Android versions require location permission for Wi‑Fi scanning.
Folder stays in “Waiting” or “Out of Sync” state
- Verify that the folder path is correct and that Syncthing has read/write access.
- If you see “Permission denied”, re‑grant storage permission (see Step 1) and restart the app.
- Large files (>2 GB) may need the “Large file support” option enabled under Settings → Advanced.
Sync is extremely slow
- Ensure both devices are on a 5 GHz Wi‑Fi band if available; 2.4 GHz can be congested.
- Check for other bandwidth‑heavy apps (e.g., streaming) and pause them temporarily.
- In Syncthing, increase the Max Concurrent Transfers (default 2) under Settings → Advanced.
Unexpected duplicate files appear
- This usually happens when the same file exists with different timestamps. Enable File Versioning (Step 5) to keep older copies and avoid overwriting.
- Alternatively, clean the folder on one device, then let the other device resync from scratch.
When to Reset and Start Over
If you encounter persistent errors such as “Database corrupted” or the app repeatedly crashes, a clean reset often solves the problem.
- Open Syncthing’s Actions menu and select Reset Device. Confirm the warning – this will delete the local database but keep your files intact.
- After the reset, repeat Steps 3‑5 to re‑add the remote device and folder.
Because Syncthing stores only metadata locally, resetting does not affect the actual photos.
Wrap‑up
You now have a private, end‑to‑end encrypted photo sync solution that works entirely on your Android devices. Because Syncthing never stores your images on a third‑party server, you retain full control over privacy while still enjoying automatic backup and cross‑device access.
Remember to keep the app updated (via Play Store or F‑Droid) to benefit from security patches, and periodically review the versioning settings to prune old copies you no longer need.