Mediaserver Battery drain (POSSIBLE FIX) - Android Q&A, Help & Troubleshooting

Hi!! Before all, i'm sorry for my English, is not my native language but i will try my best.
I'll be quick. I have might finded the FIX for the Mediaserver battery drain. I'm on SlimBean 4.2.1 RC 1 for the Samsung Galaxy S i9000 but this may work in many other roms like Cyanogenmod even ICS based custom roms.
The problem starts just when some media, specially music starts to play, the media server CPU usage goes sky high, but only when the headphones are attached to the phone. So i tough that may be something with sound processing. I have installed Voodoo Sound, the stock music player, Omish player, PowerAMP and the three of them gave me battery drain with mediaserver being the service affected. SO! first, I had to uninstall Voodoo Sound, but nothing changed, and so with stock player and Omish but the battery draing continued. Obviously the problem wasn't those players or Voodoo Sound, but maybe the integrated equalizer called DSPmanager used on custom ROMs was the guilty. I went to /system/app/ with ES File Explorer and renamed the app from DSPManager.apk to DSPManager.bak (so the system will bypass it) and there I found another app called SoundFX.apk, i renamed that to SoundFX.bak too. Restarted and played some music with all my players, first with PowerAMP and then with Omish.. The friking mediaserver battery drain stopped!!!
Now who's the guilty?? DSPManager or SoundFX. I renamed DSPManager back to its original name (.apk instead of .bak) and the battery drain from Mediaserver still not showing up... so maybe the SoundFX app is driving mediaserver nuts. I will update if the battery drain comes back.
So, the FIX (at least on my case) is turning off SoundFX app by changing its name to SoundFX.bak If the problem persist with you maybe you should turn of DSPManager too, renaming it to DSPManager.bak and use some 3rd. party app for music playing like PowerAMP witch have a very nice integrated EQ. I hope this works on you because I think the problem is not corrupted media files like everyone is saying.

Thank you so much! Im having this issue too, im using slimbean (awesome ROM) on my note 2
I was looking at battery stats, i found mediaserver drains a lot.. Thanks again

Mohammed779 said:
Thank you so much! Im having this issue too, im using slimbean (awesome ROM) on my note 2
I was looking at battery stats, i found mediaserver drains a lot.. Thanks again
Click to expand...
Click to collapse
Try Formatting your SD Card. You can also check out THIS thread.

BlakeFox said:
Hi!! Before all, i'm sorry for my English, is not my native language but i will try my best.
I'll be quick. I have might finded the FIX for the Mediaserver battery drain. I'm on SlimBean 4.2.1 RC 1 for the Samsung Galaxy S i9000 but this may work in many other roms like Cyanogenmod even ICS based custom roms.
The problem starts just when some media, specially music starts to play, the media server CPU usage goes sky high, but only when the headphones are attached to the phone. So i tough that may be something with sound processing. I have installed Voodoo Sound, the stock music player, Omish player, PowerAMP and the three of them gave me battery drain with mediaserver being the service affected. SO! first, I had to uninstall Voodoo Sound, but nothing changed, and so with stock player and Omish but the battery draing continued. Obviously the problem wasn't those players or Voodoo Sound, but maybe the integrated equalizer called DSPmanager used on custom ROMs was the guilty. I went to /system/app/ with ES File Explorer and renamed the app from DSPManager.apk to DSPManager.bak (so the system will bypass it) and there I found another app called SoundFX.apk, i renamed that to SoundFX.bak too. Restarted and played some music with all my players, first with PowerAMP and then with Omish.. The friking mediaserver battery drain stopped!!!
Now who's the guilty?? DSPManager or SoundFX. I renamed DSPManager back to its original name (.apk instead of .bak) and the battery drain from Mediaserver still not showing up... so maybe the SoundFX app is driving mediaserver nuts. I will update if the battery drain comes back.
So, the FIX (at least on my case) is turning off SoundFX app by changing its name to SoundFX.bak If the problem persist with you maybe you should turn of DSPManager too, renaming it to DSPManager.bak and use some 3rd. party app for music playing like PowerAMP witch have a very nice integrated EQ. I hope this works on you because I think the problem is not corrupted media files like everyone is saying.
Click to expand...
Click to collapse
go into apps/all find the DRM file. Force close it.
thats it. no need to renaming system apps and functions.

prboy1969 said:
Try Formatting your SD Card. You can also check out THIS thread.
Click to expand...
Click to collapse
Actually this thread helped a little..
And i format my internal and external sd whenever i use a new ROM.. So i will be having a fresh SDs
But formatting didnt really help..
I guess its something to do with the ROM itself, i never had this issue on Samsung Stock ROM or CyanogenMod 10.1 (not sure)..

