Life without Google and Apple: a self-hosted phone ecosystem, and its price
My phone backs up its photos, syncs contacts and calendar, and carries my passwords, and none of it touches Google or Apple. It all runs on a laptop, a Raspberry Pi and a de-Googled phone that I own and run myself. It works. It also took weeks to build, and it can break in more ways than an iCloud account can.
This article is about both halves of that sentence.
Why bother
Most people get four things from their phone's vendor without thinking about it: photos backed up to the cloud, contacts and calendar on every device, passwords that follow them, and a restore when the phone dies. Google and Apple do this well. The price is that they hold the data, on their terms, readable by them in most cases.
I wanted the same four things under a few rules of my own:
- My disk is the archive. The master copy of everything lives on my laptop, as plain files in open formats. Services are transport, never storage.
- No advertising companies, and nothing readable by a provider. Anything that leaves the house is encrypted before it leaves.
- Sovereignty. If a provider closes or locks my account, I lose a convenience, not my data.
- Simple parts. Tools I can understand, replace one at a time, and recover from written notes years later.
The last rule is the one that fights the other three, as you will see.
How the pieces fit
Three devices share the work. The phone creates the data, a Raspberry Pi at home is the always-on meeting point, and my laptop keeps the master copy. A WireGuard VPN ties them together, and it is the only port my home router forwards, so nothing else is reachable from the internet.

