[Fix] Spotify stutter when screen is off - Nexus 4 General

If you're facing problems with Spotify (or other music streaming apps) stuttering on WiFi when the screen is off, the solution is quite simple:
Open your Settings-> Wi-Fi -> Advanced and turn Wi-Fi optimization off.
Just thought I'd share it here, in case some else has the same issue as me (Google wasn't of much help).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
keywords: spotify, grooveshark, rdio, play music, streaming, stutter, lag, mako, 4.3, android, nexus

[deXter] said:
If you're facing problems with Spotify (or other music streaming apps) stuttering on WiFi when the screen is off, the solution is quite simple:
Open your Settings-> Wi-Fi -> Advanced and turn Wi-Fi optimization off.
Just thought I'd share it here, in case some else has the same issue as me (Google wasn't of much help).
keywords: spotify, grooveshark, rdio, play music, streaming, stutter, lag, mako, 4.3, android, nexus
Click to expand...
Click to collapse
Yessss. I had the same issue. Thanks!! Spotify Premium rules! :highfive:

I had found another fix related to router settings:
http://www.paolinoalessandro.com/blog/stuttering-audio-streaming-solution-spotify-google-music-etc/
Sent from my Nexus 4 using xda premium

Mark2dp said:
I had found another fix related to router settings:
http://www.paolinoalessandro.com/blog/stuttering-audio-streaming-solution-spotify-google-music-etc/
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Cheers for that! I re-enabled Wi-Fi optimizations and reduced the beacon interval from 100 to 20 on my router (ASUS RT-AC66U) and that seemed to do the trick as well!

I experienced the stuttering also, but the above fix didn't change it for me.
I'm on a custom rom and fixed the problem by changing kernel settings:
1). I changed the CPU GOVENOR from PEGASUSQ to ONDEMAND
2). The I/O SCHEDULER I changed from CFQ to SIO
Maybe this helps others facing the same problems.

this method worked
:good:thanx for the fix bro
reply from htc one M8 HK

I didn't found any option of wifi optimization in google pixel plz let me know which particular setting I have to turn off/on in google pixel for solving this issue of laggin on lock screen. And let me know where did I found the setting

Related

High Battery Draining

So in the last two couple days i've been having a very high android usage even at night. and it's not letting the cpu go into sleep.
Can anyone help me find out what's causing this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-N7000 using XDA App
Some device on your network is waking the Note through the wifi. Try sniffing the traffic to find out which and why.
Sent from my superior GT-N7000 using Tapatalk
Thank you.
What app do you advise me for the sniffing thing?
Sent from my GT-N7000 using XDA App
go to settings settings>privacy and see if both boxes are unchecked. it does backup of stuff into google server. we don't need that really.
anjath said:
go to settings settings>privacy and see if both boxes are unchecked. it does backup of stuff into google server. we don't need that really.
Click to expand...
Click to collapse
I understand it wastes battery, but my problem isn't related to that because it's ON since day one and i only experienced this drain 2 days ago..
Just reseted the phone and installed apps again it fixes the problem!
Your top three wakelocks are all WiFi related - svnet, wlan_rx_wake and wlan_wake.
Your fourth is sec-battery-monitor - some kind of battery monitor/saver app?
There were lots of cases of people reporting battery app savers/monitors/whatever actually causing notable battery drains, particularly if users don't set their sync policy right.
Let me give you an example: let's say you use some battery saver, and set it to disconnect WiFi when screen locks. Let's also say that you have some app configured to sync at all times. The app tries to connect, but can't, because the battery saver won't allow WiFi connection to be established, so the app tries to sync again and again and again....
And your phone can't get to deep sleep, hence the high battery drain.
Hope this helps.
Dial *#9900# then disable "fast dormancy" and press close.
Monitor your drain over a day and see if its better...
Sent from my GT-P7500 using XDA App
anjath said:
go to settings settings>privacy and see if both boxes are unchecked. it does backup of stuff into google server. we don't need that really.
Click to expand...
Click to collapse
anjath, do you have Scott Adams' permission to reproduce that comic strip of his? I would not post it in your sig if you do not. It would be a breach of copyright, as well as being quite rude.

Google Play Services battery drain

