• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Media scan runs repeatedly when unplugged

strixeh

Lurker
Apr 16, 2012
2
0
Hi all!

As i stated in the title, my media scanner runs repeatedly when unplugged from the cord. It somehow cycles between "scanning media" and "media scan completed". It is very annoying and I cant really use the phone as of now.

What I have tried:

1. Tried to "clear the cache in "gallery" which actually worked fine the entire yesterday! However, as I unplugged it again this morning, it all happened again and this time the clear cache thingy didnt work... (this was from an earlier thread at androidforums)

2. I have removed the SD-card without any success.

I should also point out that sometimes when I plug my phone into the cord for charging, the KIES interface comes up as if I have plugged my phone into the computer. This is also strange and I would guess that these two problems are connected as they started at the same time.

With "cord" I mean the "wall" and not the computer.

I hope that you might be able to help me
 
A couple of suggestions off the top of my head:
  • Remove external SD card reboot without card.
  • Try a Different Charger.
  • Enable USB debugging mode (this should prevent the kies interface)
  • Clear cache and dalvik cache from recovery mode.
  • If you are rooted then install Titanium Backup make a complete backup and reinstall your ROM and restore your backup.
  • Uninstall non-important apps and see if the problem goes away.

Some info from your side might help,
like: Rom name? Rooted? Kernel? Last thing that you were doing before the problem started.
 
Upvote 0
A couple of suggestions off the top of my head:
  • Remove external SD card reboot without card.
  • Try a Different Charger.
  • Enable USB debugging mode (this should prevent the kies interface)
  • Clear cache and dalvik cache from recovery mode.
  • If you are rooted then install Titanium Backup make a complete backup and reinstall your ROM and restore your backup.
  • Uninstall non-important apps and see if the problem goes away.

Some info from your side might help,
like: Rom name? Rooted? Kernel? Last thing that you were doing before the problem started.

Thanks for the reply!

I used my phone very extensively just before it happened. Talked to a mate for 3-4 hours while having charging via the power socket. We stopped talking and when I removed it from charging, media scanner started cycling.

I run my phone on original ROM. I have read that a factory reset might help. However, I rather try some fixes first. I have android 2.3.3.

I have removed my SD and rebooted. That didnt help me.

I am going to try another power socket (because when the problem first arose, I had been charging the phone on a power socket I normally dont use...).

"[*]Clear cache and dalvik cache from recovery mode."

How do I do this?
 
Upvote 0
Try this first:

With the SD card in the handset, connect to your PC as "USB Storage".
When the card appears in Explorer as a removable drive, right-click the icon and select "Properties" then "Tools", "Error-checking - check now".
Enable "Automatically fix file system errors" (if not by default) and let the scan run.
When complete, use the "Safely remove hardware..." option in Windows' System Tray before disconnecting the handset.
 
Upvote 0
@Slug
He mentioned that his problem was persistent even without the external SD card, so I don't think that it would work. But Hey it's worth giving a shot, I would just recommend that in addition to scanning the external SD card also run a scan on the internal SD card.

@Stixeh
How well are you versed with flashing and/or rooting?

"[*]Clear cache and dalvik cache from recovery mode."

How do I do this?

I am going under the assumption that you are on a fully stock rom, stock recovery.
The following is the way to clear cache via recovery.

Step 1. Boot into recovery mode.
1.a. To boot into recovery mode, first switch off your phone.
1.b. Hold volume up + menu + power button while booting and don't let go till you see a screen similar to the one in the attached image
Samsung-S2-Recovery-Mode.jpg

Step 2. Use volume buttons to scroll to the option clear cache and use menu button to select
Step 3. Reboot device

Clearing the dalvik cache on stock recovery is more complex, and can be done only if you are rooted.
 
Upvote 0
Another thought came to my mind, but mind it that this is untested on a stock recovery and may not work for you.
  • Download the GS2blitzer script by hawker (from this post).
  • Copy it to your internal sd card.
  • Boot into recovery mode (you can boot into recovery mode using the method outlined in the above post.)
  • Scroll down and select apply update from sdcard.
  • Select the zip file that you downloaded.
  • Select Yes.

Hopefully this should wipe the cache and dalvik cache without root.
But i caution you, this is and untested unverified method.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones