I recently had an issue on my HTC Desire where it stopped showing photos in the messages application. I initially thought it was due to “Facebook for HTC Sense” that i had recently set up. It turns out however, that this is due an issue with Rom Manager’s “Fix Permissions”. A post on the AndroidForums site explains what to do to resolve it.
1 – Go to the market and download a terminal emulator (there are several free ones)
2 – Open the terminal emulator and type the following:
su
chmod 666 /data/data/com.android.providers.contacts/files/*