MediaServer + SDCard = Power Drain - Galaxy S III Q&A, Help & Troubleshooting

I was running out of room on my internal storage so I bought and installed an SDcard and moved all of my photos to it. Also, I recently upgraded from CM10.1 nightly from mid march to RC5 today. All of a sudden I noticed my phone getting hot so I reverted back to my previous mid-march nightly and then reinstalled RC5. I'm still having trouble with something called Mediaserver. I downloaded a CPU monitor and the mediaserver is running at about ~50% of my CPU at all times. However, when I unmount my SDcard...the mediaserver thing goes away and everything is fine.
This is draining my battery quite quickly. I'm not sure if this has to do with RC5 or purely with the SDcard because I didn't notice any problems when I was on the nightly from march.
Why would mediaserver be running all the time at 50%? Does it scan files on my SDcard? How do I stop it? Will it "finish" and then calm down since I just transferred all my pics today?
Thanks!

its probably due to bad mp3 files

Blackwolf10 said:
its probably due to bad mp3 files
Click to expand...
Click to collapse
I don't have any mp3s.
I reverted back to my backup, moved the files from my SDcard to my local storage, and formatted my SDcard. I then moved all the files back on there and everything seemed to work great. Then I upgraded back up to RC5 and everything still seems to be working. I think there was a corrupted file on the SDcard but I guess formatting helped even though I moved the same files back on.
However, I'm not able to unmount my SD card now. It says "PTP or MTP functions are active"

mbeez said:
I don't have any mp3s.
I reverted back to my backup, moved the files from my SDcard to my local storage, and formatted my SDcard. I then moved all the files back on there and everything seemed to work great. Then I upgraded back up to RC5 and everything still seems to be working. I think there was a corrupted file on the SDcard but I guess formatting helped even though I moved the same files back on.
However, I'm not able to unmount my SD card now. It says "PTP or MTP functions are active"
Click to expand...
Click to collapse
have a look here. mediaserver battery consumption is a known issue on the I9300 if I remember well.

Read the Media server fix post .
jje

Where is the fix post.?
Sent from my GT-I9300 using xda app-developers app

The best fix has already been mentioned in this thread, which is to backup the data to PC, format the SD card and copy it back.

Related

My Galaxy s2 keeps rebooting over and over because of sd card(special case)

