PDA

View Full Version : restore just the SMS




shiunn
Jul 27, 2008, 02:26 PM
I have a jailbreaked first gen iphone, and installed a couple of stuffs on it. Now, I want to go back to factory setting, ie, remove all those installed programmes and settings. But I want to keep my SMS. Is there a way to do that?



shiunn
Jul 28, 2008, 02:31 AM
*push* hehe
any ideas? googling does not turn up much help

AlecEdworthy
Jul 28, 2008, 05:53 AM
*push* hehe
any ideas? googling does not turn up much help

Use SSH (and scp) to copy the sms.db file off your phone, restore the firmware, Jailbreak it, install SSH again and then copy the sms.db file back on. The sms.db file lives in ~root/Library/SMS/sms.db or ~mobile/Library/SMS/sms.db depending on which firmware version you are running. Remember to change the ownership of the file when you restore it if necessary (again, depending on firmware and who you log into the iphone as via ssh).

Alec

DarkFlame
Jul 28, 2008, 09:18 AM
I'm pretty sure I saw some new app on cydia that does the back up for you.

darngooddesign
Jul 28, 2008, 02:10 PM
Restoring has never deleted SMS messages from my phone.

AlecEdworthy
Jul 28, 2008, 04:49 PM
Restoring has never deleted SMS messages from my phone.

Correct. The original poster specifically said that he wanted to go back to factory settings - i.e. not do a restore.

Alec

shiunn
Jul 30, 2008, 05:15 PM
thanks Alec
your SSH method indeed is a clever one.
but...I didn't expect it to involve so many steps...
I think I'll pass, and just restore.
i mean, there wouldn't be a lot of mess in there...would there?