Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
netarc
Old
#1  
Member - OP
Thanks Meter 1
Posts: 55
Join Date: Nov 2011
Default [Q] Media Scanner causing phone to continually reboot?

A weird issue manifested on my phone today ... the phone started, upon boot up, to spontaneously reboot. It would boot up within 30s, at which point I unlock it an pulldown the notifications screen (to see what was going on).

I saw several instances of "media scanner running" occurring - over the course of various trials I would see the following messages alternate on the top status bar.
Media scanner running... (system storage)
Media scanner running... (SD card)
Media scanner running.... (USB storage)
Media scanning completed
...while below in the notification areas I'd see the "Media scanning", "Media scanning...USB storage" etc messages periodically appear.

The phone would first lockup, then reboot perhaps 3 out of every 4 startups. Several of those times the last message I saw prior to the lockup was Media scanner running.... (USB storage).

I pulled out the 32FB Sandisk SD card, then tried booting the phone several times, and this time no issue - booted up fine, no lockups nor auto-reboots. Note though that I've had the SD card installed for over a week, and the problem only cropped up today.

There were two SD card-related changes I'd made last night: 1) used ES File Explorer to cut/paste ~400MB of video from the onboard camera storage to the SD card and 2) copied 1.75GB of MP3 files to the SD card.

The MP3s I had copied to /media/music (direct from laptop to SD, using a microSD-to-USB adapter), while the videos (MP4s, created by GS2 camera app) were moved by ES File Explorer to /DCIM/Camera.

So at the moment my phone is working fine (4 clean boots), though sans SD card - any ideas why "media scanner" may be choking upon scanning the SD card? Should I move the SD content to a different directory, or just kill media scanner?
 
gr8hairy1
Old
(Last edited by gr8hairy1; 8th November 2011 at 12:08 AM.)
#2  
gr8hairy1's Avatar
Senior Member
Thanks Meter 169
Posts: 917
Join Date: Nov 2010
Location: Michigan - Thumb

 
DONATE TO ME
I've seen issues like that but usually with no name low quality SD cards, with them either bad or modified to register as larger.

I'd backup what you have on the card and format it using the phone. If it's still giving you issues try it on a computer and download a program to check the memory sectors to make sure there are no read write errors.

A good free one is ariolic diskscanner. Can't remember if it can scan SD cards though, though I'd be a little surprised if it couldn't.

You don't want to disable media scanner, not even sure if that's possible. Many things require it to be working.

Sent from my SAMSUNG-SGH-I777 using XDA App
The Following User Says Thank You to gr8hairy1 For This Useful Post: [ Click to Expand ]
 
netarc
Old
#3  
Member - OP
Thanks Meter 1
Posts: 55
Join Date: Nov 2011
thanks for the tip - I mounted the SD on my PC and backed everything up, then tried deleting the ~2GB Media directory ... no dice, still locked/booted on the first boot up. Going to next clear the other large diretory (DCIM) and see what happends, and then finally reformat the card entirely. Will report back...
 
netarc
Old
#4  
Member - OP
Thanks Meter 1
Posts: 55
Join Date: Nov 2011
so i wiped and formatted the card in the phone ... rebooted several times with the newly empty card, and so far the lock/boot issue hasn't recurred.

Copying all files save the media stuff onto the card, will repeat the test; and then finally will put the media back and see how things go; will report back.
 
gr8hairy1
Old
#5  
gr8hairy1's Avatar
Senior Member
Thanks Meter 169
Posts: 917
Join Date: Nov 2010
Location: Michigan - Thumb

 
DONATE TO ME
Good deal. Hope that's the last time it gives you trouble.

Sent from my SAMSUNG-SGH-I777 using XDA App
 
Furik
Old
#6  
Furik's Avatar
Member
Thanks Meter 1
Posts: 36
Join Date: Oct 2010
Location: Akron, OH

 
DONATE TO ME
This is so weird. I've had this problem as of yesterday.

I'm having the exact same issue... but with a Galaxy S 4G.
I tried re-flashing my phone but I realized it was the SD card causing the problem because the internal phone storage scans just fine.

I've tried 2 different SD cards (one Samsung, one Kingston) - backed up my files on my Mac and tried formatting both cards, putting the files back on the SD cards and booted the phone.

Same problem was happening.

The phone boots up fine without the SD card but I am at loss what to do considering most of the apps I use need the SD card to run.
 
gr8hairy1
Old
#7  
gr8hairy1's Avatar
Senior Member
Thanks Meter 169
Posts: 917
Join Date: Nov 2010
Location: Michigan - Thumb

 
DONATE TO ME
Try formatting them using the phone.

Could be a corrupted file on your SD card. If after the format the phone works fine, put the files back on one at a time and see if that's what's messing it up.

Try also changing the format type. Seems androids like fat32 a little better.

Sent from my SAMSUNG-SGH-I777 using XDA App
 
netarc
Old
#8  
Member - OP
Thanks Meter 1
Posts: 55
Join Date: Nov 2011
Quote:
Originally Posted by netarc View Post
so i wiped and formatted the card in the phone ... rebooted several times with the newly empty card, and so far the lock/boot issue hasn't recurred.

Copying all files save the media stuff onto the card, will repeat the test; and then finally will put the media back and see how things go; will report back.
so far so good ... went a day w/o any spontaneous reboots, thought I do want to do a few more startup trials, but fwiw, formatting the SD card (in the phone) seems to have done the trick.

I do realize now that when I first inserted the card in the phone, I just started using it, I didn't bother formatting it - doh!
 
Funkadelick
Old
#9  
Senior Member
Thanks Meter 4
Posts: 436
Join Date: Aug 2010
Quote:
Originally Posted by netarc View Post
so far so good ... went a day w/o any spontaneous reboots, thought I do want to do a few more startup trials, but fwiw, formatting the SD card (in the phone) seems to have done the trick.

I do realize now that when I first inserted the card in the phone, I just started using it, I didn't bother formatting it - doh!
I have this same issue -- when my MiscroSD card is in, and it goes to media scan, the phone just keeps resetting... SO annoying

question: how do I format the external SD ?
 
secretasianman
Old
(Last edited by secretasianman; 23rd June 2012 at 03:17 AM.) Reason: Posting in Shostock2 forum.
#10  
Senior Member
Thanks Meter 58
Posts: 244
Join Date: Apr 2007
Removed

 
Post Reply+
Tags
lockup, media scanner, reboot
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...