[Q] Issue with music/apps multitasking (kind of) - EVO 4G Q&A, Help & Troubleshooting

To begin, I'm running Myn's Synergy ROM with Godmode and the Freedom a0.6 Synergy (Godmode) Kernel.
On other ROMs I've used (MikFroyo I think did this best) I could listen to a podcast on the music player (1-2 hours) for about 20 minutes during my morning commute, pause it, go about my 8 hour or so workday, and then on the way home resume the podcast and it would pick up exactly where it was paused. This was fantastic for things like Science Friday and other longer shows.
However, on Myn's Synergy ROM, I've found that if I pause a song/podcast, if I go to unpause it later, it restarts from the beginning. This also happens with games if I switch out of them (homescreen button or long homescreen to switch apps) and then back in, even for just a couple of minutes. It used to be that I could pause a game and come back 30+ minutes later and it would pick up where it left off.
I'm assuming these are tied to the same issue--is it the aggressive kernel? Is it something to do with Gingerbread closing apps that it says are no longer "in use"?
Any advice or suggestions are welcome on how to work with this; I'd like to get back to listening to podcasts to and from work.
Thanks!
EDIT: Just flashed the stock GB kernel on my system and it's still restarting music tracks after 10-15 minutes. So, it's not the custom kernel.

I don't know if this fixed it necessarily, but I found a way around it (for those interested).
After some testing today, it seems that the default music app in Gingerbread closes/exits out after only about 5-10 minutes of not being used. DoubleTwist and WinAmp both hold the position of the song during playback even through being rebooted (tested with both).
I guess for anyone else in this situation, the best recommendation is just use a different program for long-podcast playback.

The most likely reason for this is that Synergy just doesn't leave as much free RAM as the older Sense 1.0 ROMs did. Android will kill apps when it runs out of memory, and it's far, far more likely to run out of memory and start killing stuff on a Sense 2.3/3.0 ROM.
As for why the other apps are working better for you, there are a few possibilities. One is that they just take less memory. Another is that they use tricks to try to convince Android to keep them running (like leaving a notification icon in the notification bar). Another is that they actually *are* being killed, but they're coded to correctly use the hooks that Android provides to let an app save its state before being killed and reload that state when restarted. That can make it look seamless. It's possible HTC's music player doesn't do that and starts over.

Related

Let's try to figure out why music lags after a while.

