I recently rooted my Samsung Exhibit II. and was going through and deleting some bloatware and accidentally fat fingered and deleted the MediaScannerService not realizing what I was deleting. Does anyone no how to reinstall the service? I have tried downloading applications but they are just accessing the service and restarting it. Since the service has been deleted the applications essentially do nothing.
There are only two ways to get it back:
For the future, keep in mind to always make a good backup before tampering with system files. A nandroid backup is a very good idea, as with that you are always able to get back to the state before you started with any changes.
See also the comments on your question for other details.