Mediaserver + SD card = 100% CPU (HELP!!) - Droid Incredible General

Ok this is driving me off the wall. The process called "mediaserver" is using 100% of my CPU time even while the screen is off. It forces my phone to go to max clock the whole time.
When I unmount my sd card (which has music, files, etc) it goes back to 0% instantly and the CPU clocks down to normal. The SECOND I remount it, BAM it goes back to using 100% of my CPU. The battery drain is incredible.
I have googled the issue and there are several single post threads with no response or solution.
Can someone please help me?

whats is your rom and kernel? is it an app? if it is, uninstall it.

zeke1988 said:
whats is your rom and kernel? is it an app? if it is, uninstall it.
Click to expand...
Click to collapse
I am having this same problem. Here is my post over on CM forums.
http://forum.cyanogenmod.com/topic/5761-mediaserver-high-cpu-use/
I haven't found anyone that will even comment on the problem...

nopick said:
I am having this same problem. Here is my post over on CM forums.
http://forum.cyanogenmod.com/topic/5761-mediaserver-high-cpu-use/
I haven't found anyone that will even comment on the problem...
Click to expand...
Click to collapse
I know!! Just a sea of response-less cries for help.
zeke1988 said:
whats is your rom and kernel? is it an app? if it is, uninstall it.
Click to expand...
Click to collapse
It was happening on virtuous and ultimatedroid. And from the above post we can see that it is happening on CM too. It is not app related. Ending everything using a task manager and/or restarting the phone doesn't fix. I did a complete wipe of data/chache/davik before flashing roms.
Simply put, if your sd card has media on it (music, pics, etc), mediaserver will go nuts.
Hoping the awesome people at x-da can help us out!

I just got the 32 GB SD card yesterday and the same thing started happening to me today. I did a factory reset, different roms, back to normal and it still is happening. My verizon extended battery lasted about 5 hours today...and it was unusually hot as well. Does this happen to others on smaller SD cards?

I had this problem a while back. Turns out it was a corrupt movie file. Something vlc played fine, but the media scanning app hated and drained my battery every 3 hours for two days until I figured it out.
Remove all media from your sd card, pics, movies, music and see what happens. Add it back slowly. If that is the problem.
Another potential issue is a corrupt sd card. You can try reformatting it or scanning it for bad sectors, but my guess is that its a bad file.
Sent from my ADR6300 using XDA App

Mediaserver is an app not part of the OS so just uninstall it. It hasn't been updated for Froyo anyway judging from whats on the market.

Related

Phone switched itself off with plenty of battery life

I've got no real complaints about my phone. But just curious about this. It's happened only about twice, once a few weeks ago, and it happened this morning as well. It was left in standby overnight. I pressed the home button, nothing came on. I thought, "I'm sure there was plenty of battery life left in it last night". So I pressed the power button to boot it, but nothing. Removing the battery and putting it back in allowed it to boot, and the battery was around 54% as I had suspected, I didn't think it would have been dead. So any idea why it would do that?
Some more info plz. What rom and kernel do you use?
I used to have the same problem after having changed several custom roms. I wiped everything formatted sdcard and went back to stock rom.
Then I installed villain rom and everything was fine.
Sent from my GT-I9100 using XDA App
xalastras said:
Some more info plz. What rom and kernel do you use?
I used to have the same problem after having changed several custom roms. I wiped everything formatted sdcard and went back to stock rom.
Then I installed villain rom and everything was fine.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Try reading my sig?
Were you playing music with the stock music app at the time? I believe there is a known bug where your phone switches from 3g to hspa when listening to music using the default app. winamp or other apps should be fine.
Sent from my GT-I9100M using XDA App
avinash4 said:
Were you playing music with the stock music app at the time? I believe there is a known bug where your phone switches from 3g to hspa when listening to music using the default app. winamp or other apps should be fine.
Sent from my GT-I9100M using XDA App
Click to expand...
Click to collapse
Hi mate. Nope, it was just at my phone desktop, no apps running. I then pressed the power button quickly to switch the screen off but not to switch the phone off, put phone down on bedside table and woke up this morning to a dead phone until I did the battery thing,
My story
Lots of posts out there about similar issues.
I saw this and other funnies on my own, uncustomised, SGS2. I tried lots of things: SD card in/out - no difference, sometimes crashed playing music, sometimes didn't. Sometimes rebooted 3 times in one day, once went for 6 days without misbehaving, jammed paper into the side of the battery to cure potential connctivity issue - no cure. Ran diagnostic programs that thrashed the cpu cores and RAM - no problem. In fact, my phone typically misbehaved when it was doing nothing.
Etc, Etc, etc
I originally thought it might be a software problem, but not everybody was seeing it which brought me back to thinking it was a hardware problem.
I returned the phone and the repacement phone has behaved itself for about 2 weeks now. Maybe you have hardware problem?
It was probably something rogue that ran your temps up and it was a thermal shutdown. Gotta pull battery to reset.
I voided my warranty.