Sup all! I love my Hero. I use it as my primary music player on the go.
As most of us have encountered though, it happens sometimes that music starts stuttering after half a day of usage. The problem arises when the music stutters for about a tenth of a second on wakeup, and could start stuttering really badly and intermittently while the phone is asleep. It's frustrating when I can't listen to a complete song without interruption!
I figured, if the phone is silky smooth soon after boot, but starts degrading after a while, it's certainly a software bug that's causing the hiccups. Looking at logcat didn't yield much else than AudioFlinger warnings, but after connecting through SSH and looking at top, I noticed the process /system/bin/mediaserver was using up to 17% of the CPU all the time. I killed it, and the music stopped, but then the process restarted, and the music started again, though from the beginning of a different track.
But the music was smooth again, and the CPU usage of /system/bin/mediaserver dropped drastically.
That's all I have so far. Anyone have a clue why mediaserver would start eating CPU cycles like that? Could it be fixed in future custom ROM releases?
I'm hoping for the best.
YES!
This has pretty much been my biggest concern since I got the phone, but haven't looked into it at all.
I am glad someone else brought this up, I'd like to see some discussion on it, and once I get some free time AND get the IM.apk working, I would like to help in figuring this out.
Just briefly I took a look at the Android OS source, and mediaserver doesn't seem to be in there, so I'm going to make a guess and say that mediaserver is an HTC-specific service. (It's 2:30 in the morning here, I really won't have time until at least Sunday to put this theory to the test. )
If it IS HTC-specific, well, there are pros and cons. A pro is that this would mean that simply using a different music app could instantly fix the problem. Cons: The HTC apps are not open source, and we'd probably have to rely on HTC fixing the code, hopefully in the 2.1 update... and, I really like the HTC Music app, so I'd rather not switch to something else if I don't have to.
If it's NOT HTC-specific, then we'll probably have the same problem with every Music app... HOWEVER, this also means that the community has a better chance of fixing it without HTC's help.
One potential solution I've been thinking of is to use Linux's nice function to give mediaserver a higher priority. This means that other processes will run slower when music is playing, but the mediaserver process should constantly get all the CPU cycles it needs. If I'm listening to music on my phone, I'm more than willing to accept a bit of slow-down in everything else.
Sidenote: After disabling compcache and applying this (http://forum.xda-developers.com/showthread.php?t=622666) fix, the issue is much less noticeable, but it's still there. If I were to venture a guess, I would say that disabling compcache is where this improvement came from, since compcache uses some CPU power to compress the memory.
mediaserver is part of the AOSP. It's inside platform/frameworks/base.git, in /media/mediaserver/.
I'll try looking into it but I doubt I'll find anything. =\
In some cases a better SD card helped
ROM based
I seem to recall this being a ROM based issue. I think I had it for a couple of the early versions of Paul's MoDaCo, but in the newer versions it was fixed, and its never been an issue on any of the AOSP 2.1 ROMs i've been running.
I would guess its probably something from the original HTC release that was badly implemented, or un-optimised.
[I think it may have been sorted for MoDaCo when teknologist released his custom kernal?]
I have a Transcend Class 6 8GB, which I think is a well respected card around here. Besides, it doesn't explain why the process starts choking up after a few hours.
By the way, I run on MoDaCo 3.2 beta 5, with the OOM killer tweaked. It's definitely a software bug where the mediaserver gets stuck in a a strange processor-intensive mode.
as for me A-Data micro sdhc turbo class 6 run smooth/faster on music playback/transfer or backup/apply file in recovery.
I have BT audio in the car, what I have found is that when a new track starts the begining seems slower than normal but speeds up, but this doesn't happen when I listen through the phones speaker or headphones? I run on MoDaCo 3.1 and my micro sdhc is a Kingston 4gb.
Could it be it takes a while for the "waves" from the new track to be caught by the stereo, so it takes a while to catch up? (lol!)
Hopefully when andriod 2.1 comes out it will be sorted?
Don't know how it happened, sorry
as i know when u on wifi or BT it will consume more power eat up cpu & phone will surely laggy. if u using normal cable earphone it doesnt consume more power then BT & wifi & dont eat much cpu. BT is eat lot of battery & cpu if im not wrong.
i get this same problem. Its been there since the stock firmware, and is still apparent in MoDaCo 3.1. Even with a class 6 8gb SD card, its still there.
Now Im running a 2.1 variant, its gone, so it would suggest its a rom problem for sure
alexperkins said:
i get this same problem. Its been there since the stock firmware, and is still apparent in MoDaCo 3.1. Even with a class 6 8gb SD card, its still there.
Now Im running a 2.1 variant, its gone, so it would suggest its a rom problem for sure
Click to expand...
Click to collapse
are you sure u using bluetooth audio without lag?

Anyone having issues with 3.29.651.5

I am running stock 3.29.651.5. Ever since I updated, my battery performance has decreased, my web browser has become very choppy, and overall, the phone just isn't as responsive. The previous build ran beautifully on my Evo. Anyone else having issues?
Sent from my PC36100 using XDA App
bsims85 said:
I am running stock 3.29.651.5. Ever since I updated, my battery performance has decreased, my web browser has become very choppy, and overall, the phone just isn't as responsive. The previous build ran beautifully on my Evo. Anyone else having issues?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
PEACE,
YES!! It appears that my browser cant even get some pages (or it takes forever to load ---for instance XDA). I use Gtalk (I know most of you consider it BLOATWARE) and i barely can connect or 3G or 4G. My best connection is Wi-Fi which is good--when I'm home...not so good when I'm at work. I've ran the wimax test on my phone through Terminal Emulator and it stated that my wimax keys are still in tact and i have installed the latest radio...*shrugging shoulders*
-ZDK-
I am running rooted stock (myn's I believe) with no issues... my other evo is stock 3.29 and had battery issues for the second and third days running but has since smoothed out....
Edit... using Sprint Lovers stock-ish 3.29 from over at ppcg
I have rooted odexed Rom and I can't rip out the Sprint bloatware. It's driving me insane. DC 3.6 can't come fast enough
Spelling errors courtesy of my EVO using XDA App
ZEDEK said:
PEACE,
YES!! It appears that my browser cant even get some pages (or it takes forever to load ---for instance XDA). I use Gtalk (I know most of you consider it BLOATWARE) and i barely can connect or 3G or 4G. My best connection is Wi-Fi which is good--when I'm home...not so good when I'm at work. I've ran the wimax test on my phone through Terminal Emulator and it stated that my wimax keys are still in tact and i have installed the latest radio...*shrugging shoulders*
-ZDK-
Click to expand...
Click to collapse
I'm definitely having issues with gtalk..I can always connect via wifi but for some reason 3g has issues. I can connect with other 3rd party apps though, like beejive and trillian.
I am also having some issues. Used to get around 20hrs or so under moderate use. Now it seems to be more like 12 possibly 16. I get a very weak signal at work and this new update seams to drain much quicker. been thinking about rooting. Have done a lot a reading but not 100% sure how to do it yet.
same problem here. So I read elsewhere to check your Accounts and Sync in the settings. The update reenabled sync for stocks, weather and peep....which once I turned back off, my battery is fantastic!
sent from my iEvo6G
I can't signin to GTalk since the update. I cleared the data, but that didn't help. What exactly does GTalk do?
Yeah already turned the sync back off. Gonna try rooting with unrevoked. Seems pretty simple to do.
I have had stock everything since I purchased my phone, no rooting or anything and have never had any issues with my phone at all. Since the 3.29 update, I think my phone is actually running better. The screen transitions on all my programs seem smoother, even the 4G load animation is smoother. Battery life is the same as before, crappy but I use my phone ALOT for work. I just don't know if I am just lucky or it is becuase I am using the phone as it was intended from Sprint.
tgruendler said:
I have had stock everything since I purchased my phone, no rooting or anything and have never had any issues with my phone at all. Since the 3.29 update, I think my phone is actually running better. The screen transitions on all my programs seem smoother, even the 4G load animation is smoother. Battery life is the same as before, crappy but I use my phone ALOT for work. I just don't know if I am just lucky or it is becuase I am using the phone as it was intended from Sprint.
Click to expand...
Click to collapse
Just a question, not being a smart ass, but what made you join these forums if you haven't done anything to your phone? I'm truly intrigued by the different things I can do, and I like reading about what I can possibly do.
I've been having an issue with audio applications.
If I pause a song or podcast (whether it be in the stock Music application, Google Listen, or Audio Book Player), leave the application for a while, and return there is a very high chance the song or podcast will restart from the beginning. Likewise if I do the same in Pandora the application fill crash on me.
This is mostly annoying because 90% of what I listen to on my phone are podcasts and lectures. Not being able to easily pick up where I left off is irksome.
Has anybody else had this issue?
have you tried pulling out the battery? i had alot of problems with the phone after update and so did my parents. after i pulled battery it starting working alot smoother and battery life has been alot better.
ChristopherBurg said:
I've been having an issue with audio applications.
If I pause a song or podcast (whether it be in the stock Music application, Google Listen, or Audio Book Player), leave the application for a while, and return there is a very high chance the song or podcast will restart from the beginning. Likewise if I do the same in Pandora the application fill crash on me.
This is mostly annoying because 90% of what I listen to on my phone are podcasts and lectures. Not being able to easily pick up where I left off is irksome.
Has anybody else had this issue?
Click to expand...
Click to collapse
Yes and it is really ticking me off. I started noticing this after the update. I also listen to a lot of podcasts, and am tired of it restarting, it never did this before. Who do we report these bugs too?
mem_reddog said:
Yes and it is really ticking me off. I started noticing this after the update. I also listen to a lot of podcasts, and am tired of it restarting, it never did this before. Who do we report these bugs too?
Click to expand...
Click to collapse
Well at least I'm not crazy. I honestly have no idea where to file bug reports. If anybody knows I'd like to know as well.
mem_reddog said:
Yes and it is really ticking me off. I started noticing this after the update. I also listen to a lot of podcasts, and am tired of it restarting, it never did this before. Who do we report these bugs too?
Click to expand...
Click to collapse
ChristopherBurg said:
I've been having an issue with audio applications.
If I pause a song or podcast (whether it be in the stock Music application, Google Listen, or Audio Book Player), leave the application for a while, and return there is a very high chance the song or podcast will restart from the beginning. Likewise if I do the same in Pandora the application fill crash on me.
This is mostly annoying because 90% of what I listen to on my phone are podcasts and lectures. Not being able to easily pick up where I left off is irksome.
Has anybody else had this issue?
Click to expand...
Click to collapse
ChristopherBurg said:
Well at least I'm not crazy. I honestly have no idea where to file bug reports. If anybody knows I'd like to know as well.
Click to expand...
Click to collapse
Well normally you would report bugs to the app developer, in the case of apps. But in this case I don't know, because I haven't had any of these problems. Haven't done any podcasts but I use Pandora, last.fm, or Slacker radio for about an hour a day. I use it for a half hour on the way to work, pause it since I don't use my phone at work for anything but phone calls, then play from where I paused it 8-10 hours later for the half hour drive home.
I'd try a hard reset. Sometimes updates don't work smoothly. Just look at the Sprint forums shortly after the 2.2 update. Tons of issues that were fixed shortly there after by a hard reset. I haven't noticed any issues, and my battery seems to actually last longer, when the screen is off. I just got 12 hours with several phone calls, wifi, bluetooth, GPS, maps, navigation (for a short time), and the biggest battery drainer: games. Still had 12 percent, and it probably would have lasted at least 4 hours if I just let it sit. I leave all my email push and have facebook sync enabled.
Anyways, from my experience, nothing seems broken, its faster thanks to no fps lock, overall better performance, and the battery lasts longer, though it seems to run down a bit faster when in use compared to before, but it barely loses a charge while sleeping, so standby time makes up for it. (as long as you let it sleep, which in my experience, starting with the G1, is the real secret to best battery life. Let it sleep as long as possible. Constantly messing with it, switching the screen off, only to pick it up five minutes later is horrible for battery life. Use it, let it sleep, pick it up again in an hour. If you can that is...)
Was pretty choppy until I flashed netarchy kernel. But still getting alot of FC on Internet, when I use the back button it FC.
I had issues at first but after time and 2 or 3 reboots, all is smooth.
Sent From My HTC Evo 4G Using Tapa Talk Pro!
ChristopherBurg said:
I've been having an issue with audio applications.
If I pause a song or podcast (whether it be in the stock Music application, Google Listen, or Audio Book Player), leave the application for a while, and return there is a very high chance the song or podcast will restart from the beginning. Likewise if I do the same in Pandora the application fill crash on me.
This is mostly annoying because 90% of what I listen to on my phone are podcasts and lectures. Not being able to easily pick up where I left off is irksome.
Has anybody else had this issue?
Click to expand...
Click to collapse
Yup. I use acast for podcasts and noticed that right away. For the life of me i can't figure how the update could have caused this problem.
Sent from my PC36100 using XDA App

[Q] How can I stop apps from launching themselves ????

I see that when a task killer stops a program (cityid, stocks,etc) I can look right back in there and see it running again and in a minute the page is full again of the same apps that I just killed. Even with autokill on they start while the screen is off. I want to know if anyone has figured out what file or service keeps starting these and if there is an edit to it to tell them to quit it ? I am not comfortable with a device that I do not have control of stuff that starts and goes online by itself. Thanks.
madman34 said:
I see that when a task killer stops a program (cityid, stocks,etc) I can look right back in there and see it running again and in a minute the page is full again of the same apps that I just killed. Even with autokill on they start while the screen is off. I want to know if anyone has figured out what file or service keeps starting these and if there is an edit to it to tell them to quit it ? I am not comfortable with a device that I do not have control of stuff that starts and goes online by itself. Thanks.
Click to expand...
Click to collapse
If you're not comfortable with a device you do not have full control of, looks like rooting is for you
Seriously though, rooting your device is the ONLY way to remove City ID, Stocks, etc. from your device. HOWEVER.
You should probably break yourself of the task killer habit. Lifehacker explains it all here: http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them.
In a nutshell, Android is actually really good at preserving memory, and killing apps that will keep popping up drains battery faster. The reason they keep popping up is Android is trying to predict what you're going to use next based on what you just did (or something like that), so potentially anything you have installed that is there on startup will hit that list.
I tried using Watchdog as the article said, but honestly I found in the end I just wanted more control. unrevoked 3.21 and several ROM tries later I'm happy with where I'm at
EDIT: I see by your sig that you have rooted your Dinc.. therefore, it's a very simple process if you want to get rid of the app entirely. If you want to leave it installed, you're not going to find a solution to the constant opening - Android is what Android is.
Most of the apps you see in the task list are not active. They're just loaded in memory so they can launch faster when you need them.
Like the previous poster pointed out, task killers are counter productive. You just get a continuous cycle with the app launching and being killed. Launching again and being killed again. And on and on.
Best just to leave android alone to do what it was designed to do.
If you still feel the need to be more in control use app autostarts. It allows you to block the initial app launch and block based on events.
________________________________
Unrevoked forever
SkyRaider Sense 3.3.2
KiNgxKernel BFS (#5)
Radio 2.15.00.07.28
Mostly what I want to do is,,,,
,,,To stop applications that come on by themselves and log in even when you set in their settings to not do it, like Skype. I do use Skype to do a calll with a bunch of friends from school, but I want to start it when I want to use it, I am all the time having skype calls come in when I have not even launched the app. I figure that if it is listening for a call then it is useing power needlessly. I do not want to have to log out every time I want it to stop, I just want to close it and it behave and stop useing power. Many apps do that and I think it is a major reason for low battery life. My battery will not hold up a full shift at work, but if I kill the GPS and the 3G the thing has been up for 22 hours and is still at 66% and I have talked for over 2 hours today on the phone, so I think that if more control is gained over app behaviour then we can be happier with our batteries ;-)
madman34 said:
...but if I kill the GPS and the 3G the thing has been up for 22 hours and is still at 66% and I have talked for over 2 hours today on the phone,
Click to expand...
Click to collapse
You hit the nail on the head there. It's not the apps killing your battery, it's the 3g and gps.
I leave my wifi on all the time but have it set to disconnect if the phone is idle for 15 min. Bluetooth, gps, and 3g are always turned off except when I need them.
________________________________
Unrevoked forever
SkyRaider Sense 3.3.2
KiNgxKernel BFS (#5)
Radio 2.15.00.07.28

[Q] Galaxy Nexus extremely laggy after loading music into storage

Hello all,
I have a question about an issue that has been plaguing my phone for about the last month. I have tried numerous ROMs, kernels and basebands (which shouldn't make a difference but it's worth a try). Basically what is happening is when I have a clean install of a ROM with nothing loaded into storage, my phone is snappy and works perfectly, like butter, no matter the ROM or kernel. As soon as I load music on to my phone, the phone slows down dramatically. I start having "xxx is not responding" messages from every app I load up and the phone slows down to a crawl. I have tried many ROMs and kernels. If I install a new ROM without wiping my internal storage, the phone boots up with the newly loaded ROM slowly and can barely make it through the Android setup without crashing. If I wipe the internal storage and load a new ROM it works perfectly and snappy.
Does anyone know of a reason why this would happen? I am surprised that some music files could slow down the phone so much. Any thoughts are appreciated. I haven't tried going back to stock, but that is my next step. Somehow I think it would still slow down. I got the phone with ICS on it and immediately rooted and loaded JB ROMs on it. It didn't really start at first until I loaded my 10GB music collection on there. Any ideas?
Thanks!
Media storage scans new media and logs it into the appropriate apps.
Even with what I drop on (~4 gigs of music) it can lag for a few hours even.
Without you doing further testing and diagnosis I would guess that is your problem.
Settings>Battery should show media scanner high on the list.
Have you tried to let it settle (build up caches and read the files) for a day?
Yes, I was on a trip last week and let it sit for three days. I figured as much for the media scans, so I let it sit for a day. I don't see media scanner anywhere on my battery list. Just mediaserver, as I try to listen to the music that is on the phone as much as I can without locking anything up. I have:
Screen
Phone Idle
Mediaserver
Cell standby
Winamp
FBTouch
Android OS
Chrome
Android System
Voice Calls
jlink38 said:
Yes, I was on a trip last week and let it sit for three days. I figured as much for the media scans, so I let it sit for a day. I don't see media scanner anywhere on my battery list. Just mediaserver, as I try to listen to the music that is on the phone as much as I can without locking anything up. I have:
Screen
Phone Idle
Mediaserver
Cell standby
Winamp
FBTouch
Android OS
Chrome
Android System
Voice Calls
Click to expand...
Click to collapse
Maybe you need to defragment (I kid, I kid)
danielsaenz said:
Maybe you need to defragment (I kid, I kid)
Click to expand...
Click to collapse
Sometimes I wish I could.
Figured it out. I re encoded my music to VBR and copied it to my phone and all is well!
Sent from my Galaxy Nexus using Tapatalk 2
Hi, sorry for my eng., I have the same problem as you. But I think it's not only music. Tested read\write speed on clean stock, it's awesome. Then filled storage with music (6 gigs) and movies (6 gigs) - write speed decreased from 12 MB\s to 0,7 MB/s!!! WTF?! Then I deleted all music and movies (+12 Gb free) and ran tests again - read\write speed still low! Forever Gone (Nexus 7 memory lag's solution) doesn't helped.
Any ideas?
Well, reported to google about this problem. Others should look for an Issue 39154 on google code threads and join discussion
Sent from my Galaxy Nexus using xda app-developers app

[Q] Phone gets unreasonably slow when song changes

It bewilders me everytime it happens. I'll be just doing general things on the phone, listening to music in the background, RAM usually on the 800mb+ spectrum, and then when the song changes, at one point my phone was near frozen for almost 40 seconds, while nothing else is going on. I disabled most bloatware, and very obsessively monitor my RAM usage and currently running apps, but when a song changes, whether natively stored on my SD card, or Pandora, the phone gets crazy slow. The weird part to me is, for example, I'll be playing a PS1 game and have my framerate counter in the top, and it'll usually be at 60(Full speed), but when the song changes in the background that I'm listening to, the game will seem like it's running at like 5 fps for like 15 seconds, and yet my framerate counter still displays the normal 60, as if my phone isn't actually slowing down, but it really is. Any way to remedy this?
Anyone?
Dang, no one else in my boat huh. Here's to hoping lollipop miraculously fixes my issue.
For anyone reading, found the issue. It was the Media Utilities app I downloaded to give me Pandora controls on the notification screen.

Categories

Resources