android icon indicating copy to clipboard operation
android copied to clipboard

After starting phone in "safe mode" all contacts are missing

Open devurandom opened this issue 2 years ago • 1 comments
trafficstars

What I did for the problem to appear

I started my phone in "safe mode" (long press power button until reboot menu appears, long tap "power off" until "reboot to safe mode" menu appears, tap "OK"). After I rebooted back into normal mode all contacts are gone.

What I tried to fix it

  • I opened Settings > Accounts and reenabled sync for the two EteSync accounts (one for contacts and one for everything else). That did not bring back the contacts.

  • I opened the EteSync app, tapped on my EteSync account name to open the collections screen, and tapped the two-arrows sync button. EteSync synced all collections, but the contacts where still missing in the contacts app.

Current state

The EteSync app shows my contacts in the journal / "change log". The contacts app shows EteSync as contact source, it is even the default for creating new contacts.

Other info I found online

  • https://www.davx5.com/faq/accounts-gone-after-reboot-or-update
    • DAVx5 would resync all contacts after returning from "safe mode" which would self heal the problem. This did not appear to happen with EteSync.

Device info

  • Phone: Fairphone FP3
  • Android: 11
  • Build: 8901.4.A.0023.0

Debug Info

Hamburger > Settings > Debug Info

--- BEGIN DEBUG INFO ---

SOFTWARE INFORMATION
EteSync version: 2.4.3 (20403) 
Installed from: com.google.android.packageinstaller
CONFIGURATION
Power saving disabled: no
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: denied
org.dmfs.permission.WRITE_TASKS permission: denied
org.tasks.permission.READ_TASKS permission: granted
org.tasks.permission.WRITE_TASKS permission: granted
System-wide synchronization: automatically
Account: [REDACTED]
  Address book sync. interval: 1440 min
  Calendar     sync. interval: 1440 min
  OpenTasks    sync. interval: —
  Tasks.org    sync. interval: 1440 min
  WiFi only: false
  [CardDAV] Contact group method: GROUP_VCARDS
           Manage calendar colors: true
Address book account: Contacts ([REDACTED] z_)
  Main account: Account {name=[REDACTED], type=com.etesync.syncadapter}
  URL: [REDACTED]
  Sync automatically: true

SQLITE DUMP
android_metadata
	|  locale |
	|  en_DE |
----------
settings
	|  setting | value |
----------

SERVICES DUMP

JOURNALS DUMP

SYSTEM INFORMATION
Android version: 11 (8901.4.A.0023.0 release-keys)
Device: Fairphone FP3 (FP3)

--- END DEBUG INFO ---

devurandom avatar Jul 15 '23 09:07 devurandom