I haven’t got to test and prove that it works but, here it goes:
Requirements
Hardware:
- (Old) Google Pixel Phone
- (New) Any other phone
Software:
Syncthingon Both Phones
Hypothesis
You should be able to sync your photos from your new phone to your old phone periodically when you are in your local network and the old phone backs up the photos using google photos which will occupy no storage on google drive since it is uploaded from a Pixel.
Procedure
- Install
syncthingon both devices. - Pair two phones in
syncthing(Both phones need to be in the same local network.) - Setup to sync the
DCIMfolder from New Phone to Old Pixel Phone - Disable google photos backup on New phone and Only leave it enabled on the old phone.
- Put the Old Pixel Phone plugged in and connected to the network. (Basically a NAS)
- The
syncthingdaemon should be running on both devices perpetually. (Disable Battery Optimizations for thesyncthingapp on both devices). - The photos should sync when both devices are in the same network, but the storage of the Old Pixel Phone will be occupied hence periodically click on the
free up space on this deviceoption in google photos on the Old Pixel Phone to prevent filling up the space and stopping the sync. - Enjoy unlimited photos and video storage.
Settings for Device in Syncthing
- For the sending device when adding a folder to sync, choose the
Folder TypeasSend Onlyand setFile Pull OrdertoNewest First, and don’t forget to toggle the paired device on. - For the receiving device when accepting the sync folder, choose the
Folder TypeasReceive OnlyandFile Pull OrdertoNewest First.
Using Tailscale to Sync Beyond Local Network
Make sure everything is connected and working in syncthing before trying this. Also setup your devices to connect with tailscale first.
- On the sending device, go to
Devicesand select your receiver device. - After the name of the device, there is an option to put the link, puttcp://<receiving-device-address(tailscale)>:22000and save it. - On the receiving device, go to
Devicesand select your sender device. - After the name of the device, there is an option to put the link, puttcp://<sender-device-address(tailscale)>:22000and save it.
Here “An Old Pixel Phone” can be a phone with a Custom Pixel OS ported ROM with Unlimited Photos enabled or a rooted android with equivalent module installed.