Disable Android Media Scanner During Startup and Imporve your BOOT TIME

Disable Android Media Scanner During Startup and Imporve your BOOT TIME

Each time you Startup your Android device, it will run a media Scan during the boot screen which scans every file on your internal as well as external memory slots. It increases the startup time for Android devices with considerably less RAM, it also consumes a looooooot of power. More power then it actually gets from the power adapter.

For example, If I connect my Galaxy S2 to charger after a full battery drain and turn it on immediately, it turns off half way through the media scan. Media scanner needs more power then the charger actually supplies, I have to wait for atleast 5 minutes before I can turn on my phone. This is such an annoying thing, if your battery dies when you are in the middle of a call, you will have to wait for 5 minutes before you can turn on your phone.

Speed Up Android Boot Time

What is Media Scanner

Media Scanner scans for new media files on your storage every time the OS boots. It configures the data for thumbnails, galleries e.t.c

I wouldn’t recommend on completely disabling your Media Scanner. It might be annoying as it prompts a long scan for every startup.

How to Disable Android Media Scanner

I will show you How to Disable Android Media Scanner on startup and configure it to run on command (Any time you wish)

  • Make sure ‘USB Debugging’ is enabled by going to Settings – Applications – Development
  • Download and Install Rescan Media app from the Play Store
  • Launch the App and approve the device permissions if you are running it for the first time
  • Click ‘Disable Media Scanner’ to disable media scanner on boot
  • Click ‘Re-enable Media Scanner’ whenever you wish to enable media scanner

I’ve successfully managed to disable media scanner on my Galaxy S2.

5 thoughts on “Disable Android Media Scanner During Startup and Imporve your BOOT TIME”

  1. II guess the App broke support for ICS, Here’s an alternative simple method that doesn’t require a rooted device

    1. The Media Scanner scans every directory on your storage even it doesn’t contain a single media file
    2. You can disable scan on every directory or a few directory that you think media scan is not necessary by this method
    3. Use a file Explorer like ES File Manager and browse to the directory you wish to disable media scanner
    4. Create an empty text file and name it “.nomedia” (Exactly, wouldn’t work with typos). Repeat this step on any directory you want

    (Pin it in the content)

    • The current Rescan Media app doesn’t have any option for disabling the media scanner. There’s only a “Preferences” button when you launch the app, and that button only has one option, which is “Auto Quit”. I assume that forces this app to close when it’s done rescanning the media.

      Also, the .nomedia trick doesn’t work, at least not on Android 4.0.4. Dropped it in the root of my card and it’s been running for about 10 minutes now, ever since I unplugged my phone from the USB port.

    • “scans every directory on your storage even it doesn’t contain a single media file”
      correct. But it even does so for directories demarked with a .nomedia file!

      “You can disable scan on every directory or a few directory that you think media scan is not necessary by this method”
      incorrect! Someone decided it would be a good idea to do a full scan regardless, put EVERY BLOODY FILE into the files table, then only not adding those in directories with a .nomedia file not to audio or image table. My files table had +36k entries! ‘TF? now finally turned the stupid mediascanner thing off for good, much faster boot time, and my media player (poweramp) and image gallery (quickpic) do their own file indexing anyway.

      See android’s packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java for reference.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.