[solution] fix your battery on wls8

hey,
many of us have faced an issue with the battery after flashing the official JB
well this may not be a sol " cuz i don't know what happend!"
so what i did was
1. flashing LPF 4.0.3 wipe data before flashing , not after.
2. flashing the ls8 and the lpx modem at the same time no data wipe
thats it
I'll try this
Sent from my GT-I9100 using xda app-developers app
From the screenshot I see that you have a big problem with reception signal, which, most likely, causes many wakelocks. Change the modem with one from your country. And whats the solution btw?
Sent from my Nexus 7 using xda premium
I don't get this too. Your screenshot is full of wakelocks, and the only reason your battery isn't empty yet is because your screen wasn't on all the time...
Sent from the Matrix
I found out that the new "google now" ate ALOT of battery in my case.
Try disabling this.
for the screen on! i was oppening the secreen or receiving calls
yesterday i stayed upto 6 hrs after the screen shot was taken, wifi connected and it last till 7%
for my modem, the area where i live having problems with connection, all the modems kh3 and lb7 did the same, at least this modem catched the gps here
eraser0 said:
for the screen on! i was oppening the secreen or receiving calls
yesterday i stayed upto 6 hrs after the screen shot was taken, wifi connected and it last till 7%
for my modem, the area where i live having problems with connection, all the modems kh3 and lb7 did the same, at least this modem catched the gps here
Click to expand...
Click to collapse
Okay, but what's your point by opening this thread..?
Sent from the Matrix
look how much the battery last!!
eraser0 said:
look how much the battery last!!
Click to expand...
Click to collapse
and why did you recharge 75% through the cycle? the main solution has been posted numerous times and it has to do with media scanner running in the background
d1rX said:
and why did you recharge 75% through the cycle? the main solution has been posted numerous times and it has to do with media scanner running in the background
Click to expand...
Click to collapse
well, i roam around here a lot, must've missed this one, any link on that, or any solution?
PlutoDelic said:
well, i roam around here a lot, must've missed this one, any link on that, or any solution?
Click to expand...
Click to collapse
Sure, but first post what apps you're running in background -- maybe it's not media, but something else like Google Now, location service (maps)? How does your phone "sleep"? Does it wake up?
Anyway, media fix that seem to resolve my problems (no more media scanner in task manager)
d1rX said:
and why did you recharge 75% through the cycle? the main solution has been posted numerous times and it has to do with media scanner running in the background
Click to expand...
Click to collapse
no i connected it to the pc for some time
also i didn't disable any service and the battery is lasting for me more than ics
d1rX said:
Sure, but first post what apps you're running in background -- maybe it's not media, but something else like Google Now, location service (maps)? How does your phone "sleep"? Does it wake up?
Anyway, media fix that seem to resolve my problems (no more media scanner in task manager)
Click to expand...
Click to collapse
hmm, im having a hard time understanding whats going on there, but i do switch my cam to sd card as location storage.
regarding your question, i tend to kill tasks always after i finish using my phone, in fact i clear the ram.
this is what im having right now, considering that i slept 8 hours of these 18 there, it's way too much, oh and yeah, i have the extended battery kit (official one), one more reason to moan.
This is the best battery performance I have ever had from my sgs2 (using siyah kernel and the scripts from the neat rom and siyah optimisation thread
Sent from my GT-I9100 using Tapatalk 2
PlutoDelic said:
hmm, im having a hard time understanding whats going on there, but i do switch my cam to sd card as location storage.
regarding your question, i tend to kill tasks always after i finish using my phone, in fact i clear the ram.
this is what im having right now, considering that i slept 8 hours of these 18 there, it's way too much, oh and yeah, i have the extended battery kit (official one), one more reason to moan.
Click to expand...
Click to collapse
Just as a precaution, copy cache folder from SD internal to SD external and delete everything in SD internal DCIM folder. Something else is draining your battery. That 18 hours is too little IMO
d1rX said:
Just as a precaution, copy cache folder from SD internal to SD external and delete everything in SD internal DCIM folder. Something else is draining your battery. That 18 hours is too little IMO
Click to expand...
Click to collapse
/storage/sdcard0/DCIM only contains Photo and Video folders, both empty. im using the stock file manager, i guess what u've asked me for may be hidden. However, there is a "/storage/extSdCard/DCIM/Camera/cache"
It is hidden in mine, but if you see the one on excard than you should see one in internal card. You have to look for wakelocks -- install BetterBatteryStats. I don't know any other method. That app will basically tell you anything.
Give this a read. It will get you started on how to find what's causing the wakes

anyone else seeing media server drain?

So Today I noticed that I have a media server drain. No idea why this started happening out of no where. Anyone else having this issue?
create .nomedia file and put in folders with out any media (pictures, music files)
Full charge to zero overnight. Battery stats just says "media". Wtf. I thought I left this problem behind on my GS2 with cm10...
Sent from my SAMSUNG-SGH-I337 using xda premium
blackguy101 said:
So Today I noticed that I have a media server drain. No idea why this started happening out of no where. Anyone else having this issue?
Click to expand...
Click to collapse
Yes I had this issue. Reformatting the memory card and restarting fixed it completely for me.
If you have a lot of pictures, you may have to give it a couple of days (no exaggeration) to index all of them. Should be ok afterwards, but will run your battery down in a hurry until its done.
I've tried different sd cards using different file systems and they all gave me trouble. I think the process is buggy...
Install rescan media root it should take care of it.. If you are rooted
Sent from my SAMSUNG-SGH-I337 using xda premium
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
This causes more problems than it solves. By force closing media process, you lose a great deal of functionality (for example your camera pictures will not show in gallery).
blackguy101 said:
So Today I noticed that I have a media server drain. No idea why this started happening out of no where. Anyone else having this issue?
Click to expand...
Click to collapse
Check out this thread. It will fix your Media Server problem.
http://forum.xda-developers.com/showthread.php?t=2272594
Grant H said:
Check out this thread. It will fix your Media Server problem.
http://forum.xda-developers.com/showthread.php?t=2272594
Click to expand...
Click to collapse
Not true!
I've tried several cards and have reformatted them several times. In my case, the S4 is completely unusable with my media library (about 20GB worth of pics and music).
On a side note, I should point out that my old Moto Defy running CM10 processes the same SD cards with the same content without any problem. This is definitely a bug with the S4!!!
dew.man said:
Not true!
I've tried several cards and have reformatted them several times. In my case, the S4 is completely unusable with my media library (about 20GB worth of pics and music).
On a side note, I should point out that my old Moto Defy running CM10 processes the same SD cards with the same content without any problem. This is definitely a bug with the S4!!!
Click to expand...
Click to collapse
Hmmmm.. Well, I tried Did you try the android transfer program to put the music/pictures back on the card after reformat by chance?
Also, are you from White Lake, WI by chance?
Grant H said:
Hmmmm.. Well, I tried Did you try the android transfer program to put the music/pictures back on the card after reformat by chance?
Click to expand...
Click to collapse
Interestingly enough, if I transfer the files directly through the phone, it appears to work fine for a period of time. Unmounting and remounting the card, however, causes the "infinite" scan to start over and the phone becomes useless.
Grant H said:
Also, are you from White Lake, WI by chance?
Click to expand...
Click to collapse
No, White Lake, MI

mediaserver is killing my battery!

Mediaserver killing anyone else battery? Media server is is working while my phone is idle.
Better Battery Stats and figure out which program. Its something you loaded 100% sure... Start uninstall till you find out which one.
Are you playing music?
Sent from my SAMSUNG-SGH-I337 using xda premium
tvp480 said:
Mediaserver killing anyone else battery? Media server is is working while my phone is idle.
Click to expand...
Click to collapse
I have been in the habit since my S2 LTE i727 of clearing out my background apps. With the S4, I hold down the home button which will show all current apps, click on the icon at the right (three lines with an X). This will kill the apps you last run and should help.
rsarwar said:
I have been in the habit since my S2 LTE i727 of clearing out my background apps. With the S4, I hold down the home button which will show all current apps, click on the icon at the right (three lines with an X). This will kill the apps you last run and should help.
Click to expand...
Click to collapse
This usually doesn't kill the background process. I had issues when I first got the phone with Google services hogging battery. Used Gsam battery to figure out what is running and then you can disable whatever you don't need. But first you have to figure out what exactly is using the battery.
I thought I read somewhere that if your SD card is bad and you are playing media off of it, it was causing something to stay awake and eat battery. Though, I could have just imagined that???
hamzer11 said:
This usually doesn't kill the background process. I had issues when I first got the phone with Google services hogging battery. Used Gsam battery to figure out what is running and then you can disable whatever you don't need. But first you have to figure out what exactly is using the battery.
I thought I read somewhere that if your SD card is bad and you are playing media off of it, it was causing something to stay awake and eat battery. Though, I could have just imagined that???
Click to expand...
Click to collapse
I read about the SD card issue as well. I had issues initially with Google Maps eating battery, not as bad as some have reported but still it bothered me. Media Services running was a bit of a pain as well. Then I read someone mentioned that a factory reset should be done, so then I backup what little I had and did the reset. Now, the phone is much better than before along with me doing the home button, removing apps thing .. battery easily goes for 2.5 days (data usage via LTE and wifi on when needed and gaming / music) I also turn on airplane mode at night. My SD card is a 16gb Class 10 Sandisk which previously used on my S2 LTE i727 from Rogers which I formatted prior to using on the S4.
Hope my little tid bit helps
Mediaserver is a biotch. If you have a bad Media file on your card the phone looks for a way to decode whatever .ext (extension) the media file has and will continue to do so until it finds the correct decoder. When you have a bad file mediaserver continues to loop over and over until you get rid of that file. Best bet is to back up all your stuff onto your pc and format the card. Then re-load the card and this should rid of your mediaserver drain.
Please read forum rules before posting
Questions and help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

[HELP] media.extractor battery drain

I have an issue about the battery. I left my phone in my bag while working, after 7 hours, my phone died. I thought it was broken or something. But when I tried charge my phone I founf out that ran out of juice. It's just weird because I left my pphone in the bag with 63% left. It's not like this before.
Here are some information about my phone
- Stock rom
- I already updated the May patch
- Not rooted or anything
And oh, when I went to the battery section. This showed up (attached image), media.extractor draining about 40% of my juice. Anyone else encountered this? Let me know if you got some remedy for it. Thank you guys!
I was reading forums and it can be caused by some corrupted file on SD card, because looks like this app scans media files. Try removing your SD card (if you have one). If that doesnt help, try moving all your media files to your PC. Then look if drain continues.
TrueMS said:
I was reading forums and it can be caused by some corrupted file on SD card, because looks like this app scans media files. Try removing your SD card (if you have one). If that doesnt help, try moving all your media files to your PC. Then look if drain continues.
Click to expand...
Click to collapse
Hi there, I don't have any SD card on my phone. But I will be trying to move my files to the PC just like what you said. I'll be starting there. Thank you.
ceejaypoly said:
Hi there, I don't have any SD card on my phone. But I will be trying to move my files to the PC just like what you said. I'll be starting there. Thank you.
Click to expand...
Click to collapse
I browsed some forums and all of them said that it is some corrupted file on your storage.

Categories

Resources