Monday, August 25, 2008

SDHC 4G Flash corruption on N95 Lifeblog [updated]

I found out a very unwelcome behaviour of on-the-phone LifeBlog in my Nokia N95.

It corrupts the flash file system (FAT32) on my 4G microSD.

At first I thought that this could be either Camera app, or the Gallery app, or the LifeBlog app.
My normal workflow would be to take N95 out of my pocket (keypad locked), open the camera shutter, look to see if the Camera started [if not, curse and close and reopen, up to 3 times], then take some pictures, press Back, optionally go to lifeblog to see the photos from there, then close the camera shutter and put the phone back into pocket. If I needed to see photos in more detail, I would usually go to Gallery, but on most occasions I pressed the right soft button which was assigned to Lifeblog.

And I noticed that with such workflow I lost many photos. On the worse occasion, I lost 98 photos out of 212 taken.

The symptoms depicted below.





These photos were seen OK by the Gallery, but only before I opened LifeBlog and it started to build thumbnails needed.
Of course, I did not stand still there and I browsed to the left or right in the lifeblog while it did the preview building, but should it corrupt the filesystem because of that???

As a result, the whole folder of the previous day was lost, and some corruption occured inside some today's photos. From a technical standpoint, seems like it corrupted the huge 4G FAT table while doing FS operations. Neither Camera nor Gallery exhibit such nasty behaviour.

Needless to say, I am stopping using the LifeBlog on the phone until Nokia clear up the problem in future firmware updates. My current f/w is 21.0.016.

Oh and yes, I checked my microSD card on PC, and reformatted it already 2 times, but problems still appear (are being introduced into perfectly working media gallery) only after LifeBlog!

[UPDATE] All this behavior was only due to Kingston SDHC card, which are, according to N95 User Guide, not listed as compatible. Also of note, that there are classes of SDHC cards, like class6 or class9...
The higher the class, the faster is the card. The effect of flash memory classes on operation inside N95 is not yet studied.
There's no SDHC-specific warning in manual, so take my post for it.