Android One 8.1 doesn't sync calendar



  • I have a Baikal server to sync my calendar. Now I got a new phone and the app I was using to synchronise is no longer compatible.
    So I wanted to use DAVdroid.
    Setting it up worked very well. It found my calendars. But it won't synchronise. When I open the Android settings and start the sync manually there is no error message shown but no timestamp of last sync either.

    I already tried many things I found in this forum like deactivating battery saver or reinstalling the app but nothing worked.

    I'm using an Infinix Note 5 with Android one (8.1).

    Debug info:
    have a Baikal server to sync my calendar. Now I got a new phone and the app I was using to synchronise is no longer compatible.
    So I wanted to use DAVdroid.
    Setting it up worked very well. It found my calendars. But it won't synchronise. When I open the Android settings and start the sync manually there is no error message shown but no timestamp of last sync either.

    I already tried many things I found in this forum like deactivating battery saver or reinstalling the app but nothing worked.

    I'm using an Infinix Note 5 with Android one (8.1).

    Debug info:
    https://pastecode.xyz/view/3b2f295d


  • developer

    Hello,

    Maybe there are some Infinix-specific settings which block DAVdroid? Maybe you can browse through your Android settings and look for suspicious entries …



  • @rfc2822 Thanks for your answer! I already did that a couple of times and set everything possible. But it's still not working.


  • developer

    @patricke Maybe it's possible to ask in Infinix forums or contact support?



  • Hi,
    I have a very similar situation with a brand new moto g6 and android 8.0.
    Here is more debug info:
    2018-09-19 19:50:00 2 [settings.Settings] Looking up setting time_nextDonationPopup
    2018-09-19 19:50:00 2 [settings.Settings] DefaultsProvider: value = null, continue: true
    2018-09-19 19:50:00 2 [settings.Settings] SharedPreferencesProvider: value = 1538282928051, continue: true
    2018-09-19 19:50:00 2 [settings.Settings] Looked up setting time_nextDonationPopup -> 1538282928051
    2018-09-19 19:50:00 2 [settings.Settings] Looking up setting hint_BatteryOptimizations
    2018-09-19 19:50:00 2 [settings.Settings] DefaultsProvider: value = null, continue: true
    2018-09-19 19:50:00 2 [settings.Settings] SharedPreferencesProvider: value = null, continue: true
    2018-09-19 19:50:00 2 [settings.Settings] Looked up setting hint_BatteryOptimizations -> null
    2018-09-19 19:50:07 2 [settings.Settings] Shutting down Settings service
    2018-09-19 19:50:07 2 [settings.Settings] Initializing Settings service
    2018-09-19 19:50:07 2 [settings.Settings] Looking up setting time_nextDonationPopup
    2018-09-19 19:50:07 2 [settings.Settings] DefaultsProvider: value = null, continue: true
    2018-09-19 19:50:07 2 [settings.Settings] SharedPreferencesProvider: value = 1538282928051, continue: true
    2018-09-19 19:50:07 2 [settings.Settings] Looked up setting time_nextDonationPopup -> 1538282928051
    2018-09-19 19:50:07 2 [settings.Settings] Looking up setting hint_BatteryOptimizations
    2018-09-19 19:50:07 2 [settings.Settings] DefaultsProvider: value = null, continue: true
    2018-09-19 19:50:07 2 [settings.Settings] SharedPreferencesProvider: value = null, continue: true
    2018-09-19 19:50:07 2 [settings.Settings] Looked up setting hint_BatteryOptimizations -> null
    2018-09-19 19:50:09 2 [settings.Settings] Looking up setting override_proxy
    2018-09-19 19:50:09 2 [settings.Settings] DefaultsProvider: value = false, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] SharedPreferencesProvider: value = false, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] Looked up setting override_proxy -> false
    2018-09-19 19:50:09 2 [settings.Settings] Looking up setting override_proxy_host
    2018-09-19 19:50:09 2 [settings.Settings] DefaultsProvider: value = localhost, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] SharedPreferencesProvider: value = localhost, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] Looked up setting override_proxy_host -> localhost
    2018-09-19 19:50:09 2 [settings.Settings] Looking up setting override_proxy_port
    2018-09-19 19:50:09 2 [settings.Settings] DefaultsProvider: value = 8118, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] SharedPreferencesProvider: value = 8118, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] Looked up setting override_proxy_port -> 8118
    2018-09-19 19:50:09 2 [settings.Settings] Looking up setting distrust_system_certs
    2018-09-19 19:50:09 2 [settings.Settings] DefaultsProvider: value = false, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] SharedPreferencesProvider: value = false, continue: true
    2018-09-19 19:50:09 2 [settings.Settings] Looked up setting distrust_system_certs -> false
    2018-09-19 19:50:10 2 [log.Logger] Verbose logging: true; to file: true



  • This debug is taken while hitting manually on the sync button in davdroid for my account.
    Addressbooks and calendars are found correctly but the entries are not being synchronized.
    I am synching against nextcloud 13.0.6

    P.S.
    If I do this debug for refreshing the list of addresssbooks or calendars, it is filled with connections to my server.


  • developer

    @mwlczk Is there an "app auto-launch" or "start in background" permission that can be enabled for DAVdroid in Android app settings, see https://www.davdroid.com/faq/synchronization-is-not-run-as-expected/?



  • @rfc2822 unfortunately not. This is a screenshot taken from the app "android permission"
    Unfortunately cannot upload the picture


  • developer

    @mwlczk Unfortunately, I don't have an idea then 😐