I assume that others are having this issue, and wondering if there is some fix I may be missing short of turning off location services (find them helpful and don't feel I should have to cripple my device for battery savings). I believe it is linked to it using WiFi networks to search for my location, although my WiFi is toggled off. This across all ROMs I have tried, though randomly it doesnt happen but always returns.
Thought it would be helpful to have a place to have open discussion on this issue and see others impressions.
Thoughts, suggestions, fixes?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Settings > WiFi > Advanced > WiFi Scanning Always Available (disable)
2. Settings > Location > Google Location Reporting > Off,off
3. Use App Ops (built into roms known as "Privacy Guard") and go to Google Play Services and deny permission to Keep Awake (Read more, http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525 )
Why thank you!! I have done this, and will see how it goes. GPS wasn't in privacy guard within SlimLP but accessed it from settings>apps>all>google play services>permissions>modify
hlxanthus said:
Why thank you!! I have done this, and will see how it goes. GPS wasn't in privacy guard within SlimLP but accessed it from settings>apps>all>google play services>permissions>modify
Click to expand...
Click to collapse
When you go into Privacy Guard, go to Menu (top right) and enable Show Built-in apps or something similar to that. Then you'll see GPS in Privacy Guard
Indeed!! Thanks boss [emoji106]
How do I do this with stock 5.0.1 / rooted
I really hate to bring this thread back to life and I apologize for that but I'm suffering from this bug and it's nasty. I'm barely getting 2h of SoT while other dudes are getting 3~5h of SoT. I did what this thread said and after tweaking with app ops freaking Google Play Services is going nuts crashing every 2 seconds, sometimes one right after another with that annoying message making the phone unusable. I'm on Pure Nexus 5.1.1, no CPU tweaks nor kernel mods. As far as I go with battery related apps/tweaks is greenify. Any ideas?
Did you make a backup before applying any changes in privacy guard? Have you reverted the changes you made back to the default? Also, try going to settings - applications and clearing data for Google play services

Internet cuts for some apps randomly

Hi everyone
I have a weird problem, when I'm using my phone and let's say on Instagram sometimes when i refresh the feed it's just doesn't.. i doesn't say you don't have internet connection it just won't load the new posts and keeps the loading indicator rotating
Another app is Spotify when it's randomly playing songs that haven't being played before (not cached) it's stops suddenly of loading the next song and resumes after a couple of minutes
Same problem with tinder not loading the incoming messages
Only can be solved by disconnecting and reconnecting WIFI or using cellular data
My phone is fully stock with the least official update
I've checked:
Background restrictions.
When Spotify or Instagram stuck I swhich to another app say YouTube and it's perfectly working and loading, going back to Instagram and it's still stuck and not loading.
WiFi router is not far away from me so the Signal is strong.
Do you have any idea how can I solve this without resetting the phone ?
Thanks
Did it start with csd1 update?
Thanks for the reply
I actually don't remember but here's the version I'm on now
Current version: N960FXXS2CSBA/N960FOXM2CSA2/N960FXXU2CRLT
Having same issue. One UI. Has been an issue since latest update.
Sent from my SM-N960U using Tapatalk
In Android Pie v9.0 in app settings you can turn off battery optimization and it should prevent the app from being put to sleep. Maybe this may help. Or if wifi data saver is turned on this can cause issues also. There is one other menu/screen that allows you to change settings of when/why/which apps and how they are controlled by Android to save power and allows apps to be put to sleep after a certain amount of app unused time, or when it predicts that you are not normally using a particular app at a particular time. I cant seem to recall where I saw it or how I got to it but if I track it down I'll be sure to post the info because I think it may be a likely cause or fix for your issue. Only other thing I could figure it could be the modem firmware that your on is buggy and hopefully it will be fixed in a future update.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is what I was looking for. You go to settings>device care>tap on battery>tap three dots top right>tap settings. In there is some stuff that may help with your issue.
Thanks for the reply, I've actually already done that I've disabled all the settings related with putting apps to sleep at device care/battery which doesn't solve the issue
Yet i still have to try un-optimizing the apps surly this would lead to battery drain but let's see what happens.
I'll keep you updated with the results
So I have disabled all of power efficiency related settings in device care/battery section
And also disabled doze optimization for the effected
İ can say it's a lot better now but the issue still occurs

General Xiaomi 12 Pro MX Player Stutter Issue [Resolved]

Recently purchased Xiaomi 12 Pro [currently on MIUI Global 13.0.6]
Posting this thread here just so that it could be useful to someone facing a similar issue.
Since the very first day, I was facing playback issues on MX Player. Videos on HW+ and Software decoder were stuttering a LOT. In case of many videos the HW decoder was not available, while the remaining decoders suffered with the stutter issues. Though it's much more bloated than it used to be, I still prefer MX Player because of its playback controls and minimal buffering times while playing over network. I could not find any information online to resolve this issue. Other players such as VLC, JustPlayer, etc worked well though. Tried clearing the app data and reinstalled MX Player, but no help.
Finally here is the solution that I found that resolved the issues for me, for good.
Open MX Player and go to: Settings -> Local Player Settings -> Audio -> Audio Output
Here, select 'AAudio' output (few other options might also work) and save.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I also did encounter a similar issue with PowerAmp music player, in which I changed the audio output to OpenSL ES Hi-Res output, which resulted in some minor stuttering, hence reverted it back to the previous one. Looks to be some kind of software bug to me.
While I was using the global rom, I had several problems with Bluetooth, mobile data was draining a lot of battery overnight. So I decided to test xiaomi.eu before selling the device.
Everything now works as it should, has a few more features, uses less battery and is still more fluid than the global rom. I really recommend you to test it my friend

Question Wifi and Google play cause Drain battery !!

Hi Guys, i did a clean flash of the stock miui 14.0.2 TKFEUXM with mi flash everything works fine but after 2 days i noticed that the wifi and google play drain battery in the battey state are on the top and i noticed that SOT missing in the battery state. Please any solution?? i tryed the latest xiaomi.eu stable version the same problem wifi drain battery
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ziritsu said:
Hi Guys, i did a clean flash of the stock miui 14.0.2 TKFEUXM with mi flash everything works fine but after 2 days i noticed that the wifi and google play drain battery in the battey state are on the top and i noticed that SOT missing in the battery state. Please any solution?? i tryed the latest xiaomi.eu stable version the same problem wifi drain battery
Click to expand...
Click to collapse
Try this: https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/
Compass.
Compass Linux said:
Try this: https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/
Compass.
Click to expand...
Click to collapse
that solution is for costum rom i'm using the stock version
Turn off app auto updating in Google Play. Go there when you want to check for updated apps and do it manually. Google Play Services is also a concern. As far as wifi demand, ensure your Developer's Options are enabled as it has some defaulted wifi settings in there. While there, disable the setting to "always" keep mobile data turned on all the time. Turn off any setting in wifi to automatically scan for "public networks" and disable "turn wifi on automatically." Now, your use will define your settings since I always use my home wifi instead of in public.

Categories

Resources