Running a rooted Galaxy S2 with DarkyROM2 2.3.5 & SuperCore kernel. I have a 32 GB microSD card in addition to the 16 GB internal storage, and it takes ages to scan both when the phone boots. At times when I connect USB mass storage mode and later turn off, it goes into an infinite reboot loop. Have tried this, but it doesn't appear to work. Any other workarounds?

  • Did you enable USB Debugging? The app just sends one system command so if it doesn't work I don't know if anything does (see the relevant XDA Thread). – joweiser Dec 13 '11 at 10:54
  • Yep,it's on, you can't use mass storage mode otherwise! That's the thread I originally got it from. – Rex Dec 13 '11 at 12:16
  • Is it possible to do it without rooting the device ? – Basj Jun 17 '14 at 8:55

Via the command line:

$ su
# pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
  • Does this method require rooting the device ? – Basj Jun 17 '14 at 8:54
  • 2
    Yes. su is the super user command. – Ken Sharp Oct 24 '14 at 1:12
  • is it possible to do this without rooting the device? – Basj Oct 24 '14 at 6:37
  • pm disable com.android.providers.media/.MediaScannerReceiver is enough. – iBug Jun 6 '17 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.