[Bug report] Music player stops playing music from sd after some time - General Omni Discussion

Hi Omni community.
There is a bug on all Omni ROM versions (i9100 nightlies) related to music reproduction. I have tried many different music players, so it's not an app related bug. The bug is that after some time (few minutes, 10 minutes, 30 minutes - there is no rule) the music stops in the middle of the song. It's not paused, it's just frozen at some part of the song. Even if I kill the player, or force stop it via settings/apps, it will not continue playing the song until I perform reboot. The issue is reproducable in case that you have songs on sdcards, but not if you stream the music...
It seems that sd card is unmounted at some point.

pilgrim011 said:
Hi Omni community.
There is a bug on all Omni ROM versions (i9100 nightlies) related to music reproduction. I have tried many different music players, so it's not an app related bug. The bug is that after some time (few minutes, 10 minutes, 30 minutes - there is no rule) the music stops in the middle of the song. It's not paused, it's just frozen at some part of the song. Even if I kill the player, or force stop it via settings/apps, it will not continue playing the song until I perform reboot. The issue is reproducable in case that you have songs on sdcards, but not if you stream the music...
It seems that sd card is unmounted at some point.
Click to expand...
Click to collapse
This is almost surely the same root cause as our long standing OpenDelta woes. The 4.4 sdcard FUSE daemon has a habit of hanging on the Exynos 4210 family of devices and we haven't figured out why yet.

Entropy512 said:
This is almost surely the same root cause as our long standing OpenDelta woes. The 4.4 sdcard FUSE daemon has a habit of hanging on the Exynos 4210 family of devices and we haven't figured out why yet.
Click to expand...
Click to collapse
Thank you very much for your answer. I will patiently wait for a solution, since I know that the problem is in all KK ROMs for i9100 - seen it on Omni, CM, SlimKat etc.

I've had my phone freeze up or reboot itself while listening to mp3s on an SD card through poweramp. Not often, it's entirely random. I thought it was a problem with poweramp. Interesting.
Sent from my SGH-I777 using XDA Premium 4 mobile app

bleggy said:
I've had my phone freeze up or reboot itself while listening to mp3s on an SD card through poweramp. Not often, it's entirely random. I thought it was a problem with poweramp. Interesting.
Sent from my SGH-I777 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Initially, I did not have this issue of music stopping at random times with stock Omni 4.4.2 and Poweramp. I started having this issue when I did some undervolting using Gustavo_s kernel and stweaks. Since then I've raised some of the voltages and have not had random music stops. Will report back if the issue crops up again.

I'm having the same problem with my Motorola Xoom 3g. My media file will randomly stop playing n a weird noise will suddenly start. Until I reboot the player will just hang n the screeching sound will continue.
Sent from my EndeavorU using xda premium

I'm having the same problem with my Motorola Xoom 3g. My media file will randomly stop playing n a weird noise will suddenly start. Until I reboot the player will just hang n the screeching sound will continue.
Sent from my EndeavorU using xda premium

Entropy512: This problem with the i9100 is already fixed?
I want to try this ROM again but wish it was minimally stable, at least as far as the CM 10.1.3 I am using.

baldaz said:
Entropy512: This problem with the i9100 is already fixed?
I want to try this ROM again but wish it was minimally stable, at least as far as the CM 10.1.3 I am using.
Click to expand...
Click to collapse
Nope, so far I don't know of anyone who has fixed this issue with KitKat on the Exynos 4210 family of devices, and I also don't know why it seems to only affect Exynos 4210 devices.

share the stweaks settings
empty_spaces said:
Initially, I did not have this issue of music stopping at random times with stock Omni 4.4.2 and Poweramp. I started having this issue when I did some undervolting using Gustavo_s kernel and stweaks. Since then I've raised some of the voltages and have not had random music stops. Will report back if the issue crops up again.
Click to expand...
Click to collapse
Could you please share the voltage settings? I am also facing the random music stops.....

buzzzer said:
Could you please share the voltage settings? I am also facing the random music stops.....
Click to expand...
Click to collapse
I guess I should have updated my post with my latest findings, but it seems that my voltage settings "fix" was not really a fix, because I again started having the "music stopping" issue. One solution that seems to be working for now is moving all my music to my internal storage. You can try the same and see if that solves your issue.

Entropy512 said:
Nope, so far I don't know of anyone who has fixed this issue with KitKat on the Exynos 4210 family of devices, and I also don't know why it seems to only affect Exynos 4210 devices.
Click to expand...
Click to collapse
perhaps this is obvious and pedantic, but a friend of mine might hook me up with a unopened i9300. I've seen a few different listings of the type of exynos it has. 4212, 4412, 4x12 (whatever that means), etc. perhaps these are typos.
The i9300 is not a 4210 device, correct?

bleggy said:
perhaps this is obvious and pedantic, but a friend of mine might hook me up with a unopened i9300. I've seen a few different listings of the type of exynos it has. 4212, 4412, 4x12 (whatever that means), etc. perhaps these are typos.
The i9300 is not a 4210 device, correct?
Click to expand...
Click to collapse
I9100, I777, N7000 (Pretty much the Galaxy S2 family of devices, along with two tablets from the same late-2011 era) - Exynos 4210 (dual-core, 45nm)
I9300 and tons of others (Basically all of the "Galaxy S3" family that contain Exynos processors, including Note2 and Tab 10.1) - Exynos 4412 (quad-core, 32nm, a few internal changes to various built-in peripherals such as the JPEG engine)
An Exynos 4212 exists that is identical to the 4412 except half the cores, which is why you often see 4x12 in code - The Galaxy Gear has this and maybe 1-2 other devices. It's pretty rare.
This seems to only occur on the 4210 devices. My guess is either some weird MMC driver problem that only manifests itself when combined with the fuse sdcard daemon, or a problem in the kernel side of the fuse driver. Thing is the fuse driver is identical to that of the 4412 devices (same kernel) except for whether CONFIG_DMA_CMA is enabled - except their are 4412 devices with CONFIG_DMA_CMA disabled (such as t0lte) that don't have this issue, so it probably isn't CONFIG_DMA_CMA