i use Samsung galaxy s2 with the latest firmware version from Samsung kies (ginger bread 2.3.5) , the problem occurred after installing external SD card and move bunch of apps to it,i tried removing the external sd card from my device, the device stoped rebooting, when i insert it again the device keeps rebooting over and over, the problem is obviosley is moving apps to SD card, i tried to delete the content of the file (andro secure) in SD crad this file includes the moved applications from phone memory to external sd, the problem also stoped
i wasn't having this issue in 2.3.3 therefore
its one of the three:
1- android 2.3.5 do not accept lots of apps in external sd
or 2- there is a problem in a specific app in external sd which make the phone rebooting over and over but i don't know which app is causing the issue because i have lots of apps installed !
or- a problem in the newest firmware 2.3.5 as i heard many ppl having troubles with it
to fix the problem i did factory reset and the rebooting stopped but im scared now to move apps to sd card that the rebooting problem occur again as it happend to me twice after doning factory reset and move them.
i need your help guys, it's annoying to not be able to move apps to sd so the problem don't occur
3bod1 said:
i use Samsung galaxy s2 with the latest firmware version from Samsung kies (ginger bread 2.3.5) , the problem occurred after installing external SD card and move bunch of apps to it,i tried removing the external sd card from my device, the device stoped rebooting, when i insert it again the device keeps rebooting over and over, the problem is obviosley is moving apps to SD card, i tried to delete the content of the file (andro secure) in SD crad this file includes the moved applications from phone memory to external sd, the problem also stoped
i wasn't having this issue in 2.3.3 therefore
its one of the three:
1- android 2.3.5 do not accept lots of apps in external sd
or 2- there is a problem in a specific app in external sd which make the phone rebooting over and over but i don't know which app is causing the issue because i have lots of apps installed !
or- a problem in the newest firmware 2.3.5 as i heard many ppl having troubles with it
to fix the problem i did factory reset and the rebooting stopped but im scared now to move apps to sd card that the rebooting problem occur again as it happend to me twice after doning factory reset and move them.
i need your help guys, it's annoying to not be able to move apps to sd so the problem don't occur
Click to expand...
Click to collapse
I will be honestly: I didn't read all BUT
1) U have rebootings after putting files on external sd.
2) after factory reset problem was passed
3) copying again - reboot again
-> right?
1) U thought about wrong (damaged) files you copy?
2) Or maybe files which normally used from an app and this app now isn't able to use it because u moved?
Thing about and check this, I'm sure one of it would be the fold.
Sent from my GT-I9100 using XDA App
Hannibal226 said:
I will be honestly: I didn't read all BUT
1) U have rebootings after putting files on external sd.
2) after factory reset problem was passed
3) copying again - reboot again
-> right?
1) U thought about wrong (damaged) files you copy?
2) Or maybe files which normally used from an app and this app now isn't able to use it because u moved?
Thing about and check this, I'm sure one of it would be the fold.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
it's not copying actully, it's downloading the apps from market and move them from internal storage to external sd therefore i don't think it's a damage files case because they are a market apps however i move only compatible apps which doesn't have (lower right icon) in app2sd, install latest version of app2sd to know what (lower right icon) mean
I'm having the exact same problem! It just randomly started last night, I was playing the game "Blood and Glory" exited the game and around 2 minutes later after checking Facebook it started doing the boot loop.
I'm running the Sprint Epic Touch 4g with Android 2.3.6
I recently put in a 32g SD card a little over a week ago cause it seems the 16g internal is partitioned to only around 2gigs for apps and I have around 130 apps.
I use App2SD pro to move all my apps.
I'm having the same problem, I bought SanDisk SD Card 16GB. when I install it and moved all supported Apps to the SD Card the problem occurred and my SGS2 keeps rebooting over & over during the whole day.
One of my friends made a factory restore & installed the previous OS 2.3.4 and the problem disappeared!!
The thing is what if don't want to root my device and install 2.3.4 what we should do.... shall we keep the SD card only for Camera Pictures & Movies???
any suggestions???
Hey guys,
I am using SGS2 as well. My phone keeps rebooting like more than 2 times a day. randomly. I convince myself not to blame gingerbread2.3.5, thus i tried uninstall my apps in batch (5-10apps each round) and see which batch of my apps cause the prob, if they are not those who cause rebooting issue, i install them back (in phone space not SD card) but so far i still couldn't found and just few mins ago it rebooted again. it happens after the upgrade from 2.3.4 to 2.3.5, after i downloaded a few apps and updated a few apps. I will finish with the un-installation and re-installation.
---------- Post added at 03:01 AM ---------- Previous post was at 02:50 AM ----------
saw this thread. people were talking about the Dolphin HD which caused the reboot issue, did you have Dolphin browser app installed?
I am having the same issue, too
It started on my S2 after the latest firmware update. I can unmount the SD card and the phone boots OK. I read somewhere that my SD card may have issues, so I purchased another and moved all of my files. The problem reoccurs with the new SD card. I do not have Dolphin browser installed.
I had this issue. I reformatted my sd card and then moved some apps and data back. One week reboot free. 32gb sandisk
Sent from my GT-I9100
In my SGS2 it reboots sometimes in the market, i dont know what to do...
test your sd card for errors...!? thats where i'd start
same problem ... do not restart I had to remove the microSD .. : (.... How do we fix??
SG2 rebooting all the time also
My Sg2 is rebooting every 20 minutes or so.
Is formatting the the SD card a fix?
Mine used to reboot 3 to 5 times a day. Did a factory reset and formatted the internal SD card and set everything backup without Dolphin browser and it's been good for about a week now, no more reboots.
Whether that was because of the rumor that Dolphin browser caused it or from the reformat of the sd card I don't know. But I'm happy none the less.
Got the same problem. It started 2 days ago, and the only fix I've found was to remove apps from my SD card.
From what I've tested :
- Formatting the SD card and copying back all the files doesn't help.
- Removing the SD card or having an empty one works.
- Uninstalling the Dolphin browser didn't help.
- Doubt it's a specific app causing the issue (nothing weird on my S2)
- Removing X number of apps on the SD card seems to work. Now I'm not sure if I had to clear a specific number of apps or a number of MBs, but it works (for now).
Hopefully we'll see a fix soon.
Starforsaken said:
Got the same problem. It started 2 days ago, and the only fix I've found was to remove apps from my SD card.
From what I've tested :
- Formatting the SD card and copying back all the files doesn't help.
- Removing the SD card or having an empty one works.
- Uninstalling the Dolphin browser didn't help.
- Doubt it's a specific app causing the issue (nothing weird on my S2)
- Removing X number of apps on the SD card seems to work. Now I'm not sure if I had to clear a specific number of apps or a number of MBs, but it works (for now).
Hopefully we'll see a fix soon.
Click to expand...
Click to collapse
Yours sounds like a problem with an app...
Everyone else should test their sd cards for errors or try fixing bad sectors...
Used to happen on my previous phones with crap sd cards... Once I bought a decent good quality one its never happened
about a month and a half ago I removed dolphin and my reboots stopped. They started up again and my card became corrupted. Decided to go no-card for a while. Was fine for a month. Decided to go for a good deal on a sandisk 16 and 2 days later after moving a bunch of apps on the reboots are back.
Points to a card issue. I've been though 3 cards on this phone now and am about to reset it to factory and bring it in for diagnostics.
Driving me nuts.
groaner said:
about a month and a half ago I removed dolphin and my reboots stopped. They started up again and my card became corrupted. Decided to go no-card for a while. Was fine for a month. Decided to go for a good deal on a sandisk 16 and 2 days later after moving a bunch of apps on the reboots are back.
Points to a card issue. I've been though 3 cards on this phone now and am about to reset it to factory and bring it in for diagnostics.
Driving me nuts.
Click to expand...
Click to collapse
I've got a Samsung class 10.. I Highly recommend
Sent from my GT-I9100
I got the same issue (2.3.5) and my SD Card is calss 4, the only way to avoid restart prob. Is to root and downgrade to 2.3.4
Waiting for any other feedback.
Any update Guys,,,,???
This problem is still occur in ICS leaks..
Without knowing this thread I have created similar thread here:
http://forum.xda-developers.com/showthread.php?p=21457609
Still, my thread is to gather data about how many user can reproduce this issue.
This issue is side effect starting from Samsung update 2.3.5..
The only way to avoid this issue is by downgrading to 2.3.4 or lower version.

[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?
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
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...
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.
Good deal. Hope that's the last time it gives you trouble.
Sent from my SAMSUNG-SGH-I777 using XDA App
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.
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 said:
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.
Click to expand...
Click to collapse
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!
netarc said:
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!
Click to expand...
Click to collapse
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 ?
Removed
Same problem on Samsung Galaxy Ace
I'm experiencing the exactly same problem on my rooted Samsung Galaxy Ace (Gingerbread 2.3.6).
Reboots with SD card mounted and working fine with SD card unmounted.
I'm using Link2SD with a 2nd ext2 partition, and when SD card is unmounted, all Linked apps work perfectly fine.
I've tried removing and re-inserting SD card and also recreating mount scripts to no use.
What might be the possible causes of this problem???:crying:
Please help :fingers-crossed:

ext SD-card and JB 4.1.1

Hello everyone, new to these forums, but have been reading here for a few years now
I have a couple of questions regarding JB 4.1.1 and Galaxy S3 i-9300
First of all, I can't seem to make my external SD card work with anything else but Recovery/Root Explorer.
Gallery doesn't show it, VLC doesn't show it, and I can't find any settings that will allow me to save pictures taken by the cam onto extSD, nor videos.I have tried both AOSP and PA 4.1.1, same issue.
Second, when I flashed AOSP/PA 4.1.1, whenever I go into Gallery, and choose Settings, I just get a blank screen, no options, no nothing.
Am I just stupid, or have I formatted the card wrong?
best regards, Tim :laugh:
Is is FAT32 ?
Are there any partitions (other than the primary) in the SD card? (or, have you repartitioned the sd card) ?
Thanks for the reply. I booted into CWM and formatted the card from there. It still doesn't show up. Will try to reflash JB again.
Sent from my GT-I9300 using xda app-developers app
I am in the same situation. It started when clockworkmod couldn't read some of the files in the download folders (mods i intended to apply) which were visible in es file explorer. After a few tries, sdcard (a trascend 64gb uhs-1 which i indeed recommended a few hours ago in another thread!!!) looks dead both in android AND pc. Had to format to access it. Currently letting diskdigger do his job, then for more invasive action (still yet to figure).
beppelupo said:
I am in the same situation. It started when clockworkmod couldn't read some of the files in the download folders (mods i intended to apply) which were visible in es file explorer. After a few tries, sdcard (a trascend 64gb uhs-1 which i indeed recommended a few hours ago in another thread!!!) looks dead both in android AND pc. Had to format to access it. Currently letting diskdigger do his job, then for more invasive action (still yet to figure).
Click to expand...
Click to collapse
The issue you are facing is what made me flash from AOKP to PA/AOSP in hope of improvement.
While I was running AOKP, I connected my Galaxy to my PC via USB, and in the external SD card, I found multiple copies of the same folder.
For example, I made a folder called PICS inside my SD card when I got it a couple of weeks back and everything was running smoothly. Then just a couple of days ago, I wanted to copy some of my pics, and now I had 5 folders called PICS on my SD, and none of them contained actual pictures, the files had no extensions whatsoever, just blank fileicons.
I'm considering moving back to a stock Sammy ROM, these external SD card issues are getting really frustrating.
xxhyp0crisyxx said:
Thanks for the reply. I booted into CWM and formatted the card from there. It still doesn't show up. Will try to reflash JB again.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
i've got the same problem..i read somewhere it was to do with CWM recovery being used? i havent had time to investigate and cant mess with my phone as i'm going away tomorrow....i hope someone points out the solution as this has plagued me since day 1 with jelly bean..
So, formatting the card on pc as NTFS/standard allocation/FULL format (took about one hour and a half) worked for me. Cwm reads it and i made a couple of format to be sure. Weird thing is in settings/memory the ext-sdcard capacity/free space is correct, but there is no visual bar (it is there for internal sd). I'm pretty sure at this point the problem was probably caused by some action i took with mobileodin using files from the sdcard.

[Q] What to do if I lost access to my internal storage as well as sd card

Hi, new guy with english problems here, be gentle
So basically I lost access to any kind of storage on my SGS2 running CM10.1. Here's what happened. I was using internal and sd for a long time, then, as I needed my SDHC elsewhere i removed it. Nothing was lost as all data was stored internally. BUT. After formatting SD in FAT32 and putting it back everything crashed. Apps are refusing to work, demanding an SD card. Files Manager says that folder was lost. All of them. First thing I wanted to do was to flash CM once again, a newer NB but my PC does not read internal storage either, and putting it in sd doesn't do me any good as cwm doesn't see it also. CM can access internal, so i flashed the same version of CM once again - the only one i got there. Nothing changed. I'm a bit lost and seek any advice
U checked if u really format it with Fat32?
CHEERS
Sent from my GT-I9100 running with RootBox
Sure. Also I formatted it with SDFormatter, thanks to this CWM can mount it and format by itself, but OS does not respond anyway
darklordbean said:
Sure. Also I formatted it with SDFormatter, thanks to this CWM can mount it and format by itself, but OS does not respond anyway
Click to expand...
Click to collapse
U have another phone where u can test if card is readable for an OS?
Maybe it's related to Rom then.. (just an idea)
CHEERS
Sent from my GT-I9100 running with RootBox
darklordbean said:
Hi, new guy with english problems here, be gentle
So basically I lost access to any kind of storage on my SGS2 running CM10.1. Here's what happened. I was using internal and sd for a long time, then, as I needed my SDHC elsewhere i removed it. Nothing was lost as all data was stored internally. BUT. After formatting SD in FAT32 and putting it back everything crashed. Apps are refusing to work, demanding an SD card. Files Manager says that folder was lost. All of them. First thing I wanted to do was to flash CM once again, a newer NB but my PC does not read internal storage either, and putting it in sd doesn't do me any good as cwm doesn't see it also. CM can access internal, so i flashed the same version of CM once again - the only one i got there. Nothing changed. I'm a bit lost and seek any advice
Click to expand...
Click to collapse
you might flashed 20130121 nightly... this may help you
see this & this
Peaceful Droid said:
you might flashed 20130121 nightly... this may help you
see this & this
Click to expand...
Click to collapse
Thank you! That was the problem

[Q] "Storage" (under Settings) crashes when trying to access

So, this occurred BEFORE I upgraded to the new AOKP.
I was using AOKP 4.1.2 before upgrading to 4.2. I had some issues with lost space (the internal SD card, both under Settings->Storage and when plugged into a computer, was reporting that I was using more space than I really was because of a few bum files that failed to transfer properly), so I went into Settings -> Storage and wiped the internal SD card which solved my space issue and everything was working great (it was also a bit faster since I cleaned up all the touchwiz remnants). I just wanted to point out that I had wiped the internal SD card previously with success and no problems.
Before upgrading to AOKP 4.2, I followed the suggestions for upgrading and went to do a backup of the current ROM using CWM. It rebooted into recovery, and then it failed to make a complete backup saying it failed to access some \data folder or something. I then rebooted the phone so I could copy over the AOKP/Gapps zips, and just decided to flash without any backups present. However, before doing this, I wanted to wipe the SDcard of the CWM backup remnants. Upon doing this, all Gapps/Gprocesses were constantly crashing (as if I wiped some necessary data off the SDcard). I rebooted, and all was fine, except now accessing "Storage" under "Settings" was crashing Settings when attempting to access. So to be clear it was crashing before flashing.
I figured a flash of AOKP 4.2 would fix things, but it still crashes. To be perfectly clear, the flashing of AOKP 4.2 and GApps was successful, but it seems something has been altered on the SDcard that is making Settings crash when I access Storage.
I can access the internal SDcard in Windows. I can access the internal SDcard in ES File Manager. I can copy, delete, and do everything as if all is normal. Just, whenever I try to access "Storage" under settings it instantly crashes Settings saying it has unexpectedly crashed.
Side note: I tried to get an aLogCat log to copy here, but when I open the app the history is empty even though it is logging live. I get the standard alert on the screen saying that it is attempting to read the stored logs when I open the app, but nothing appears.
Any ideas?
Thanks in advance.
FWIW, I had the exact same issue. Between that and the lack of TouchWiz contacts (swipe left to SMS, right to call), I went back to Shostock and its battery drain.
vijtable said:
FWIW, I had the exact same issue. Between that and the lack of TouchWiz contacts (swipe left to SMS, right to call), I went back to Shostock and its battery drain.
Click to expand...
Click to collapse
Well, I was not experiencing the issue until I wiped the SD card.
chewyfood said:
Well, I was not experiencing the issue until I wiped the SD card.
Click to expand...
Click to collapse
Oh, mine did it even though I didn't wipe the SD card. I wonder if it's a bug with the JB 4.2 build of AOKP...?
vijtable said:
Oh, mine did it even though I didn't wipe the SD card. I wonder if it's a bug with the JB 4.2 build of AOKP...?
Click to expand...
Click to collapse
Well I was having the issue with 4.1.2 as well after wiping the card. So something seems to be missing on the card that lets that storage "app" (per se) in the settings read the internal sdcard properly.
In AOKP 4.2.1 it's a known issue that settings-storage crashes. For everyone.
Phalanx7621 said:
In AOKP 4.2.1 it's a known issue that settings-storage crashes. For everyone.
Click to expand...
Click to collapse
Ah ok. Thanks for letting me know. A bit of a relief - I figured I broke something.

Categories

Resources