Related
I'm a newbie, so please bare with me if I miscommunicate something.
I know there are tons of posts regarding this issue, and I'm sure I've read every possible one I can find regarding the Android/Media Server/Battery Drain issue to no avail, so I'm hoping that someone has some other advice based on the following information.
I'm running 4.2.2 via CyanogenMod (10.1.2-d2vzw). I occasionally use GoogleMusic/Audible, and all was well until about a month ago when my battery just started to die for now apparent reason. A quick search turned up the Media Server issue (at the time Media Server was running at 53%). I tried rebooting/power off-on, but no luck. Randomly about three days after the battery drain issue started, it seemed to disappear and battery life returned to normal.
Now last week the issue has returned and then some. I wiped everything, reinstalling CyanogenMod, no wallpaper, and I purposefully left off any audio-apps, anything I could think of media-related to see if this made a difference, but it didn't. I then added back GoogleMusic/Audible, but MediaServer still hovers around 60% usage. The phone runs hot all the time, even when connected to Wifi/4G. I'm just at a complete loss at to what I can do.
I've attached screenshots if this helps at all. Please let me know if there is any additional information I can provide.
Thanks in advance for any and all assistance.
SABmore said:
I'm a newbie, so please bare with me if I miscommunicate something.
I know there are tons of posts regarding this issue, and I'm sure I've read every possible one I can find regarding the Android/Media Server/Battery Drain issue to no avail, so I'm hoping that someone has some other advice based on the following information.
I'm running 4.2.2 via CyanogenMod (10.1.2-d2vzw). I occasionally use GoogleMusic/Audible, and all was well until about a month ago when my battery just started to die for now apparent reason. A quick search turned up the Media Server issue (at the time Media Server was running at 53%). I tried rebooting/power off-on, but no luck. Randomly about three days after the battery drain issue started, it seemed to disappear and battery life returned to normal.
Now last week the issue has returned and then some. I wiped everything, reinstalling CyanogenMod, no wallpaper, and I purposefully left off any audio-apps, anything I could think of media-related to see if this made a difference, but it didn't. I then added back GoogleMusic/Audible, but MediaServer still hovers around 60% usage. The phone runs hot all the time, even when connected to Wifi/4G. I'm just at a complete loss at to what I can do.
I've attached screenshots if this helps at all. Please let me know if there is any additional information I can provide.
Thanks in advance for any and all assistance.
Click to expand...
Click to collapse
Look through your SDcard look for any Pics or MP3s that are at 0KB that was my issue. once i removed all ofthe croupted pics my media server issue went away.
Thanks. I assume you are talking about my internal SD card? I unmounted my external SD card to see if that made a difference...its was negligible. Then only folder on my internal card that seems to really have anything in it is the "blobs" under ClockWorkMod, but there are over 3000 folders with files under it. Could it be somewhere in there? And if so, any suggestions on how to quickly find it? Thanks again.
squito said:
Look through your SDcard look for any Pics or MP3s that are at 0KB that was my issue. once i removed all ofthe croupted pics my media server issue went away.
Click to expand...
Click to collapse
I would say nandroid and backup internal sd card. Then do a clean wipe and format of internal sd. Restore nandroid and then copy back data that you need from backup. ( if a file gets corrupted while playing it can cause media scan to hang up and keep goung over and over it. Option 2 (a short fix) downloaad rescan media root from play store and run. I always select disable a second time then close it. If you add media and it doesn't show up run rescan and enable then see if it shows up. if so run again and disable.
Cruzin' tha Galaxy SIII via Obsessed Rom / "INAPPROPRIATE" Kernel
---------- Post added at 08:36 PM ---------- Previous post was at 08:35 PM ----------
bbolton_98 said:
I would say nandroid and backup internal sd card. Then do a clean wipe of everything and format of internal sd. Restore nandroid and then copy back data that you need from backup. ( if a file gets corrupted while playing it can cause media scan to hang up and keep goung over and over it. Option 2 (a short fix) downloaad rescan media root from play store and run. I always select disable a second time then close it. If you add media and it doesn't show up run rescan and enable then see if it shows up. if so run again and disable.
Cruzin' tha Galaxy SIII via Obsessed Rom / "INAPPROPRIATE" Kernel
Click to expand...
Click to collapse
Cruzin' tha Galaxy SIII via Obsessed Rom / "INAPPROPRIATE" Kernel
I have this issue no matter the ROM; TW and AOSP it doesn't matter. I've formatted my SD card in both a PC and in the phone. I have 25+ gigs of music and video on my sd card and I'm not going through that to find the culprit. The only thing I can get to stop this is an app in the market called "Rescan Media Root". It stops the media scanner and the drain. Unfortunately (and obviously) you have to be rooted.
Fixed by changing a developer option
I'm running LiquidSmooth 10,2 and was able to fix this by unchecking "Scan for media at startup" in developer options.
I'm not totally sure as to the downside of this, I've not noticed any difference in how or where my media is displayed but it does get rid of the battery draining service that runs all the time. YMMV of course.
marcusleemitchell said:
I'm running LiquidSmooth 10,2 and was able to fix this by unchecking "Scan for media at startup" in developer options.
I'm not totally sure as to the downside of this, I've not noticed any difference in how or where my media is displayed but it does get rid of the battery draining service that runs all the time. YMMV of course.
Click to expand...
Click to collapse
The only downside to that is if you put new music n your device your music player may not see it unless you manually scan for media.
Sent from my SCH-I535 using Tapatalk
I haven't had this problem lately but I have definitely had it in the past. In my case I had a corrupt Jpeg that caused it. I wonder if there is a way to find out which files the media scanner is having trouble with... at the time it didn't say anything in the log.
I saw this too
CrustyMcLovin said:
I haven't had this problem lately but I have definitely had it in the past. In my case I had a corrupt Jpeg that caused it. I wonder if there is a way to find out which files the media scanner is having trouble with... at the time it didn't say anything in the log.
Click to expand...
Click to collapse
I also had a corrupt JPEG from the screenshot folder. I'll find out later if deleting it helps the battery drain. But how I found it was kind of neat: plug it into a Windows 7 machine with a micro-USB cable, open up Windows Explorer and use the search bar in the top right to search for files of empty size. It found several other files too, but that was the only media-looking one.
SABmore said:
I'm a newbie, so please bare with me if I miscommunicate something.
I know there are tons of posts regarding this issue, and I'm sure I've read every possible one I can find regarding the Android/Media Server/Battery Drain issue to no avail, so I'm hoping that someone has some other advice based on the following information.
I'm running 4.2.2 via CyanogenMod (10.1.2-d2vzw). I occasionally use GoogleMusic/Audible, and all was well until about a month ago when my battery just started to die for now apparent reason. A quick search turned up the Media Server issue (at the time Media Server was running at 53%). I tried rebooting/power off-on, but no luck. Randomly about three days after the battery drain issue started, it seemed to disappear and battery life returned to normal.
Now last week the issue has returned and then some. I wiped everything, reinstalling CyanogenMod, no wallpaper, and I purposefully left off any audio-apps, anything I could think of media-related to see if this made a difference, but it didn't. I then added back GoogleMusic/Audible, but MediaServer still hovers around 60% usage. The phone runs hot all the time, even when connected to Wifi/4G. I'm just at a complete loss at to what I can do.
I've attached screenshots if this helps at all. Please let me know if there is any additional information I can provide.
Thanks in advance for any and all assistance.
Click to expand...
Click to collapse
Fixed all media scanner issues: [Fix] Android Media scanner sdcard CPU utilization, battery drain
Probably this could help, I wrote a small app, just for a little workaround, till this is fixed.
#MediaserverKiller
Playstore - http://bit.ly/18ebi5D
thanks
rori~ said:
Probably this could help, I wrote a small app, just for a little workaround, till this is fixed.
#MediaserverKiller
Playstore - http://bit.ly/18ebi5D
Click to expand...
Click to collapse
i will try out your app. Hope it works.
Happy holidays!
rori~ said:
Probably this could help, I wrote a small app, just for a little workaround, till this is fixed.
#MediaserverKiller
Playstore - http://bit.ly/18ebi5D
Click to expand...
Click to collapse
Thanx for the app dude! Used your app, but did not help for me. Im not saying it doesnt work, just not for me. Thanx alot for your work. hope you will write some more apps soon !
How to stop Media drainig your battery
I had "Media" on the first place in battery chart (under Settings). It was caused by "face recognition of my friends" inside all photos and videos I put inside my phone and MicroSD card. This could be simply disabled by going to Gallery application (Samsung's default tool for viewing photos and videos). Go to main home screen (press main hardware button in the middle under display), then touch Apps (should be in the lower right corner of your display), find Gallery (by sweeping left/right), inside Gallery press Menu button (left softkey), choose Settings and there disable "Tag buddy" and "Face tag". You may unset (switch off) all "Cloud sync" too (probably Dropbox sync at least) - touch it and switch off all syncs (Pictures, Videos, Documents). You may try to enable something and check out your battery chart in Settings again (you have to fully recharge to reset battery usage chart under Settings).
Hope it helps.
Milan Kerslager said:
I had "Media" on the first place in battery chart (under Settings). It was caused by "face recognition of my friends" inside all photos and videos I put inside my phone and MicroSD card. This could be simply disabled by going to Gallery application (Samsung's default tool for viewing photos and videos). Go to main home screen (press main hardware button in the middle under display), then touch Apps (should be in the lower right corner of your display), find Gallery (by sweeping left/right), inside Gallery press Menu button (left softkey), choose Settings and there disable "Tag buddy" and "Face tag". You may unset (switch off) all "Cloud sync" too (probably Dropbox sync at least) - touch it and switch off all syncs (Pictures, Videos, Documents). You may try to enable something and check out your battery chart in Settings again (you have to fully recharge to reset battery usage chart under Settings).
Hope it helps.
Click to expand...
Click to collapse
Thank you so much! I just got a S3, updated to 4.3, all of a sudden the battery would die with in hours. I have the media server bug, no sd card (yet), factory reset the phone, still had the issue. I just tried the above, Gallery settings then disabling those couple things. So far (3 hours in) media server isn't on my "battery" list. Hope this is the fix for me!
northvibe said:
Thank you so much! I just got a S3, updated to 4.3, all of a sudden the battery would die with in hours. I have the media server bug, no sd card (yet), factory reset the phone, still had the issue. I just tried the above, Gallery settings then disabling those couple things. So far (3 hours in) media server isn't on my "battery" list. Hope this is the fix for me!
Click to expand...
Click to collapse
Yeah, nvm. It worked for about 6-8 hours. I woke up and Media Server has used a crap ton of battery/resources :/ ugh. I'll try the fixes thread.
Media Server handles all apps using WiFi/Mobile Data for sync/update purposes. If you have any RSS readers installed, or if you have auto backup enabled in apps like Google+/Photos/Goggles, turn them off.
It reduces the CPU usage and you'll have normal battery life again.
Check the screenshot
I listed to some music for 2 hours this morning and media server was upto 44 present that's from listing to music off my external sd card, is that normal?
Sent from my GT-I9505G using XDA Premium 4 mobile app
Often your Media scanner can misbehave and eat lot of CPU, Battery un-wantedly.
I had been digging out how to fix it, and here are my solutions. Perhaps try al of them, it would definitely relieve your cpu and battery usage by large. Solution works on any Android version:
Solution 1. Clear media storage data
Settings > applications > Media Storage > clear data, force stop and reboot.
Solution 2. Remove unwanted media files
Navigate to /sdcard/DCIM/.thumbnails and delete all files. Repeat for external sd card.
On AOSP roms, Android gallery creates too many of thumbnails that later becomes problematic for media scanner.
Solution 3. Analyze and delete excessive media files
Find out what files are causing media scanner to go mad.
Use any sdcard analyst (I use ES file manager > menu > Sd card analyst) to determine which directory has lots of files/subdirectories inside it. Any directory having >1000 files/folders is an alarmingly high number. Get rid of them (if you can).
step 3 is the easy way to solve it any noobers can do this.
mediaserver 50% of battery usage IMPOSSIBLE to stop this sh_t ....!!!!!!
kill mediaserver apk not working,no one of the suggested solutions worked on my case.......Until i used Root Booster 2.9 and applied battery extreme settings.....after reboot the problem with mediaserver drain magically disappered from my phone !!!!!!!!!!
Have a good day ahead everyone !!!!!!
:laugh::laugh::laugh:
Hello everybody.
first of all i just want to mention that im really happy with the phone, especially after moving from galaxy s3 with its horrendous memory tasker and RAM.
ive noticed a problem thats been really bothering me:
after a day of use , maybe more, there seems to be a lot less memory available for the device, resulting in chrome/chrome beta reloading every time that i go back to it, even without performing any actions or loading new apps - simply moving to whatsapp for example and back to chrome - Bang! the browser reloads. I want to emphasize that this is not the normal behavior for chrome, as this does not occur after a fresh restart.
When i go to services running, there is about 800mb of ram left, but when i go to ES task manager, there is only 400mb, i dunno the cause for this difference, but i do know that despite disliking task managers very much , Pressing "Kill ALL" will restore the desired behavior for a while (no reloads).
I tried to root the phone and install Greenify , but this doesnt seem to be helping.
did anyone notice any similar behavior? thanks.
In my experience, chrome and chrome beta are huge memory hogs and refresh quite often no matter what. For that reason, I stay away from it and stick with the aosp browser. It's fast and light.
Sent from my SGH-T999 using Tapatalk
i understand what you're saying - but im referring to the data displayed by es task manager (having a lot less memory than reported) and also to the fact that after a reboot , or closing all task, the phone does have enough memory to come back to chrome without reloading it .
notice im not complaining about the memory used by chrome, also having more than 500MB of RAM left should be enough anyway no?
also - as far as i know AOSP browser is no longer supported, no?
I've also experienced this on my N5. Sometimes when switching away from chrome and then back again, even briefly, will cause the web page to refresh. This is extremely annoying especially when you're on a internet banking page which will require you to re-login.
daisun said:
I've also experienced this on my N5. Sometimes when switching away from chrome and then back again, even briefly, will cause the web page to refresh. This is extremely annoying especially when you're on a internet banking page which will require you to re-login.
Click to expand...
Click to collapse
this is exactly what im experiencing.
however, since it doesnt happen after restart or killing all apps, it is somehow memory related, but with having 800mb free, i dont really understand the issue :/
Surely the Android devs at google use internet banking, hopefully a fix arrives soon...!
I nerfed chrome as its so messed I cant even use it also drains batter like no tommarow it was always reloading for me to I went to opera it has working word wrap and way less draw on batter.
This has anyways happened to me. Since gal nexus, n4, n5, and n7. /shrug. Maybe it's a nexus thing? I thought this happened on all devices with chrome.
Sent from my Nexus 5 using Tapatalk 2
I've had S4 and N4 and it certainly doesn't happen, at least not from switching away from chrome and back again within a few seconds. But those devices were on Android 4.3.
frigidazzi said:
This has anyways happened to me. Since gal nexus, n4, n5, and n7. /shrug. Maybe it's a nexus thing? I thought this happened on all devices with chrome.
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
It happens on galaxy s3 but that device has 1gb of memory with only 100mb or less available usually . nexus 5 even at its worst state has more than 500MB, so it def. shouldnt happen.
After side loading the 4.4.1 update (got tired of waiting for the ota) the chrome reloading seems to be fixed! I've only done brief testing but it looks promising.
I had weird problems with Moto G3 touch screen.
1. Touch screen hangs when I restart phone and immediately swipe for notifications.
2. Sometimes home buttons are not working.
3. Sometimes whole touch screen doesn't work. Lock and unlock solves issue.
4. This is really weird. When home button is not working. I press and hold for a moment. Google App starts and all 3 buttons start working.
5. Notification window automatically flashes at regular interval without swiping.
I don't understand. I tried to debug.. It seems software issue not hardware issue. Please help.
Sounds like a lag problem... memory full or runaway app... I would first do a cache wipe, then check memory usage and make sure it isn't almost full, then look at storage because I have seen phones do this when internal storage is very limited.
Thanks for reply. One more problem added
acejavelin said:
Sounds like a lag problem... memory full or runaway app... I would first do a cache wipe, then check memory usage and make sure it isn't almost full, then look at storage because I have seen phones do this when internal storage is very limited.
Click to expand...
Click to collapse
I have done factory reset twice. I always keep enough space in phone. I cleanup everyday. Memory issue can never be problem for me. I dont keep unnecessary data. Now i have observed one more problem. Notification window automatically flashes at regular interval without doing anything.
jigarmori said:
I have done factory reset twice. I always keep enough space in phone. I cleanup everyday. Memory issue can never be problem for me. I dont keep unnecessary data. Now i have observed one more problem. Notification window automatically flashes at regular interval without doing anything.
Click to expand...
Click to collapse
Hmm... the whole notification bar is flashing at regular intervals? This really sounds like a software issue... Are you stock?
Honestly, at this point you need to absolutely verify hardware or software... I would factory default, and skip everything in setup, do not add Google account (important!) or restore anything, except login to WiFi. Does it still do it? If so, it is probably hardware and you need to RMA it to Moto, if it is OK then it's a software issue in one of your apps.
Any screen protector or case? Sometimes they are known to do weird things on this device, especially tempered glass ones.
One More Time Factory Reset
acejavelin said:
Hmm... the whole notification bar is flashing at regular intervals? This really sounds like a software issue... Are you stock?
Honestly, at this point you need to absolutely verify hardware or software... I would factory default, and skip everything in setup, do not add Google account (important!) or restore anything, except login to WiFi. Does it still do it? If so, it is probably hardware and you need to RMA it to Moto, if it is OK then it's a software issue in one of your apps.
Any screen protector or case? Sometimes they are known to do weird things on this device, especially tempered glass ones.
Click to expand...
Click to collapse
Thanks for quick reply. I agree with you. It's software issue. It works fine in safe mode. Actual hardware is fine. May be I can try factory reset one more time without adding google account. Okay. I will get back to you once I do reset. Thnx buddy.
Working without Google account
jigarmori said:
Thanks for quick reply. I agree with you. It's software issue. It works fine in safe mode. Actual hardware is fine. May be I can try factory reset one more time without adding google account. Okay. I will get back to you once I do reset. Thnx buddy.
Click to expand...
Click to collapse
Hi.. It's working smoothly without any problem. I haven't added Google account. Now what next? Should I debug which App is causing problem because I can't survive without Google account. I have to add.
Sorry I am new to website. I replied myself
acejavelin said:
Sounds like a lag problem... memory full or runaway app... I would first do a cache wipe, then check memory usage and make sure it isn't almost full, then look at storage because I have seen phones do this when internal storage is very limited.
Click to expand...
Click to collapse
Hi.. It's working smoothly without any problem. I haven't added Google account. Now what next? Should I debug which App is causing problem because I can't survive without Google account. I have to add.
jigarmori said:
Hi.. It's working smoothly without any problem. I haven't added Google account. Now what next? Should I debug which App is causing problem because I can't survive without Google account. I have to add.
Click to expand...
Click to collapse
Add the Google account but don't restore apps... Setup all the Google services and test, if it's OK then start adding apps a few at a time. If it starts acting up its a system settings issue, factory reset and add Google account but don't restore any services at all and continue to setup like a new device.
Sent from my XT1575 using Tapatalk
Ok
acejavelin said:
Add the Google account but don't restore apps... Setup all the Google services and test, if it's OK then start adding apps a few at a time. If it starts acting up its a system settings issue, factory reset and add Google account but don't restore any services at all and continue to setup like a new device.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Ok. Noted.
Ok. So that what's happening to me for a while.
I got xiaomi Poco f2 pro, and my phone is locking without any interference. I can watch YouTube, Netflix, i can use discord, my phone can just lie on on the table and suddenly he is locked. Weird is that my main lock screen have wallpaper with cat (for post purpose i will say IMAGE 1) and my desktop where I got all my apps IMAGE 2. so everytime when it locks by it self it has IMAGE 2. not screen lock image. Desktop.
Sometimes even i need to unlock him TWICE cause i have first lock screen and than second one.
So that all... Anyone have solve? I'm not using any kind of Google launchers or anything. Pure MIUI 12.5.1
I would disable screen lock (at least for now) before it locks you out.
Malware is always a possibility especially if it didn't do it before and no other cause can be found.
If malware is suspected and can't be promptly found/deleted, factory reset.
blackhawk said:
I would disable screen lock (at least for now) before it locks you out.
Malware is always a possibility especially if it didn't do it before and no other cause can be found.
If malware is suspected and can't be promptly found/deleted, factory reset.
Click to expand...
Click to collapse
so you think it could be a virus?
Juro.janosik said:
so you think it could be a virus?
Click to expand...
Click to collapse
It's always a possibility. If you run your Android well it's highly unlikely even on Pie.
However if suspected prompt action is the best way to limit damage.
I don't like that it's a critical system that's affected. That could go south on you fast.
Hey
I am have problem with my s21+ g996u1..after frimware update i noticed that there is some app that trying to open randomly in background but then it close immediately..that happens every few minutes
There is a way to downgrade frimware?
There is a way to Recognize that app that trying
To open randomly and close?
Please helps
You can't degrade easily if at all from the factory installed version. Android 11 is a nightmare.
Start like this...
Clear system cache.
Fixed?
Try in safe mode, if this resolves it, it's likely a 3rd party app you loaded.
If it still is doing it in safe mode, it's a factory loaded or system app.
Go to Device Care>Memory, clear the apps.
Back out of it then open it again.
Expand the list and see if you can spot the app doing it as it loads. Disable that suspect app(s) to confirm if it's the culprit. A package disabler app is very nice to have when doing this.
With some persistence you will find it.
~or~
The easy way...
Go to a Samsung Experience center at Best Buy and have a Samsung tech run a diagnostic on it.
They can likely spot it.
On Battery and device care, click on bar graph in top.
Check the app issue, maybe will show your bad app.
RATOz said:
On Battery and device care, click on bar graph in top.
Check the app issue, maybe will show your bad app.
Click to expand...
Click to collapse
Maybe but many apks are lumped together in Android Services. It's likely one of them or a Google app.
Problem apps don't always show under their name... that happens sometimes with the Google system apps.
Same here, S21+. After August update I've had the same issue as you, plus youtube fullscreen exiting every ~5 mins, Google Maps minimizing to window every ~5 mins, massive (2s+) freezes in games. None of this existed prior to this update. Someone messed up big time.
I installed the October update yesterday - to no avail, the issue persists.
EredarLord said:
Same here, S21+. After August update I've had the same issue as you, plus youtube fullscreen exiting every ~5 mins, Google Maps minimizing to window every ~5 mins, massive (2s+) freezes in games. None of this existed prior to this update. Someone messed up big time.
I installed the October update yesterday - to no avail, the issue persists.
Click to expand...
Click to collapse
Sounds like power management is active.
Disable it...
blackhawk said:
Sounds like power management is active.
Disable it...
Click to expand...
Click to collapse
If you mean power saving, then no, that's not the case. System cache clear didn't help either but I've just cleared the phone (factory reset), restored data with Smart Switch and looks like this helped. Gonna test it a bit more to confirm the solution.
EredarLord said:
If you mean power saving, then no, that's not the case. System cache clear didn't help either but I've just cleared the phone (factory reset), restored data with Smart Switch and looks like this helped. Gonna test it a bit more to confirm the solution.
Click to expand...
Click to collapse
Good. I avoid doing all firmware updates if my OS is running fast, stable and fulfilling its mission. Security is not an issue as best I can tell unless you do something stupid*.
Updates can do a lot of damage... if you like your OS, let it be.
*always backup critical data redundantly to at least 2 hhds that are physically and electronically isolated from each other and the PC.
You can use a OTG flashstick for quick "dirty" backups, but have the bulk of the backup on data hdds.
I use my SD card as a data drive on my N10+'s, then backup that card. That's why I demand a SD card slot; dual drive setups are the only way to go. The OS, apps, and the temporary download folder are the only things on the internal memory.
In crashes the data drive is usually spared. I can do a full manual restore from that data drive minus a few lost settings.
On my S21 Ultra (SM-G998B/DS) I have the same issue with "background activity" creating screen hick/refresh and switch from landscape full screen video to portrait mode.
Started after November security FW update end October.
Checked all possible settings and removing all 3rd party apps, hick-ups do persist...
'Glad' to read about this issue/bug here too, as I started to doubt myself...