2019-09-28 10:45 UTC+10
Syncthing is a useful tool to keep your files in sync on your phone and PCs on Wi-Fi. It can even be used without a Wi-Fi hotspot by using Wi-Fi Direct to make your phone and PC talk directly to each other.
We can use the Android mobile hotspot feature to create a network that we will use to sync files.
Since we don’t want and don’t need to use the internet to sync files, we can turn off mobile data.
Open up a mobile hotspot on your phone. You will need to choose the name of your network and a password, if you’ve never used this feature before.
Connect your PC to the Wi-Fi network you just created and make sure, Syncthing is running on the PC.
If you open up the Syncthing app on your Android phone, you will probably get a message that it is not currently running. We need to change this.
Mainly, we need to make sure that it also runs without an internet connection. To do this turn on the setting to let it run in flight mode.
You might also need to change other settings. For example, it can be useful to turn on sync when there is no charging cable (AC cable) is connected.
If you set up the run conditions and the Wi-Fi connection successfully, Syncthing should now start syncing:
This has been tested with Syncthing 1.2.2 on Android 8.1 and Arch Linux.