Correcting SMS crashing on iPhone
Oct 22, '07 07:30:01AM
Contributed by: rajivpillai
Having used the iPhone for some testing, I saw that some SMSes corrupted the database file and the SMS app no longer worked. It would simply quit when I tried to open the SMS. The Apple suggested way to fix this problem would be to reset the iPhone by using the Settings » General » Reset » Erase all Content and Settings. But this would mean that you would have to resync your iPhone again. The easiest way I have found to do this is as follows.
- Install iNdependence 1.2.2.
- Install AppTap.
- Download any Terminal app from within the AppTap installer on the iPhone.
- Open the terminal app and enter these commands:
$ bash
$ rm Library/SMS/*
Note that you will lose all your saved SMS messages.
- Exit the terminal app.
- Restart your iPhone.
Your SMS app should now be as good as new while all your other data is intact.
[robg adds a very important note: This solution will possibly (a) void your warranty, (b) break the EULA, and (c) may have negative consequences with future Apple updates. If you've going to take this route, however, you could actually just use iNdependence to jailbreak the phone, and install dropbear (an SSH clone) at the same time (within iNdependence). Once that's done, you could use ssh (or sftp via Transmit, etc.) to connect to the phone and remove the bad file. Please consider the possible consequences above, however, before trying this solution -- anything that happens to your iPhone would be your responsibility, not anyone else's. Apple's Restor function is by far the safest, if most time consuming, solution.]
Comments (6)
Mac OS X Hints
http://hints.macworld.com/article.php?story=200710162131300