Basically, I want to set up a home-rolled sync for these, but I have no idea where they live by default on a CyanogenMod without GApps. Could someone please help me out?

  • 1
    Check if its present in /data/data/com.android.providers.contacts/databases/contacts2.db ? You may need a SQL manager to take a look at it Sep 27 '15 at 5:24

The email accounts are saved in the the file accounts.db under /data/system/users/<userId>/. If you're the primary user, then the userId should be 0.

You can also consider taking the accounts' backup using Titanium Backup.

Offline contacts are handled by Contacts Storage (com.android.providers.contacts) app and the contacts are stored in its data directory under the file contacts2.db. Your profile details are stored in the file profile.db. Both files are at the location /data/data/com.android.providers.contacts/databases/. I recommend backing up both.

You can consider Titanium Backup again if you want to backup Contacts Storage app or simply the contacts which it allows you to export using its menu. Although the Contacts app allows exporting natively all the contacts into a VCF file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.