Using modified SMS database with iOS I've been trying to remove a specific text from my iPhone's SMS database. The text is too long (tens of thousands of characters long, if not more) and is causing iOS to crash whenever I view the conversation it's in. I'd greatly prefer to remove it without removing any other text.

I've tried downloading the SMS database file and:  


Modifying the text to [Removed] and saving it to the phone  
Modifying the text to [Removed], saving it, backing up, and restoring  
Modifying the text to [Removed] and simply replacing the database file in a backup, then restoring  
Removing the text from the database and saving it to the phone  
Removing the text from the database, saving it, backing up, and restoring  
Removing the text from the database and simply replacing the database file in a backup, then restoring


All of these methods have been unsuccessful. The iPhone is always unable to write to the modified database. Some of these methods don't let the iPhone read any of the texts at all (and simply have an empty Messages app) or they make the iPhone read the texts at first, but then once the phone is restarted it cannot read it anymore.
The phone is still able to read and write to the unmodified database file no problem.

I am using DB Browser for SQLite (http://sqlitebrowser.org/) to modify the database file.

I need a way to remove the text in question without viewing it in the iOS messaging app. My phone is jailbroken. I'd really like to get this fixed.
You said your phone was jailbroken.


Open Cydia
Install an app called iFile.
Open iFile.
Navigate to Library -> SMS -> sms.db
Make your edit.
Launch Messages.