How do I reinstall MediaScannerService? 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:


Flash a (new) ROM. This could be the same you are currently using, or any other one fitting for your device. To find a matching one, please see Where can I find stock or custom ROMs for my Android device?
Find the exact ROM you are currently using, and extract the corresponding files from it. Then copy the extracted files to your device.


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.