I did a clear install of LineageOS 16 on an HTC m8 and Syncthing 1.2.2. Everythings run fine.
Yesterday, Google Play Store updates Syncthing to 1.30. After few minutes later my phone reboots by itself. After it came up again and maybe 30 seconds later, the phone did reboot again. This happend until I managed to disable Syncthing. Also the phone got hot.
I have another HTC m8 to install and did also a clear install of LineageOs 16. I also installed Syncthing 1.30 from Play Store. A few seconds after starting Syncthing and granted all necessary rights, Syncthing began to create its key and the phone rebooted by itself.
Maybe with release of version 1.30, there seems to be somethong wrong. Two working and clean installed phones get in boot loop after Syncthing 1.3 was installed. Version 1.2.2 works fine on it.
No app should be able to force a phone to reboot. Sure, syncthing probably does some scanning which uses a lot of cpu which makes the phone hot, but that should not be enough to force the phone to reboot.
Sadly nothing important changed in syncthing for this to happen, best I can suggest is to see if the logs (both phone and syncthing) have any hints.
I am having the same issue on my OnePlus One running custom DirtyUnicorns 12 ROM based on Android Oreo. Opening the Syncthing app reboots the phone to bootlogo. I can confirm that it was working well before the last update. Is it somehow related to this: https://github.com/syncthing/syncthing-android/issues/1001 ? Unfortunately I donât have access to my phone now. Will post the logs as soon as I get my phone back.
Clean install of LineageOS 16, several clean install of Syncthing 1.30 (also with cleared data and cache), also update from running 1.2.2 or clean install of Syncthing 1.3 with imported config; all the same behavior: both phones(!) reboot. No problem with 1.2.2.
Was there a change in libraries or version of software components from 1.2.2 to 1.30? Iâm clueless.
Itâs a great work from the maintainer. I love the tool. It would be a pain not to use it anymore.
Maybe this is an Android framework issue as framework can generally spoken be triggered by a normal user space app causing reboot by crashing the system server process.
did some investigation together with @shscs911 and this is the result:
The phone reboot only happens reproducibly if the NAT Traverse option is enabled in Syncthing Options.
To the devs reading this: Any idea which commit/change could have caused this behaviour between v1.2.2 and v1.3.0 ? If required, I can make a custom build and continue testing with @shscs911 taking âone commit outâ for example and see if it works okay then.
Just for my understanding: Is the QUIC stuff enabled by the NAT checkbox -or- in other words, which checkbox in Syncthingâs settings enables QUIC (which is on by default)? I donât want to point fingers, but @shscs911 could try to disable QUIC came to my thought now reading the commit listâŚ?!
I didnât downgrade. Fortunately one day before, I did a clean install of one of the phones. So I made a backup of the settings, installed the phone, installed Synchting 1.2.2 and all went well. The next day, I wanted to hand over the new installed phone and I saw an information about an update to syncthing 1.30. After the update, well, you know the story.
So I uninstalled 1.30, installed 1.2.2.4 from F-Droid and was able to restore my backup.
If you rooted your phone, you may try to get your config from /data/data/com.nutomic.syncthingandroid/