Does Mediaserver show up as a battery hog for anyone else? It seems to kick off at the start of the day after I've taken it off charge and chews up a load of battery. It appears to settle down as the day goes on but enabling CPU overlay in developer options shows it's always running. Is this normal or do i have some sort of wakelock?
Mine only shows up if I am listening to music, maybe playing video too but unsure of the latter. Definitely not without me doing something that invokes media.
I would not be surprised to find it invoked from Web content too, but don't know if it is or not.
Pull out your SD card. There might be one or several files on your SD card that are damaged, and that will cause media_server to "loop" and never finish scanning. So pull out your SD card, go a day without putting it back in and see if that solves the problem. If yes, format your SD card and try to find the damaged file(s).
J.Biden said:
Pull out your SD card. There might be one or several files on your SD card that are damaged, and that will cause media_server to "loop" and never finish scanning. So pull out your SD card, go a day without putting it back in and see if that solves the problem. If yes, format your SD card and try to find the damaged file(s).
Click to expand...
Click to collapse
Thanks, as it stands I've no external SD card installed.
mrjeffery said:
Thanks, as it stands I've no external SD card installed.
Click to expand...
Click to collapse
In that case, back up your media files (music, photo, videos, etc.) to a computer, and delete them from the phone. See if that resolves the issue. If so, as our veep suggested, you probably have a corrupted or damaged file.
I Also have that bug. really annoying as i checked all my media files and they are all ok (none corrupt) Uninstalled Spotify, google voice , etc... Reformated the whole thing, progress installed all my media : nothing. Then the next day it starting. "audio on" in GSam.
Can't find the issue. really annoying REALLY ANNOYING.
I don't want to install "mediaserver killer" app as it messed up my alarm (even when i put edit the authorisation list)
SAO said:
I Also have that bug. really annoying as i checked all my media files and they are all ok (none corrupt) Uninstalled Spotify, google voice , etc... Reformated the whole thing, progress installed all my media : nothing. Then the next day it starting. "audio on" in GSam.
Can't find the issue. really annoying REALLY ANNOYING.
I don't want to install "mediaserver killer" app as it messed up my alarm (even when i put edit the authorisation list)
Click to expand...
Click to collapse
Do you use any apps that use google cast at all?
mrjeffery said:
Do you use any apps that use google cast at all?
Click to expand...
Click to collapse
Nope none. Crazy. I even think I didn't have that problem with the previous FW.
SAO said:
Nope none. Crazy. I even think I didn't have that problem with the previous FW.
Click to expand...
Click to collapse
It is annoying. I read somewhere else that switching off the lockscreen sound fixed it for a few people.
mrjeffery said:
It is annoying. I read somewhere else that switching off the lockscreen sound fixed it for a few people.
Click to expand...
Click to collapse
Hmmm interesting. I'll try that out. I'll report back
---------- Post added at 18:06 ---------- Previous post was at 17:19 ----------
mrjeffery said:
It is annoying. I read somewhere else that switching off the lockscreen sound fixed it for a few people.
Click to expand...
Click to collapse
Didn't work lol. Thanks though.
Can listening to google music cause this to show? I have it too.
I found that after every call the mediaserver prozess (audio on) startet and never end. I have to reboot the phone to "kill/end" the mediaserver.
Any news about this annoying bug?
Solved! Disabled VoLTE and the wakelock is gone.
I found something new. On my phone the notifications cause the sound on. If i get a notification from Whatapp or hangouts etc the audio on count up til I read or dismiss the message. Now i try to disable the notification sound in android setting and use Floatify to play the notification sounds and now the sound on count only a few seconds up without running until I read or dismiss.
Sent from my SM-T810 using XDA-Developers mobile app
Where is volte located
Telefon / Mehr / Einstellungen / Einstellungen für ausgehende Sprache
Phoneapp / More / Settings / Settings for outgoing Calls
Hope the translation is right
Usee the phone about 30 mins (and listened to music for quite about the same period) and when i woke up i saw that Media server was top drainer (about 50 mins of cpu usage) along others that shouldn't be there.. I do have a microsd card in but don't have that much media :/. Nor corrupted files AFAIK.
I don't use/have voLTE.
This is an exynos variant.
I think you got the notification bug.Is your phone rootet? You can try to install GSam Battery Monitor and GSam root.
Look serveral times to App Usage/mediaserver/audio on. If it stays at the same time stamp wait for an incoming notification. Dont read or dismiss the notification and look serveral times to GSam and you can see that audio on will counting up until you read or dismiss the notification.
Sorry for my bad english.
I am facing the mediaserver issue after i reset my phone to actually avoiding android system and android battery drain. The phone resetted, and i took out the sd card to put ib second sim to activate WhatsApp. Thej put in the sd card back. Have been facinf media server issue since then.
Now my android os and android system drain have come to single digit, but mediaserver issue has cropped up.
I just used a brand new s7 edge for a little bit today. No sim card or sd card inserted, no music added. Only browsed the web with chrome (tethered to my old phone). At the end of the day, media server was using same amount of power as the screen (about 2 hrs on time). I still had lots of battery left but still annoying.
Related
Hey,
My Vibrant CONSTANTLY keep rescanning the media on the SD, and its slowing the phone to a crawl. Ill watch it start, finish, and then start again 30 seconds later (or so). Anyone else have this, and if so, did you find a solution?
Thanks!
Sounds buggy...mine usually just does it if I reboot the phone
Sent from my Samsung Vibrant using XDA App
Actually my ONLY complaint about this phone not constantly but every time I reboot and it takes a good while scanning, if I try to press on any button while scanning the phone freezes, there has to be a tweak to disable this feature when vibrant roms become available..
Thats my issue too....it freezes, the screen goes off, the button backlight stays on, and I cant do anything but hard-reset it by holding the power or pulling the battery. ive deleted almost everything of the internal SD, so I have no idea why its freezing
I remove the external card and still experiencing the same thing, I just don't understand how my old HD2 with buggy winOS never did this, come on Developers Android is an awesome OS and extremely configurable, PLEASE fix this issue for us.
Mine does it on reboot and after I unplug it from my pc. It is a little annoying but it doesn't last too long.
It's scanning 16gb of memory for media changes. Why would you expect that to be faster than 20-30 seconds. Are you guys serious?
Sent from my SGH-T959 using XDA App
If it's doing it constantly and not just on reboot than that is definitely a defect.
Sent from my SGH-T959 using XDA App
The media scanner runs for me, at least, every time the userspace filesystem is modified, so on unplug from PC, file copy/deletes in the file manager, bluetooth unpair...etc. If you have an app that is frequently writing to /sdcard then that's probably triggering it for you.
Did you replace your SD card with one from another phone? I don't get any major scanning issues
Just exchanged the phone for a new one. Will report back.
No, I am using the stock SD card (Not ready to lose Avatar yet)
zimphishmonger said:
Just exchanged the phone for a new one. Will report back.
No, I am using the stock SD card (Not ready to lose Avatar yet)
Click to expand...
Click to collapse
I know you can copy avatar to the internal memory and it will still work... but the link on the app won't find it, you'll have to go to files, ect. I'm pretty sure you can copy it to another SD card without any trouble. As far as the media scanner, it is pretty annoying...scanned alot when I first got the phone ..of course moving around avatar, it took a long time to rescan and it scanned several times. Now it seems to scan evertime I move or delete a file ...sometimes it scanns more than once but its usually pretty fast. It would be cool to change the settings to rescan only when you specify or something.
i have just over 7 gig of music on my sd card, scan after reboot lasts less than a min.
<edit> it is a class 6 card, so that might help with the speed etc...
I was messing around in /system and looked at one of the .conf files. There's a line in there for media with a value of "on". I'm sure if you edit it to "off" it'll stop scanning but who know what the negative effects would be.
Ya, I never had this media scanning on my G1, on any build. Wonder if it has something to do with the Internal SD and some sort of database it maintains of it. No idea why it wouldn't be simple flash memory though, exactly like an SD card
It's because of the Music player and such.
I'd still say try a reset. I just did and things (besides the GPS which is not going to be fixed by this) like the market and such aren't giving me such long loading screens. I was installing 3-5 apps at a time. Even the Friends feed widget doesn't have the looooooong loading screen anymore.
zimphishmonger said:
Hey,
My Vibrant CONSTANTLY keep rescanning the media on the SD, and its slowing the phone to a crawl. Ill watch it start, finish, and then start again 30 seconds later (or so). Anyone else have this, and if so, did you find a solution?
Thanks!
Click to expand...
Click to collapse
I have this same problem. Typically it will kick into the media scanning mode when opening Google Maps. The phone becomes unusable for several minutes. The screen will shut off and then comes back on close to a minute after hitting the power button. Sometimes it will display "Safe Mode" in the lower left corner.
yeah, I have an 8 gig card which is basically full and the media scanning I only notice on boot ups. And this takes very little time (20 seconds maybe).
I'm curious if you have a corrupt file or app that is causing the issue man?
Have you moved avatar to your computer, stuck the SD card in your PC and formatted it? I wonder if you put it back in your phone and rebooted if you would still have this issue?
Worse case you just move the folder with avatar back to the card, nothing lost.
Do you mind trying a format?
Someone should try the "Autostarts" app. I would try it, but it requires a rooted phone, and mines not rooted yet. This app may be able to prevent the media scanning...
http://www.androidcentral.com/android-quick-app-autostarts
Thanks for the tips. I have wiped, exchanged phones, wiping the internal and external SD, and attempted to prevent the scan using autostarts (although I didnt find anything specific), all w/o luck. Ive removed ALL my music from my internal SD, only pictures are left.
It seems to scan every few minutes or so, and it almost always causes a restart of the Touchwiz process (w/ a reload of all the widgets) and lags the phone a lot (so much that it doesnt respond to button touches for a minute or so)
Im about ready to dig in and disable this scan unless we can find a legitimate fix or purpose for it.
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.
Hi, ever since yesterday i been having a strange little problem; All my music files and photo/Videos are gone from my music player and gallery apps!.. I check the SD cards (both internal and external) all the content is still there except it wont load it! even when trying to access it with a different app (such as Play by AOL, Amazon MP3 player, Winamp, etc)... also when trying to switch my ringtone or notification sound it clashes! I tried rebooting the phone, downloading apps to re-scan my SD card and so far no luck...
another strange thing that stated happening yesterday also (I think it was around the same time, it sure seem like it) my phone started draining the battery really quickly. it gave me about 5 hours of life from 70% to 0%. this is waaay to quick! it usually gives me at least twice if not triple this!...
I have also notice that phone starts getting really warm when trying to load the music and gallery app...
has this happen to anyone else? or any suggestions? would really appreciate some helps... thanks...
Did rebooting help anything? I had a weird thing just the other day where all music and my ringtone were playing at really high speed. Rebooting fixed it, though I wonder what the issue was. There are programs that log cpu use by apps and things. For the battery issue I'd try one of those or go into your Battery Monitor in settings and see if you spot any apps that are eating all your battery. System Panel also works. It will keep a week long log of your cpu usage among other things.
You do anything else right before this?
Install any apps/p-roms anything like that?
Try a battery pull?
Try watchdog for a cpu monitor, it can notify you when an app is using excessive cpu.
Sent from my MB860 using Tapatalk
no, rebooting didn't help. I tried it multiple times. Tried pulling the battery leaving off for a couple of hours. Nothing
OK, i tried looking at the battery manager and it said that Media was taking up 35% of it!!! I tried force closing it. And after that some of my music became playable. But still it was very sluggish.
Unfortunately I did update alot of apps the previous day. So it may be attribute to one of them... but my phone is pretty much stock. Only with side loading enable... so no custom roms.
Thanks for your feedback, ill keep trying a see what happens and of course post my results for future reference..
PS my battery drain at an astonishing rate!; from 80% to 0% in less about 3hrs...
All we have always heard about the "media server" draining battery bug on S3/Note 2...
Well, i never suffered of this bug... but today my phone wake up with media being on top of the battery panel and being always active...
My rom is XDME6
what shall I do? Any other with that issue?
u probably need to use better battery stats to check first.
1) It could be due to Corrupted SD card , either the songs or pictures.
- My personal experience for this. My SD card when i check number of files, it shows 900, however, when i check i only have 700 mp3.
200 extra hidden files are creating problem. I formatted the card and recopy the mp3, issue resolve
Or it could a new App you have installed, it doesnt shut down properly leading to wakelock
- I too have this issue, after i installed one game, i realise this issue. (probably coz i play the game with max volume )
anyway in the end, i greenify the game, issue resolved.
I too experianced this recently. But after searching a bit I understood that the problem was in my 32gb external SD. So I copied everything in my sd to my PC and formatted it. Then put the only the important files back. It takes sometime but it's worthy. And now I'm having superb battery life
Sent from my GT-N7105 using xda app-developers app
I experienced this when I had it plugged from my phone micro-USB to built-in USB port in the car.
It turns out the car was constantly looking through my phone to browse for music and show on the dash. Once I stopped plugging it into the car, I no longer saw it.
Cauchon said:
I experienced this when I had it plugged from my phone micro-USB to built-in USB port in the car.
It turns out the car was constantly looking through my phone to browse for music and show on the dash. Once I stopped plugging it into the car, I no longer saw it.
Click to expand...
Click to collapse
The problem is REALLY SERIOUS.
MicroSD unmounted. 4 cores at 100% .... process android.media 84% cpu usage...
OK PROBLEM FIXED
:victory::victory::victory::victory::victory:
It was my fault!
On formatting and restoring my old settings (upgrading the rom) I copied the EA Real Racing 3 data folder on the wrong directory :laugh:
So the media scanner was going crazy for this..... :silly:
^ Title
My phone heats up then mediaserver is at 40% :/ how do i get rid of it? i tried to do some searching and came up with turning off Quick connect, Samsung push services but this still happens. i dont have any SD card mounted too. im on sm-900f. any fix for this? currently i restart the phone but it usually happens again after i restart >_<
Thanks in advance for anyone who can help.
poch21 said:
[HELP] Mediaserver Battery Drain + Heat
Click to expand...
Click to collapse
Mediaserver is just a generic category. You need to find out what app is using mediaserver. It's, as you might imagine, probably a media app e.g. audio or video player. An app like GSAM would help you track that down.
There is also an app that kills mediaserver every x hours. But it would be more effective to find the actual app that is the root cause.
.
Had the same problem. Happened to be some youtube-downloaded videos that I had recently downloaded and were somehow corrupted. Renamed then to .old and mediaserver disappeared right away. I've heard it also happens with big m3u or playlist files.
Hope this helps.
I just had this problem for 2 days. Media server is sipping the phone's battery at 45%. First, I tried turning off the phone and restart but it didn't solve the problem. But just this morning, when I was not connected to wifi, the media server disappeared. Then when I reconnected, it was completely gone (well, for now). That's just my observation. I have microsd with lots of data and media but I did not delete any of them. It like it went away on its own. :/
If you have an external SD card it's easy to reproduce the problem, just mount / unmount and you will see it starting / stopping. With internal you can backup the whole card and start deleting folders till it stops. It is cause of a faulty file, you just have to find it
I had the same problem, 45% battery used by media server on galaxy s5 stock rom. I solved problem by finding corupted file on micro sd card. I had 5 GB on micro sd. I have created folder name "backup" on internal storage. Then I select all files on sd and moved it to internal memory in "backup" folder. It took some time. At the end is says that it can't move two files. All other files were moved. Those to files were corrupted. The files which remains on sd card were videos taken with phone and when you tried to watch them they were freezing. I have format micro sd and at the end move everything back from backup folder to sd. Problem solved.
Settings > Connections > Nearby Devices > Disable ?
poch21 said:
^ Title
My phone heats up then mediaserver is at 40% :/ how do i get rid of it? i tried to do some searching and came up with turning off Quick connect, Samsung push services but this still happens. i dont have any SD card mounted too. im on sm-900f. any fix for this? currently i restart the phone but it usually happens again after i restart >_<
Thanks in advance for anyone who can help.
Click to expand...
Click to collapse
try to flash another firmware different country...:good:
it happned with me on stock rom but after i flash 5.0 russian this problem fixed:good::good:
dont forget to hit thanks