This attempts to remediate/work around android.process.media sticking around using high system/cpu utilisation.

It runs at intervals of 5 minutes, and is persistent ->

If android.process.media is greater then 25% utilisation, force kill it.
If the above is true, and system_server is greater then 15%, gracefully kill it.

Log is in /data/local/tmp/log/watch_media.log

Installation Instructions:
Flash in recovery.

Things to do:
-calculate time in space for process before killing.
-dont force kill right away; attempt more graceful methods first.

watch_media.zip
Download: watch_media-091111.zip

« »