Friday, October 8, 2010

Back up your phone - no windows needed

Clifford Stoll of " The Cuckoo's Egg" semi-fame once wrote in the rather more forgettable "Silicon Snake Oil" that no-one ever got a email that was worth keeping. I will take this as a sign of his Californian superficiality rather than a genuine insight (I know, he seems to be from Buffalo, New York, but he's an expat living in now), as I have several emails I want to keep. And I also have MMSes and SMSes I want to keep, mostly from my wife. They are snapshots of our family life, things she wanted to show me and tell me while I was otherwise engaged. Very real and personal things that are worth keeping.

Clifford also said that e-commerce was un-viable. See, not good with the crystal ball was he.

So after using mobile phones for more than 10 years I finally get around to making backups.

I have a Nokia E52 phone. This runs Nokias Symbian, 3rd or 5th edition or some such. I recently asked my colleagues, free software users one and all, how to back up this phone. gnokii I was told. And I also found gammu/wammu which is based on the same phone interface library for Nokia Phones.

Unfortunately Nokia Symbian phones from the last 3 (? or 5 or 7 or so) years have a very limited AT command set and all in all the AT commands they support are not suitable for SMS retrieval. gnokii and friends work around this by providing a interface applet for the phone called "gnapplet". Unfortunately that does not support recent Nokia Symbian phones. So neither gnokii nor [gw]ammu works. Of the lot wammu seemed the friendliest though. If only my phone was old enough!

I booted up my tame Windows install in VMWare player and installed Nokias Ovi Suite. And it synced the phones messages. The SMS messages. No MMS, i.e. no pictures of the kids and wife. WTF? And also no way to export to any kind of file format. Not exactly safe keeping. WTF²?

Nokia has a app store too now, so I could timmidly ask "Is there an app for that?".

Yes. Just one. SyncLion. It purports to syncronize SMS, MMS and contacts with any IMAP server. First I had to fiddle with my Dovecot configuration because SyncLion was playing with namespaces and Dovecot was having none of it which resulted in "Unknown namespace" messages in SyncLion.

namespace private { separator = . prefix = Mobile. list = yes location = maildir:~/Maildir/mobile }

(I learnt what SyncLion was saying by enabeling raw logging in Dovecot). After that it started copying everything to our IMAP server. Thunderbird showed the new namespace, and I could direct it to subscribe to the three folders in the Mobile namespace: Contacts, Messages and Notes. Roundcube our webmail does not seem to see the Mobile namespace in any way and is unable to show anything from it.

Each of the three folders were full of what I expected. Including MMSes! Way! So now I can copy the messages I want to keep to some safe email folder, and keep them there forever, or until both the disk and the backup fails.

There are some issues I noticed though:

  • The Sync part of SyncLion is not complete. If I delete a message on the phone it does not disappear from the IMAP folder.
  • Nor does deleting a message in the IMAP folder remove it from the phone.
  • The emails that are composed could very well embed the image (and video) files in the emails, but the image (and video) files are attachments that I need to double-click to view.
  • Contrary-wise the contacts are easily human readable, but there is no vCard attached so I can't double-click and save.
BUT, the SMSes and MMSes are now possible to keep safe.

No comments: