Hello,
I have a MI4 phone, with Xiaomi.eu Rom. I have granted all privileges and authorization given in FAQ. But, it’s not sync.
It’s my adb catlog :
09-30 18:28:15.667 1802 3102 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=at.bitfire.davdroid/.ui.AccountsActivity bnds=[434,1170][602,1338] (has extras)} from uid 10023 on display 0
09-30 18:28:15.711 1802 3734 I ActivityManager: Start proc 7130:at.bitfire.davdroid/u0a92 for activity at.bitfire.davdroid/.ui.AccountsActivity
09-30 18:28:16.179 1802 6061 W ActivityManager: Unable to start service Intent { cmp=at.bitfire.davdroid/.ui.AccountsActivity$Settings } U=0: not found
09-30 18:28:17.620 1802 3336 I ActivityManager: START u0 {cmp=at.bitfire.davdroid/.ui.AccountActivity (has extras)} from uid 10092 on display 0
09-30 18:28:19.355 3617 3714 W MiuiPerfServiceClient: interceptAndQueuing:7130|at.bitfire.davdroid|209|182|unknown|null|at.bitfire.davdroid/at.bitfire.davdroid.ui.AccountActivity|61013909306|Slow handle traversal|3
09-30 18:28:19.076 1802 1831 I AutoStartManagerService: MIUILOG- Reject service :Intent { act=android.content.SyncAdapter cmp=at.bitfire.davdroid/.syncadapter.AddressBooksSyncAdapterService (has extras) } userId : 0 uid : 10092
09-30 18:28:19.082 1802 1831 I AutoStartManagerService: MIUILOG- Reject service :Intent { act=android.content.SyncAdapter cmp=at.bitfire.davdroid/.syncadapter.CalendarsSyncAdapterService (has extras) } userId : 0 uid : 10092
09-30 18:28:19.092 1802 1831 I AutoStartManagerService: MIUILOG- Reject service :Intent { act=android.content.SyncAdapter cmp=at.bitfire.davdroid/.syncadapter.TasksSyncAdapterService (has extras) } userId : 0 uid : 10092
09-30 18:28:24.713 3617 3731 W MiuiPerfServiceClient: interceptAndQueuing:7130|at.bitfire.davdroid|192|132|unknown|null|at.bitfire.davdroid/at.bitfire.davdroid.ui.AccountActivity|67113984356|Slow handle traversal|2
09-30 18:37:16.886 18074 18105 I ModuleManager: initializeModules() : WaitTime = 10 ms : RunTime = 724 ms
09-30 18:37:16.900 17180 18125 V davdroid.DavResourceFinder: [HttpClient] <-- 207 Multi-Status https://sogo3.gandi.net/SOGo/dav/ (232ms)
09-30 18:37:16.901 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Date: Sun, 30 Sep 2018 16:37:18 GMT
09-30 18:37:16.903 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Server: SOPE 4.9.37/WebDAV
09-30 18:37:16.904 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Sogo-Request-Duration: 0.002377
09-30 18:37:16.906 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Content-Type: text/xml; charset="utf-8"
09-30 18:37:16.907 17180 18125 V davdroid.DavResourceFinder: [HttpClient] X-Dav-Error: 200 No error
09-30 18:37:16.909 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Ms-Author-Via: DAV
09-30 18:37:16.917 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Pragma: no-cache
09-30 18:37:16.918 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Content-Length: 599
09-30 18:37:16.920 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Cache-Control: no-cache
09-30 18:37:16.921 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Via: 1.1 varnish-v4, 1.1 varnish-v4
09-30 18:37:16.923 17180 18125 V davdroid.DavResourceFinder: [HttpClient] X-Cache-Hits: 0
09-30 18:37:16.927 17180 18125 V davdroid.DavResourceFinder: [HttpClient] X-Cache: MISS
09-30 18:37:16.931 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Age: 0
09-30 18:37:16.939 17180 18125 V davdroid.DavResourceFinder: [HttpClient] Connection: keep-alive
09-30 18:37:16.941 17180 18125 V davdroid.DavResourceFinder: [HttpClient]
09-30 18:37:16.944 17180 18125 V davdroid.DavResourceFinder: [HttpClient] <?xml version="1.0" encoding="utf-8"?>
09-30 18:37:16.944 17180 18125 V davdroid.DavResourceFinder: <D:multistatus xmlns:a="urn:ietf:params:xml:ns:carddav" xmlns:D="DAV:"><D:response><D:href>/SOGo/dav/</D:href><D:propstat><D:status>HTTP/1.1 200 OK</D:status><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:displayname>SOGo</D:displayname><D:current-user-principal xmlns:D="DAV:"><D:href>/SOGo/dav/myemail.example.org/</D:href></D:current-user-principal></D:prop></D:propstat><D:propstat><D:status>HTTP/1.1 404 Not Found</D:status><D:prop><a:addressbook-description/><a:addressbook-home-set/></D:prop></D:propstat></D:response></D:multistatus>
09-30 18:37:16.946 17180 18125 V davdroid.DavResourceFinder: [HttpClient] <-- END HTTP (599-byte body)
09-30 18:37:28.640 1802 1831 I AutoStartManagerService: MIUILOG- Reject service :Intent { act=android.content.SyncAdapter cmp=at.bitfire.davdroid/.syncadapter.CalendarsSyncAdapterService (has extras) } userId : 0 uid : 10092
09-30 18:37:28.640 1802 1831 E SyncManager: Bind attempt failed - target: ComponentInfo{at.bitfire.davdroid/at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService}
09-30 18:37:28.641 3130 3154 D SyncNotificationService: SyncStatusObserver: onStatusChanged
09-30 18:37:28.642 3130 3162 D SyncNotificationService: SyncStatusObserver: onStatusChanged
09-30 18:37:28.646 1802 1831 I AutoStartManagerService: MIUILOG- Reject service :Intent { act=android.content.SyncAdapter cmp=at.bitfire.davdroid/.syncadapter.AddressBooksSyncAdapterService (has extras) } userId : 0 uid : 10092
09-30 18:37:28.646 1802 1831 E SyncManager: Bind attempt failed - target: ComponentInfo{at.bitfire.davdroid/at.bitfire.davdroid.syncadapter.AddressBooksSyncAdapterService}
09-30 18:37:28.647 3130 3154 D SyncNotificationService: SyncStatusObserver: onStatusChanged
09-30 18:37:28.648 3130 3162 D SyncNotificationService: SyncStatusObserver: onStatusChanged
09-30 18:37:28.652 1802 1831 I AutoStartManagerService: MIUILOG- Reject service :Intent { act=android.content.SyncAdapter cmp=at.bitfire.davdroid/.syncadapter.TasksSyncAdapterService (has extras) } userId : 0 uid : 10092
09-30 18:37:28.652 1802 1831 E SyncManager: Bind attempt failed - target: ComponentInfo{at.bitfire.davdroid/at.bitfire.davdroid.syncadapter.TasksSyncAdapterService}
09-30 18:37:28.653 3130 3154 D SyncNotificationService: SyncStatusObserver: onStatusChanged
09-30 18:37:28.686 3617 3714 W MiuiPerfServiceClient: interceptAndQueuing:17180|at.bitfire.davdroid|224|224|unknown|null|at.bitfire.davdroid/at.bitfire.davdroid.ui.AccountsActivity|611104832325|Slow main thread|1
09-30 18:37:28.686 3130 3162 D SyncNotificationService: SyncStatusObserver: onStatusChanged
09-30 18:37:28.725 17180 17180 I Timeline: Timeline: Activity_launch_request time:612621
09-30 18:37:28.725 1802 2968 I ActivityManager: START u0 {cmp=at.bitfire.davdroid/.ui.AccountActivity (has extras)} from uid 10092 on display 0
And my debug code :
--- BEGIN DEBUG INFO ---
SOFTWARE INFORMATION
Package: at.bitfire.davdroid
Version: 2.0.4-ose (245) from 10 sept. 2018
Installed from: com.google.android.packageinstaller
JB Workaround installed: no
CONNECTIVITY (at the moment)
Active connection: WiFi, CONNECTED
CONFIGURATION
Power saving disabled: yes
android.permission.READ_CONTACTS permission: granted
android.permission.WRITE_CONTACTS permission: granted
android.permission.READ_CALENDAR permission: granted
android.permission.WRITE_CALENDAR permission: granted
org.dmfs.permission.READ_TASKS permission: granted
org.dmfs.permission.WRITE_TASKS permission: granted
System-wide synchronization: automatically
Account: myemail@example.org
Address book sync. interval: 240 min
Calendar sync. interval: 240 min
OpenTasks sync. interval: 240 min
WiFi only: false
[CardDAV] Contact group method: GROUP_VCARDS
[CalDAV] Time range (past days): 90
Manage calendar colors: true
SQLITE DUMP
android_metadata
| locale |
| fr_FR |
----------
services
| _id | accountName | service | principal |
| 3 | myemail@example.org | carddav | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/ |
| 4 | myemail@example.org | caldav | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/ |
----------
sqlite_sequence
| name | seq |
| services | 4 |
| homesets | 10 |
| collections | 36 |
----------
homesets
| _id | serviceID | url |
| 9 | 3 | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Contacts/ |
| 10 | 4 | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Calendar/ |
----------
collections
| _id | serviceID | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync |
| 30 | 3 | ADDRESS_BOOK | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Contacts/personal/ | 1 | 1 | 0 | Carnet d'adresses personnel | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
| 31 | 3 | ADDRESS_BOOK | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Contacts/389D-5B12FB00-3-749F9780/ | 1 | 1 | 0 | Carnet d'adresses des connaissances | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
| 32 | 3 | ADDRESS_BOOK | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Contacts/447D-5A6E4300-25-A5ACFF0/ | 1 | 1 | 0 | Carnet d'adresses professionnel | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
| 33 | 3 | ADDRESS_BOOK | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Contacts/directory/ | 1 | 1 | 0 | directory | <null> | <null> | <null> | 0 | 0 | <null> | 0 |
| 34 | 4 | CALENDAR | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Calendar/personal/ | 1 | 1 | 0 | Agenda personnel | <null> | -52 | <null> | 1 | 1 | <null> | 1 |
| 35 | 4 | CALENDAR | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Calendar/2C7F-5B744600-7-6A666380/ | 1 | 1 | 0 | Calendrier AA | <null> | -13421569 | <null> | 1 | 1 | <null> | 1 |
| 36 | 4 | CALENDAR | https://sogo3.gandi.net/SOGo/dav/myemail@example.org/Calendar/2BFB-5B58D200-1-649A8B80/ | 1 | 1 | 0 | Vacances scolaires | <null> | -5592406 | <null> | 1 | 1 | <null> | 1 |
----------
SYSTEM INFORMATION
Android version: 6.0.1 (xiaomi.eu)
Device: Xiaomi MI 4LTE (cancro)
--- END DEBUG INFO ---
If you are an idea…
Regards