[BUG] Serious Issue: Heating and Battery Drain caused by Mediaserver [TEMPORARY FIX]

Do you have this issue?


  • Total voters
    45

Tanvir741

Senior Member
Mar 26, 2011
54
29
0
Chittagong
The main culprit behind heating and battery drainage, is the MEDIASERVER.
If you have the heating issue.. check the Battery Usage, you'll see it there. But sadly it's not fixed yet, and I hope CM developers noticed the problem and working on a fix. Many user are facing this problem like me, but luckily not everyone I guess.
From day one I was facing this issue, I thought I got a faulty device, but after my research I figured out it's a CM bug.
After pulling out my SD card and formatting my device, it was fixed... but for few days, after inserting few files in the Internal Storage the problem came back. The Device became hot like 50°C+ and the battery didn't even last for 3-4 hours, the device was totally un-usable.



What's the reason behind it?
In short, this is mainly happening because of Mediaserver/Media Storage service running in infinite loop in the background due to some special character present in your file's name in your SD or Internal Storage, and it uses full CPU resources, thus it creates heating issue, battery drainage and no deep sleep.
You can read the full problem here.

Temporary Solution

STEP 1:
-
Go to all Apps, Disable "Media Storage" and Clear Data.
- REBOOT.
- Go to All Apps again and Enable "Media Storage". Done.
- DO NOT REBOOT, otherwise you to repeat from the process again.

STEP 2: (If you want to use your SD card)
- Create a ".nomedia" file in you SD card's root directory.
- Follow STEP 1 and you are done.

Note:
- Files won't show-up in default apps maybe, so use 3rd-party apps, eg. Quickpic, ES File Explorer, AIMP.
- If you're device starts to heat-up again, repeat STEP 1 again.

Alternate Solution:
You can also try this, but didn't worked for me.. rather it slowed/lagged my device.


I hope CM will fix this serious problem asap in the next update.
 
Last edited:

jeevan_500

Senior Member
Jun 29, 2013
158
13
0
visakhapatnam
The main culprit behind heating and battery drainage, is the MEDIASERVER.
If you have the heating issue.. check the Battery Usage, you'll see it there. But sadly it's not fixed yet, and I hope CM developers noticed the problem and working on a fix. Many user are facing this problem like me, but luckily not everyone I guess.
From day one I was facing this issue, I thought I got a faulty device, but after my research I figured out it's a CM bug.
After pulling out my SD card and formatting my device, it was fixed... but for few days, after inserting few files in the Internal Storage the problem came back. The Device became hot like 50°C+ and the battery didn't even last for 3-4 hours, the device was totally un-usable.



What's the reason behind it?
In short, this is mainly happening because of Mediaserver/Media Storage service running in infinite loop in the background due to some special character present in your file's name in your SD or Internal Storage, and it uses full CPU resources, thus it creates heating issue, battery drainage and no deep sleep.
You can read the full problem here.

Temporary Solution

STEP 1:
-
Go to all Apps, Disable "Media Storage" and Clear Data.
- REBOOT.
- Go to All Apps again and Enable "Media Storage". Done.
- DO NOT REBOOT, otherwise you to repeat from the process again.

STEP 2: (If you want to use your SD card)
- Create a ".nomedia" file in you SD card's root directory.
- Follow STEP 1 and you are done.

Note:
- Files won't show-up in default apps maybe, so use 3rd-party apps, eg. Quickpic, ES File Explorer, AIMP.
- If you're device starts to heat-up again, repeat STEP 1 again.

Alternate Solution:
You can also try this, but didn't worked for me.. rather it slowed/lagged my device.


I hope CM will fix this serious problem asap in the next update.
yes this Temporary Solution works
 

Girish J

New member
Feb 19, 2015
1
0
0
i tried the same and it solved the heating issue but i am not able to view any media content from my sd card. How can i revert this back as i want to keep the media content on SD card and not in phone memory.

I already tried disabling the media server, deleting .nomedia and then enabling the media server but this didnt helped.


Did anyone also faced the same issue ? any suggestion ????
 

cyanfan

New member
Mar 20, 2015
2
1
0
Noob friendly solution for the Heating and Battery drain {FIXED}

I received my Yu Yureka on 15th February. The problem came after a week or so. The phone functions well but the battery drains at an alarming rate.

1] So the I tried @Tanvir741 solution here. It was a temporary fix and the problem came back again after I put some video files into my micro sd card (SD Ultra Class 10 16GB). Moreover, once you clear APP DATA from Media Storage, you can't view your photos or music files anymore.
So it is like getting yourself a new disease to cure a previous affliction

