# Unofficial OpenSilk Android Application

**URL:** https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614
**Category:** Android
**Created:** [May 3, 2015, 10:20pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614 "2015-05-03T22:20:11Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [May 3, 2015, 10:20pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/1 "2015-05-03T22:20:11Z")

</div>

I’ve created a [new version](http://wilma.vub.ac.be/~lhoste/syncthing/unofficial/silk-0.2.72.apk) of the [Silk client](https://forum.syncthing.net/t/new-syncthing-client-for-android/2433) which eases the installation process when opening the app for the first time.

Changelog:

- Updated to Syncthing v0.11.2
- Add welcome message
- Enable local Syncthing process by default
- Run Syncthing when disconnected
- Allow cancellation of the login process
- Catch failed configuration message
- Disable automated crash reporting
- Fix crash when exiting before any event arrived

[Source code](https://github.com/Zillode/SyncthingAndroid)

---

<div class="post-metadata">

### Author: ![rdiaz02](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@rdiaz02](https://forum.syncthing.net/u/rdiaz02)
#### Post date: [May 4, 2015, 8:06am UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/2 "2015-05-04T08:06:10Z")

</div>

Thanks! Installing it now. Should we report issues here [Issues · OpenSilk/SyncthingAndroid · GitHub](https://github.com/OpenSilk/SyncthingAndroid/issues) or somewhere else (or not report them at all 🙂 )?

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 11:04am UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/3 "2015-05-04T11:04:09Z")

</div>

> [@rdiaz02](#):
>
> not report them at all

It doesn’t look like somebody is looking at those issues. [Yours](https://github.com/OpenSilk/SyncthingAndroid/issues/2) is already 5-days old, and [my question](https://github.com/OpenSilk/SyncthingAndroid/issues/1) is 9.

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 11:06am UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/4 "2015-05-04T11:06:28Z")

</div>

It would be fabulous if possible to merge the best of both worlds: Silk Client’s interface + official client’s inotify support.

---

<div class="post-metadata">

### Author: ![idef1x](https://forum.syncthing.net/user_avatar/forum.syncthing.net/idef1x/32/975_2.png) [@idef1x](https://forum.syncthing.net/u/idef1x)
#### Post date: [May 4, 2015, 1:13pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/5 "2015-05-04T13:13:23Z")

</div>

just installed it and looks great! Especially that you can add remote devices as well 🙂One little annoyance though : could you make the default setting to always run instead of inly when app is open? I was setting it up freshly and always got the message that syncthing was down after switching to my notepad to cut and paste remote id’s and switching back to syncthing. After switching to always run everything seems ok. 🙂

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 3:43pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/6 "2015-05-04T15:43:37Z")

</div>

> [@idef1x](#):
>
> could you make the default setting to always run instead of inly when app is open

I sign underneath.

> [@idef1x](#):
>
> you can add remote devices as well

You can do that with the official client, too.

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 3:46pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/7 "2015-05-04T15:46:33Z")

</div>

Collected `top` statistics with `adb shell 'top | grep -i syncthing' | tee silk.log`, and here are the [results](http://bpaste.net/show/c453e1d8e745).

---

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [May 4, 2015, 5:10pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/8 "2015-05-04T17:10:35Z")

</div>

> [@marcelpaulo](#):
>
> Collected top statistics with adb shell ‘top | grep -i syncthing’ | tee silk.log, and here are the results

Thanks! Seems like this is the intended behaviour

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 5:31pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/9 "2015-05-04T17:31:26Z")

</div>

@Zillode, do you know why the guys from OpenSilk don’t look at their issue tracker? It doesn’t make sense to file bug reports or suggestions if nobody will look at them. The ST team put a lot of traction on the issue trackers, which motivates us users to test stuff and report what we find. But the OpenSilk team doesn’t seem to care, they seem to have left the client hanging out to die, and are not interested in feedback.

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 5:37pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/10 "2015-05-04T17:37:51Z")

</div>

@Zillode, an inevitable question: if the silk client can achieve such good CPU usage, what is the official client doing so different to get such bad CPU usage? The contrast is even sharper if we take into account that the official client relies on inotify, whereas the silk client has to rely on frequent rescanning: this alone would lead one to expect the silk client to eat up more CPU, but it doesn’t by very very far.

---

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [May 4, 2015, 6:06pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/11 "2015-05-04T18:06:15Z")

</div>

No idea, just be a bit patient. I think the [open issue](https://github.com/OpenSilk/SyncthingAndroid/issues/2) is solved with the updated version because it works for me. The guy is also updating Syncthing as new features arrive which is nice. I guess there is no time for support at the moment.

Syncthing-android asks Syncthing to compute the completion status every few seconds (Rest API). This requires Syncthing to loop (currently even multiple times) over the entire database to check if files are needed from other clients.

The Silk client uses a new Event API of Syncthing which broadcasts updates. This means that Syncthing announces the completion status as soon as files arrive. Syncthing-android could also use this API but it requires a little work.

---

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [May 4, 2015, 6:42pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/12 "2015-05-04T18:42:24Z")

</div>

> [@idef1x](#):
>
> One little annoyance though : could you make the default setting to always run instead of inly when app is open?

Updated in the next version, which will also feature inotify (currently testing this)

---

<div class="post-metadata">

### Author: ![idef1x](https://forum.syncthing.net/user_avatar/forum.syncthing.net/idef1x/32/975_2.png) [@idef1x](https://forum.syncthing.net/u/idef1x)
#### Post date: [May 4, 2015, 7:35pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/13 "2015-05-04T19:35:03Z")

</div>

great! inotify is most welcome too, since that was the major difference with the official version as i understood correctly 🙂

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 8:02pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/14 "2015-05-04T20:02:11Z")

</div>

> The guy is also updating Syncthing as new features arrive which is nice

This is great news! Long live the silk client!

> Updated in the next version, which will also feature inotify (currently testing this)

The good news don’t stop coming! If you need beta testers, I’m up for it.

From what you explained, @Zillode, the CPU issue hinges on: REST API vs Events API. But then why 0.5.28 had similar CPU usage to the silk client?

It looks like the silk client will become the new _official_ client. Is that the intention, to focus development on it?

From the good news you’ve been bringing, I’ll stick ti the silk client.

---

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [May 4, 2015, 8:16pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/15 "2015-05-04T20:16:08Z")

</div>

> [@marcelpaulo](#):
>
> From what you explained, @Zillode, the CPU issue hinges on: REST API vs Events API. But then why 0.5.28 had similar CPU usage to the silk client?

Because the new Syncthing-android app enforces TLS. This is necessary to protect Android’s sandboxing mechanism. The Silk client needs this as well, but the CPU impact will be smaller because the connection stays open.

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 8:34pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/16 "2015-05-04T20:34:38Z")

</div>

So this confirms @calmh’s initial hypothesis on [issue 362](https://goo.gl/fjsSkg). Really good to know that the issue has been cornered.

---

<div class="post-metadata">

### Author: ![rdiaz02](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@rdiaz02](https://forum.syncthing.net/u/rdiaz02)
#### Post date: [May 4, 2015, 9:26pm UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/17 "2015-05-04T21:26:34Z")

</div>

@marcelpaulo and @Zillode: the output from `top` that @marcelpaulo showed also matches my nice experience with this client.

As for the bug report, I closed the original one I submitted since, as @Zillode says, it seems to be working just fine now. But I opened a new one 🙂 . Anyway, regardless of whether or not OpenSilk has time to answer the issues (or address them) I guess that is the best place to report them. And, I should say, I am really happy with the app.

---

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [May 5, 2015, 10:20am UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/18 "2015-05-05T10:20:03Z")

</div>

> [@marcelpaulo](#):
>
> The good news don’t stop coming! If you need beta testers, I’m up for it.

With inotify support and defaults set to always run: [link](http://wilma.vub.ac.be/~lhoste/syncthing/unofficial/silk-0.1.51.apk)

---

<div class="post-metadata">

### Author: ![rdiaz02](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@rdiaz02](https://forum.syncthing.net/u/rdiaz02)
#### Post date: [May 5, 2015, 10:44am UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/19 "2015-05-05T10:44:54Z")

</div>

[Moved from [https://github.com/OpenSilk/SyncthingAndroid/issues/3](https://github.com/OpenSilk/SyncthingAndroid/issues/3) ]

UI seems stuck after importing config file:

Using the version from [http://wilma.vub.ac.be/~lhoste/syncthing/unofficial/silk-0.1.50.apk](http://wilma.vub.ac.be/~lhoste/syncthing/unofficial/silk-0.1.50.apk) (2015-05-04; sources from [https://github.com/Zillode/SyncthingAndroid](https://github.com/Zillode/SyncthingAndroid)).

I installed the apk in a device that did not have this client previously. It created keys, etc. Then I imported the config (a zip file containing the cert.pem, key.pem and config.xml files). The UI, however, seems forever stuck trying to start; it is still showing the device name pre-importation of config and giving the “Syncthing seems to be off or there is a problem with your internect connection”. The funny thing, though, is that it is really working just fine most of the time (it is syncing with other devices, the other devices see it with the right version, and I can operate from the Web GUI, changing folder settings, etc).

I turned off and on the phone, but it did not help.

---

<div class="post-metadata">

### Author: ![rdiaz02](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@rdiaz02](https://forum.syncthing.net/u/rdiaz02)
#### Post date: [May 5, 2015, 11:01am UTC](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614/20 "2015-05-05T11:01:23Z")

</div>

**Multiple androids: why is it working?**

This is probably my ignorance showing, but here it goes. With the official ST android app I was keeping all the data under `Android/data/com.nutomic.syncthingandroid`. This, I understand, is about the easiest way to avoid the infamous mtimes issue ( [https://github.com/syncthing/syncthing/issues/831](https://github.com/syncthing/syncthing/issues/831)). I am now running the Silk client in three Androids, but the data are still in the same place (`Android/data/com.nutomic.syncthingandroid`). And things keep working just fine.

A few questions then:

1. Is this expected to happen?
2. If I were to remove the official client, and to do it cleanly, the directory `Android/data/com.nutomic.syncthingandroid` would be removed. Or, for that matter, if someone were to install from the start only the Silk client, I guess that directory would not exist. Where should we place the data to circumvent the mtimes issue? `/data/data/syncthing.android/` does not seem the right place (and cannot be modified unless one is rooted).

[Next page](https://forum.syncthing.net/t/unofficial-opensilk-android-application/2614.md?page=2)
