Recovering data from nandroid backup

Asked by Fadi Mansour

Hi,

Through several complications, I had to clear/re-install several applications on my phone, including Financisto.

But before doing that I did a nandroid backup of the phone, and through it, I have the contents of the /data/data/ru.orangesoftware.financisto directory.

But because of my particular setup I don't have the actual version of Financisto that was actually running on the system before the problem.

When I tried to install the newest version (1.6.2) and then replace it's data directory with the one from the nandroid backup, Financisto crashed.

I suspected that this was due to using a different version than the one that created the data.

I tried versions 1.5.8, 1.5.9, 1.6.0, 1.6.1 and all of them crashed with the nandroid data.

I'm not sure if what I'm doing is right, but I don't know how to recover the old data.

Do you suggest any particular course of action?

Is there a way to know the actual version responsible for creating the data?

Many thanks for the wonderful application, and I hope you'd able to help me.

Kind regards,

Fadi

Question information

Language:
English Edit question
Status:
Solved
For:
Financisto Edit question
Assignee:
No assignee Edit question
Solved by:
Fadi Mansour
Solved:
Last query:
Last reply:
Revision history for this message
Fadi Mansour (fadi-redeemer-mansour) said :
#1

After a suggestion from Mr. Denis Solonenko, and looking at the system log (using CatLog), I found out that the issue was with opening the db file.

Looking around I noticed that the files that I've restored manually from the nandroid backup where owned by root. While the data files in a normal installation had another user.

Changing the /data/data/ru.orangesoftware.financisto owner and group to this user (mine was ID 10077, but should be different on other devices).

Pay attention that /data/data/ru.orangesoftware.financisto/lib should be assigned to the system user (ID 1000).

This solved the issue, and Financisto started correctly with the restored data.