5,597,397 Members 31,323 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Android media process -- 100% CPU, how to permanently disable?

Tip us?
 
mrmagmrmag
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 25
Join Date: Jul 2010
Default [Q] Android media process -- 100% CPU, how to permanently disable?

On my Galaxy Tab 10.1 running 'In Paris V4' with preshoot's kernel I have the following problem:

Android media process hogs CPU (47%, which means 100% for one thread on this dual core device).

The device was running fine for a few months, so the problem is not the ROM/kernel but was caused by something else later on.

I would like to fix this problem (without reformatting/reflashing the whole ROM). If there is no easy solution I just want to disable it, but could not figure out how.

Killing the process helps for some time, but after some minutes/hours the process is back. I tried 'pm disable com.android.providers.media' as well as 'pm disable com.android.providers.media/com.android.media.MediaScannerReceiver' -- both with no result (it helps for a few minutes but then the process is back again!).

I don't know how/where this process is started so that I can make a modification there to disable it or which package I should delete to get rid of the process.

Any help/suggestions are appreciated.
 
mrmagmrmag
Old
#2  
Junior Member - OP
Thanks Meter 1
Posts: 25
Join Date: Jul 2010
This obviously seems to be the wrong board I am posting that supposedly simple question in -- could somebody please point me in the right direction and I will ask again in a more appropriate board.
 
nightmarebadger
Old
#3  
Senior Member
Thanks Meter 49
Posts: 268
Join Date: Jan 2010
Location: Ljubljana
I'd say the board is the right one ... but at least I can't help you here, as I don't know the answer .

My only advice would be to flash a newer ROM, isn't inParis kinda "outdated"? I think android.media has something to do with connecting USB devices to the tab, since it's the thing that crashes on ICS KANGs when you plug out your USB stick ... but that's all I can help you with (if it's any help) :P
If my post helped you then hitting the "thank you" button is the right way to go .

Shameless advertising of my blog: http://www.natan.termitnjak.net/

DEVICES:
LG Nexus 5 - Stock
Samsung Galaxy Tab 10.1 (3g, 16Gb, black) - CyanogenMod 10 nightlies compiled by pershoot
 
agriff
Old
#4  
Senior Member
Thanks Meter 284
Posts: 424
Join Date: Oct 2009
Location: Dallas
Quote:
Originally Posted by mrmagmrmag View Post
On my Galaxy Tab 10.1 running 'In Paris V4' with preshoot's kernel I have the following problem:

Android media process hogs CPU (47%, which means 100% for one thread on this dual core device).

The device was running fine for a few months, so the problem is not the ROM/kernel but was caused by something else later on.

I would like to fix this problem (without reformatting/reflashing the whole ROM). If there is no easy solution I just want to disable it, but could not figure out how.

Killing the process helps for some time, but after some minutes/hours the process is back. I tried 'pm disable com.android.providers.media' as well as 'pm disable com.android.providers.media/com.android.media.MediaScannerReceiver' -- both with no result (it helps for a few minutes but then the process is back again!).

I don't know how/where this process is started so that I can make a modification there to disable it or which package I should delete to get rid of the process.

Any help/suggestions are appreciated.
Freeze the app with Titanium Backup or use this specific purpose app from the market
https://market.android.com/details?i...diascannerroot
Worked for me
*************
Samsung Galaxy S III - at&t US i747 version
Creator of: i747z (Modified) Stock Odexed ROM
 
slack04
Old
#5  
Senior Member
Thanks Meter 306
Posts: 1,008
Join Date: May 2010
Quote:
Originally Posted by mrmagmrmag View Post
On my Galaxy Tab 10.1 running 'In Paris V4' with preshoot's kernel I have the following problem:

Android media process hogs CPU (47%, which means 100% for one thread on this dual core device).

The device was running fine for a few months, so the problem is not the ROM/kernel but was caused by something else later on.