You may want to check your files. Make sure you do not have any corrupt media. I also make sure to clean up my SD Card from time to time. I get rid of old unused files, and folders.
TEAM MiK
MikROMs Since 3/13/11

prboy1969 said:
You may want to check your files. Make sure you do not have any corrupt media. I also make sure to clean up my SD Card from time to time. I get rid of old unused files, and folders.
TEAM MiK
MikROMs Since 3/13/11
Click to expand...
Click to collapse
I have only music, photos.
And 2 ROMs files and Gapps, and two apks.. Those are for if something happened for the phone, i could always go to recovery and flash easily..
Sent from my Galaxy Note 2 (GT-7100)
---------- Post added at 09:01 PM ---------- Previous post was at 08:58 PM ----------
Anyways now I'm using Emotion ROM which is awesome ROM specially for the battery! Now i get 9 hours of screen time instead of 6-7 hours.. And 0% drain when screen is off loved it
Sent from my Galaxy Note 2 (GT-7100)

I've found a solution for media server battery drain in cyanogenmod 10.1 (nightly) in i9300. In my case it wasn't connected with files in my SD card (but I didn't test this solution connected with files on SD)
I made a some research in my system, and I found that media server consume about 10% of CPU usage when I listen to music (ex. Spotify) so in my Battery stats, media server was at the first place. I've tested CPU usage using 'top' from command line. When I didn't play music, media server didn't consume CPU.
I trace mediaserver using command 'strace' and found some interesting information when I've started playing music. There was some trace information about equalizer, so I decided to disable equalizer in DSPManager.
When I disabled equalizer and leave only turned on Bass Boost, CPU usage of mediaserver was about 1%.
Conclusion: Disabling equalizer in DSPManager cause dramaticly decrease CPU usage of mediaserver.
BTW. Sorry for my poor english language

komw said:
I've found a solution for media server battery drain in cyanogenmod 10.1 (nightly) in i9300. In my case it wasn't connected with files in my SD card (but I didn't test this solution connected with files on SD)
I made a some research in my system, and I found that media server consume about 10% of CPU usage when I listen to music (ex. Spotify) so in my Battery stats, media server was at the first place. I've tested CPU usage using 'top' from command line. When I didn't play music, media server didn't consume CPU.
I trace mediaserver using command 'strace' and found some interesting information when I've started playing music. There was some trace information about equalizer, so I decided to disable equalizer in DSPManager.
When I disabled equalizer and leave only turned on Bass Boost, CPU usage of mediaserver was about 1%.
Conclusion: Disabling equalizer in DSPManager cause dramaticly decrease CPU usage of mediaserver.
BTW. Sorry for my poor english language
Click to expand...
Click to collapse
Your English is just fine.

This media server is really annoying. I'm reading mostly about the pictures and music files being corrupted in the sdcard. Now, even the equalizer is also making it killing the battery. Can we kill this server?

This one worked for me!
I read other solutions on my battery draining problem with Mediaserver but I forgot where I saw it. Anyways, this causes when there are 0 bytes of file on my SD card. So going straight to the point, I erased those files (I'm not sure if those are really junk or just symlinks), but nothing really abnormal happened. After it the mediaserver did not continue running unless I played games or music.
What I did was connecting my device to my PC via USB and find those 0 bytes on my SD and delete them (or I think you can do this on any file manager app). Oh, I checked again the mediaserver after unmounting the SD, and it was not running so somehow my SD is causing the problem.
Again, that worked for me and maybe on yours too.

Mediaserver bug
Hi, I have FINALLY found a solution for the bug of mediaserver process with Poweramp. With the fade option enabled, mediaserver process starts when i change song while with crossfade option disabled the process stop.

Related

[Q] Audio Skips and Pops [Partially Solved]

Here's an interesting problem for everyone to ponder:
My original setup was a stock rom with ryan's lag fix applied. My music played back just fine (WMA and MP3). Since I didn't backup my verizon apps correctly, I recently wiped everything and started over from scratch so I could get the latest update from Verizon. I gained root access again, and now, when I play music through any media player (stock app, winamp, mixZing, pandora, etc), there are noticeable skips in the audio every 15-20 seconds. I realize that pandora may be buffering, but there's no excuse for the others that are reading files from a class 6 microSD card.
Is this happening because I don't have a lagfix applied anymore? If that's the case, then it's incredible disappointing that a phone this powerful needs a hack to make music play back correctly. I don't want to install another lag fix, because, aside from the music, nothing seems to be noticeably slower on the device.
Any ideas?
I'd be interested to hear what solves this, as ever since I upgraded to DJ05 I have had the same audio skips, even on local content.
lowkee said:
I'd be interested to hear what solves this, as ever since I upgraded to DJ05 I have had the same audio skips, even on local content.
Click to expand...
Click to collapse
+1 on audio pops
I had audio problems on a lot of the kernels I've tried with this phone, but the jt stable voodoo 5 kernel doesn't have them. I did have them on his 11/25 version, and on still the greeknic versions I've tried.
It's definitely kernel related. I had that problem on geeknik's and jt 11/16. I'm on jt 11/11 now and I'm fine.
Sent from my SCH-I500 using XDA App
Someone on another forum had this narrowed down to the battery status polling, I think. Can't find the reference now...
Got stock kernal on my phone. No skips. I am rooted. Used to have skips on my last fascinate which I got replaced for the audio skipping problem.
Sent from my SCH-I500 using XDA App
Voodoo kernels don't seem to have the problem on the non voodoo try bumping min cpu to 200
take off your widgets to make sure it's not something simple. Battery widgets can do this
I did just install a new battery guage widget right around when the pops started... if that's the issue, i'm thanking you in advance. This has been quite annoying. I'll go kill the app for kicks here.
Brilliant!! The battery widget did the trick! For reference, I had the guage battery widget installed. Looked great, but caused the skips. Been listening to VBR MP3 now for 20 min and skips.
Sent from my SCH-I500
sorry, i meant to say 20 min and no skips
Sent from my SCH-I500
battery widget
Dittos on the battery widget issue. I was using Circle Battery, killed it and the skipping/popping stopped.
Interesting to know this is the cause of the issue but it's odd that it would cause that to begin with..poorly coded something I suppose.
If anyone's interested, I switched to "Battery Widget" by geekyouup, and it doesn't seem to be causing the pops and skips. Working fine so far.
No battery widgets here. I'm running a fresh StupidFast DJ05 and I'm getting static/popping in doubletwist. Anybody else?
I'm having this problem too, and I'm not running a battery widget. I've only noticed it since I started installing themes. So maybe it's a theme issue? I'm not entirely sure. Also the popping and crackling seem to occur more often when I'm actually doing input and output operations like clicking on apps and whatnot, than when my device is asleep.
EDIT:
spyd3r05 said:
Voodoo kernels don't seem to have the problem on the non voodoo try bumping min cpu to 200
Click to expand...
Click to collapse
This actually seems to work. Weird fix, I must say.
Sent from my SCH-I500 using XDA App
This is pretty pitiful. This is only Android phone I've had audio skip/pop issues on. It only happens when I'm running SysTray Monitor as my battery% display and my screen is on. If I have my screen off while using SysTray Monitor, it doesn't skip, and if I have SysTray Monitor off, I get no skips.
As soon as I turn my screen on with SysTray Monitor on, it starts skipping. I'm on DJ05
Didn't happen on my Epic, Moment, or Hero.
I definitely would not have marked this as "solved", because this is not a resolution.
it solved my problem, but i'll go ahead and change the title...
Widget size matters too for whatever reason. For me the 2*1 gauge widget did it but the 1*1 didn't

music stobes in/out in standby mode

I use Player Pro and Power AMP to play my music and whenever the phone goes in standby the music stutters. I bring the screen up and it plays flawlessly.
Running GeeWiz 2.1 w/KGB1127... also running an Audio manager...
I bumped up the profile in SetCPU from 400/100 to 800/100... and still stutters in standby.
This is with both headsets and Bluetooth setups.
Any ideas? thx
it also does this on CM 7.1 stable w/ Glitch v13 kernel...
anyone?
Well... just in case anyone is interested... I've managed to fix this... kinda.
I used SetCPU, and my screen off profile is 400/100 @ 1050mV
I bumped it up to 400/200
music plays almost flawlessly in screen off mode. Thanks for reading.
Was the music constantly skipping or would it play fine for a while, then skip a little bit? This happens to me with google music on MIUI/Glitch, and I haven't been able to figure out if it's an issue with the app itself or something kernel related I could tweak to eliminate the skipping.
I have the same issue as well. I'm using the MIUI 1.12.23 as well as Glitch v13 kernal. Any ways to fix this? I've tried two different MicroSD cards (8GB class 4 and 32GB class 4) and both had the same issue of music skipping when tracks are changing as well as when I wake the phone up from idle state.
I believe it's a kernel issue. it skipped badly on CM7 and glitch... MIUI is kinda the same i guess. I believe it's tied into the battery drain issue with Wifi, bluetooth, and auto sync on CM7.1. I tried the nightly v112, and still a little drain. had to manually turn off all switches or my battery would be dead in the morning. This "glitch" is the same as whats making the music skip... something is pulling power from the cpu and away from the music player.
I fixed it a little bit... i mean, yeah, it skiped and stopped and wasn't playing right, but i had to bump up the bottom number on my cpu voltage from 100Hz default to 200Hz
This helps... but it still skips a little, but not nearly as bad as before.
i'm running GeeWiz ROM now, which doesn't have the battery drain issue, and it seems to lesson the issue.
mine is a temp fix
Hm, I don't use bluetooth and am not always on wifi, I do have some things set to sync though but still experience the skipping. I also have already tried bumping the minimum frequency up to 200mhz and it didn't seem to make and appreciable difference. Although I'm not sure what it's related to, I'm not 100% that it isn't just the google music app when streaming, but my incredible seemed to play music skip-free in the same situations. I haven't yet tried playing locally stored music to see if the issue's still there.
I'm thinking of maybe trying changing the screenstate scaling settings for the kernel, but wish I knew where the issue stemmed from. Any kernel related adjustments haven't fixed the problem so far.
I don't know what it was but the problem is fixed for me. But I had to do a lot of things to get it working. I went back to stock EH03 Gingerbread. Then flashed to GeeWiz 2.4.2 ...then flashed KGB 1127 Kernel and then flashed the recommended LOGCAT fix. After that I updated all of my apps from the market that I could. Got rid of all the apps that suck major cpu usage like Facebook and PowerAmp music player. I switched to PlayerPro music player... Then I used Titanium backup to uninstall all stock music players...
I'm pretty noob at this so I wasn't sure if uninstalling stock apps would work but its good to go. I uninstalled the stock pic gallery as well... All is well... Plays music flawlessly now.
So idk if it was any or all I did but it worked. Seems like it was either apps stealing power or switch bugs in the other roms. But I'm loving GeeWiz 2.4.2 w/KGB 1127 Kernel with the Logcat fix.
Like I said... I'm noob at this so when in doubt... Start over.
Hope that helps.
Sent from my SCH-I500 using xda premium
I forgot to mention that I updated my recovery to CWM3 Voodoo Blue... That I believe was a smart move. GeeWee recivery is fine, but hard to root with... And CWM recovery.all which is 2.5 something has always been flakey for me. I think i'm pretty content finally. Lots of flashing... Ugh
CWM3 Voodoo Blue Recovery
Sent from my SCH-I500 using xda premium
I updated the radio to EC09 and tried different SD cards but got the same issue. I flashed back to stock and flashed KANG version of CM7. Both the stock music player and PowerAMP don't skip when I change tracks or wake the phone up from sleep. Has anyone tried the latest version of MIUI (2.1.6)? Do music tracks skip when changing tracks or waking from sleep?
Can anybody recommend another kernal to use with 2.1.6 MIUI rom that remedies the issue with music skipping?
What class SD cards are you guys using? I have no problems but I use a class 10 card. When I asked my wife how her fully stock Fascinate player works, she had complaints much like yours. I put my SD card in her phone and it played for 2 hours without issue. Her card is the one that came with the phone, a class 2. She also showed me video recording had problems which were also resolved with the class 10 card.
Now I need to know how to get my card back from her - lol.
I don't really keep music on my SD card, I stream it using google music and that's where the skipping happens for me so it's not the SD card. It does it even when the song is fully buffered, so it's not necessarily a connection/data issue either. It's like the music player isn't properly kept in the foreground and the music skips while the phone is "thinking" - doing other things in the background.

[Q] Music skipping Xperia Neo

Not an unusual problem by the looks of it but sooooo annoying and soooo many options to try and fix the problem.
(edit - just to clarify, its more of a skidding than a skipping - the sound/rhythm is stretched and short of shudders like when a CPU is under-load with other apps running, but I've currently got over 100MB at idle.)
I've read the following forum which has so many options in it and a lot of good info so I'm going to slowly work through a few of the options with my Xperia and see what might solve the skipping issue.
http://androidforums.com/incredible-support-troubleshooting/72913-music-player-skipping-cause.html
I initially started using the stock player that came with the Neo and noticed it skipping every now and then but then yesterday when coming home from a music festival with a few new albums it came to time to STOP the skipping.
I always copy files from original CD's at the highest quality and then drag and drop them directly into the folder on the SD card to cut out any other application adding its musical interpretation into the tracks with missed data and timing etc (this is a practice I started years ago so hopefully the tracks are the best they can be)
So from here I start fiddling with the device......
1) I noticed that I dont get any skipping when using ES File Explorer to play the files but the problem ES File explorer is that it doesn't appear to have a shortcut directly to its media player and I dont want to have to go hunting for files EVERY time I want to play music.
2) So now I've started Meridian just as a test and it definately made an improvement = less skipping but still some
3) So I"ve moved Meridian to System App as suggested in the Forum and I'm running the player and keeping a close ear on it to see if it skips.
If it does the next step will be to start using "AnTuTu CPU Master Free" and setting it to start from boot and set it to raise the minimum processor level to around 400 MHz
If anybody who actually knows about this stuff has any ideas I'd be interested in hearing them.
I dont know why EX file explorer plays the files better than anything else I've tried - I have made it a system (ages ago) but I would also like to know what it uses for media playing? is it using its own complete of settings or whatevers? or is it piggy backing off the standard player? If I uninstall the standard player will ES still work?
If ES is using its own settings - how does it take control of things so well that the skipping stops?
What other media players take majority of control and ----------dam it just skipped, so I'm rewinding to see if its the track.............nope---------(ok onto the next plan and increasing processor idle speed.
4) Increased Idle speed to as close to 400 as I can and 3 min later - still skipping! c##p
Now what? I'm going to go away and think about this some more - if anyone has any ideas please let me know.
I'm trying to replicate your fault but so far its been playing pretty well, Havn't noticed any skipping, stutters or whatever for the last hour or so.. I did notice a slight jitter when I first started up the music player (Stock) but that was just on startup.. now its rock solid.
you might have some service/App running in the background thats causing some CPU strain or memory hogging momentarily.. I would suggest checking your logcat either with adb terminal or an app that can show you your logcat. check this to see if your getting any low memory warnings or any other errors.
I'll start up a bunch of services and apps and see if I can get my music to skip, Ill also search my music collection for the highest bitrate files I can find (might be that I just use lower bitrate MP3's and so they don't strain the RAM and CPU as much as your high bitrate ones)
I'll let you know if I can get my music skipping like yours.
Kiwi
I've experienced this before, turns out it was the SD Speed Increase app settings that was causing the trouble. Apparently, if I change the setting to anything other than the stock (128 [bytes allocation unit?]), my music would randomly stutter/skid. Left it to stock and never installed it again. I hope this helps.
I've had it too, using UberMusic and CPU Tuner. The problem is not the minimum cpu speed, because the cpu will be running full speed when the screen is on (or more than the minumum). With the screen off profile, my cpu is running at 122MHz, and still no stuttering.
I think the problem is caused by low RAM. Uninstall any unneccesary app and try if the problem persists when you're not multitasking.
I've experienced the same problem a few times using stock music player.. but recently I downloaded google music and never experienced it again... you might want to try this app since it's made by google and ui design is awesome!(ics like)
I've been listening to music for 3 straight hours now, I've managed to get it to stutter twice, once opening a news app (CPU strain while updating web pages?) and once when I opened a file explorer (I repeated that action several times since and couldn't get it to repeat the fault) logcat on both occasions mentioned an error: DMAMISSED 32 for the audio driver. In computer terms DMA means "direct memory access" or the newer version Ultra DMA. this is a little chip that accesses external memory (firstly directed by the CPU but then it frees the CPU up to do other stuff while its reading away, kinda like having a second cpu just for reading your music, but it still needs to get commands from the CPU) and I'm guessing that the missed 32 error is the DMA not getting the message from the CPU in time, perhaps the CPU is busy with something else? or whatever, I'm going to suggest running lower bitrate mp3's and see if it still stutters as much (if at all) try ripping a cd at or under 192kbps stereo or even 128kbps.. What bitrate are you running now? 320kbps? Or variable bitrate? Still not sure if its the problem but would help to eliminate it.
DMA Errors could also be caused by an SD card fault.. might be worth trying another card and seeing if it stutters.
Kiwi
Sent from my MT15i using xda premium
All the time here
Sent from my MT15i using xda premium
buzzzy said:
I've experienced the same problem a few times using stock music player.. but recently I downloaded google music and never experienced it again... you might want to try this app since it's made by google and ui design is awesome!(ics like)
Click to expand...
Click to collapse
Bummer this player aint available for NEO.......
kiwiBratwurst said:
I've been listening to music for 3 straight hours now, I've managed to get it to stutter twice, once opening a news app (CPU strain while updating web pages?) and once when I opened a file explorer (I repeated that action several times since and couldn't get it to repeat the fault) logcat on both occasions mentioned an error: DMAMISSED 32 for the audio driver. In computer terms DMA means "direct memory access" or the newer version Ultra DMA. this is a little chip that accesses external memory (firstly directed by the CPU but then it frees the CPU up to do other stuff while its reading away, kinda like having a second cpu just for reading your music, but it still needs to get commands from the CPU) and I'm guessing that the missed 32 error is the DMA not getting the message from the CPU in time, perhaps the CPU is busy with something else? or whatever, I'm going to suggest running lower bitrate mp3's and see if it still stutters as much (if at all) try ripping a cd at or under 192kbps stereo or even 128kbps.. What bitrate are you running now? 320kbps? Or variable bitrate? Still not sure if its the problem but would help to eliminate it.
DMA Errors could also be caused by an SD card fault.. might be worth trying another card and seeing if it stutters.
Kiwi
Sent from my MT15i using xda premium
Click to expand...
Click to collapse
I wouldn't have a clue about this bit-rate thing your talking about - how do I check this?
I've also stopped using the CPU minimum speed thing because I think it caused my phone to totally crash and not display any menu's at all - so had to re-install from clockwork mod boot.
When I'm listening to music I'm not ever doing anything in the background with the phone - it just sits on the table or on the seat of the car - this is when it skips.
kiwiBratwurst said:
I've been listening to music for 3 straight hours now, I've managed to get it to stutter twice, once opening a news app (CPU strain while updating web pages?) and once when I opened a file explorer (I repeated that action several times since and couldn't get it to repeat the fault) logcat on both occasions mentioned an error: DMAMISSED 32 for the audio driver. In computer terms DMA means "direct memory access" or the newer version Ultra DMA. this is a little chip that accesses external memory (firstly directed by the CPU but then it frees the CPU up to do other stuff while its reading away, kinda like having a second cpu just for reading your music, but it still needs to get commands from the CPU) and I'm guessing that the missed 32 error is the DMA not getting the message from the CPU in time, perhaps the CPU is busy with something else? or whatever, I'm going to suggest running lower bitrate mp3's and see if it still stutters as much (if at all) try ripping a cd at or under 192kbps stereo or even 128kbps.. What bitrate are you running now? 320kbps? Or variable bitrate? Still not sure if its the problem but would help to eliminate it.
DMA Errors could also be caused by an SD card fault.. might be worth trying another card and seeing if it stutters.
Kiwi
Sent from my MT15i using xda premium
Click to expand...
Click to collapse
Are you saying my music is too high a quality?
sdk16420 said:
I've had it too, using UberMusic and CPU Tuner. The problem is not the minimum cpu speed, because the cpu will be running full speed when the screen is on (or more than the minumum). With the screen off profile, my cpu is running at 122MHz, and still no stuttering.
I think the problem is caused by low RAM. Uninstall any unneccesary app and try if the problem persists when you're not multitasking.
Click to expand...
Click to collapse
thanks for the feedback - currently I have 61 mB free on ROM and 86 MB internal and then 1.37 GB on SD. Also I'm not doing anything else with the phone when the skidding occurs.
breakfastdude said:
I've experienced this before, turns out it was the SD Speed Increase app settings that was causing the trouble. Apparently, if I change the setting to anything other than the stock (128 [bytes allocation unit?]), my music would randomly stutter/skid. Left it to stock and never installed it again. I hope this helps.
Click to expand...
Click to collapse
I will try this! I have one of these running.........
kiwiBratwurst said:
I've been listening to music for 3 straight hours now, I've managed to get it to stutter twice, once opening a news app (CPU strain while updating web pages?) and once when I opened a file explorer (I repeated that action several times since and couldn't get it to repeat the fault) logcat on both occasions mentioned an error: DMAMISSED 32 for the audio driver. In computer terms DMA means "direct memory access" or the newer version Ultra DMA. this is a little chip that accesses external memory (firstly directed by the CPU but then it frees the CPU up to do other stuff while its reading away, kinda like having a second cpu just for reading your music, but it still needs to get commands from the CPU) and I'm guessing that the missed 32 error is the DMA not getting the message from the CPU in time, perhaps the CPU is busy with something else? or whatever, I'm going to suggest running lower bitrate mp3's and see if it still stutters as much (if at all) try ripping a cd at or under 192kbps stereo or even 128kbps.. What bitrate are you running now? 320kbps? Or variable bitrate? Still not sure if its the problem but would help to eliminate it.
DMA Errors could also be caused by an SD card fault.. might be worth trying another card and seeing if it stutters.
Kiwi
Sent from my MT15i using xda premium
Click to expand...
Click to collapse
Situation summary..............
1) Minimum processor speed app removed due to possible fatal error and notes above suggesting no difference (which is what I thought also).
2) SD speed increase app removed
3) Still running Meridian player due to user friendliness and less skidding - (might go back to stock app to help create more skidding so I can isolate the problem.
4) Track bit-rates might be too high - I will try this as a last resort once I've tried the other options.
5) Try another SD card - hmmm maybe I'll try this another day when I've got some spare cash
In my case, the track bit rates aren't a problem since I often have 320kbps and variable bit rate mp3 files being played in the stock music player and I experience no jitter/skidding.
Ok -
* Instant skidding using Stock Media player with "SD speed increase" app uninstalled.
I'm also running
https://market.android.com/details?id=com.freeb.automm
Would this cause skidding?
Now I'm going to re-rip the CD I'm listening to at a lower rate and see how that goes.
----right I've done that and also realized that when I put the original music files on my phone I hadn't converted them from WAV to MP3 so they were huge files. I've now re-ripped the cd in WAV and then converted the files to MP3 so now the files are approx 3 MB instead of 30 MB.
So now I will play them on the stock player and see how they respond.
that has been happening to me ever since i updated to .42 and i didnt know whether it was because i was fiddling with the phone (rooting, installing ics them which .62 reset to SE GRRR ) or whether it was just the amount of music and i had recently added Kasabians new album Velociraptor .. it was really ("was" hehe) especially because i would play it in the car connecting it to a jack lead on my radio .. and it was driving (no pun intended lol) me mad .. but then today i found my mini mp3 dock and though id plug it in and whack a few songs Foo Fighters and the like .. and I swear it didnt jump/skid/skip/slip once .. it was perfect .. and this was all before i updated to .62 about 10mins ago .. hopefully its all ok .. gotta check and make sure its still rooted
anyway thats my version of events .. peace out
hilfordjames said:
Bummer this player aint available for NEO.......
Click to expand...
Click to collapse
It is dude!
Sent from my MT15i using xda premium
hilfordjames said:
Bummer this player aint available for NEO.......
Click to expand...
Click to collapse
Search for 'google music apk'
buzzzy said:
It is dude!
Sent from my MT15i using xda premium
Click to expand...
Click to collapse
Well I wish I could find it - all it says is.............
"This app is incompatible with your 2degrees Sony Ericsson MT15i."
https://market.android.com/details?...sMSwxLDEsImNvbS5nb29nbGUuYW5kcm9pZC5tdXNpYyJd
Maybe you can be more specific about what app your talking about...?
bassybekx said:
that has been happening to me ever since i updated to .42 and i didnt know whether it was because i was fiddling with the phone (rooting, installing ics them which .62 reset to SE GRRR ) or whether it was just the amount of music and i had recently added Kasabians new album Velociraptor .. it was really ("was" hehe) especially because i would play it in the car connecting it to a jack lead on my radio .. and it was driving (no pun intended lol) me mad .. but then today i found my mini mp3 dock and though id plug it in and whack a few songs Foo Fighters and the like .. and I swear it didnt jump/skid/skip/slip once .. it was perfect .. and this was all before i updated to .62 about 10mins ago .. hopefully its all ok .. gotta check and make sure its still rooted
anyway thats my version of events .. peace out
Click to expand...
Click to collapse
Thanks for your input.....are you trying to say that you dont get any skipping when you use the mini mp3 dock rather than the jack lead?
I get skidding both through the lead and through Bluetooth.
Since reducing the size and format of the files I've not had any skidding or skipping.

