How to use Syncthing with Wi-Fi Direct on Android

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.

1. Turn off mobile data usage

Since we don’t want and don’t need to use the internet to sync files, we can turn off mobile data.

Turn off mobile data usage in the Settings app

2. Turn on Wi-Fi hotspot

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.

Start the mobile hotspot on your phone

3. Change run conditions

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.

We need to change the run conditions

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.

Enable synchronisation when there is no internet connection

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.

Let Syncthing run when running on battery power, if necessary

That’s it

If you set up the run conditions and the Wi-Fi connection successfully, Syncthing should now start syncing:

Success! Syncthing is now transfering files via Wi-Fi direct

This has been tested with Syncthing 1.2.2 on Android 8.1 and Arch Linux.

Desmond Kabus
Last updated on 2024-01-14 13:06 UTC+01