Then I reset the phone. But the heating problem would start again after I put the microSD card. So one permanent solution is to stop using a microSD card.

2] The other quite geeky one is here:
geeknizer(.)com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/
(Take out the brackets and enter in the address bar)


3] The third one is to find files whose formats are not supported by the phone. In my case it was the .mkv files. I deleted all the Matroska video files from my sd card and now the phone's battery is working like a charm.

Users may have similar problems with other formats. I was going to root my phone and use adb command line to search for corrupted files when it occurred to me that the phone actually prompts me to disconnect while transferring certain file formats from my PC. I thought of getting rid of those file and BINGO! The problem seems to subside.


This is an off chance occurrence so I don't have much hope that users will solve their issues with a similar fashion implied by me. Also I don't know how long it will work.

---------- Post added at 07:35 PM ---------- Previous post was at 07:28 PM ----------

I received my Yu Yureka on 15th February. The problem came after a week or so. The phone functions well but the battery drains at an alarming rate. So the I tried @Tanvir741 solution here. It was a temporary fix and the problem came back again after I put some video files into my micro sd card (SD Ultra Class 10 16GB). Then I reset the phone. But the heating problem would start again after I put the microSD card. So one permanent solution is to stop using a microSD card.

The other quite geeky one is here:
geeknizer(.)com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/
(Take out the brackets and enter in the address bar)
The third one is to find files whose formats are not supported by the phone. In my case it was the .mkv files. I deleted all the Matroska video files from my sd card and now the phone's battery is working like a charm.

Users may have similar problems with other formats. I was going to root my phone and use adb command line to search for corrupted files when it occurred to me that the phone actually prompts me to disconnect while transferring certain file formats from my PC. I thought of getting rid of those file and BINGO! The problem seems to subside.


This is an off chance occurrence so I don't have much hope that users will solve their issues with a similar fashion implied by me. Also I don't know how long it will work.
 
Last edited:
  • Like
Reactions: kumarvvj

cyanfan

New member
Mar 20, 2015
2
1
0
not working boss :(

Sorry
There are many files that are not supported by Android. Here is a list of all the file formats supported by android:
developer(.)android(.)com/guide/appendix/media-formats.html

Check here if you have any file that is not supported by Android.
To check,
1] Connect your phone to a PC
2] Type a dot [.] in the search bar
3] Sort all the results by type and put them in groups
 

Damon7771

New member
Apr 11, 2015
2
0
0
somethings bad happend to my yureka device..

i applied whatever you said but forgot to apply in proper manner..
i open up the settings wen through the apps and without disabling the media storage i cleared cache memo.
and disabled that media storage..
now my phone is getting restart again and again...

now what to do..?? :(

i don't wanna reset my phone.. dnt wanna loose internal data.. is there any else that i could do ?? :(((((((
 
Last edited:

mihirj.mj

Member
Aug 7, 2013
32
0
0
30
Mumbai
Fix

Hii,

I got into the problem today morning, after i copied several videos to my phone.
Thought hard, saw CPU characteristics( Saw 'mediaserver' over there but couldn't recognize as culprit :D), rebooted several times .
Then found this thread on xda, however after looking the explanation i could think a simple solution and it has worked for me.

Simple delete those files, Reboot
you are done.
you can even check CPU usage, u wont find 'mediaserver' over there anymore.

My case those were '.mkv', I am thinking to copy the file as '.mp4'(no encoding, simple extension change) AFAIK MX player will still play the file and 'mediaserver' wont go into loop.
 

devmania

Member
May 26, 2015
9
0
0
sd card not scanning

i did as the following steps.. but now my phn is not reading any file from the sd card.. how to fix it.. please tell me.
STEP 1:
- Go to all Apps, Disable "Media Storage" and Clear Data.
- REBOOT.
- Go to All Apps again and Enable "Media Storage". Done.
- DO NOT REBOOT, otherwise you to repeat from the process again.

STEP 2: (If you want to use your SD card)
- Create a ".nomedia" file in you SD card's root directory.
- Follow STEP 1 and you are done.
 

yvt

New member
Jun 4, 2015
1
0
0
all the things went Wrong after ur following the steps

Hey brother I just now tried ur solution but all my data went away my camera folder has got deleted. All my important photos went. Plz tell me how to recover them back..... They were so much important for me..... Also the phone is hanging a lot after following the mentioned steps after rebooting and also the phone is heating a lot.... Plz help me asap.... Plz its very important......
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone