Of course, root is required... 
I was getting tired about seeing how mediaserver was draining my battery(see attached picture) so I researched a bit and I found how to kill mediaserver process...
Just replace .txt with .sh and execute it with script manager or terminal emulator...
Here is its code:
-----------------------------------------------------------------------------------------------
If you have enabled int.d scripts, you can put this script in /system/etc/init.d/...
Or flash this zip: http://d-h.st/2bU (Thanks to acer73
)
the idea is to schedule the execution of this script for example each 1 hour.... Because i think that when we start playing music media server starts again...
however, I must investigate a bit more....
-----------------------------------------------------------------------------------------------
to see which processes are running currently: just write "ps" in terminal emulator
I was getting tired about seeing how mediaserver was draining my battery(see attached picture) so I researched a bit and I found how to kill mediaserver process...
Just replace .txt with .sh and execute it with script manager or terminal emulator...
Here is its code:
Code:
#!/system/bin/sh
killall -9 android.process.media
killall -9 mediaserver
-----------------------------------------------------------------------------------------------
If you have enabled int.d scripts, you can put this script in /system/etc/init.d/...
Or flash this zip: http://d-h.st/2bU (Thanks to acer73
the idea is to schedule the execution of this script for example each 1 hour.... Because i think that when we start playing music media server starts again...
however, I must investigate a bit more....
-----------------------------------------------------------------------------------------------
to see which processes are running currently: just write "ps" in terminal emulator
Attachments
Last edited: