If you have problems sending SMS after a manual restore of the SMS.db.
It’s properly a security-rights problem, you iPhone cannot write its outgoing messages to the database file.
Fix it this way:
Open Putty and connect to your iPhone as root (default password ‘apline’) btw you SHOULD change this for security reasons.
Run:
chown mobile -R /var/mobile/
And:
killall SpringBoard
Now all folder and files are reset to the correct settings.