Mediaserver eating battery on Carbon ROM - Verizon Samsung Galaxy S III

I've been running Carbon ROM for a solid 3 days and it's been working great. Probably the best battery life on a AOSP ROM I've had.
But...yesterday my battery just started draining and "Mediaserver" is the culprit. I was running a TW ROM for a long while and haven't seen Mediaserver show up and eat battery like it has been for months. I know for a while it was a big problem for a lot of people but I'm not sure if a fix was found.
I posted a couple pictures of it draining the battery but I don't know what do to.
I posted the on the Carbon ROM thread but nobody responded and it doesn't seem like anyone else is having the problem. Any help?????
Sent from my Transformer Prime TF201 using Tapatalk HD

If you have a lot of pics/music and/or files and you constantly access those files your mediaserver will be much higher. If you dont then give it a couple days to calm down.

I tried an app called "rescan media root" that someone suggested to me. I would open it every so often cause I kept seeing "Mediaserver" of the top of the battery chart. Didn't seem to help. Screenies below.
Still looking for any ideas
Sent from my Transformer Prime TF201 using Tapatalk HD

x714x said:
If you have a lot of pics/music and/or files and you constantly access those files your mediaserver will be much higher. If you dont then give it a couple days to calm down.
Click to expand...
Click to collapse
I have some music and picture on my phone but I wouldn't consider it "a lot".
I use to have this problem a while back on some of the first TW ROM's for the S3 but I haven't really had it for 4+ months. Now it's eating more then it ever did when I first saw the problem.
I know that early on the advice was to just let it run it's course which I've done for a couple days now on Carbon ROM. I'd think it should have settled down cause I've been running it for over 5 days.
Sent from my Transformer Prime TF201 using Tapatalk HD

Go into recovery, clear cache, dalvik, and fix permissions; has worked for me in past when that happens
Sent from my SCH-I535 using xda app-developers app

Usually when I have had this I would go through and add .nomedia file to the folder that I didn't want the media server to scan. The biggest folders would be any folder that has backups like clockworkmod or Titanium Backup. then reboot. This usually works for me.

mapatton82 said:
Usually when I have had this I would go through and add .nomedia file to the folder that I didn't want the media server to scan. The biggest folders would be any folder that has backups like clockworkmod or Titanium Backup. then reboot. This usually works for me.
Click to expand...
Click to collapse
What kind of file is the ".nomedia"? Can I jsut copy it from another folder that should have it already?

schmaltzy said:
What kind of file is the ".nomedia"? Can I jsut copy it from another folder that should have it already?
Click to expand...
Click to collapse
Yeah that's what I did, not sure how to create it from scratch.

mapatton82 said:
Yeah that's what I did, not sure how to create it from scratch.
Click to expand...
Click to collapse
Sorry, I should have edited my last post. I found some .nomedia in a couple other folders that must have been created by other apps....????
Just copied it into certain folders like TWRP and Titanium backup. Also went through almost all my folders and deleted unused items and other junk like empty/unused folders.
So far I'm at 87% with 4 hours and 10 minutes of being off charger and Mediaserver is nowhere to be found. Light usage and only about 5 minutes of screen time. I'll consider good for now.

Any help as to where to find the .nomedia folders?
Sent from my SCH-I535 using xda app-developers app

Related

My only issue with my charge.

So pretty often when u back out or exit an application back to the home screen all my applcations has disappeared for about 5secs then reappear. Does this happen to anyone else? Thanks stock phone too.
Sent from my SCH-I510 using XDA Premium App
I've seen it happen before on my phone. It was before rooting and before debloating. It hasn't happened lately though.
Sometimes when I'm running many apps in the background or running 1 app that taxes the CPU heavily, I get something similar.
Happens to me with Gmail. I'll back out of an email to go to my inbox, and the phone looks like it's backing out but goes right back to the same message.
Does rooting fixes it?
Sent from my SCH-I510 using XDA Premium App
Androidfreakz said:
Does rooting fixes it?
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
Not necessarily. By rooting, you are able to remove/freeze all the crap that Verizon pre-installed onto the phone, which causes a lot of lag, delay, and slowed responsiveness. It wont solve all your problems though.
Also I noticed a pretty big difference when touchwiz was frozen. I don't dislike touchwiz, but due to the fact that it keeps my Charge laggy I'd rather have it removed and use Launcherpro.
Androidfreakz said:
Does rooting fix it?
Click to expand...
Click to collapse
Not exactly, but rooting can get you half-way there.
1) Create a file called local.prop, which contains the following line:
ro.HOME_APP_ADJ=0​2) Save the local.prop file in your /data directory (off of root).
This will try to force your Launcher application to stay in memory. It doesn't guarantee that you won't get a screen refresh, but it makes it occur less often.
I attached a ZIPped copy of local.prop below. You will need root access, and a file manager like Root Explorer to enable writing to your /data directory.
Cheers,
¿GotJazz?
Has anyone tried running the V6 Supercharger script on their Charge yet? I tried it on my OG droid (only 256 RAM) and it completely eliminated these annoying redraws. The solution is supposedly compatible with any android device. I haven't had any memory issues yet, so I haven't got around to implementing it.
I ran the supercharger script and changed my settings to "mutiltasking". Everything's works great, but I haven't really had many memory issues since flashing a debloated ROM.
Sent from my SCH-I510 using Tapatalk

