All credit goes to Adrynalyn over at XDA for this mod....
Orig link: [MOD][3-9-2011]Speed up media scanner - xda-developers
[MOD][3-9-2011]Speed up media scanner
I really hate the Samsung media scanner.
Hate isn't even a strong enough word. If you have ever noticed, it scans the READ ONLY system on every boot. Then it scans SD card. Scanning the system is where the phone gets most sluggish though.
Well, I tried my best to hack that feature out and still haven't been able to.
I did find a workaround though:
D/MediaScanner( 2798): prescan return
D/MediaScanner( 2798): Start Original /system/media/
D/MediaScanner( 2798): found .nomedia, skipping directory
It skips system and immediately moves to sd card.
Making your phone completely responsive, and halving the scan time.
Its a dirty way of fixing it, but hey, it works.
fast_media --disables media scanning of system
default_media --enables media scanning of system.
Flash zip in recovery then in Terminal Emulator run script
If you like what I do buy me a brew. <~~~~DONATE to Adrynalyn