I'm surprised that this bug doesn't get much attention, as, from my point of view, it makes the AOSP port of 4.4.x completly useless on our beloved device.
Am I the only one who use his smartphone as a music player ?

I've tried many kitkat roms, and was never aware of this issue, because I didnt listen to music while testing the roms. I have to admit this is a bit of a downer, and Im surprised too, that this bug doesnt get much attention. Very interesting.

There is still hope for the S2 ...
gerrit omnirom org 5307
I hope this commint correct the problem so I can start using this ROM.
Unfortunately it seems that Entropy512 is the only maintainer for i9100. We are missing Cody to help... :good:

A guy commented on the gerrit that it seemed it was okay, but he didnt know what to look for. Anyway, looks like it will work.

My i9100 is running 2/2 nightly ATM. I have been listening music for about 2+ hours so far from my external sd-card and I don't have the problem discribed here! Maybe it's already been fixed.

Weird, says on the gerrit it has not been merged. Leave it overnight and tell us hahahaha.

NaminatoR1254jaime.sier said:
Weird, says on the gerrit it has not been merged. Leave it overnight and tell us hahahaha.
Click to expand...
Click to collapse
Overnight? Maybe next time! :silly:
So far it has been 5+ hours continuously music. It's still working OK. Will report back if I encounter the problem.

Related

[Q] Multimedia Playback Failed after running for a few days