AOKP Ressurection Rom 'mediaserver' battery drain issue

I have been running Resurrection Remix 2.5.3 with NEAK 2.0.6 for a few days now and it is easily the best combo I've ever used, I have one problem though...
I'm seeing extreme battery drain when using any music app (tried about 15 different ones, using PowerAmp atm) where a process named mediaserver keeps the phone from going into deep sleep.
I've observed the process and it is taking up to %65 or more of the battery usage.
I know that this is caused by corrupt media files and I've tried all the solutions I could find like formatting, cleaning and deleting corrupt media files etc... all to no avail.
Anyone know of a fix for this? I need help, it's driving me crazy!
Note: as soon as I exit the music player, mediaserver use drops massively, but I want to listen to music without my phone lasting 4-6 hours!
Don't you think this belongs in the QUESTIONS AND ANSWERS section?
Sent from my GT-I9100 using Tapatalk 2
Media server is the thing that controls the media. Hence why it uses battery while listening to music, watching videos etc. It's normal.
Sent from my GT-I9100 using xda app-developers app
I've noticed that to, listening to music in any ics rom is a way bigger battery drain than it was with gb, media server or any music app didn't even came close to the screen on time in the battery stats in gb, and now listening to music eats away almost as much battery as the screen
it happens in all non sammy roms, it eats up all the bettery life
cipry189 said:
I've noticed that to, listening to music in any ics rom is a way bigger battery drain than it was with gb, media server or any music app didn't even came close to the screen on time in the battery stats in gb, and now listening to music eats away almost as much battery as the screen
Click to expand...
Click to collapse
android_isda_**** said:
it happens in all non sammy roms, it eats up all the bettery life
Click to expand...
Click to collapse
Yeah i have noticed both the things !!!
Moved to Q&A

