The problem I am having is that "/system/bin/mediaserver" is taking all of the cpu resources.
I have a atrix 2 stock rom with root.
The only way that i can cause the mediaserver to show up is by watching a movie through google play movies and the my files app.
I have used the Elixir 2 app to kill the process. It sometimes works. Other times the mediaserver reboots and take back over the cpu.
Any and all suggestions are welcome.
Thanks in advance.
Related
Would it make any difference in battery life if video is played from Micro SD versus the internal storage? I am flying overseas and on a ten hour flight any extra battery life matters.
Thank you
With computers I always stick by the rule, any accessory drains power even if your not using it. That said I don't think that battery life difference would be noticed.
Dial down your screen brightness.
Turn off wifi, sync, BT.
Kill all Widgets and active desktop.
Kill all non essential apps.
I actually have a backup that is only for watching movies and listening to music on long trips. I used system app uninstaller to take out most everything I wouldnt need to watch movies. Mail, maps, voice. Basically I Yanked out all the apps and system apps that eat up processing time and ram space but never get used watching movies.
Tuned launcher pro down to 1 homescreen and backed it up. Then reloaded my previous backup. Now I have a portible movie player I can load up any time and get excellent life out of. I have watched movies with headphones for at least 10 hours with this setup but I'm sure it was more
Sent from my Chromatic Magic using XDA Premium App
Thank you for a very detailed and useful response.
teregova said:
Thank you for a very detailed and useful response.
Click to expand...
Click to collapse
Nothing says thanks quite like mashing the thanks button ;-)
Hi,
I have a p6210 running a rooted stock odexed ICS 4.0.4 UELPC (us XARLPC).
My first problem is that the device lags and stutts when I navigate between the menus like for exemple the apps drawers or the control panel, or when I scroll.
It seems to come from the hw acceleration since it lags as well when I watch videos (on both audio and video) and the only way to overcome this is to use mx player with sw audio and sw video settings.
I tried to tweak my build.prop with various values, enable hw acceleration, force gpu etc. but nope, it still lags and actually it gets worse so I went back to the default values.
I tried as well in the dev. options in the tab settings to force gpu but no results either.
The second issue is battery drain, my once long lasting tab has seen is autonomy reduced by approx. 50%, not nice.
The third issue, that might be related to the second, is that the tab heats more than it did previously.
Any idea or help will be highly appreciated, thanks in advance!
Well i didn't experienced this in my galaxy tab plus. Im using a stock 4.0.4 without root. Im not into rooting anymore because i experience bricked and some hack problems when root.
Sent from my GT-I9100 using Tapatalk 2
I didn't experience such problems either. Did you delete/modify anything in system after rooting? Just rooting can not not harm your phone/tablet.
I deleted the gapps plus all the samsung bloatware but I don't think it's what causes the lags.
I deleted as well some permissions, lib and framework files like facelock recognition, network locator, google maps, minimode etc. but I have put them back and it still lags.
I think it's a hw acceleration problem, and I have seen elsewhere on the net that I'm not the only one experiencing such problem, other people complain as well about video and hw acceleration on games to have hickups.
When I tweaked my build prop to enable hw then it got worse, and the only way to have videos running without too many lags is to use sw decoding.
The same with mp3s, I had to enable audio buffer and audio thread priority, otherwise it skips like hell.
When I compare with my galaxy mini, whose specs are far lower but where everything is smooth, it's like day and night, even scrolling on the tab has hickups.
I may try v6 supercharger, but I'm not very confident about it since I used it on my galaxy mini without any noticeable effects...
Im not into rooting anymore because i experience bricked and some hack problems when root [/QUOTE said:
What hack problem did you experience?
Some serious ones?
Click to expand...
Click to collapse
Hey there, its been bothering me.
When I play games, such like asphalt, batman, and subway surfer, the tab get heated after wuite a long time. About more than 20+ minutes.
But when i am using stock browser or dolphin browser, the tab get heated much faster.
Anyone know why does this happens? Does thisnmean that browsers use more CPU compared to games(asphalt uses internet too, also scrabble).
Please and thank you!
Sent from my GT-P6200 using xda app-developers app
This might be incredibly stupid, but does anyone know if it's possible to have your phone deep sleep while playing music through headphones? Because it sticks at min freq and kinda eats up battery, regardless of governor or I/O
Sent from my SCH-I535 using xda app-developers app
Androideka5 said:
This might be incredibly stupid, but does anyone know if it's possible to have your phone deep sleep while playing music through headphones? Because it sticks at min freq and kinda eats up battery, regardless of governor or I/O
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Sry to unearth that thread, but i had the same question and didn't found an answer here on xda - so i checked it myself.
And the answer is yes, it is possible, but to my knowledge there aren't many music players that support this.
If the sceen is off they buffer the blayback and let the CPU go to sleep and occasionally wake it up to rebuffer.
CPU is in deep sleep for 60..80+ % of the time.
Music players that let the cpu deep sleep (to my knowledge):
- clean music player
- es player (part of es file explorer)
Music players that idle at min frequency or higher and dont allow deep sleep:
google music player, playerpro, neutron, shuttle, nexmusic, n7player, poweramp
I've checked the deep sleep behavior of the above mentioned players with CPU Spy v0.40 on Stock Nexus 5.
The downside is that costum Kernels can cause the playback to stutter, just stop and/or other things.
I don't know exactly why but my quess is that happens because of a too low frequency in the time the cpu is awake - to raise that may help.
Or its maybe because of too agressive governors that force the cpu to early back to deep sleep.
It would be interesting to see if anyone else had made similar observations, found other music players that support deep sleep of the cpu.
greetings muckefug
Hi,
The solution is to stop the media player after a certain time. If you want to sleep with music we have a tool that allows you to set the duration for the player and a gradual reduction of volume at the end. So it will stop the player and let the phone to go to deep sleep mode
Sent from my HTC Sensation Z710e using xda app-developers app
Millenium Apps said:
Hi,
The solution is to stop the media player after a certain time. If you want to sleep with music we have a tool that allows you to set the duration for the player and a gradual reduction of volume at the end. So it will stop the player and let the phone to go to deep sleep mode
Sent from my HTC Sensation Z710e using xda app-developers app
Click to expand...
Click to collapse
The goal is not to go to sleep while hearing music and stopping the music when you are asleep.
The goal is that the music is playing while the cpu of your phone can go to the "deep sleep"-state and in consequence to save battery while playing music.
Mucke_fug said:
The goal is not to go to sleep while hearing music and stopping the music when you are asleep.
The goal is that the music is playing while the cpu of your phone can go to the "deep sleep"-state and in consequence to save battery while playing music.
Click to expand...
Click to collapse
I understand that but what i mean is that playing music needs cpu to run in normal mode, I don't think that it's possible with android coding and i think that you don't have to worry about that as your screen will go off after a certain time and as you know the screen is consuming more than 95%
That was also my thought ... But some player like the above mentioned display this behavior of letting the cpu go into deep sleep state on nexus 5 with android 4.4. The playback works fine for a while but then just stops and/or crashes utterly. Seems to be a bug with the new android but non the less the playback works for a while (up to 5 to 10 min)
The CPU is for 50 to 75 % of the time in deep sleep
Would be interesting to see an player who can make usage of that behavior/bug. There is always need for more battery life
Gesendet von meinem Nexus 5 mit Tapatalk
Mucke_fug said:
That was also my thought ... But some player like the above mentioned display this behavior of letting the cpu go into deep sleep state on nexus 5 with android 4.4. The playback works fine for a while but then just stops and/or crashes utterly. Seems to be a bug with the new android but non the less the playback works for a while (up to 5 to 10 min)
The CPU is for 50 to 75 % of the time in deep sleep
Would be interesting to see an player who can make usage of that behavior/bug. There is always need for more battery life
Gesendet von meinem Nexus 5 mit Tapatalk
Click to expand...
Click to collapse
That's right but I don't think that as app developers, we have that control. All what we can use is wake lock to wake up the device partially or fully when it's locked or to keep screen on, but for media player it's handled by the system so I think that this optimization is done by mobile constructors. You can use batterystats app to keep track of wake locks to detect big consumers and stop them (or remove them) to keep your battery charged for long
Sent from my HTC Sensation Z710e using xda app-developers app
I'd like to bump this thread. I'm REALLY interested in such music player that would allow deep sleep during playbackplayback. We now have high memory devices, some with whooping 4gb of ram that could hold the entire library of most casual users. I really do hope there actually is a player that would simply load like 20 tracks that are in the Playlist to ram and then simply let it go with minimal cpu usage thus hopefully allowing for deep sleep. I did see a something interesting on my windows pc. Few years ago, when I started using foobar2000 I got a BSOD, irrelevant to the player, but I was listening to music and after a BSOD it actually kept playing for quite long even though the os was on halt completely. Thanks to the long 30s buffer I set in foobar2000.
I think this concept COULD actually work on our android devices. Please do correct me if I'm wrong. If there's already such player then please post a link. I'll be glad to try it. I'm a music addict so that would help me.
I did try clean music player, but I couldn't find a way to play all tracks from one directory including it's subdirectories. All I care about is shuffle all tracks from one directory including it's subdirectories and of course ability to use a equalizer.
olokos said:
I'd like to bump this thread. I'm REALLY interested in such music player that would allow deep sleep during playbackplayback. We now have high memory devices, some with whooping 4gb of ram that could hold the entire library of most casual users. I really do hope there actually is a player that would simply load like 20 tracks that are in the Playlist to ram and then simply let it go with minimal cpu usage thus hopefully allowing for deep sleep. I did see a something interesting on my windows pc. Few years ago, when I started using foobar2000 I got a BSOD, irrelevant to the player, but I was listening to music and after a BSOD it actually kept playing for quite long even though the os was on halt completely. Thanks to the long 30s buffer I set in foobar2000.
I think this concept COULD actually work on our android devices. Please do correct me if I'm wrong. If there's already such player then please post a link. I'll be glad to try it. I'm a music addict so that would help me.
I did try clean music player, but I couldn't find a way to play all tracks from one directory including it's subdirectories. All I care about is shuffle all tracks from one directory including it's subdirectories and of course ability to use a equalizer.
Click to expand...
Click to collapse
Second bump. I would definitely agree with the need of an app like this*! Has anyone found anything?
MrWilsonxD said:
Second bump. I would definitely agree with the need of an app like this*! Has anyone found anything?
Click to expand...
Click to collapse
I haven't heard about any. I've had an idea of loading tracks in playlists into a single long track, then loading them to ram and that might allow to play them without waking the device, but that requires a certain level of skill.
Worth bumping up in 2022?
Maybe?
(Also looking if this can be solved for Spotify on bluetooth headphones).
I don't know why this excellent feature didn't get widespread acceptance. Other than Nexus 5, I only know the Xiaomi Redmi 3s which supported this feature that too only in Android 6 (stock MIUI and LOS 13). In all the Android versions till A12 which I have used it didn't work.
P.S. Unrelated but Xiaomi Redmi Note 10 Pro and Poco F4 can enter Deep Sleep while serving as a hotspot, at least in MIUI, but not during audio playback
I am using a stock rooted US Moto G, and I have had podcasts (through both Pocket Casts and DoubleTwist) and MLB At Bat audio streaming stopping randomly.
Has anybody else had this issue? Any solutions?
rpogorek said:
I am using a stock rooted US Moto G, and I have had podcasts (through both Pocket Casts and DoubleTwist) and MLB At Bat audio streaming stopping randomly.
Has anybody else had this issue? Any solutions?
Click to expand...
Click to collapse
I have the exact same problem. Podcasts stop playing suddenly.
This usually happens when using chrome, particularly when scrolling.
A few observations:
- The app doesn't crash - launching it again and pressing play starts the podcast at the exact same spot meaning the app safely shutdown.
- Closing all apps and tabs to free up memory usually helps but is no guarantee it won't stop again within a few minutes.
- Happens with several podcast apps I tried - all of which use about 60mb of RAM when playing
- Happens with downloaded and streamed podcasts. But stopping is more likely with streaming versions (I guess the stream is buffered to RAM meaning it's more likely to be killed)
- Every time the podcast stops I have been using a web browser (I've tried Chrome, Chrome beta, Firefox, Opera and UC browser)
My theory is that android is killing the process to free up some RAM but I'm not sure what can be done to prevent this.
A few things I have looked into are 'nice' and 'minfree'. I tried increasing the priority of my podcast app with nice but that didn't seem to help at all.
Changing the minfree settings did seem to have some affect, but it was still getting killed off eventually.
I don't know much about android to look into it any further ( this is my first android device), perhaps someone with more experience can advise.
I guess this is just one of the limitations of the MotoG and 1gb of RAM
same here had it with the beyondpod ,sound cloud apps
Sent from my XT1032 using xda app-developers app
I think I figured out a solution to this problem, you need to be rooted though.
Install the 'app settings' xposed module, select your music/podcast app then enable the 'resident' option.
This makes sure the app remains in memory and stops android from killing the process.
Seems to be working for me for the past day now
Hello, I have a problem: I have a huawei phone with android version 4.1.2 (there is no custom rom to upgrade it) and when I play some video with vlc 2.0.6 (shown as "dark widget" in task manager), the phone becomes slower even once the video is closed, which makes even the browser annoying to use. It is very likely caused by vlc that is still opened and using 59.8% of the cpu and no task managers are able to kill it so I'm forced to reboot the phone every time and actually if I don't the phone itself will instantly reboot after a few minutes.
So I'm open to any way to solve this, an actual way to kill it, another player that wouldn't have this issue or an updated version of vlc that doesn't have this issue but still works on android 4.1.2. If I need to download something, please give me a link to the apk directly, as I also have the issue with google play that shows "your device is not compatible with this item" for whatever app I try to download, which I don't mind since I very rarely download any new app and it seems to be hard to solve this.
I think you should try installing *mx video player* instead of vlc.
Sent from my Samsung G Note using Tapatalk
Thank you, it takes a bit longer to open but it doesn't have the problem which also caused the phone to heat a lot, using battery and phone for nothing.