Dear all,
I noticed my phone has an issue and I think this may not be rom / kernel related, so I would like to ask here.
My phone is running fine every time after booting up, however after running for a random period of times (say 2 - 7 days), it cannot play any media files. I can't play youtube (it said the video cannot be played), can't listen to mp3 (music player reported unsupported codec), ringtone disappeared (phone don't ring if i get call) and other apps failed in similar way. A reboot can solve the issue.
It is a bit annoying (especially when you when to play something and you suddenly identified that you need to wait for 5 min for a reboot), does any one experienced similar issue?
To clarify , I am running darky rom with darky kernel 1.0, however I had this issue for a few months, I was using super optimized kernel and had the same issue as well.
Same here. i'm running Darky's 9.4 but I don't know if it is related to this rom.
I don't remember that I had this problem before.
Sent from my GT-P1000 using XDA App
Another one running Darky rom with a problem .
jje
I have this problem.
(dark kernel 1.4 and darky rom 9.5)
I get this occasionally and I'm on stock 2.2.1. It's a massive pain in the arse. I thought maybe it was something to do with my external micro sd card but I formatted it and waited hours to copy all my music to it again and I'm still having problems.
Sent from my GT-I9000 using XDA App
So quite a few of people having this problem. Did anyone of us find out the root cause? And what's the reason that others do not suffer from this? This happened on Darky, Super Optimized Kernel, Speedmod, Stock Rom...
Some experts can help?
Also know this problem. Had it on stock and some custom roms too. Tried nearly every kernel ever available for our phone but didnt help. so it really maybe some strange Hardware issue...just speculating but when did you guys get your galaxy? cause mine was one of the `first generation` got it immediately when it was available here in germany in june/july 2010...perhaps this got fixed by Samsung later on
Sent from my GT-I9000 using XDA Premium App
An old Nokia trick may work . Delete your MP3s .
Load only a few MP3s to phone and see if it works .
jje
JJEgan said:
An old Nokia trick may work . Delete your MP3s .
Load only a few MP3s to phone and see if it works .
jje
Click to expand...
Click to collapse
And then??? next time when my cars engine does not work i will follow your tip and try to remove all my seats and move back my drivers seat only to see if it works again...
Sorry but i dont get your point...i also have completely formatted internal and external sd several times for different reasons and the Problem still occurs. In addition this is not only for mp3s but also for recorded vids etc no matter were i store them
Sent from my GT-I9000 using XDA Premium App
hofinho said:
And then??? next time when my cars engine does not work i will follow your tip and try to remove all my seats and move back my drivers seat only to see if it works again...
Sorry but i dont get your point...i also have completely formatted internal and external sd several times for different reasons and the Problem still occurs. In addition this is not only for mp3s but also for recorded vids etc no matter were i store them
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Ignore it then your choice try Samsung Service ..
jje
I've seen another thread were someone said it was called by the twitter client. They have updated the official twitter client recently, and I've not had the problem occur since. Although, it may be too soon to tell, it used to happen to me very regularly.
And just to followup, the problem hasn't gone away with the new version of twitter.
So, I'm not sure of what is the cause (or solution) to the issue.
echidna2001 said:
And just to followup, the problem hasn't gone away with the new version of twitter.
So, I'm not sure of what is the cause (or solution) to the issue.
Click to expand...
Click to collapse
Hi, where do you find the post also mentioned the same problem?
I am having the problem regularly too, after updating the Twitter client the same problem still happen yesterday, the phone run for around 2 days after last reboot.
HKcow said:
Hi, where do you find the post also mentioned the same problem?
I am having the problem regularly too, after updating the Twitter client the same problem still happen yesterday, the phone run for around 2 days after last reboot.
Click to expand...
Click to collapse
Nope, i though you are talking the twitter update around 1 week ago. I just found that twitter have a new update today and never tried it if it fixed the problem. The change description do mention something similar, fixed a bug to skip music player while updating.. not sure if this is really the case.... need to test now...
good topic
I'm going to get rid of the twitter app then to see if it helps as updates don't seem to have done anything and I reformatted the sd card again and stuck everything back on there today and not only did it happen again, it's getting worse! Not only could I not play any music a minute ago, a load of my apps had vanished too! I assume ones that installed to SD by default rather than the phone storage.
If this sorts it out I'll be very happy. Twitter's crap anyway.
I've been having the same problem for a while now. I have just uninstalled Twitter and will see if that helps.
Basically all media stops working. Can't even record anything with the camcorder app. Nothing plays back. No youtube, no camcorder videos, no nothing. BUT arcmedia will open some videos sometime. HMMM weird, because other video player apps don't seem to be able to play them.
I'll give an update later today if it works. Videos normally stop working after only a few hours on my phone.
Bell SGS Vibrant I9000M
Alex
Do you guys have 8GB or 16GB models?
I've only come across this once and it was on a stock 16GB, one of the early ones, started about a week ago...upgraded to JVB seems to have solved it for now, time will tell.
16gb model, I've had 3 updates, and none have fixed the problem.
LAHAL Droid said:
16gb model, I've had 3 updates, and none have fixed the problem.
Click to expand...
Click to collapse
Wonder if it's just the 16GB?

[Q] Songs jumping in walkman player

Has anyone else had issues with tracks jumping or freezing briefly in the walkman player? I've only had it happen a few times, but it never normally happens with the files themselves. Any ideas?
Ill reply this happened previously on one of the last java Sony Ericsson phones think it was the c905 - cant remember. But I fixed it somehow.
Anyways,
Are the songs on phone or memory card?
What bit rate are the songs? What format?
Sent from my LT26i using Tapatalk 2
Sound issues
Hello!
I have the same problem with freezing music not only in walkman app, but also in player pro. It happens more often when device is using multitask (for example, browsing and music at the same time), but sometimes there are pauses even if screen is off.
All the media is [email protected] stored on microsd.
And i have never noticed this problem in media apps that use their own media decoder. Sound in videos played by mxplayer is ok, and music has no longer these freezes as i started to use playerpro with DSP pack.
As far as i can see, the problem is caused by software, not hardware. I hope sony will fix it by firmware updates.
DarkKrypt said:
Ill reply this happened previously on one of the last java Sony Ericsson phones think it was the c905 - cant remember. But I fixed it somehow.
Anyways,
Are the songs on phone or memory card?
What bit rate are the songs? What format?
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
They're stored on internal memory as I need to get round to buying a 64gb microsd. Songs are 128kpbs and mp3.
It freezd when listening FLAC music.
Sent from my C6603 using xda premium
any other ideas? this is seriously bugging me - listening to music is probably one of the main things I use my phone for outside of calls/texts
Um have you cleared the cache for the walkman app?
Or like windows pcs.
Clear the phone - factory reset it - start from scratch do a clean wipe.
Try another music player.
Or try a different bit rate mp3
Sent from my LT26i using Tapatalk 2
DarkKrypt said:
Um have you cleared the cache for the walkman app?
Or like windows pcs.
Clear the phone - factory reset it - start from scratch do a clean wipe.
Try another music player.
Or try a different bit rate mp3
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
Have done all but cleared the cache and bit rate so will try that today. Also getting my sd card today so will see if it makes any difference once they're on that instead, as is it possible it could be to do with the read speed of the internal memory?
As i have already said, it looks to be walkman app problem.
I have noticed no such issues since i started to use another player app.
Sent from my C6603 using xda app-developers app
van2z said:
As i have already said, it looks to be walkman app problem.
I have noticed no such issues since i started to use another player app.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
See, I'm having the problem regardless of what music app I use, which is a bit weird. Although last night, I wiped all my music again and transferred just a few of the songs, so will continue to see how that goes.
Ok so have tried everything now - different bit rate, clearing the cache, factory reset, phone repair, using different music players, trying it on both internal memory and SD card and it's STILL skipping.
Could this therefore just be a hardware fault?
That's really weird.
You know, i had same problem, some people were reporting about this problem both here and on local russian forums, but the feedback about the issue was not that massive as it would be in case of hardware fault. And at the moment everything works fine on my device.
If you dont mind, i'll contact you in a moment via private message, hope i can provide some help.
Sent from my C6603 using xda app-developers app
van2z said:
That's really weird.
You know, i had same problem, some people were reporting about this problem both here and on local russian forums, but the feedback about the issue was not that massive as it would be in case of hardware fault. And at the moment everything works fine on my device.
If you dont mind, i'll contact you in a moment via private message, hope i can provide some help.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
I mean if it was a hardware fault just specific to my phone. It's annoying if it is as I haven't experienced all the other issues people have had like dead pixels, LED light problems, stamina mode not working, etc. so would be reluctant to swap my phone and potentially end up with any of those issues.
Had this problem' solved by using player pro and having audio buffer set to very high and priority set to high sorted it for me.
Daza2020 said:
Had this problem' solved by using player pro and having audio buffer set to very high and priority set to high sorted it for me.
Click to expand...
Click to collapse
Using player pro with DSP enabled, so will try editing the audio buffer and priority settings as well.
Well, everything is possible.
But i can't see the way for hardware to cause this problem with music, but not to affect any other use-cases of the device. As you said, you experienced no other troubles like random rebooting or graphic disfiguration, which would point to defects of cpu or memory or somewhat.
My guess is that system lets the device to fall into "deep sleep", that's why music decoder stops its work for a moment and causes the freeze. Just a software bug. But i can mistake, though.
Yes, i forgot to notice this: the priority of decoder in dsp settings of playerpro is also set to max.
Sent from my C6603 using xda app-developers app
van2z said:
Well, everything is possible.
But i can't see the way for hardware to cause this problem with music, but not to affect any other use-cases of the device. As you said, you experienced no other troubles like random rebooting or graphic disfiguration, which would point to defects of cpu or memory or somewhat.
My guess is that system lets the device to fall into "deep sleep", that's why music decoder stops its work for a moment and causes the freeze. Just a software bug. But i can mistake, though.
Yes, i forgot to notice this: the priority of decoder in dsp settings of playerpro is also set to max.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
Ok so I downloaded playerpro from the link you sent me after uninstalling the player pro and DSP pack I already had on my phone and weirdly, it seems to have improved. There's still the occasional jump/pause but nowhere near as bad as it was. Will keep testing and update. If it continues to be buggy though, I still might pop into CPW tomorrow and see whether I should get it swapped.
Update: It seems you could be onto something regarding it going to sleep - I don't know how it would go to sleep so quickly, but in look and feel, when I selected to keep the screen on, and it didn't get locked, I experienced no jumping in the tracks.
Looking at this http://androidforums.com/captivate-...-playback-stock-player-samsung-captivate.html
I wonder if it could be anything to do with CPU throttling? It is definitely the case that it only skips when the screen is off, so I'm assuming I have no way of fixing this.
Anyone able to get Lastfm scrobbling to work with Walkman?
Tried the Xperia App but it only works with the official Lastfm app and it's a piece of crap.
C1emen7s said:
Looking at this http://androidforums.com/captivate-...-playback-stock-player-samsung-captivate.html
I wonder if it could be anything to do with CPU throttling? It is definitely the case that it only skips when the screen is off, so I'm assuming I have no way of fixing this.
Click to expand...
Click to collapse
I have sent a request to sony's support via e-mail asking for their response about this music problem. I hope the answer will come today, so i'll post sony representatives' comment on the issue.
Still believe it is software to cause bugs. Playerpro decoder, set to maximum process priority, doesn't let system to sleep, which increases power consumption, but fixes freezes and pauses. The original sound decoder has lesser priority, maybe there are some bugs in power management, so the issue we decribe happens.
The problem is, there can be no firmware updates for XZ until the end of March or beginning of April, when android 4.2 will become available for our device.
Sent from my C6603 using xda app-developers app

[Q] Stuttering audio?

Hey guys, I searched and didn't see anything on this -- even Google did not turn up any results. I saw on the HTC One X sometimes there would be audio stutter/skips with the Beats EQ on. Sometimes when I'm playing music the audio will just glitch and stutter for no apparent reason. It is random. Has anyone else experienced this? It happened with the stock ROM as well as with ARHD7.
yokken said:
Hey guys, I searched and didn't see anything on this -- even Google did not turn up any results. I saw on the HTC One X sometimes there would be audio stutter/skips with the Beats EQ on. Sometimes when I'm playing music the audio will just glitch and stutter for no apparent reason. It is random. Has anyone else experienced this? It happened with the stock ROM as well as with ARHD7.
Click to expand...
Click to collapse
I am having this problem with the HTC One, streaming via bluetooth. I have raised the problem with HTC tech and waiting for a response.
I'm finding it hard to believe no one else has this problem. If it's a hardware issue I fully expect HTC to replace my unit. I will even take a recording of the stutter if necessary.
My audio will make weird noise in certain tracks and bass tones out of no where with beats on or off
Sent from my HTCONE using xda premium
yokken said:
Hey guys, I searched and didn't see anything on this -- even Google did not turn up any results. I saw on the HTC One X sometimes there would be audio stutter/skips with the Beats EQ on. Sometimes when I'm playing music the audio will just glitch and stutter for no apparent reason. It is random. Has anyone else experienced this? It happened with the stock ROM as well as with ARHD7.
Click to expand...
Click to collapse
Yeah I get stuttering on Pandora, a reboot fixes it for me... shrug.
mojiod said:
I am having this problem with the HTC One, streaming via bluetooth. I have raised the problem with HTC tech and waiting for a response.
Click to expand...
Click to collapse
I had this with my HTC One and it has been reported that it is a wifi issue. Turn it of (wifi) and it should work OK, mine does. It is a pain to keep switching wifi of and on so I found an app called A2DP volume in the play store that does it automatically.
M.
Bumping to see if anyone else has this...
I am having this issue only when stream over BT.
yokken said:
Hey guys, I searched and didn't see anything on this -- even Google did not turn up any results. I saw on the HTC One X sometimes there would be audio stutter/skips with the Beats EQ on. Sometimes when I'm playing music the audio will just glitch and stutter for no apparent reason. It is random. Has anyone else experienced this? It happened with the stock ROM as well as with ARHD7.
Click to expand...
Click to collapse
Faulty sdcard possibly or your files are corrupt. Have you done an MP3 check on them?
Sent from my HTC One using xda premium
I'm also experiencing this. Except mine skips/stutters even with beats off.
Running ARHD8.0 stock kernel w/purexaudio. I'm not sure which version of purexaudio the ARHD installed, but I went ahead and installed the most current version (v4.0) to see if it helps. So far no skipping, but I haven't tested that long yet..
There is a known issue that if you are using Adblock or a similar piece of software which modifies the hosts file that Pandora will stutter. Are you using an actual file, or are you using a buffered service that could be having an issue because of this?
jskup said:
There is a known issue that if you are using Adblock or a similar piece of software which modifies the hosts file that Pandora will stutter. Are you using an actual file, or are you using a buffered service that could be having an issue because of this?
Click to expand...
Click to collapse
It happens in the regular music player too; however I reinstalled ARHD8.1 and am not selecting adaway hosts files. I'll report back on the issue.. Thanks for the tip!
I am not using AdAway, and it happens in Play Music over the headphone jack. Haven't tested it with Bluetooth. I plan on installing TrickDroid sometime soon; I will definitely update this thread when I do and see if it still happens. Curiously, it's been happening less lately. Only once or twice a day.
*knocks on wood*
Jinra321 said:
I'm also experiencing this. Except mine skips/stutters even with beats off.
Running ARHD8.0 stock kernel w/purexaudio. I'm not sure which version of purexaudio the ARHD installed, but I went ahead and installed the most current version (v4.0) to see if it helps. So far no skipping, but I haven't tested that long yet..
Click to expand...
Click to collapse
I am running the same setup with ahrd 8.1 now same issue. i am going to take out pure audio and see if it keep happening
jskup said:
There is a known issue that if you are using Adblock or a similar piece of software which modifies the hosts file that Pandora will stutter. Are you using an actual file, or are you using a buffered service that could be having an issue because of this?
Click to expand...
Click to collapse
So I reflashed ARHD8.1 without adblock and Pandora is no longer horribly stuttering. However it still has occasional stutters in both Pandora and Google Music. Still not sure what's causing it.
Festaman said:
I am running the same setup with ahrd 8.1 now same issue. i am going to take out pure audio and see if it keep happening
Click to expand...
Click to collapse
I reflashed without PureXAudio and the occasional skips/stutters still happens. Maybe once every couple minutes, really annoying considering this happened on my Note 2 also, which is why I bought the HTC One. I initially thought it might be a rogue app, but I don't have anything that could be causing it besides maybe groove IP disconnecting/reconnecting, or tasker. However I disabled both apps and the stutters still happen..
Jinra321 said:
So I reflashed ARHD8.1 without adblock and Pandora is no longer horribly stuttering. However it still has occasional stutters in both Pandora and Google Music. Still not sure what's causing it.
I reflashed without PureXAudio and the occasional skips/stutters still happens. Maybe once every couple minutes, really annoying considering this happened on my Note 2 also, which is why I bought the HTC One. I initially thought it might be a rogue app, but I don't have anything that could be causing it besides maybe groove IP disconnecting/reconnecting, or tasker. However I disabled both apps and the stutters still happen..
Click to expand...
Click to collapse
In terms of Bluetooth, the largest thing that could change in the near future would be if we get an official 4.2+ or the rumored 4.3 release, as the BT stack is recoded in that code base. This has the potential to change the game, but really considering your issue still seems to be isolated to your devices and not everyone's though, I've gotta think we're overlooking something. The further clue that you are saying this happened on your Note 2 as well also makes me wonder what else is happening.
Is this stuttering possibly during PBAP, MAP or some other profile saturating the connection with its own traffic? Is this on all BT devices that you've tested against or are we dealing with a dodgy car kit/speaker instead of a phone difficulty?
jskup said:
In terms of Bluetooth, the largest thing that could change in the near future would be if we get an official 4.2+ or the rumored 4.3 release, as the BT stack is recoded in that code base. This has the potential to change the game, but really considering your issue still seems to be isolated to your devices and not everyone's though, I've gotta think we're overlooking something. The further clue that you are saying this happened on your Note 2 as well also makes me wonder what else is happening.
Is this stuttering possibly during PBAP, MAP or some other profile saturating the connection with its own traffic? Is this on all BT devices that you've tested against or are we dealing with a dodgy car kit/speaker instead of a phone difficulty?
Click to expand...
Click to collapse
I dont use blue tooth, this is strictly wired 3.5mm connections. I don't have any uncommon apps besides tasker/secure settings/busybox/grooveip/xposed installer that were on both my note 2 and htc one. The only apps that have SU access are secure settings, xposed installer, seeder, solid explorer, betterbattery stats, and tasker.
I was almost sure that the stutter/skips were caused by purexaudio, but I guess not since I removed it.
I had this as well, does it sound like the stuff in this thread?:
http://forum.xda-developers.com/showthread.php?t=2269581
I personally had it fixed when I flashed CM 10.1 nightlies, so I'm guessing it's a software issue, more specifically maybe even androidHD
youwonder said:
I had this as well, does it sound like the stuff in this thread?:
http://forum.xda-developers.com/showthread.php?t=2269581
I personally had it fixed when I flashed CM 10.1 nightlies, so I'm guessing it's a software issue, more specifically maybe even androidHD
Click to expand...
Click to collapse
It sounds similar, sometimes the audio would cut out entirely for a third of a second, but it was not happening nearly as frequent as yours. Mine only happened once every couple minutes. Also I have since flashed bulletproof 1.9 kernel with purexaudio 4.0 and the problem seems to have gone away. However, more testing needs to be done..
I'm thinking it has something to do with CPU usage, like it running a process in the background that disrupts the audio output. But I don't know if anything can be done about that.

[Q] Touchpad Audio Stops work, Lag in all apps CM9, and CM10

As the subject line says, I have tried flashing different builds of CM9, and CM10, AOKP, and the only build that works are the nightlies for CM10.1. What happens is, at some point randomly during use, or more commonly when the screen is off, sound will stop functioning and NO audio will come out of the touchpad. On top of this there is also massive slowdown in every single app. I have tried increasing minimum clock speed, flashing new Kernels, Removing android completely and reinstalling from WebOs, Changing my recovery app, upgrading Moboot, and doing a complete format of system, data, etc before flashing. NOTHING works. Any suggestions?
I'm having the exact same problem. I've tried both CM9 and CM10 along with webos 3.0.0 and 3.0.5. I've also done a full wipe and run webos doctor to start from a completely blank slate. My tablet did suffer from the scratchy sound problem under webos 3.0.5. I haven't tried it yet under 3.0.0.
If I reboot, it works for a little while. I'll get some HW/SW info and post it shortly.
[edit]
The lag only happens when the audio stops working. When audio works, there is no lag and it runs like a dream.
IN WEBOS
Version HP webOS 3.0.0
Product number FB359UA#ABA
Model HSTNH-129C
Android version 4.1.2
Kernel verion 2.6.35 palm tenderloin [email protected] #1 thu apr 18
CPU ARMv7 Processor rev 2 (v7)
Cyanogenmod 10-20130418-EXPERIMENTAL-tenderloin-FOR_LIMITED_TESTING_ONLY_CAM
Build date Thu Apr 1800 04 59 CDT 2013
Build number cm_tenderloin-userdebug-4.1.2 jzo54k eng.jc.20130418.000410 test-keys
MOBOOT 0.3.5
I used CMinstaller3 todo all my CM installs. I couldn't find CMinstaller2. I don't know if that has any bearing on this issue.
I hope this helps. I love this device but I've been fighting with this for almost a month and i'm running out of ideas.
Thanks!
I've since found CMinstaller2 and loaded CM9. Same issue.
Another update: Some may be aware of the scratchy audio issue on the touchpad in webos. I experienced this yesterday under CM9. Since very few people have this problem, I wonder if it is a hardware related issue and only a few touchpads suffer from this.
augoosto said:
As the subject line says, I have tried flashing different builds of CM9, and CM10, AOKP, and the only build that works are the nightlies for CM10.1. What happens is, at some point randomly during use, or more commonly when the screen is off, sound will stop functioning and NO audio will come out of the touchpad. On top of this there is also massive slowdown in every single app. I have tried increasing minimum clock speed, flashing new Kernels, Removing android completely and reinstalling from WebOs, Changing my recovery app, upgrading Moboot, and doing a complete format of system, data, etc before flashing. NOTHING works. Any suggestions?
Click to expand...
Click to collapse
Try the latest CM9 nightly as mentioned here:
http://forum.xda-developers.com/showpost.php?p=43602041&postcount=2740
Issue
As of today I have discovered that Turning on and connecting to Wi-Fi is the source of the problem. Flashed that new build JC and it worked great until I turned Wi-Fi on, at which point the same issues occurred. Why this happens on all builds except CM 10.1 I am still not sure.
augoosto said:
As of today I have discovered that Turning on and connecting to Wi-Fi is the source of the problem. Flashed that new build JC and it worked great until I turned Wi-Fi on, at which point the same issues occurred. Why this happens on all builds except CM 10.1 I am still not sure.
Click to expand...
Click to collapse
Well, that's certainly strange.
Could you try with latest CM9 again and grab output of 'dmesg' after you turn on wifi and get the failed audio?
jcsullins said:
Well, that's certainly strange.
Could you try with latest CM9 again and grab output of 'dmesg' after you turn on wifi and get the failed audio?
Click to expand...
Click to collapse
Certainly can
Issue
dmesg output attached.
I also have flashed 9-20130714-Nightly and I've noticed an improvement in the audio stoppage. I tried to repeat the problem that augoosto has seen by turning the wifi on and off. I was not able to repeat it. I will keep trying to stimulate the failure. I seem to get a lag only when the audio has stopped, and only when the app/program is calling to make a sound. if I mute the app and not the tablet sound (candy crush is a good one to try this), I get normal non-laggy performance.
Overall things are much better with this build. I probably only have to reboot a few times a day. Previously, I had to reboot every time I wanted to do something that involved sound.
Another thought. There may be some correlation to using the power switch. I just now let it fall asleep on its own, and use the home button to wake it up. I'll do more to see if I can find more correlation.
Thanks!
augoosto,
I don't know much about how sound in Android works, but I took a look at your dmesg output anyway. This line stood out to me:
Code:
[ 162.777248] asoc: can't open platform msm-audio
I would assume that this line occurs sometime after CM boots, because I doubt that your TP is taking almost 3 minutes to boot.
Next time that the audio drops out, try running cat /proc/asound/cards and see if anything is listed. My TP lists a single card called msm-audio in CM 10.1.
Sent from my SAMSUNG-SGH-I747
I'm a newbie to Android on my Touchpad and I am also experiencing this intermittent dropout of the audio. I have not been able to narrow down the loss of audio to running any particular application, or sequence of events. In short, audio will be working fine, then, the next thing I know, silence.
For better or worse, I'm running a jcsullins preview build: 10-20130418-EXPERIMENTAL-tenderloin-FOR_LIMITED_TESTING_ONLY_CAM . Everything else has been working fine except for this annoying audio problem. BTW, I first noticed the problem shortly after my initial install and tried to view a YouTube video. The video displayed one frame at a time, obviously very sluggish, and no audio. After rebooting, the same YouTube video played fine, and other sounds were working, too. I didn't think anything of it until I noticed the audio disappearing at random times.
If it helps, I've attached my dmesg and logcat listings captured today as soon as I realized that my sound disappeared. The "Out of memory" errors listed in logcat are certainly suspicious, but could just be a symptom rather than the problem.
-Don
sound card still listed
My sound card is still listed after using that cat line, but I am still no closer to fixing this problem, which I am now experiencing in cm 10.1 as well as of the last 10 builds.
Dmesg
jcsullins said:
Well, that's certainly strange.
Could you try with latest CM9 again and grab output of 'dmesg' after you turn on wifi and get the failed audio?
Click to expand...
Click to collapse
See anything out of the ordinary in my dmesg output JC?
Partial fix
I have found what seems to be the cause of the issue. It appears that the issue is caused by bad blocks in the NAND memory of the device. Last night I did a full format, and before re flashing, I partitioned the SD card in CWM, causing the installation to be written to a different section of the devices flash memory. The audio issues almost completely went away in CM9, now I just need to find a way to identify all of the bad blocks and prevent them from being written to. Hope this is helpful to other users suffering this issue.
augoosto said:
I have found what seems to be the cause of the issue. It appears that the issue is caused by bad blocks in the NAND memory of the device. Last night I did a full format, and before re flashing, I partitioned the SD card in CWM, causing the installation to be written to a different section of the devices flash memory. The audio issues almost completely went away in CM9, now I just need to find a way to identify all of the bad blocks and prevent them from being written to. Hope this is helpful to other users suffering this issue.
Click to expand...
Click to collapse
This is great news as mine has become almost unusable. I'm not 100% sure how to partition the SD card in cwm but I'll take a stab at it and let you know if it fixes mine as well.
augoosto said:
My sound card is still listed after using that cat line, but I am still no closer to fixing this problem, which I am now experiencing in cm 10.1 as well as of the last 10 builds.
Click to expand...
Click to collapse
Try doctor yout TP before installing
augoosto said:
I have found what seems to be the cause of the issue. It appears that the issue is caused by bad blocks in the NAND memory of the device. Last night I did a full format, and before re flashing, I partitioned the SD card in CWM, causing the installation to be written to a different section of the devices flash memory. The audio issues almost completely went away in CM9, now I just need to find a way to identify all of the bad blocks and prevent them from being written to. Hope this is helpful to other users suffering this issue.
Click to expand...
Click to collapse
can you please give us the steps for doing this,, by doing this will we loose webos as well ? i have the touch pad with cm9 and have tried different builds but sound has not worked consistenly. in web os it works well.
with these particular touchpads we have, is it better consider some other OS !!
Any progress with this audio issue? It's the only problem I ever have with my touchpad. Incidentally, it never shows up on my daughter's, which has cm7 installed.
Same thing here. Sounds work fine at the beginning, then lose it (after the screen is off for a couple of seconds).
It was working fine at some point using CM9, but since I tried CM10.2, CM11 and now evervolv 4.4.2... I still have that painful issue. Everything else work fine, except audio. It also prevent youtube from playing videos. Videos work fine while the sound is working, but when we lose the sound, youtube videos doesn't play anymore.
I've been crawling the web since last December on this subject, found a couple of thread like this one with the issue but nobody has found how to fix it (or I didn't find it yet!)
If anyone has an idea... please let us know, thanks!
ps.
Here's a dmesg sample output in attachment (and on pastebin.com/FzsXs7fS )
Suspicious lines:
<3>[ 216.450042] APR: Unable to open handle
<3>[ 216.450073] q6asm_audio_client_alloc Registration with APR failed
<3>[ 216.450103] q6asm_audio_client_free: APR Common Port Already Closed
<3>[ 216.450164] asoc: can't open platform msm-dsp-audio.0