[Q] Playing music is taking too much power?

Coming from iPhone, i was used to play music without any noticeable battery drain for long time. I mean, while on aiplane mode, phone used about 10% of battery to play music for 6-7 hours (during long flights). Now I play music with Google Play Music using my regular IEM phones (Xears Maestro MH700PRO) on HOX+ and it takes about 2-3% for 30 minutes of music, tested on my trip from home to work. And it seems to me bit too much.
I checked battery stats and found out that most juice is used by Mediaserver app. From searching around I found out that this process is handling playing media, but also scanning storage for media files. And it sometimes gets stuck in infinite loop from some messed files. So I used some NoMedia app to create .nomedia files in every folder of my virtual SD card to avoid Mediaserver scanning, since Google Play Music uses system Data folder to store its cached files. And it also has .nomedia files in its folders.
Problem is, that nothing changed, Mediaserver process is still on the top of power usage while playing music and phone still uses too much power to play simple MP3 music. Any ideas how to solve this?
More digging brought more info - used simple CPU Spy app to monitor which states are used while playing music in period of 30 minutes. And result is interesting - most used state is 760MHz with 21:33 and second is 640 MHz with 9:55. Unfortunately app doesn't show how many cores were active during that time, but even assuming it was only one, its still bit too much for playing simple MP3. Or is it normal with Android devices?
Try Media ReScan Root - if you are rooted It should stop scan your mediafiles without having to create .nomedia files...
Pls report back, I too have the feeling that this task uses a bit too much... not a problem, but could be better...
Have root, Media Scan Root (app has different name after install than on play store) installed and active, CPUstate reset and running music test again. Its quite annoying to see how much power phone uses to play music, simple MP3 player costing few bucks have like 1000% better power usage than phone in this price range. Wonder if there is some specialized player, maybe requiring root rights, but able to significantly lower CPU speed to save battery...
EDIT results are same, most used states are 760 and 640 MHz, most battery drain goes to Mediaserver with 45%, 20% goes to Google Play Music. 30 minutes took 3% of charge.
Wlk said:
Its quite annoying to see how much power phone uses to play music, simple MP3 player costing few bucks have like 1000% better power usage than phone in this price range.
Click to expand...
Click to collapse
It's the same as running a V8 while not driving, you will use more gas than with a v4 doing the same
Hmm, nice theory, but when apple can do it with their hw, android should too...
Wlk said:
Hmm, nice theory, but when apple can do it with their hw, android should too...
Click to expand...
Click to collapse
I wouldn't say that, i say you have installed a power hungry app!!! I just used the stock Music player at the gym for 2hrs straight and guess what? I walked into the gym with 73% battery and walked out of the gym with 73% battery, did not use a stitch of battery. Coming from an iphone 4 and always using it for the gym (which i still do cus this stupid phone doesn't offer wired headset controls yet!!!) i'd say this device gets just as good if not slightly better battery while ONLY listening to music. Now if you are using third party apps, streaming music, blah blah blah, well duh you're going to use up battery. Common sense there. If solely only using the Stock Music Player to listen to music SAVED on your phone, you will not see much of any battery consumption. Actually very impressed myself!
This was also before i rooted and was using the stock rom/device. Now i'm rooted and running a custom rom, battery is even better across the board!!!
Wlk said:
Hmm, nice theory, but when apple can do it with their hw, android should too...
Click to expand...
Click to collapse
For starters your comparing a 1.5ghz dual core iphone 5 with a 1.7ghz quad core, secondly 3% for listening to half an hours music is good. What planet are you from? Either buy an ipod or a less powerfull phone. You chose to buy the most powerfull phone on the market. No one made you, now you have to live with the limitations that brings
Sent from my HTC One X+ using Tapatalk 2

Categories

Resources