@unrel said in Location of calendar settings storage on LineageOS 14.1 with Davdroid 18.104.22.168-ose?:
Now I can imagine that is because the ServicesDB.kt is compiled into the app. That would mean it does not itself contain the calendar settings, but I should be able to derive from that, where the calendar settings are stored. If that is true, I have yet been unable to derive that location.
ServiceDB uses Android’s SQLiteOpenHelper with a file called services.db. SQLiteOpenHelper uses Context.getDatabasePath(), so you can use that function to determine where your path is. In most times, it’s /data/data/<app>/databases/services.db or something like that. But it may depend
Dear rfc2822, thank you once more for your quick response. Thanks to your tips I have been able to:Find the services.db file relative to the root of my devices as: /data/data/at.bitfire.davdroid/databases/services.db Export and visually inspect the database with SQlite studio to determine which tables the services.db contain. That allows for conversion of the services.db to a .csv file according to: http://www.sqlitetutorial.net/sqlite-tutorial/sqlite-export-csv/. According to https://forums.bitfire.at/topic/264/view-changes-properties-of-an-existing-davdroid-account/21 the passwords are stored in /data/system/users/0/accounts.db. I have not yet been able to find that database but I will look into it in more detail. If I can read and write those passwords back, I think it should be sufficient to use a single file containing all the calendars to setup Davdroid automatically.
Thank you very much for your suggestions, once again, if I complete the automation process I will report it back here.