[Q] Lags in music player. How to solve it? - XPERIA X8 General

Hello everyone. I'm MiniCM6 1.0.1 user. This ROM is perfect, but I've found one pretty annoying issue. When I play some tracks with my music player (PlayerPro or default ROM player) after a while song gets one or two short lags. Not every song has this issue, but great part of it did. I've tried to defrag my card, but problem still occurs. Maybe you know what I have to do (some fixes maybe)? Thanks in advance.

Disable overclock.

In SetCPU or by deleting x8oc.ko? I've tried in SetCPU, but this didn't help.

Third thread in this topic. Use the search option!

qsmyle said:
Third thread in this topic. Use the search option!
Click to expand...
Click to collapse
I was looking for some time, and I didn't found any solution. So please, help me in my search

I had this problem, tried to solve with lots of different tries. So I gave up and now I am using Racht's Floyo 0.20, and works perfectly. Clean and stable ROM using 2.2

Are you using some additional fixes or just clean floyo ROM?

The clean Floyo ROM, without any fix.

Related

[Q] CM7 & YouTube

(This probably belongs in dev forum, but I can't post there yet.)
I'm wondering about the status of CM7 and the YouTube app. I've heard comments that it doesn't work... but it works for me *after* opening a video from Opera Mini.
1) Open YouTube app, play video == sound, but no video.
2) Tried in standard browser, only plays in browser if I change user-agent
3) Tried in Opera Mini, clicking a video launches the YouTube app and it plays.
4) YouTube app now appears to work fine.
Any idea what's going on with this?
EDIT: I'm running Ladios' CM7-RC4-KANG ROM.
I just opened the YouTube app for the first time since a clean install of CM7 RC4 (w/ Ladios's kernel). I had installed the YouTube app days ago when I did the clean install, but haven't run it until now. (I know for sure because it just asked me if I want to accept the agreement when it started.) I just clicked on the first video I could find and it played with video and sound without any problem. I'm not sure why you're having problems.
drumist said:
I just opened the YouTube app for the first time since a clean install of CM7 RC4 (w/ Ladios's kernel). I had installed the YouTube app days ago when I did the clean install, but haven't run it until now. (I know for sure because it just asked me if I want to accept the agreement when it started.) I just clicked on the first video I could find and it played with video and sound without any problem. I'm not sure why you're having problems.
Click to expand...
Click to collapse
+1 - new install of YouTube on CM7 N37, no problem playing any videos.
Interesting. Maybe I was just experiencing a glitch then. I'll update the thread if I encounter the issue again. Originally I was thinking that Opera may have caused a particular module to load that the YouTube app hasn't. If I'm able to reproduce the situation in my original post and stock CM7 works then maybe it's Ladios' kernel.
hollywoodb said:
Interesting. Maybe I was just experiencing a glitch then. I'll update the thread if I encounter the issue again. Originally I was thinking that Opera may have caused a particular module to load that the YouTube app hasn't. If I'm able to reproduce the situation in my original post and stock CM7 works then maybe it's Ladios' kernel.
Click to expand...
Click to collapse
I don't think its ladios' kernel, I've been running his kernel with the latest nightlies for several weeks now, and YouTube works fine for me.
YouTube works fine for me and im running ladios's rc4 rom on clean install.
Sent from my fingers using XDA App

[Q] MIUI Rom wont use certain applications?

Hey guys, I have posted this in another forum but didnt get much luck.. wanted to try it here before I gave up and hung myself.
Very briefly: I have just flashed my fourth rom, this time I went for MIUI. Fantastic, really good speed, very aesthetically pleasing, etc.
Anyway, I have tried to run some GBA emulators and they havent worked. They flash the black screen for about 5 seconds, and the game plays in the background but it minimises the program; it says it is still running in the notification area but when I try to access it it just minimizes again.
Is this a common problem on MIUI? Has anyone else had a similar issue? Im sure its MIUI related as I have had the program running on several different ROMS..
Please dont make me choose between this awesome rom and being able to play Mother 3!!
Thanks guys;
Vincent.
Edit:
Turns out it is a gingerbread incompatibility. Can be fixed by installing a compatible emulator *facepalm*

Navigation Volume too low

Hi guys, I have an issue with Sat Nav volume. I will try to break it down simply:
Sat Nav [CoPilot and Navigator tested]
Music app [PowerAMP and HTC Music tested]
Audio cable [3.5mm audio jack - plugged into car stereo]
Sound settings all full [set in Quick Settings and also manually set Navigation Volume when Google Navigator is running]
Audio is fine when any music app playing [with or without cable]
Audio is fine when any Sat Nav voice playing [with or without cable]
Audio is fine when any Sat Nav + any Music app both playing (music cuts out and voice becomes audible) [WITHOUT CABLE]
--- Sat Nav voices becomes too low to hear when both Sat Nav and Music playing with cable plugged in ---
This was working perfectly fine on stock HTC (both Froyo and GB) with kernel Buzz OCUV 1.0.6.
I have only seen this issue since flashing Android Revolution HD 5.1.9 > 5.1.10 > 5.1.11 . I have tried different kernels ( Stock ARHD > UnityV2 > UnityV3 ) and also retried Buzz OCUV 1.0.6 but the issue still remains.
Does anybody have any ideas as to what could be the problem?
Anybody have any ideas at all?
Sent from my Desire HD using XDA App
I've always had this issue too, All I have been doing is lower the music volume to half, set Navigation Volume to Full and then increase the car volume instead
According to google support forum, It looks like the issue is caused by GB 2.3.3, 2.3.2 does not have this problem so it seems downgrading is the only fix.
I have the same exact problem unfortunately.
I'm guessing you're using Google Navigation instead of HTC's Locations Premium Navigation?
I'm currently on 2.3.3, and I don't really have a problem with any bad navigation volumes. If you're not okay with paying to try out Locations Navigation, don't worry, you have a 1 month worldwide navigation license which you can activate and use for free without any restrictions.
Thanks for your 'input' Vious, but the issue remains no matter what satnav is used, premium or not.
It is a confirmed 2.3.3 issue with multiple threads on the google code forums
Sent from my Desire HD using XDA App
I hope they fix this soon. Such a GIGANTIC issue... i can't believe this isn't at all critical for them.
Same problem for me, Copilot support could not fix it for me also, claiming it was a problem with android not them. Used to work on Version 8.x.x.606
If this affects all versions of Android above 2.3.2 then it looks as if I have little choice but to buy an iphone or wp7 phone next, Google are unbelievable sometimes!
6 months and still no fix, I love Android and would hate to switch but this is a complete joke!!!
http://code.google.com/p/cyanogenmod/issues/detail?id=3165
http://www.google.com/support/forum/p/Google+Mobile/thread?tid=794d84c209f5ad2d&hl=en
http://code.google.com/p/android/issues/detail?id=15690
I know this is an old thread, but I wanted to share my solution for this same problem that I've been having since upgrading to the new gingerbread. Note though that this is no longer an issue if you're using the latest google navigation app, but if you're like me and you like to use an offline nav app like CoPilot, then this solution should work for you.
Since this problem was introduced in gingerbread 2.3.3, I thought I would try replacing the libaudiopolicy.so library with one from a gingerbread 2.3.2 rom I had laying around and voila, that seemed to have solved the problem! I haven't tested this thoroughly, but it seems to be working so far. I hope this helps anyone else out there that is still suffering from this issue.
Could you post the file? Also, have you encountered any issues so far?
Perhaps post this in the previously mentioned google code pages for more testers....
Sent from my Desire HD using XDA App
Here you go! This one is for sense based roms.
No issues so far!!
Perhaps when I have a little bit more time, I'll post a link to this thread in those referenced google pages.
hexion said:
Here you go!
No issues so far!!
Perhaps when I have a little bit more time, I'll post a link to this thread in those referenced google pages.
Click to expand...
Click to collapse
Nice one I'll give this a try
I presume the libaudiopolicy.so file you posted is from a Sense ROM, it didn't work for me as I'm running BlackIce which is CM based.
Downloaded an early CM7 nightly based on 2.2.3, copied that file over and it worked!
I have updated the previously referenced Google pages.
Attached is the CM7 2.3.2 libaudiopolicy.so if anyone wants it.
rgrover said:
I presume the libaudiopolicy.so file you posted is from a Sense ROM, it didn't work for me as I'm running BlackIce which is CM based.
Downloaded an early CM7 nightly based on 2.2.3, copied that file over and it worked!
I have updated the previously referenced Google pages.
Attached is the CM7 2.3.2 libaudiopolicy.so if anyone wants it.
Click to expand...
Click to collapse
Yes, sorry, forgot to mention that. I've updated my post so now it won't confuse anyone else.
I'm glad the one from CM7 worked for you!
hexion said:
I know this is an old thread, but I wanted to share my solution for this same problem that I've been having since upgrading to the new gingerbread. Note though that this is no longer an issue if you're using the latest google navigation app, but if you're like me and you like to use an offline nav app like CoPilot, then this solution should work for you.
Since this problem was introduced in gingerbread 2.3.3, I thought I would try replacing the libaudiopolicy.so library with one from a gingerbread 2.3.2 rom I had laying around and voila, that seemed to have solved the problem! I haven't tested this thoroughly, but it seems to be working so far. I hope this helps anyone else out there that is still suffering from this issue.
Click to expand...
Click to collapse
Thanks hexion, you see this is exactly what I have been trying to say all this time - it must be something slightly changed in some audio file somewhere between 2.3.2 and 2.3.3 . I just have no idea about Linux / Android so never knew where to look for such things.
Now all we need is to compare these to see where the changes lie and try to patch the most current libaudiopolicy.so with only the previous Navigation settings, leaving all other new things as is.
rgrover said:
I presume the libaudiopolicy.so file you posted is from a Sense ROM, it didn't work for me as I'm running BlackIce which is CM based.
Downloaded an early CM7 nightly based on 2.2.3, copied that file over and it worked!
I have updated the previously referenced Google pages.
Attached is the CM7 2.3.2 libaudiopolicy.so if anyone wants it.
Click to expand...
Click to collapse
Hey rgrover, I'm also on CM7.1 Nightly. I tried renaming old file to libaudiopolicy.so.bak and copied the file you supplied into system/lib but now my device will not load past white HTC screen after reboot. Any advice?
UPDATE: it's OK it seems it was just a permissions problem. Everything working fine now
Hexion, you f**king treat !
My DHD is now pure perfection, with CM7.1 installed and this Sat Nav fix. Everything works at it should and I need nothing else from a phone (apart from battery life, but hopefully I can get Daemon Controller on CM7 at some point with better kernel).
If I had mone I would buy you a bottle JD (actually I would buuy myself one lol, maybe share with you XD )
Apparently, this fix for sat nav apps does not work for Google Navigation and TuneInRadio according to chykal1 on the google page. Music will not be lowered when the nav voice comes on. So if you use TuneInRadio a lot, you probably shouldn't apply this fix. Maybe when someone patches the latest libaudiopolicy.so, then we'll have a true solution.

[Q] Music app crash with JIBwich

I've just installed the JIBwich rom on my Desire Z.
Everything works fine, except i can't play music.
The music app crashes when i'm trying to start it.
I've installed another music app, but those can't play any music files i've got.
Does anyone have an idea about how to fix this?
I ask it here, because i can't post in the main topic of that rom...
If you looked through the thread, you would have seen that is a common problem with the ROM. The developer said he would include a new music app in an upcoming release.
beefynick said:
If you looked through the thread, you would have seen that is a common problem with the ROM. The developer said he would include a new music app in an upcoming release.
Click to expand...
Click to collapse
I've already got the new release (1.2), it was already online on his upload place.
But it's fixed, don't know what the problem was.
I just reïnstalled to rom, but the problem was that I've done this also before creating this thead, and it wasn't fixed.
But with a second reflash, the problem was fixed.
So I needed to flash the rom 3 times, but now it works.
Strange thing...
Stock app isn't very good anyways. Poweramp offers many many more features

[Q] Music stop playing on CM10

Hi,
I have an annoying issue on the latest Quarx's CM10 (18/03). I have this problem since November I think. When I'm playing music from my SD card on any music app (usually I use Play music or PowerAMP) it stop randomly after some music when screen is off.
I think it happen because of RAM management which kill running app on IDLE to increase battery life. But I tried tweak RAM setting and it didn't change nothing.
I think I'm not the one with this issue. I'll take every idea to try to fix this.
Thank you.
Keep your app in foreground.
And if your player has notification thingy, the atk can't kill that app. I think both apps you mentioned has a notification control, SDL it can't be memory management!
Sent from my MB526 using xda premium
Thank you for your reply.
I can keep the app in foreground but it take approximately 30-45mo of RAM so my phone will become very laggy.
I think you're right when you say it can't kill the app because of the notification. But I think android system kill an other background service which is necessary to the music be played correctly. I'll trying to investigate when I'll have more time.
I have an other app called Deezer (French Spotify service). This app never stop or less frequently. I think it's because it use it own decode system (music file are encrypted on the server or memory card). The app don't use external services to decode music so the app continue playing after hours.
Btw I find strange that I'm the only one to complain about this. I will make a clean install in some day.
AW: [Q] Music stop playing on CM10
Hi, you test supercharger script? With this you can look apps in memory or under general I saw a post how to look apps in memory.
Gesendet von meinem MB526
Yes in know how to do it. But if I lock music player in memory, it will take about 40mo all the time. My Defy will become very laggy.
Husi10 said:
Thank you for your reply.
I can keep the app in foreground but it take approximately 30-45mo of RAM so my phone will become very laggy.
I think you're right when you say it can't kill the app because of the notification. But I think android system kill an other background service which is necessary to the music be played correctly. I'll trying to investigate when I'll have more time.
I have an other app called Deezer (French Spotify service). This app never stop or less frequently. I think it's because it use it own decode system (music file are encrypted on the server or memory card). The app don't use external services to decode music so the app continue playing after hours.
Btw I find strange that I'm the only one to complain about this. I will make a clean install in some day.
Click to expand...
Click to collapse
Hi Husi10,
I have the same issue as you about music playback.
My problem is the following :
When I'm using Deezer app with CM10 or CM10.1, music playback is frequently laggy (always in the very begenning of the tracks) and sometimes it stops playing in some unknown situations (as you described on this thread).
This issue doesn't occur on CM7.
Did you, as me, notice this playback lags in the begenning of the tracks ?
Did you find a fix or a workaround for this issue on CM10.x since March (date of your post) ?
Thanks
Hi,
Yeah, music playback on Deezer's app is laggy in the beginning of every track. I think there's no workaround because it's a bug with the app itself. It happens also with my tablet (Nexus 10). But playback never stop by itself.
After my post, I did a clean install (wipe data) and also format my SD card. It helped a lot, I never experimented this kind of bug again.
Husi10 said:
Hi,
Yeah, music playback on Deezer's app is laggy in the beginning of every track. I think there's no workaround because it's a bug with the app itself. It happens also with my tablet (Nexus 10). But playback never stop by itself.
After my post, I did a clean install (wipe data) and also format my SD card. It helped a lot, I never experimented this kind of bug again.
Click to expand...
Click to collapse
Thanks for your reply.
In my experience, music lags issue only occur in CM10.x. Did you already test Deezer on CM7 ?
[EDIT] So, do you think that Deezer is buggy like this only since Android 4.1 ?
On which ROM your Nexus 10 runs ?
My Nexus 10 runs on AOKP (4.2.2). I think it's an issue with Deezer itself, whatever the rom.
Husi10 said:
My Nexus 10 runs on AOKP (4.2.2). I think it's an issue with Deezer itself, whatever the rom.
Click to expand...
Click to collapse
OK, did you already try Deezer with stock ROM on your Nexus 10 ? If yes, same lags ?
Yes, there are lags at the beginning of each songs.
Husi10 said:
Yes, there are lags at the beginning of each songs.
Click to expand...
Click to collapse
Hi,
I'm just (re)testing Deezer on my Defy running Quarx CM10.1 build (2013-06-26).
I've changed I/O scheduler to "cfq" (before my change, it was "sio") and it seems to work better, I don't notice lags at the beginning of each songs for the moment. :fingers-crossed:
Is it the same for you ? Could you test it in order to confirm my potential finding ?
Thanks
Oh yeah that's really better with cfq scheduler. Thank you for the tips.
Husi10 said:
Oh yeah that's really better with cfq scheduler. Thank you for the tips.
Click to expand...
Click to collapse
You're welcome !
Thanks for tests.
Husi10 said:
Oh yeah that's really better with cfq scheduler. Thank you for the tips.
Click to expand...
Click to collapse
After one more day of tests with cfq i/o scheduler, I've noticed that lags at the beginning of a song still occur BUT only after launching Deezer and only with the first song. The next songs playback is smooth.

Categories

Resources