-
Notifications
You must be signed in to change notification settings - Fork 79
Frequently Asked Questions
Use the import/export items in the app settings. This will use the folder /sdcard/backups/syncthing/
for files. The actual files are stored in /data/data/com.github.catfriend1.syncthingandroid/files/
which can only be accessed with root.
The persistent notification is necessary to run a so called foreground service to avoid the app being put asleep by Android and missing run condition changes or synchronization activity. See #333 and #327 for details. While some users reported a foreground service necessary since Android 8+ and others reported it's working without we are in the same mess here in-between differently behaving, manufacturer specific Android versions that we cannot ensure it working for all users when we would remove the persistent notification. That's why it's required and cannot be configured in Syncthing-Fork as we want the app to work out of the box for all users out there. Other popular apps, like Linphone and Telegram FOSS use the same technique to ensure not being interrupted by the Android OS.
See SD card write access for instructions on how to properly use Syncthing with folders residing on external SD cards.
You can find the Syncthing logs in the app settings ("Debug" section). Additionally, logs are saved to the primary storage, under Android/data/com.github.catfriend1.syncthingandroid/files/syncthing.log
.
Open the URL at http://localhost:8384
. You will be prompted to accept the SSL certificate. The username is syncthing
, and the password is Syncthing's API key (you can find the API key in the settings in the web interface).
Syncing files with root permissions is supported. Using root privileges can be enabled in Settings > Experimental. Using root, you can sync folders on your external storage. Misconfigured sync folders pointing to Android's system paths may brick your phone or prevent it from booting.
You should not attempt to sync the following files or folders:
- /data *1)
- /storage/abcd-efgh/Android *1)
- /storage/abcd-efgh/Android/com.github.catfriend1.syncthingandroid/files/syncthing.log *2)
- /storage/abcd-efgh/WhatsApp *2)
*1) If you'd like to backup app data, you can use third-party apps like TitaniumBackup or oandrbackup. Syncthing is not designed to replace an os specific backup utility.
*2) Syncing constantly changing files like logs or databases is not supported.
Syncthing-Android can be started and stopped by other apps with intents. See Remote Control by Broadcast Intents for instructions.