[Q] Audio stutter on 4.3?

Is anyone else suffering from audio stutter since the update to 4.3 and if so has anyone found a solution? I've read about lots of issues with other devices and music stutter on 4.3 but can't find anything on the Xperia Z.
I'm running the Generic UK rooted update from the Android Dev section, and I have narrowed the stutter down to when the device is sleeping.
At first I had my headphones (MDR-1RBT) on bluetooth and assumed it was that, but after connecting them with the wire the issue continued. Next I switched to Walkman player instead of the Google Music one (all music on both apps is local, on the SD card, not streamed).
The issue still continued, however, every time I wake the device the stuttering stops. I ran CPU spy to see what is going on and noticed my device has never entered deep sleep since the update (is anyone else seeing this also?)
One suggestion was that Wifi optimisation could be the issue, I turned that off, but it didn't help, and even turning wifi off doesn't seem to help, but wifi on seems to make it worse I'd say.
It's driving me insane and I use my phone/headphones to listen to music several hours a day and can't deal with the stutter, I'll have to go back to 4.2.2 unless I find a solution.
alias_neo said:
Is anyone else suffering from audio stutter since the update to 4.3 and if so has anyone found a solution? I've read about lots of issues with other devices and music stutter on 4.3 but can't find anything on the Xperia Z.
I'm running the Generic UK rooted update from the Android Dev section, and I have narrowed the stutter down to when the device is sleeping.
At first I had my headphones (MDR-1RBT) on bluetooth and assumed it was that, but after connecting them with the wire the issue continued. Next I switched to Walkman player instead of the Google Music one (all music on both apps is local, on the SD card, not streamed).
The issue still continued, however, every time I wake the device the stuttering stops. I ran CPU spy to see what is going on and noticed my device has never entered deep sleep since the update (is anyone else seeing this also?)
One suggestion was that Wifi optimisation could be the issue, I turned that off, but it didn't help, and even turning wifi off doesn't seem to help, but wifi on seems to make it worse I'd say.
It's driving me insane and I use my phone/headphones to listen to music several hours a day and can't deal with the stutter, I'll have to go back to 4.2.2 unless I find a solution.
Click to expand...
Click to collapse
+1
Yep. Same problem here.
Sent from my C6602 using Tapatalk
Same problem as well, except it does not stop when I wake the device - the stutter still continues no matter what. I'm using the default Walkman app as well as have tried other music apps, but same problem throughout
no issues with poweramp. try apollo or some other player (not walkman or play music) and see if that helps.
No stutter here with walkman app.
But if I run the Walkman app, the accu usage shows that Mediaserver sucks my Battery,
+2
Same here and for @AngelBob
It's annoying and I've not been able to find a solution to it yet...
I went back to 4.2.2, so i have one question: can someone test if stuttering are not present using PowerAmp?
Thanks all
+1
I believe it's kernel related. We had this exact issue in the past and Sony fixed with am update.
CM builds are also suffering audio 'stutters' so I think it's something we're going to have to live with until Sony push a new kernel/libs
Sent from my C6603 using Tapatalk
AngelBob said:
CM builds are also suffering audio 'stutters' so I think it's something we're going to have to live with until Sony push a new kernel/libs
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
You're right, after investigation, I can say with some certainty that the cause is the new bluetooth stack Google switched to in 4.3. I tried modifying some of the bluetooth configs but it made no difference. It'll need a fix to those libs and perhaps a kernel update as you say.
I don't know if it's been fixed in 4.4 yet, since I no longer own any nexus devices, but I wouldn't count on us getting the fix any time soon unless Sony decide to resolve it themselves.
alias_neo said:
You're right, after investigation, I can say with some certainty that the cause is the new bluetooth stack Google switched to in 4.3. I tried modifying some of the bluetooth configs but it made no difference. It'll need a fix to those libs and perhaps a kernel update as you say.
I don't know if it's been fixed in 4.4 yet, since I no longer own any nexus devices, but I wouldn't count on us getting the fix any time soon unless Sony decide to resolve it themselves.
Click to expand...
Click to collapse
I would have agreed, but for those of us not using Bluetooth still suffering the same effect
Sent from my C6603 using Tapatalk
AngelBob said:
I would have agreed, but for those of us not using Bluetooth still suffering the same effect
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
You're right, I tested wired and it's the same problem.
In this case, I'm going to put the issue down to kernel and power save/sleep mode. I switched straight back to 4.2.2. I really like the new UI, but I can wait, hopefully 4.4 fixes it. I wouldn't count on a maintenance release from Sony before 4.4
I had this problem on 4.2.2 ROMs when I had Wi-Fi on. I think it was probably due to media server scanning for other devices over Wi-Fi network. It was going crazy when I was at uni as there were so many devices around me. Had to keep my wi-fi disabled just to listen to music.
You guys getting the same issue?
Sent from my C6603 using Tapatalk
kamalmawa said:
I had this problem on 4.2.2 ROMs when I had Wi-Fi on. I think it was probably due to media server scanning for other devices over Wi-Fi network. It was going crazy when I was at uni as there were so many devices around me. Had to keep my wi-fi disabled just to listen to music.
You guys getting the same issue?
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Unfortunately not, even worth wifi disabled it still happens, makes no difference.
It seems to be kernel related, perhaps something to do with cpu states or such because it only happens for me in sleep mode, it also happens when apps install so could be I/O related.
I'm starting to think sony rushed the Z 4.3 update, the T leak does not suffer this bug and it also has transparent nav bar by default!
Sent from my C6603 using Tapatalk
Can we use bluetooth/a2dp libraries from other devices or versions of Android?
For example can we put Xperia Z 4.2.2 bluetooth files into the Xperia Z 4.3 firmware?
Thanks
On 4.3 Drummerjeds stock pre-rooted and deodexed rom with PXA23 I don't get any stutter when streaming. Is it only a problem with music stored on the device? (Doesn't appear to be an issue either with music from Google Play music stored on my external card). Just wonder if it could be related to my having the kernel tweaks on Power Guard Pro running in learning mode, if it's related to a problem in sleep mode?
Just want to inform you guys that I have no stutter whatsoever with walkman but I'm on the official C6602 4.3 ROM, but the screen sometimes flickers in chrome, the most annoying bug so far
mervluk said:
On 4.3 Drummerjeds stock pre-rooted and deodexed rom with PXA23 I don't get any stutter when streaming. Is it only a problem with music stored on the device? (Doesn't appear to be an issue either with music from Google Play music stored on my external card). Just wonder if it could be related to my having the kernel tweaks on Power Guard Pro running in learning mode, if it's related to a problem in sleep mode?
Click to expand...
Click to collapse
I only use Streaming from Play Music, issue still appears,
Though I am leaning to the kernel going to sleep causing the issue,

Categories

Resources