Battery life suddenly sucks on infused 1.5

So until about a week ago I had jusy been using the infused rom, and my phone would be unplugged at 6am, and by 2pm still have about 97 percent battery life. I was using setcpu to underclock to 800mhz, and nothing more.
A few days agoil I tried installing go launcher and launcher pro to check em out, and battery life was absolute crap so I uninstalled them, however my battery life is still terrible. Now I have to charge it to 100% every 6 or so hours, even though I reverted back to infused. Can anyone tell me if theres an obvious solution, or help me out? Would a wipe work?
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Insideac said:
So until about a week ago I had jusy been using the infused rom, and my phone would be unplugged at 6am, and by 2pm still have about 97 percent battery life. I was using setcpu to underclock to 800mhz, and nothing more.
A few days agoil I tried installing go launcher and launcher pro to check em out, and battery life was absolute crap so I uninstalled them, however my battery life is still terrible. Now I have to charge it to 100% every 6 or so hours, even though I reverted back to infused. Can anyone tell me if theres an obvious solution, or help me out? Would a wipe work?
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Click to expand...
Click to collapse
A battery calibration helped me.
How do you do that?
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Insideac said:
How do you do that?
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Click to expand...
Click to collapse
Charge the phone to full (wait for it to say "full battery" in status bar)
Unplug the charger
Turn off the phone
plug the charger back in
wait until the battery icon says 100%
turn the phone back on
charge to full again (the notification will say battery full)
Reboot into clock work mod recovery
navigate to advanced -> wipe battery stats
reboot phone
Also, there's an app for it called battery calibrator I used and it seems good.
Sent from my SAMSUNG-SGH-I997 using XDA App
there's also the possibility the DRM service for the media hub is bugging out (happened to mine earlier)
there was a thread about it a week days ago.
http://forum.xda-developers.com/showthread.php?t=1161949
Note: Some people were reporting issues where getting rid of these services were causing problems with the stock music player and/or other things. read through the post.
I personally haven't had those issues after freezing those two apks with titanium backup (I'm on Infused 1.5.0 and the drm apks are in it for whatever reason)
hwaters said:
there's also the possibility the DRM service for the media hub is bugging out (happened to mine earlier)
there was a thread about it a week days ago.
http://forum.xda-developers.com/showthread.php?t=1161949
Note: Some people were reporting issues where getting rid of these services were causing problems with the stock music player and/or other things. read through the post.
I personally haven't had those issues after freezing those two apks with titanium backup (I'm on Infused 1.5.0 and the drm apks are in it for whatever reason)
Click to expand...
Click to collapse
Personally I didn't disable any of these DRM services. I disabled the media hub though cos I don't use it. I disabled the media scanner too, and replaced Gallery app with QuickPic app.
Dont get rid of the drm. I did and my notifications were not working until i reboot, but happens again after a while..set it back to how it was, and everything was fine
Sent from my SAMSUNG-SGH-I997 using XDA App
just kill the drm service. settings > applications > running services. dont actually delete the apks. youll start having some things crash on you. hopefully its not something we need after gingerbread.
Try a different kernal ... recommend infusion 1.8 and then UnderVolt the Ghz
Sent from my SAMSUNG-SGH-I997 using XDA App
So...i realize now I uninstalled the drm services, that must be why my clock and video player keep crashing and possibly affecting battery. I dont think I backed them up, does anyone know where I can find copies of the apks?
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Insideac said:
So...i realize now I uninstalled the drm services, that must be why my clock and video player keep crashing and possibly affecting battery. I dont think I backed them up, does anyone know where I can find copies of the apks?
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Click to expand...
Click to collapse
You should be able to get them from the 1.5.0 ROM zip under /system/apps.
diablo009 said:
You should be able to get them from the 1.5.0 ROM zip under /system/apps.
Click to expand...
Click to collapse
you can use any rom actually seeing as i doubt they modified it its called sisodrmprovider.apk
diablo009 said:
Personally I didn't disable any of these DRM services. I disabled the media hub though cos I don't use it. I disabled the media scanner too, and replaced Gallery app with QuickPic app.
Click to expand...
Click to collapse
what method did you use to disable media hub? Thanks

