Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an iPhone 4 and I wanted to copy all my text messages off of it.

Is there a utility to do this under Ubuntu?
Or is there a way to access them through the file menu/cmd line?

share|improve this question
The text messages are stored in a database file (probably SQLite), probably encrypted too, so you'd have to somehow do a backup of the device and troll through the files to find it. –  user3463 Jan 24 '11 at 23:45
sigh =/ that sounds like a pain.. I saw something about a OSx tool that will rip apart the binary a backup creates.. not too keen on doing that. Do you have an Idea where to find that SQLite db on the device? –  madmaze Jan 24 '11 at 23:48
Not without jailbreaking the device. –  user3463 Jan 25 '11 at 0:46

2 Answers 2

from http://maketecheasier.com/how-to-copy-files-tofrom-your-iphone/2008/09/05

In any platforms, as long as you have a FTP program, you can easily transfer files to/from the iPhone via OpenSSH.

On you iPhone, go to Cydia. Tap on Section on the bottom pane and scroll to Networking->OpenSSH. Tap on the Install button to install it.

On your desktop, open up your FTP program (it doesn’t matter which one you use. For me, I used Filezilla because it is free and easy to use).

On Filezilla, go to File->Site Manager

On the left, click New Site

Rename the site to ‘iPhone‘

On the right, enter the following:

Host: Your iPhone IP address Servertype: SFTP – SSH File Transfer Protocol Logontype: Normal User: root Password: alpine

Click ‘Connect‘

You will be shown a confirmation message asking if you will accept key exchange / connection with the device with the iPhone’s address. You’ll need to click OK for it to connect.

Connected mode:

Once connected, you will see the familiar Explorer-like navigation structure. Simply drag and drop the files to and forth the iPhone.

share|improve this answer
This would require @madmaze to jailbreak his iPhone. In principle, this is not necessarily "wrong", but it does open him up to potential problems in the future. –  user3463 Jan 25 '11 at 0:45
thanks, but as @Randolph mentions my iPhone is not jailbroken and since its a work phone I will not be able to do so either. –  madmaze Jan 25 '11 at 3:07
up vote 1 down vote accepted

I ended up using DiskAid.
It works great, but it cost me ~10$ and did everything I needed it to do.
Though I am still interested in a free way of doing this, without jailbreaking it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.