Home

Recovering data from nandroid backup

1266280660|%O ago (%e %b %Y, %H:%M %Z)

Today I had to recover some data from my previous "Android ROM". Luckily I made a backup using recovery image with nandroid.
It isn't so obvious what tools to use to extract nandroid image. At the beginning I thought that I simply mount backup image under Linux using loop device, but it turned out that you need special tool for that. I even haven't had luck mounting it directly from phones shell. It seems that nandroid created images aren't just standard partition dumps. Ok, so here is procedure:
- data partition is backed up (as you may suppose) to data.img - this is a file we will be working with
- to extract data you need to download unyaffs tool
- you have to compile it by hand: "gcc -o unyaffs unyaffs.c" (under Windows cygwin/mingw may help)
- after successful compilation run it with data.img as parameter - it will extract partition dump to the working directory
- database of your application can be found in data/full_app_name/databases directory
- you can list content of this database using sqlite3 command line tool or presumably (haven't tried it myself and it may depend on what application data you are recovering) copy it back to your Android device running current ROM (rooted phone may be needed).

Viola! At the end - quite simple!

Comments: 0

Small update :)

1258508180|%O ago (%e %b %Y, %H:%M %Z)

I've recently bought a car. A beautiful BMW E36 2.0 Coupe 1996. I've decided that I will try to maintain a wiki page about it. All of you who know polish can now read about my plans, current works etc. related to car here. Enjoy. :)

Comments: 2

Evolution

1193700368|%O ago (%e %b %Y, %H:%M %Z)

Since 208 days, the day of last news, website was updated a lot of times. All changes can be traced on Recent changes site. The most often updated sections of this site is Projects.

Comments: 3

New site - again

1175706566|%O ago (%e %b %Y, %H:%M %Z)

As you can notice site has changed again. This time it isn't only engine replacement buy also complete site move to another server. Reason is simple - I am searching for something that will satisfy all my needs (including simple and effortless administration). Wordpress (my latest blogging engine) was very powerful, but because I had it installed on my own server it still took to much time to make updates and maintain engine (e.g. plugins incompatibility after update was a pain). Because I tested Wikidot contributing another site running on this engine, I decided that it will be the best solution for me.

Comments: 1

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.