(Q) CM7

Hello I tried searching to no avail, I'm in the latest cm7 nightly and its.a bug that I've had since day one (been using it for a few weeks) well.everytime I delete photos from my gallery they all come.back when I reboot my phone. Idk what to do! Its like the gallery doesn't really delete the pictures.
Sent from my SGH-I997 using XDA App
skippyg said:
Hello I tried searching to no avail, I'm in the latest cm7 nightly and its.a bug that I've had since day one (been using it for a few weeks) well.everytime I delete photos from my gallery they all come.back when I reboot my phone. Idk what to do! Its like the gallery doesn't really delete the pictures.
Sent from my SGH-I997 using XDA App
Click to expand...
Click to collapse
Umm... okay? Delete them in the file manager. Problem solved. Or stop taking pictures that you need to delete.... problem solved....... lol.
Sent from my A500 using Tapatalk
It'll do this to me too. I noticed it'll save some pictures on the ext. SD and the int. I just manually delete photos from the DCIM folder or copy them to my computer. So, check where the pictures are going.
Its a hassle having to go into the file manager to.delete a picture I thought I took
Thanks.
On aanother note.does anyone have an issue with overheating? I woke up today to my phone blistering hot at 62'c
Sent from my SGH-I997 using XDA App
skippyg said:
On aanother note.does anyone have an issue with overheating? I woke up today to my phone blistering hot at 62'c
Click to expand...
Click to collapse
Do you leave your phone plugged in all night? My phone will heat up if it's plugged in and I'm doing something on it. Might want to see if an app is running in the background and causing the heat up.
Yah I plug it in over night only chance I get to.charge it. I've checked for.running apps and none show up that would cause it to over heat. It usually is remedied with a reboot.
Sent from my SGH-I997 using XDA App
Instead of using gallery I use quickpic. You could try that out from the market its free.
Sent from my SAMSUNG-SGH-I997 using xda premium

Battery question what's media server mean?

A new thing killing my battery is media server. Whats that
Sent from my SAMSUNG-SGH-I727 using xda premium
me too...
Thought it might be allshare?
Got no clue. I am not sharing anything. Made me think maybe kiss air responsible
Sent from my SAMSUNG-SGH-I727 using xda premium
Are you referring to media hub? If so, you can freeze or uninstall it.
Wow, this just jumped up for me as well. For the last day and a half my battery life has been brutal. This morning I'm down 16% in 45 min. despite not using my phone.
Looks like two apps are the culprits: Media and Media Server. Can anyone tell me how I can determine what is forcing these to run?
I thought I could correlate it to installing a free Amazon talking book, 'cause after installing it this weekend my media server never seemed to shut off and I had to reboot to kill it. But I uninstalled the app last night with no improvement.
xxsicknessxx said:
A new thing killing my battery is media server. Whats that
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
That is so curious, I have nothing like that even on my radar. Are you guys using debloated roms?
Sent from my SAMSUNG-SGH-I727 using xda premium
FWIW, this isn't a new issue, just new to me. Quite a few theories as to the cause.
http://forum.xda-developers.com/showthread.php?t=980575
http://androidforums.com/eris-support-troubleshooting/217747-mediaserver-using-battery.html
Looks like some have had success removing all media files from their SD cards. Doing this piecemeal sounds pretty daunting to me - seems like every app folder and subfolder has at least images in it. Think I'll wait til next time I flash to start fresh. If this battery drain keeps up it will probably be in the next couple hours
xxsicknessxx said:
A new thing killing my battery is media server. Whats that
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Are apps that use the media scanner working properly? Apps such as music, camera, gallery, etc?
Sent from my SAMSUNG-SGH-I727 using XDA
Everything else seems to work fine for me. This is driving me crazy. I formatted my SD card, but no improvement. Media Server continues to run. I then wiped once, but still it's running. Been running Silver's ICS for a week with no issues at all, then this started two days ago.
Next up I'm gonna wipe 3x, then dalvik wipe, then reflash. ARRRRGH!
Altarocks said:
Everything else seems to work fine for me. This is driving me crazy. I formatted my SD card, but no improvement. Media Server continues to run. I then wiped once, but still it's running. Been running Silver's ICS for a week with no issues at all, then this started two days ago.
Next up I'm gonna wipe 3x, then dalvik wipe, then reflash. ARRRRGH!
Click to expand...
Click to collapse
Have you tried moving everything off of your emmc (internal sd) to your computer? Then reboot. I had a problem with media scanner doing that. I take it you never used the Odin one click?
Sent from my SAMSUNG-SGH-I727 using XDA
eagle0042 said:
Have you tried moving everything off of your emmc (internal sd) to your computer? Then reboot. I had a problem with media scanner doing that. I take it you never used the Odin one click?
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
Haven't used Odin on this SR (it's a two-week old replacement). I've only used Odin in the past to remove root. I'm at a loss here. I've formatted my ext. SD, wiped my phone numerous times, flashed 3 different ROMs today, and restored every app one-by-one so that I don't restore the data. Still media server runs like a top.
Is there a way to use Odin that's faster than removing root and starting over? I gotta fix this - I can't last 4 hours on a battery.
Altarocks said:
Haven't used Odin on this SR (it's a two-week old replacement). I've only used Odin in the past to remove root. I'm at a loss here. I've formatted my ext. SD, wiped my phone numerous times, flashed 3 different ROMs today, and restored every app one-by-one so that I don't restore the data. Still media server runs like a top.
Is there a way to use Odin that's faster than removing root and starting over? I gotta fix this - I can't last 4 hours on a battery.
Click to expand...
Click to collapse
I know what you mean. Have you tried running fix permissions in rom manager? You have to install busybox from the market first, though.
Edit: Here's a link to a busybox installer:
https://play.google.com/store/apps/details?id=stericson.busybox
Sent from my SAMSUNG-SGH-I727 using XDA
Just finished fixing permissions and rebooted. I'm only 7 minutes into the battery monitor, but media server is still running over 50% of drain. Sigh, guess a trip to Odin is in order.
Huh. I was having a similar problem, and moving all the files from the internal sd card to my computer fixed it. And then I read somewhere that fix permissions would work too. Sorry I couldn't be more of a help. Good luck!
Sent from my SAMSUNG-SGH-I727 using XDA

