Is it not working if you just copy them back to their original place?
I donāt know with your version of SFOS but with the 4.4:
If your username is defaultuser
, the places are
/home/defaultuser/.local/share/commhistory/commhistory.db
and
/home/defaultuser/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db
Iād do it when the user (nemo/defaultuser?) is not logged.
Either from recovery mode or as root through terminal while being logged as a secondary user that you can create in Settings > Uers.
This needs e.g. toeterm
and su
(instead of devel-su
which isnāt enabled for secondary users).
Beware that these files rights have perhaps changed while being copied to the PC.
The owner must be defaultuser
and the group has to be privileged
.
E.g, change the rights with:
chown defaultuser:privileged /yout_path/your.file
Before to copy the files back, delete the contents of the directories if actuel databases contain no important data:
rm -f `/home/defaultuser/.local/share/system/privileged/Contacts/qtcontacts-sqlite/*
rm -f /home/defaultuser/.local/share/commhistory/*
Just ask if I forgot something.