what is "media server" on this phone? - Samsung Epic 4G Touch

and why does it hope a lot of battery % ?
is it supposed to be running all the time?

It could be a number of things from playing media (Pandora, PowerAMP, moves, etc.) and/or the leftover service from the media hanging. You can use an app like OS Monitor to kill it and see if it calms down.
I've also read that it can be a sign of corrupt files on your SD Card. Try backing it up and formatting it, or removing recently taken photos/videos if it just started happening.

Related

[Q] Problem with MediaScanner Service...

Hi, well, i have a huge problem here. I have stock rom, rooted and framework-res.apk modified. the other day, I've filled the original SD (8GB) with about 5GB of music with winamp. I've selected to resample mp3 to 128kbps CBR, 44kHz (if the quality was better). That configuration always worked fine in my old Sony Ericsson W580.
However, here works too, but, the MediaScanner is lagging the phone. If I run "top" in terminal emulator, the process android.process.media is eating almost 99% of the CPU. I've readad that this problem comes with a corrupted mp3 or something like. In first time, I've removed the whole folder with all the music. It didn't worked, the cpu keeps at 99% (i really didn't see if that process eats more and more ram). Well, today, I've removed ALL the files in the SD, leaving it blank. But the problem is still there. The F*CKING process is eating the whole CPU, and some applications (like Winamp, Klaxon, Select Ringtone in Configuration, etc) crashes if this service is running.
Of course, if I kill it, the media list of winamp didn't notice of newer files or removed files...
So, what can I do???
Thanks.

[Q] High CPU usage by Media (Downloads and Media Storage processes)

