syncthing-android: File Browser does not show folders in /data/

Steps to reproduce:

  1. Start app
  2. Accept root request
  3. Check use root
  4. Check advanced file picker
  5. Restart app
  6. Try to add folder /data/user/whatever/ and restart

The /data folder shows no subfolders in the GUI. I can add /data/user/whatever via the WebUI ( it even autocompletes the paths!? ) but it does not show the mapping after save.

Anyway, after the obligatory restart, the app will hang/freeze/just show a white background for a while after that is just crashes. On another device, endless toasters are displayed, announcing that the app was given root.

A complete clean up ( cache/data ) will reset it.

Sony Xperia Sola with CM 12.1 ( 2015-08-22 ) 0.6.6 via F-Droid Nexus 7 (2012) with CM 12.1 ( 2015-08-25 ) 0.6.6 via PlayStore

logcat: app does not start, can’t save one config.xml from Nexus: https://gist.github.com/licaon-kter/fad76b067c248ddb8bde

/LE: Other apps, say a file manager, when given root access can read/write anything in the /data/ folder.

/LE2: On the Nexus I can read the toasters:

"app given root interactive shell"
"app given root interactive shell
/data/data/com.nutomic.syncdroidandroid/lib/libsyncthing.so -generate /data/data/com.nutomic.syncdroidandroid/files/"

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 1
  • Comments: 40 (21 by maintainers)

Most upvoted comments

@rom1504 , Scheduled oandrbackup to sdcard + usual Syncthing mode = backups for the rest of apps (more manual, but safer and more reliable).

Other things are most likely already synced in cloud storages

For users which have Google apps installed and generally “live in the cloud”. For privacy-demanding or strict-FOSS users Syncthing may be used on typically-already-backed-up things too.

In my case, the “failed to create a syncthing config” error occurred after updating syncthing (have it in root mode to sync folders on SD card).

I tried the chown approach on the config file but this didn’t solve it. However what helped me to revive the syncthing app (without setting up everything anew):

  1. back it up with Titanium Backup
  2. uninstall syncthing
  3. restore backup

Syncthing starts and works as usual - with my settings and sync folders preserved. Could this help to solve the issue?

Related to #449 and #434.