linphone-android
linphone-android copied to clipboard
Export/import call history and messages
Hi.
It would be nice, particularly for the new device experience if messages and call history could be transferred (export/import or otherwise) to the new device.
Really, this should be part of the Android backup data, IMO, however if you want to make it some external user-actionable item, that would at least be a good second choice.
Absent any actual current method of doing this, is there a workaround, using adb
(or otherwise) to transfer the call/message database from one device to another?
Hi. Is there any work-around/manual procedure to do this?
If you have access to the app data folder you can try to copy/paste the following files:
- call-history.db
- linphone.db
- linphonerc
- .linphonerc
- x3dh.c25519.sqlite3
- zrtp-secrets.db
Thanks much for that info! I am sure it will be helpful to me and/or others wanting this same functionality while we wait for the export/import functionality and/or automated Android backup (which doesn't have to be Google -- one can back up to one's own private cloud or local [USB even] storage -- for those that are paranoid about Google) to be able to back up and restore these data.
This is on our roadmap, it's just it's not that easy to implement as there are many factors involved (such as VFS).
call-history.db linphone.db linphonerc .linphonerc x3dh.c25519.sqlite3 zrtp-secrets.db >
hi @Viish, Where do we copy in linphone manager or linphonerc folder? Can you give specific instructions?
@hieujames Here's the code that installs the files the first time, you can easily extend it to do the backup / restore: https://gitlab.linphone.org/BC/public/linphone-android/-/blob/master/app/src/main/java/org/linphone/core/CorePreferences.kt#L622
This is on our roadmap, it's just it's not that easy to implement as there are many factors involved (such as VFS).
Still on the roadmap? Has anything happened to bring this closer to fruition?