The laptop never accepts a connection; it always reaches out to the Pi. That is why the Pi exists: the phone and the laptop never need to be online at the same time.
Photos: instead of Google Photos or iCloud
A photo I take reaches the Raspberry Pi within a minute and my laptop within half an hour. From there it is in every backup.
- On the phone, Syncthing-Fork (the maintained Android app for Syncthing, open source, from F-Droid) watches the camera folder. The folder is send only: the phone pushes, nothing comes back. Discovery, relays and NAT traversal are all off; it knows exactly one device, the Pi, at its address inside the VPN.
- On the Pi, Syncthing receives into a receive only folder.
- On the laptop, a small shell script copies that folder with rsync every 30 minutes. It mirrors the phone: when I delete a photo on the phone, it disappears from the laptop's copy too.
The routine is simple: I move the photos I want to keep from the synced folder into my photo archive, then delete them on the phone to free space. The archive is ordinary folders on disk, browsed with ordinary tools.
Two small details made a difference. Android does not delete a photo at once; it renames it to a hidden "trashed" file for 30 days, and photos still being saved are "pending" files. Two ignore patterns keep both out of the sync. And Syncthing writes a photo under a temporary name while it arrives, so the copy script skips those, or a half-received photo would land in the archive.
What I gave up: face search, maps, shared albums and the "memories" reel. I don't miss them much. What I gained: every original file, at full quality, in a folder I own.
Contacts and calendar: instead of Google or iCloud accounts
Contacts and events sync both ways between the phone and the Pi, using the same open standards Google and Apple speak underneath: CardDAV and CalDAV.
- On the Pi, Radicale serves both. It is a small Python server that stores every contact as a
.vcffile and every event as an.icsfile. No database: a folder of text files any other program can read. - On the phone, DAVx5 connects Android's own contacts and calendar to Radicale, and Fossify Calendar is the calendar app.
- On the laptop, the same 30-minute script copies Radicale's folder into the archive, as a mirror.
Radicale only answers through the VPN. From the internet it does not exist.
I moved my calendar here from Proton a month ago. It is the part of the system I think about least, which is the best thing I can say about it. The one real limitation: sharing a calendar with someone outside my own devices is awkward. For a household that lives inside Google Calendar, this would be the hardest part to give up.
Passwords: instead of Google Password Manager or iCloud Keychain
One encrypted KeePass vault holds every password, recovery code and backup key I have. It is open on the laptop and the phone, and an edit on either reaches the other within about 15 minutes.
- On the laptop, KeePassXC. On the phone, KeePassDX. Both read and write the same
.kdbxfile, a documented open format encrypted with AES-256 and a slow key-derivation function (Argon2id), unlocked by a passphrase I memorize. - Phone ⇄ Pi: a second Syncthing folder, this time send and receive. The Pi keeps the last ten versions of the file.
- Pi ⇄ laptop:
rclone bisync, run every 15 minutes from the laptop over SSH. The laptop never accepts incoming connections, so it has to be the one that reaches out; bisync remembers what both sides looked like after the last run, so it knows which side changed.
The hard part of syncing a password vault is not the copying. It is two devices editing at once. A sync tool cannot merge two encrypted files, so it has to pick one and set the other aside. My setup always lets the laptop win and keeps the phone's version next to it as a conflict file; KeePassXC can merge the two (Database → Merge from database). Before that, both apps are set to avoid the situation: KeePassXC reloads the file when it changes on disk and saves after every edit, and KeePassDX locks itself quickly and warns when the file changed underneath it.
Trade-off I accepted: the Pi holds a copy of the vault on an unencrypted disk. The file itself is still encrypted, so someone who steals the Pi can only try to guess my passphrase offline. Syncthing has a mode that would hide the file from the Pi entirely, but it is marked beta and would have meant running Syncthing on the laptop too. I chose fewer moving parts.
The vault also holds the TOTP seeds for two-factor logins, so the same apps show the codes: KeePassDX on the phone, KeePassXC on the laptop. No separate authenticator app.
What keeps it alive: backups and a status bar
Once the phone's data reaches the laptop, it is protected the same way as everything else I own: three copies, two cloud providers, two different tools, one offline disk.
| Copy | Where | Tool | History |
|---|---|---|---|
| Backup | OVH Object Storage | restic, encrypted | daily, weekly, monthly and yearly snapshots |
| Mirror | Backblaze B2 | rclone, encrypted | hourly, previous file versions only |
| Offline | external encrypted drive, at home | rsync, by hand | none |
No provider can read any of it, and neither a company nor a program can take everything with it.
The second half is knowing that it works. A silent failure is the real enemy: a sync that stopped three weeks ago looks exactly like one that runs fine. So both machines run a small healthcheck framework I wrote in plain POSIX shell, every two minutes from cron. Each check prints one line and an exit code: backups recent, firewall loaded, time correct, updates pending, VPN peers present, the phone seen by Syncthing recently, the photo copy and the vault sync finished cleanly, no unmerged password conflict. The result shows in my desktop's status bar as OK, WARN or NOK for each machine, with the names of whatever is failing. A missing or stale result also shows as NOK, so a dead monitor never looks healthy.
The price: complexity, and more ways to fail
Google and Apple hide one fact: syncing is hard, and they pay whole teams to make it look easy. Doing it yourself means that work becomes yours.
Count the parts. To replace four features, I run a VPN server, dynamic DNS for my home address, Syncthing on two devices, Radicale, two KeePass apps, rclone bisync, two copy scripts on timers, three backup jobs, and a monitoring framework. Each is reliable on its own. But every part is one more thing that can stop, and the chances add up: the more links in a chain, the more likely one of them is broken on any given day.
These are not hypothetical. All of them happened while I built this:
| What broke | Why | How I found out |
|---|---|---|
| The healthcheck called a working sync broken | Daylight-saving time ended, and a timestamp's format changed | Red status bar, the morning the clocks went back |
| The time check raised false alarms | It asked one public NTP server, which sometimes didn't answer | Intermittent red; fixed by asking three |
| The vault sync refused to write | Syncthing on the Pi ran as its own user and owned the folder | "Permission denied" on the first run |
| rclone refused to connect to the Pi | It asked for a different type of SSH host key than the one on record | "key mismatch"; fixed with one setting |
| The phone vanished from monitoring | I reinstalled the phone, and it came back with a new Syncthing identity | The check still looked for the old one |
| The home address could change under the VPN | No fixed IP at home; WireGuard resolves a name only once | Caught in design; a script now re-resolves it |
None of these lost data, because the archive and the backups sit behind the syncs. But each needed someone who could read a log, an SSH error or a shell script. That someone is me, and only me.
The less visible costs:
- Fragile dependencies. The official Syncthing Android app was discontinued; I now depend on a community fork. Small open-source projects can stop.
- A single hub. If the Raspberry Pi dies, photos and passwords stop syncing until I rebuild it. Nothing is lost, but nothing moves either.
- Upkeep never ends. Updates on two Linux machines, my own scripts to maintain, and a recovery procedure that has to be tested again after every change. Android can also decide to kill a background app, so the phone needs settings that keep Syncthing alive.
- The bus factor is one. If I am not around, nobody else in my house could fix this. Writing everything down helps, but it is not the same as a support line.
Is it worth it?
For me, today, yes, with my eyes open. The data is mine, in open formats, readable without any account, and no provider can lock me out of it. That was the goal, and it holds.
But I would not recommend this to everyone. It suits someone who already runs Linux, is comfortable in a terminal, and treats the upkeep as part of the hobby. For anyone else, the honest advice is a middle path: keep a privacy-respecting phone, use a big provider only as transport, and export everything to your own disk on a schedule. You lose some sovereignty and gain a lot of reliability.
The complexity worries me enough that I keep a written reality check. Most of it comes from choices I made, not from any one tool, and I periodically ask which parts I could drop. A few rules keep it survivable:
- Syncs are not backups. Every sync here mirrors mistakes as faithfully as it mirrors data. The archive and the versioned backups behind it are what make a failed sync harmless.
- Monitor the automation, not the daemons. A job that writes a timestamp only after a clean run, and a check that complains when the timestamp gets old, catches nearly everything.
- Write it down. Every part of this has a page of notes: what it does, why, and how to rebuild it. Future me, in a hurry and without a working laptop, is the reader.
Leaving Google and Apple is possible. Just know that you are not removing complexity; you are moving it from their data centre to your desk.
The exit door: back to Apple
If this system ever becomes more burden than freedom, or a risk to the data it is meant to protect, I have a way back, and it is already written down. The trigger is not inconvenience. It is the day I no longer trust myself to rebuild it after a failure, because a recovery I cannot confidently run is itself a risk to the data.
Going back would not mean handing my archive to Apple. The rule would stay the same: the provider is transport, my disk is the archive.
- Photos, contacts, calendar and passwords would sync through iCloud, with Advanced Data Protection turned on before any data is uploaded.
- Scheduled exports would copy everything out to plain files on my own disk: photos with osxphotos, contacts and events as
.vcfand.icsfiles with vdirsyncer, and an encrypted monthly export of the passwords. - The backups would not change: restic, the rclone mirror and the offline drive, all independent of the Apple account. Recovering my data must never require it.
The cost is real. iCloud contacts and calendars are not end-to-end encrypted even with Advanced Data Protection, so Apple could read them. The operating system is closed, and I would be trusting Apple's track record instead of reading the code. In return, the laptop's recovery shrinks to a sign-in and a package list, the Raspberry Pi and the VPN go away, and keeping the phone in sync becomes someone else's job.
Knowing exactly how I would walk through that door is part of what makes staying on this side of it a calm choice rather than a trap.