Unofficial OpenSilk Android Application

With inotify support and defaults set to always run

Killer combination! Gonna test it right away! Thank you so much, @Zillode.

Trying to change Rescan Interval on all folders to a higher value, now that there’s inotify, but keep getting this, no matter which folder I try:

403 Forbidden

I should mention something I have found confusing since I installed the first version: what the silk client considers a device. I get the impression it refers to 2 different things with the name device: a login name, and an actual physical device.

EDIT: Managed to change Rescan Interval using the Web interface on a browser

EDIT 2: I suspect inotify support is not working, nor manual RESCAN on the GUI. I share folder /storage/emulated/0/Pictures, which has subfolder Screenshots. I took some screenshots, waited a while but they weren’t synced. I then tried to do a manual RESCAN on the GUI, but neither Global State nor Local State changed. I rescanned from the Web interface, and it worked. So, summarizing, the silk client is not doing outbound syncing.

All this means we are not able to communicate to the correct Syncthing (especially the 403 Forbidden). Maybe you have another Syncthing client installed which is still running (also try rebooting if this would still fail).

inotify and manual rescan also doesn’t seem to work with me. taking pictures and nothing happens; a manual rescan doesn’t see the difference either and finally at sime time it does update and syncs it.

I am using a nexus 4 with custom (chroma) lollipop 5.1.1 rom

@Zillode, but then the Web interface wouldn’t work either, but it worked. Regardless, before I installed the silk client, I uninstalled the official client and rebooted my phone.

Will the inotify support be something that can be turned off by the user? (Maybe by setting a non-zero scan interval?). I ask because I am affraid that inotify support can lead to strange conflicts with multiple androids + several computers. And, if a file is being changed regularly/continuously in one Android device during an interval, then inotify support would not be great; one might one to wait and then sync all in one go when all edits are over.

I just installed the latest official client again (0.6.0), but can’t find where I can remotely manage other syncthing instances, besides the local one? Can you show me where to find it?

Please don’t hijack the thread:) (Settings->Syncthing GUI->Listen address)

Was not my intention to hijack it, but the option to add remote devices was mentioned in this thread for the official client :wink: Anyway you’re referring to the local device listening address. On my android it doesn’t show as to manage multiple remote devices at the same time as the silk client does. So I like the silk client better and will switch back to it (even when inotify doesn’t seem to work) :wink:

Indeed, multiple remotes are not supported by the syncthing-android app

Could you try removing the device and entering the specifications again? (url/username/password etc)

tried it, but same result. How long should I have to wait before it should show the correct amount of files? After hitting rescan it doesn’t update either instantly, but a few seconds later it does, so maybe hitting rescan does trigger a rescan, but shows up later

All actions are processed asynchronously because they could potentially take a lot of time and we don’t want to block the UI:o

New release available here!

  • Welcome screen with background key generation
  • Relies on syncthing-inotify instead of custom Java code
  • Updated to Syncthing v0.11.5
  • Virtual mtimes
  • Supports cancellation of login process
  • Support for intel/i386 cpus
  • Bugfixes
  • Rebranded to “Syncthing Silk”

If this version works well, I’ll release it on f-droid and the play store.

4 Likes

@Zillode

Testing the new release right now. The feature set and UI look very promising.

I believe the “Add Folder” function needs further refinement. I discovered that ~ defaults to /storage/emulated/0/ - however, I have several other folders in other paths that I want to sync. I couldn’t find a folder browser - and manually typing lengthy paths is too tedious and slow.

EDIT: For some reason, “Shutdown” from the main settings hangs on my phone, and I had to Power off the phone to kill it.

Thanks.

I doubt there is much I can do about this. The only thing which happens is we kill the syncthing and syncthing-inotify binaries. Does it happen every time?

@Zillode Yes … the hang happens 100% of the time on my device.

It seems like a CGO-enabled build is subjective to strange behavior. I’ll release a version with CGO disabled.

New version released:

  • Support for TLS!!
  • Partial support for KITKAT+ Document trees!!
  • Folder browser for selecting paths
  • CGO disabled (no DNS but with greater stability)
  • Default device name
  • Fixed crash when selecting an item from the menu while loading
  • Changed default port to 8385

This version needs a clean slate, please uninstall the existing app and import your config (if you need to).

Could you try with the new version?