SDM.apk removal better battery life

I am running tweakstock1.4 rom with PBJ kernal. I recently froze the system apk SDM.apk idea being it is blocked by the rom to keep it from down loading OTA updates but it is eating up the battery trying to or looking for the OTA. I went one step further and uninstalled the SDM.apk all together. So far so good ill need a little more time to see if it helps with battery life. But if anyone wants to try it I haven't had any fcs lag or any problems since removing it try at your own risk but I think the coast is clear.
Thanks for the update, please keep us posted.
Jugger naut said:
I am running tweakstock1.4 rom with PBJ kernal. I recently froze the system apk SDM.apk idea being it is blocked by the rom to keep it from down loading OTA updates but it is eating up the battery trying to or looking for the OTA. I went one step further and uninstalled the SDM.apk all together. So far so good ill need a little more time to see if it helps with battery life. But if anyone wants to try it I haven't had any fcs lag or any problems since removing it try at your own risk but I think the coast is clear.
Click to expand...
Click to collapse
I too backed it up just in case and uninstalled in TB. No fcs. According to my normal use, I cant tell too much difference. I don't know if I can stop using my phone for long peiods of time to monitor battery drain.
Sent from my SCH-I510 using xda premium
Where would you get a crazy idea like SDM using up excessive battery from?
Anyway, freezing did the trick for me. Confirmed.
From a thread in the tweakstock rom post....at the very least it may be one more unneeded apk
I, too, froze it on nismo's advice. I've noticed no bad effects, and the plus is that I burned a hell of a lot less battery while on airplane mode.
I'll report in here if this keeps up tomorrow. So far so good!
Jugger naut said:
From a thread in the tweakstock rom post....at the very least it may be one more unneeded apk
Click to expand...
Click to collapse
Yes I know. I was the one that brought it to light. Feel free to hit the thanks button or reference the original discussion if it helped any.
Sent from my SCH-I510 using Tapatalk
crovax33 said:
I, too, froze it on nismo's advice. I've noticed no bad effects, and the plus is that I burned a hell of a lot less battery while on airplane mode.
I'll report in here if this keeps up tomorrow. So far so good!
Click to expand...
Click to collapse
I'm glad it wasn't just me that this could be useful to! Your battery usage was definitely atypical and freezing the rogue process app is much much better than the nuke and pave approach IMO. I like getting to the bottom of things.
Sent from my SCH-I510 using Tapatalk
Not trying to steal your thunder I tried to reply on the original post but being a newb i wasn't allowed access. Thanks button was pushed
Jugger naut said:
I am running tweakstock1.4 rom with PBJ kernal. I recently froze the system apk SDM.apk idea being it is blocked by the rom to keep it from down loading OTA updates but it is eating up the battery trying to or looking for the OTA. I went one step further and uninstalled the SDM.apk all together. So far so good ill need a little more time to see if it helps with battery life. But if anyone wants to try it I haven't had any fcs lag or any problems since removing it try at your own risk but I think the coast is clear.
Click to expand...
Click to collapse
How were you able to confirm that it was still using battery even after being frozen?
Sent from my SCH-I510 using Tapatalk
nismology said:
How were you able to confirm that it was still using battery even after being frozen?
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
I don't know about you but after I freeze something in titanium the apk is still there for some reason. It is not renamed at all.
nismology said:
How were you able to confirm that it was still using battery even after being frozen?
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
sdm.apk is considered as bloat ware. If you're in any doublt, just use root explore and move the sdm.apk from /system/app to any location on your sdcard as a backup. This way for sure it's not in use. I used betterbatterystats to verify it after froze the app and I don't see it any more.
JihadSquad said:
I don't know about you but after I freeze something in titanium the apk is still there for some reason. It is not renamed at all.
Click to expand...
Click to collapse
I'm sure it uses another mechanism to make things invisible to the OS. It might just change the permissions. Either way, freezing has always worked for me.
Sent from my SCH-I510 using Tapatalk
buhohitr said:
sdm.apk is considered as bloat ware. If you're in any doublt, just use root explore and move the sdm.apk from /system/app to any location on your sdcard as a backup. This way for sure it's not in use. I used betterbatterystats to verify it after froze the app and I don't see it any more.
Click to expand...
Click to collapse
I verified it was not active after freezing SDM 1.0 even before I posted my discovery in the tweakstock thread so I'm well aware. My question was specifically to the OP because he said that it was draining battery even after freezing.
....Maybe i need to upload an avatar or something.....
Sent from my SCH-I510 using Tapatalk
nismology said:
I verified it was not active after freezing SDM 1.0 even before I posted my discovery in the tweakstock thread so I'm well aware. My question was specifically to the OP because he said that it was draining battery even after freezing.
....Maybe i need to upload an avatar or something.....
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
He's a noob, what do you expect?haha just kidding. When titanium froze an app, that app is DEAD unless SDM 1.0 is not sdm.apk. But if it is it's dead. I haven't seen sdm since I froze SDM1.0. Judging just by battery life is not the right way, because battery life can be impacted by other process too, not just SDM. He must use tools like betterbatterystats or something to see the inner process. That's my IMO.
I was about to flash the Eclipse rom and thought I would remove the apk all together just to see if there were any repercussions. If it fouled things up no problem I was going to flash Eclipse anyway. I hadn't read about anybody removing it so I wanted to post my experience for the benefit of others. Apologies for my poor wording of what I was doing I didn't mean to convey that the apk was still sucking battery after it was frozen. Just wanted to say I hadn't had any problems after removing it.
Posted this in another thread but it's more relevant here:
http://www.freepatentsonline.com/y2011/0207483.html
buhohitr said:
He's a noob, what do you expect?haha just kidding. When titanium froze an app, that app is DEAD unless SDM 1.0 is not sdm.apk. But if it is it's dead. I haven't seen sdm since I froze SDM1.0. Judging just by battery life is not the right way, because battery life can be impacted by other process too, not just SDM. He must use tools like betterbatterystats or something to see the inner process. That's my IMO.
Click to expand...
Click to collapse
Yea I previously confirmed with better battery stats that the sdm_partial_wakelock was no longer a factor so I was just confused by his post is all.
Sent from my SCH-I510 using Tapatalk
buhohitr said:
sdm.apk is considered as bloat ware. If you're in any doublt, just use root explore and move the sdm.apk from /system/app to any location on your sdcard as a backup. This way for sure it's not in use. I used betterbatterystats to verify it after froze the app and I don't see it any more.
Click to expand...
Click to collapse
Not sure I would call it "bloat ware". It's a tech support / CS service. It's bloat when it's not needed, great when it is needed.
charlie_c said:
Not sure I would call it "bloat ware". It's a tech support / CS service. It's bloat when it's not needed, great when it is needed.
Click to expand...
Click to collapse
Right, but wouldn't you need to ODIN stock EP4D before getting any tech support / CS anyway? If that's the case, no need for SDM.

Categories

Resources