I've seen the CPU usage by "Media" (android.process.media?) to be always extremely high (as seen by "Battery Usage" and "GSam Battery Monitor") - and seemed to be the culprit of my very fast battery drainage.
So using Titanium Backup, I Froze "Downloads 4.x.x" and "Media Storage 4.x.x" which seemed to have helped a LOT - I get much better battery life, and the CPU usage by "Media" is 0-1% as opposed to 80-98%.
Just wondering - anyone know why this is - and what side-effects I could have by freezing these two processes?
I have been dealing with this issue for the last couple of days too. I ended up having to clear the data in Google Music and start fresh.
I froze pretty much everything possible. Those two processes will make your music stop playing and prevent you from using system sounds. It might also keep the market from functioning.
I think the latest google music update messed something up though. My problem seems to have cleared up, but I also have not played music in a while to see if it comes back.
Gersonian said:
I have been dealing with this issue for the last couple of days too. I ended up having to clear the data in Google Music and start fresh.
I froze pretty much everything possible. Those two processes will make your music stop playing and prevent you from using system sounds. It might also keep the market from functioning.
I think the latest google music update messed something up though. My problem seems to have cleared up, but I also have not played music in a while to see if it comes back.
Click to expand...
Click to collapse
I've had this for quite a while - I don't play music - and I have not had any problems with notifications or sounds, or even downloads.
I read that it does affect Gallery - which I did just try - and yes it seems to force close. But I have always used QuickPic instead which does not seem to have a problem with me freezing these two processes.
I assume they scan the internal and external data locations for media/files... I've read that it's possible that the scanning process gets stuck in a loop if there is a corrupt file or if there is something wrong with the SD card... *shrug*
I'm just wondering if I should be worried.
I'm on CM10 by the way... amazing how much faster my GS3 is over stock...
I miss CM10 from when I was on my Epic. Eventually the day will come that I will flash something. For now I am still just tooling with the way I like things.
I read about the corrupt file issue too. I am keeping an eye on this. Every time I froze media the media-related processes, something inevitably got screwed up. Hopefully I have fixed the issue on my end.
Do you have Google Music on your phone? Just because you do not listen to music does not mean the application isn't draining your battery. It could be starting up and keeping your phone awake if there is something corrupt going on there. Probably better to seek out a solution that allows the core processes to run than to keep them frozen. More than likely you will lose some additional functionality than just the gallery FC'ing.
Gersonian said:
I miss CM10 from when I was on my Epic. Eventually the day will come that I will flash something. For now I am still just tooling with the way I like things.
I read about the corrupt file issue too. I am keeping an eye on this. Every time I froze media the media-related processes, something inevitably got screwed up. Hopefully I have fixed the issue on my end.
Do you have Google Music on your phone? Just because you do not listen to music does not mean the application isn't draining your battery. It could be starting up and keeping your phone awake if there is something corrupt going on there. Probably better to seek out a solution that allows the core processes to run than to keep them frozen. More than likely you will lose some additional functionality than just the gallery FC'ing.
Click to expand...
Click to collapse
Nope - I don't use Google Music - and I use a separate MP3 player for playing music (I'm one of those weird people who doesn't believe in wasting my phone battery on playing music.. haha)
I don't see anything else eating away at my battery life according to Gsam (well, ok, except the evil Amazon App Store - which I can't freeze since some apps I bought from Amazon require it - UGH).
Please read forum rules before posting
Questions go in Q&A
Thread moved
Instead of freezing these processes, when you reboot after a couple of minutes go to settings>battery and then to MEDIA and force stop. It will turn itself back on later if need be but that stops the ruanaway service with no apps force closing when used.
kennyglass123 said:
Instead of freezing these processes, when you reboot after a couple of minutes go to settings>battery and then to MEDIA and force stop. It will turn itself back on later if need be but that stops the ruanaway service with no apps force closing when used.
Click to expand...
Click to collapse
My phone is set to reboot every morning after Ti Backup does a backup of apps/data and I'd hate to have to go through that every morning.
(the SmartPhoneMate app also requires 1-2 reboots a day so that's why I also do that)
Yeah I'm just lazy
One day I'll take the time to figure out if it's something on my SD card...
I just wanted to make sure if there was something else I should be worried about... so far nothing major as far as I can tell.
P.S> Sorry about posting in the wrong place - as you can see, I'm total n00b here (been lurking for a while though)
Here is a good set of solutions and workarounds: http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/
In addition, a further one may be helpful/needed: disable (freeze) the Downloads app (com.android.providers.downloads)
What was most helpful in my case is to use the Rescan Media Root app to disable the buggy image scanner altogether.
ddvo said:
Here is a good set of solutions and workarounds: http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/
In addition, a further one may be helpful/needed: disable (freeze) the Downloads app (com.android.providers.downloads)
What was most helpful in my case is to use the Rescan Media Root app to disable the buggy image scanner altogether.
Click to expand...
Click to collapse
Good stuff... thanks!

[Q] Media service contiuously running

I have a 7100 with a 32GB card.. with around 1500 songs. My phone is always warm to touch and the battery drains like anything.. from 100% to zero in 6 hours or so. I've check the stats and it seems like the process Media runs ALL the time.. keeping the phone from going into deep sleep, and consuming CPU cycles and battery.
I've tried removing the SD card.. formatting it.. copying everything back, and putting it back in. No difference.
I tried stopping all Media related services, clearing the cache and data, and restarting the phone. No difference.
My phone is virtually unusable now. If I force stop the media service, then any new songs I add don't show up in my media library. When that happens, even running a SD card scanner doesn't do anything. It just runs forever and I have to kill it.
Any ideas how to solve this problem?
Running 4.1.2 DDDLK6, Build XXDMB2
J_Kirk said:
I have a 7100 with a 32GB card.. with around 1500 songs. My phone is always warm to touch and the battery drains like anything.. from 100% to zero in 6 hours or so. I've check the stats and it seems like the process Media runs ALL the time.. keeping the phone from going into deep sleep, and consuming CPU cycles and battery.
I've tried removing the SD card.. formatting it.. copying everything back, and putting it back in. No difference.
I tried stopping all Media related services, clearing the cache and data, and restarting the phone. No difference.
My phone is virtually unusable now. If I force stop the media service, then any new songs I add don't show up in my media library. When that happens, even running a SD card scanner doesn't do anything. It just runs forever and I have to kill it.
Any ideas how to solve this problem?
Running 4.1.2 DDDLK6, Build XXDMB2
Click to expand...
Click to collapse
Always been a problem with Samsung devices:
1. Install a startup manager from Play and go into system apps and disable Mediastorage.
2. Install Rescan Media Root. Open and enable it, close it and you`re done.
Reboot and that should fix you problem.
Thanks a lot.. just a little clarification. In Rescan Media Root, there are two buttons.. Re-Enable Media Scanner, and Disable Media Scanner. Which one do I click?
Disable media scanner
Sent from my GT-N7100 using xda premium
Ok thanks a lot.. will do and let you know how it goes. Hopefully that would solve the problem!!
The underlying problem is with one of your media files being corrupt... it can be hard to pinpoint though there is software that can assist (faster to find something for your pc) in locating corrupt media. Using a bandaid (disabling the scanner) can have negative implications...
Yes I've figured that there is a problem with a file.. but how to pinpoint it? I don't recall when it started happening.. disabling the scanner is not ideal. Now if I add more media, I'd have to manually scan the card, right?
J_Kirk said:
Yes I've figured that there is a problem with a file.. but how to pinpoint it? I don't recall when it started happening.. disabling the scanner is not ideal. Now if I add more media, I'd have to manually scan the card, right?
Click to expand...
Click to collapse
No rescan Media Root should do that automaticaly.
You can put a ".nomedia" file in the directory you don't want to be scanned. It's works very well to prevent media scanning. Disable media storage in the app manager is not a good idea, you lose all multimedia, can't play video and music or view pictures with stock apps, can't change ringtone and notification.
You have a corrupted file on the internal or external SD card.
Sent from my GT-N7100 using xda premium

mediaserver

So a few weeks after getting my Nexus 7, I noticed my battery lasted nowhere near where it did when I had first got it. I discovered the culprit to be media server. I have researched quite a bit what it is, and tried many thing to rid myself of this battery draining task. My nexus hardly even lasts a full 24 hours anymore. It seems it runs, and restarts itself no matter what I do. I even unlocked my bootloader (completely erasing the device) and the problem still persists. It seems like the only way I can actually get the service to stop is when I plug the USB into a PC as a media device (for obvious reasons).
What can I do to make my Nexus 7 useful again?
The problem may or may not be Mediaserver itself.
Mediaserver is quite buggy and if you have media files (music, videos) that it doesn't like (e.g. with tags that it has problems decoding), you may get the battery drain (mediaserver is trying to index your files). Try to remove all media files and clear the Mediaserver data/cache.
Mediaserver is also used for audio/video playback/recording and some other app may cause it to run.
The only music I have on my device were pinned through the Play Music App (and probably within some apps n stuff)
I pretty much have no files on it currently regardless.
How to I clear the apps cache? It doesn't even show up as an application in the settings.
SLUSHIE said:
How to I clear the apps cache? It doesn't even show up as an application in the settings.
Click to expand...
Click to collapse
The app is called 'Media Storage'.

G3 Battery Drain Media Server Tim Music

Hi everyone,
i have a battery drain problem caused by Media Server, that uses a consistent amount of my battery.
This problem only happens if I use the app TimMusic: a proprietary music streaming service of my carrier Tim (Italy), works basically like Spotify but it doesn't consume data.
If I don't use that app during the day the media server is not even visible in the battery tab in the phone's settings.
I am rooted and have installed Wakelock detector to prove this and the suspect process is not TimMusic itself but process "1013" with details "Nuplayer x1" that lasts as the Media Server time in battery section in settings (from when i start TimMusic to when I remove physically the battery) and "AudioOffload xY) with J the total number of seconds TimMusic has been playing music.
Basically when I close TimMusic the Media Server keeps searching for something until i re-insert the battery physically.
I tried to install Greenify to ibernate TimMusic and some other apps, but I'm doens't really work: MediaServer/ process keeps working.
How can I solve this? I don't want to keep re-inserting my battery physically everytime I use this app (basically everyday).
Thanks in advance.
derkanadier said:
Hi everyone,
i have a battery drain problem caused by Media Server, that uses a consistent amount of my battery.
This problem only happens if I use the app TimMusic: a proprietary music streaming service of my carrier Tim (Italy), works basically like Spotify but it doesn't consume data.
If I don't use that app during the day the media server is not even visible in the battery tab in the phone's settings.
I am rooted and have installed Wakelock detector to prove this and the suspect process is not TimMusic itself but process "1013" with details "Nuplayer x1" that lasts as the Media Server time in battery section in settings (from when i start TimMusic to when I remove physically the battery) and "AudioOffload xY) with J the total number of seconds TimMusic has been playing music.
Basically when I close TimMusic the Media Server keeps searching for something until i re-insert the battery physically.
I tried to install Greenify to ibernate TimMusic and some other apps, but I'm doens't really work: MediaServer/ process keeps working.
How can I solve this? I don't want to keep re-inserting my battery physically everytime I use this app (basically everyday).
Thanks in advance.
Click to expand...
Click to collapse
I'm also on Telecom italia! Hello friend! You could try to create a .nomedia file if you can find where it is scanning. See what you can do, find where it is scanning and then look into the .nomedia file. There will be alot on google about it I'm sure.
You have someting corrupted to your phone thats run unstoppable this wakelock and scan all the time. Search for pictures, videos, mp3 ,dat, files to the phone storage and to the sd card to find the corruped files and delete it.

Categories

Resources