I would like to fix this problem (without reformatting/reflashing the whole ROM). If there is no easy solution I just want to disable it, but could not figure out how.

Killing the process helps for some time, but after some minutes/hours the process is back. I tried 'pm disable com.android.providers.media' as well as 'pm disable com.android.providers.media/com.android.media.MediaScannerReceiver' -- both with no result (it helps for a few minutes but then the process is back again!).

I don't know how/where this process is started so that I can make a modification there to disable it or which package I should delete to get rid of the process.

Any help/suggestions are appreciated.
search pershoot's thread... Or check his website... it's there...
The Following User Says Thank You to slack04 For This Useful Post: [ Click to Expand ]
 
mrmagmrmag
Old
#6  
Junior Member - OP
Thanks Meter 1
Posts: 25
Join Date: Jul 2010
@slack04

Thanks a lot -- I used this solution:

http://forum.xda-developers.com/show....php?t=1258302

to automatically kill the process once it starts running. No real solution, but it helps until I manage to update the tab to ICS.
 
slack04
Old
#7  
Senior Member
Thanks Meter 306
Posts: 1,008
Join Date: May 2010
Quote:
Originally Posted by mrmagmrmag View Post
@slack04

Thanks a lot -- I used this solution:

http://forum.xda-developers.com/show....php?t=1258302

to automatically kill the process once it starts running. No real solution, but it helps until I manage to update the tab to ICS.
Honestly, I was going to say that you'll spend less time doing the ICS update than looking for this; especially on that ROM (great ROM.... 6 months ago...). I'd suggest go with the last milestone from Romann.
 
Vlad_z
Old
#8  
Senior Member
Thanks Meter 114
Posts: 446
Join Date: Mar 2011
Quote:
Originally Posted by mrmagmrmag View Post
@slack04

Thanks a lot -- I used this solution:

http://forum.xda-developers.com/show....php?t=1258302

to automatically kill the process once it starts running. No real solution, but it helps until I manage to update the tab to ICS.
I would check your media files... delete them or put .nomedia file in all those places.

Next thing to try is to clean dalvik cache.
 
mrmagmrmag
Old
#9  
Junior Member - OP
Thanks Meter 1
Posts: 25
Join Date: Jul 2010
Thanks -- tried to flash latest Milestone and b26 releases. Unfortunately VPN is not working and I can only download apps via marked when connected to a VPN (even if this does not change my IP as I often just connect to my Router). So -- until VPN is supported with any ICS ROM I am stuck with my old In Paris 4 (with pershoot kernel to mount SMB shares via CIFS).
 
Benzoman
Old
#10  
Benzoman's Avatar
Senior Member
Thanks Meter 201
Posts: 852
Join Date: Jan 2012
Location: Central Illinois
Quote:
Originally Posted by mrmagmrmag View Post
Thanks -- tried to flash latest Milestone and b26 releases. Unfortunately VPN is not working and I can only download apps via marked when connected to a VPN (even if this does not change my IP as I often just connect to my Router). So -- until VPN is supported with any ICS ROM I am stuck with my old In Paris 4 (with pershoot kernel to mount SMB shares via CIFS).
I can understand if you'd just rather wait because of having to bother with reinstalling every thing, but it looks like you can change ROMs quickly. So why not goto Task14 while you wait for ICS?
There might be device issue I'm not aware of also, so just wondering.

If you can read this, thank the person that taught you how.
Samsung Galaxy Tab 10.1 USA Wi-Fi
Samsung Galaxy Tab 3 10.1 USA Wi-Fi


If I have helped you in any way Please use the "Thanks" button.

Tags
andoid media process, disable process, high cpu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Clean Up Your Logcat Code with Lib Cleaner

Some of you may think that writing code is the hardest part of development. It’s not, as the … more

Tweak Your Xperia Device’s Camera App Yourself

We’ve come to expect nearly perfect cameraperformancein our modern day … more