Related
It's not working properly on mine, ever since I moved up to FroYo a couple of weeks ago.
Streaming works fine over 3G but if I use it on wi-fi, with the screen switched off, the music starts stuttering and eventually skips.
Thought it was an issue with the rom I was using, but I've tried three different ones (including one of the new ones from this afternoon) and I'm seeing the same issue.
Wi-fi policy is set to never sleep so it can't be that.
Could somebody test it out and let me know?
NB
It only happens on wi-fi
It only happens when the screen has been off for one-two minutes
Update, in the off-chance that somebody, somewhere has actually bothered to read this...
Flashed back to 2.1 and the issue was gone. Back to 2.2 and the issue is there again.
edited to remove pointless speculation. solution is on page 2.
why would you call HTC support, surely thats a job for the last.fm development team to work out.
Because I don't think it's an issue with last.fm. It apparently works fine on non-Sense phones, and even works fine with the earlier versions of HTC Sense.
Last.fm has permission to keep the phone awake, and it does so over 3G but not over wi-fi.
It doesn't really make sense unless the newer version of Sense is throttling the wi-fi when it goes into sleep mode and is not allowing last.fm to keep the phone awake.
Can't really verify that though... I might try to find another app that uses the wi-fi connection and see if it exhibits the same behaviour when the screen is off.
edit: just checked with the speedtest.net app and switching the screen off freezes the download in its tracks. Resumes again when you switch the screen back on.
Phone/Wifi sleep issue while not plugged in
Hi, I can confirm that this is happening to me with XiiaLive in an identical way.
- 3G streaming works ok
- Wifi + screen on works ok
- Wifi + screen off BUT plugged into AC works ok
- Wifi + screen off => drops the connection after a couple of minutes
I went mad yesterday trying to make xiia work, but then realized that this could be the case and found this post and another one on Modaco (http://android.modaco.com/content/h...s-possibly-a-request-for-the-next-modaco-rom/)
So you actually saved me the time of testing it in other roms, but anyway, which rom have you got ? I have ieftm one.
I can save you the time to test it with other streaming services, I've tried them all hehe.
It could be a phone sleep issue, rather that a wifi sleep.
Well, like I said above, my guess is that the newer version of sense is throttling the wi-fi to save battery life when the phone is idle. The wi-fi is still working but it's capped at a lower speed.
You can test this by installing tunewiki and trying out a few radio streams. 96kbps works perfectly, 128kbps is ok but stutters a little at times. Then when you go up to 192kbps (which I think is the quality last.fm streams at) it can't keep up anymore and the tracks skip.
re:roms - I was on ieftm, am currently on modaco and was on modaco r5 and r6 before that. All of them have the same issue and all are based on the FroYo/Sense roms.
Hm, it´s working just fine for me. Listening to it right now with display turned off, no problem here.
Using the original Froyo on a debranded Desire...
What do you mean by original FroYo? As in vanilla?
From what I can tell it's only happening on Sense roms.
My statement was a little misleading. I was referring to the normal OTA update...
Sibbi said:
My statement was a little misleading. I was referring to the normal OTA update...
Click to expand...
Click to collapse
Hmm. And it's on wi-fi and it's not plugged in to the mains?
Weird. I can't replicate this on any FroYo + Sense rom. I haven't tried an unrooted 2.2 rom, though.
Be good if we could get somebody else on an OTA 2.2 rom to confirm this.
tuatha said:
Hmm. And it's on wi-fi and it's not plugged in to the mains?
Weird. I can't replicate this on any FroYo + Sense rom. I haven't tried an unrooted 2.2 rom, though.
Be good if we could get somebody else on an OTA 2.2 rom to confirm this.
Click to expand...
Click to collapse
Nope, neither on 3G, nor plugged in... Used last.fm quite a lot in the past days and never experienced your troubles. It only runs on Wifi and mostly unplugged.
Very odd. Thanks anyway.
Maybe this is unique to rooted roms, then.
edit: all the roms I've used have had the wi-fi n patch, now that I think about it. Will see if I can find one that's unmodified.
That's a nice finding (about throttling speed). About n patch: it had problems from day one (and I don't need it), but I can't recall if the version of ieftm I installed has it. Any way to check it, or do you know if it was included from the start ?
Fixed. Did a full wipe and installed a rom that didn't have the wireless n patch. Problem gone.
Sibbi, thanks for posting. Wouldn't have occurred to me otherwise.
Anybody else experiencing an issue with streaming radio/podcasts over wi-fi while the screen is idle, you can grab a rom without the wireless n patch here:
http://android.modaco.com/content/h...-froyo-pre-rooted-no-hboot-with-radio-deodex/
Pick one of the 'with radio' roms. Odexed or deodexed doesn't matter. Make sure to do a full wipe first.
Nice ! Any way to remove the n patch without changing rom ?
Don't know. It could be as simple as extracting the rom and removing the patch, but I couldn't say.
If we could find out where exactly the N patch is and what it's called, I'd be willing to try it out.
You'd still have to wipe and reinstall though
I'll try to find the original n patch and see what changes in regards to modaco original rom
forum.xda-developers.com/showthread.php?t=707873&highlight=Wireless+patch
This was for 2.1, but it might just be the same hack ? It's a small hex edit and a file substitution (kernel module if I'm not mistaken). Will try it tomorrow if nobody does it in the meantime, too drunk right now ...
I'd be a bit wary of that tbh. I don't know enough to go messing around with it. Especially not at two in the morning, when I should already be in bed.
I did find this part interesting:
"Also in theory WiFi n will most prob drain more battery than WiFi g but in my zip's there is k newer firmware which is suppose to help in battery drain."
I wonder if the improvement to battery drain that he's talking about involved throttling down the wi-fi connection when the phone was idle?! Hmm.
Probably, will mess with it tomorrow after a sleep and a nandroid
Does anyone else have issues with the WiFi connection while the screen is turned off? I noticed that not a single one of my music streaming / radio apps work when the screen isn't on. It works for maybe a minute before all sound just stops. Starts just fine again once I power up the screen.
Has there been any changes done to the handling of these matters in ICS perhaps?
Pretty annoying not being able to stream music over WiFi as I think I'll hit my 5GB limit on data pretty fast if I can't use the WiFi at work for this.
So has anyone else noticed these issues?
SBS_ said:
Does anyone else have issues with the WiFi connection while the screen is turned off? I noticed that not a single one of my music streaming / radio apps work when the screen isn't on. It works for maybe a minute before all sound just stops. Starts just fine again once I power up the screen.
Has there been any changes done to the handling of these matters in ICS perhaps?
Pretty annoying not being able to stream music over WiFi as I think I'll hit my 5GB limit on data pretty fast if I can't use the WiFi at work for this.
So has anyone else noticed these issues?
Click to expand...
Click to collapse
Yeah same here. I remember this being an issue with Android 2.1 for my Desire but was fixed in custom roms. Might be the same situation here again.
I remember this being an issue with my Nexus One, don't remember if it was fixed in 2.2 or 2.3. I remember testing file transfer using SwiFTP, with the bug the file transfer would go down to double digits (kB/sec), with the bug fix it would be a few hundred kB/sec, with the screen on it would hit mB/sec or so (in any Android version).
I believe this is the official issue:
http://code.google.com/p/android/issues/detail?id=9781
With my Nexus S I'm not experiencing this bug. Sscreen on still gives me a major wifi speed boost, but screen off I get a few hundred kB/sec, which should be more than enough for any streaming app. KiloBYTES btw, not bits. I'm surprised ICS and/or Galaxy Nexus brought this problem back. Or it could be something else entirely.
Are you connected via 2.4GHz or 5GHz wifi? I would think the new 5GHz radio in the GN probably has more aggressive power saving features. Try switching to 802.11b/g (instead of 802.11n, in any frequency), see if it helps.
Have you changed your WIFI sleep policy?
On my Froyo phone, if you hit menu while in the WIFI settings (I know there is no menu in ICS) you get an option to go into advanced settings where you have the option to choose your WiFi sleep policy (When screen turns off, never when plugged in, never).
There should be a way to access that advanced settings area somewhere.. My phone is a couple hundred miles away right now and I won't see it for another week so I can't be of much further help right now. However, there "was" a setting in previous versions.
best info at the time last year was here for the N1
http://www.google.com/support/forum/p/android/thread?tid=01a47ff5b0a92d52&hl=en
7xx replies there to read, but really good info. somewhere in there, maybe around#600 the info gets good, can't remember. But shortly around this time the problem was gone/fixed.
there was a guy with an app i think it was wifi fixer, i could be wrong. that worked sometimes, but battery drain was bad. Whatever google, or CM did fixed the low power save mode issue. I'm thinking it was something at the kernel level?
edit, on second thought, there's no good reason to read all that. You won't get a fix out of it anyway. It was updated away in the end, something related to MAC addresses and build numbers and frf50 or some such.
BUT this seems like the same kind of thing going on in the power save mode.
Have you checked your advanced settings?
Wi-Fi>>(settings [bottom right])>>Advanced>>Keep Wi-Fi on during sleep...
Mine was set to always by default, so I suspect that the issue lies else where...
Neville.Holland said:
Have you checked your advanced settings?
Wi-Fi>>(settings [bottom right])>>Advanced>>Keep Wi-Fi on during sleep...
Mine was set to always by default, so I suspect that the issue lies else where...
Click to expand...
Click to collapse
Same here. Mine was set to always by default but still getting this issue.
Sent from my Galaxy Nexus using XDA App
I would suggest that this issue is related to the individual applications you are using, rather than anything to do with Android.
I am able to stream music from Google Music via WiFi just fine when the screen is off, and I am also able to talk to someone on Skype via WiFi just fine when the screen is off.
oscillik said:
I would suggest that this issue is related to the individual applications you are using, rather than anything to do with Android.
I am able to stream music from Google Music via WiFi just fine when the screen is off, and I am also able to talk to someone on Skype via WiFi just fine when the screen is off.
Click to expand...
Click to collapse
Thanks for posting that; I was getting pretty worried and disappointed after reading this thread. I had to deal with this when I first got my Nexus One, until Google released the 2.2.1 update with a new Broadcom driver which finally fixed the issue. No streaming, no pushes, just nothing at all from wifi when the phone went to sleep. All traffic to/from the phone would just stop. It was maddening.
The Galaxy Nexus comes to Canada a week from today, and this would've been a show-stopper for me. At least it's working for you, so my day isn't ruined quite yet
Has this issue ever been nailed down? I've seen considerable discussion on it going back years. I've seen considerable speculation regarding WIFI mode and Governor. I've seem many of the bug reports marked closed.
Yet I have a GN on v4.0.4 and the moment the screen goes off - either because you turn it off or it just times out - the WIFI goes to h*ll. I've run ping and network trace from both sides and there is no doubt the WIFI stays connected, however latency goes way up and packets are lost... and with TCP connections it gets congested with retransmits. I've run with the governor set to "Performance" and there is no difference.
So, is there any consensus on what is causing this problem with current stock hardware/software?
I read that it's something that's been coded in for a while. Try using this:
https://play.google.com/store/apps/details?id=com.ratcash.wifiperf
-Sent via XDA Premium-
Ok, to answer my own question, this is still related to the PSP issue from years ago:
code.google.com/p/android/issues/detail?id=9781
code.google.com/p/android/issues/detail?id=15549
Bottom line is that some hardware - like GN - has an additional level of PSP on WIFI. The issue was resolved by inclusion of an additional lock mode - WIFI_MODE_FULL_HIGH_PERF - some time ago. However, its up to an application to request the new lock state if it thinks it needs it. Many don't.
So, its probably not a bad idea to contact developers of the various applications and recommend they look into the new lock level in the later APIs.
Also, the "WIFI High Performance Widget" can be used to manually hold a WIFI_MODE_FULL_HIGH_PERF lock on the WIFI if you're dealing with an application that isn't doing it its self. Beware of the other "WIFI fixes" out there, none of the ones I tested were acquiring the correct lock.
Also, from an adb shell you can use "dumpsys wifi" to see who is holding what lock, for example:
Code:
Locks acquired: 5 full, 5 full high perf, 5 scan
Locks released: 4 full, 4 full high perf, 5 scan
Locks held:
WifiLock{PANDORA type=1 [email protected]}
WifiLock{HighPerformance type=3 [email protected]}
Here you can see Pandora is only holding type=1 (WIFI_MODE_FULL) and HighPerformance is holding type=3 (WIFI_MODE_FULL_HIGH_PERF). Dumping the WIFI state takes the guess work out of it.
Tried that widget, having absolutely no luck with 'in tune' and 'winamp' for radio with the galaxy nexus verizon...
as soon as the device sleeps, wifi goes to hell and buffer drops in and out every 2 seconds. Completely unusable, any recent fixes? this is totally making me think I just bought a $400 brick since this feature was very important for me.
What may be confusing about that widget is that it is a "widget". You have to locate it under "widgets" and then put it on the surface and then click it to enable it... it should be blue when on, and black when its not.
tlum said:
What may be confusing about that widget is that it is a "widget". You have to locate it under "widgets" and then put it on the surface and then click it to enable it... it should be blue when on, and black when its not.
Click to expand...
Click to collapse
I have been trying to put the 'widget' itself (2x2 square) on the home screen but even if i hold and drag it to where I want it, it never actually appears on the screen. And of course i'm still getting crazy ping times...Does anyone else have this working on a GN (verizon - not that it should make a difference)?
I have found a few workarounds to this issue, none are great and frustrate me greatly.
1. Root and use the franco kernel. Seems people with that have no issues - since you can set? the wifi to full performance.
2. Use this wifi performance widget
3. Use an app that has properly set its own wifi settings. - Going through all the radio apps on the google market, i am finding only one app that seems to be doing this right: DI Radio - some kind of dance/techno/etc - confirmed it with ping times, they remain low on sleep.
Not one other radio app seems to have set 'proper' settings - which shows that something needs to be addressed in the os...I was having good luck with the yahoo music app, but depended on the stream (maybe some buffer more :dunno - the ping results are garbage.
EDIT: I tried installing high performance wifi again, and finally got the widget to one of the homescreens! Let me break it down for anyone else who comes across this. After install, the small 1x1 blue app box is put on your desktop and the black screen comes up with the wireless networks and a checkbox. I then went to apps->widgets and tried putting the 2x2 widget on the home screen again, and like always it clicks on like its there (and when you click home and its never there). However, this time I hit BACK instead of home after dropping the widget and it took me back to the black screen with the checkbox, then i hit home and voila its sitting there. You can click on it like you mentioned! Confirmed with ping for tune in...pings remain low.
If this continues to work, it may be a godsend. It is annoying having to have this, but far far better than not.
I had that problem also especially when i tried to download big files when the screen turn off the download speed became extremely slow, this widget solve this, i think to that moment its the easiest solution tap it when you need it tap it again when you done.
By the way i had this problems with franko kernel also and again to my opinion it is the good solution for now, until the apps developers update their apps.
Sent from my Galaxy Nexus using XDA
If you download the SDK - you only need Android SDK Platform-tools - to a PC and use the adb shell it is easy to dump the WiFi lock state with dumpsys wifi and see exactly which app(s) are holding what locks. Completely takes all of the guessing out of who is doing what when. Judging the behavior can be subjective because there are other reasons that the WiFi can break up which can be very frustrating.
developer.android.com/guide/developing/tools/adb.html
Erlang2012 said:
I had that problem also especially when i tried to download big files when the screen turn off the download speed became extremely slow, this widget solve this, i think to that moment its the easiest solution tap it when you need it tap it again when you done.
By the way i had this problems with franko kernel also and again to my opinion it is the good solution for now, until the apps developers update their apps.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
The app does work well, however I have been running into some issues as I continue to use it. It randomly decides to turn off the forced max wifi (even though its still blue and looks like its operating) or perhaps the phone is forcing the wifi issue again. It seems to happen when you are downloading, playing with some other apps? You only notice it when you sleep it and the streaming radio immediately starts having issues.
Solution is to flip back to the widget turn it off and turn it on again. It works, but is another annoyance.
I haven't yet ascertained exactly what causes it to switch off yet.
tlum said:
If you download the SDK - you only need Android SDK Platform-tools - to a PC and use the adb shell it is easy to dump the WiFi lock state with dumpsys wifi and see exactly which app(s) are holding what locks. Completely takes all of the guessing out of who is doing what when. Judging the behavior can be subjective because there are other reasons that the WiFi can break up which can be very frustrating.
developer.android.com/guide/developing/tools/adb.html
Click to expand...
Click to collapse
I will look into this, thank you.
---------- Post added at 06:16 PM ---------- Previous post was at 05:28 PM ----------
I used the adb shell (learned how to install all these dev tools and how to use it first ) and here is some updated info:
Tunein = type=1
Pandora = type=1
Audioaddict service (Digitally imported app I posted above previously) = type=3
google music = type=3
High performance app = type=3 (havent figured out why this likes to stop randomly)
I will update with more app info, hopefully others can also email the developers and see that it gets fixed, so we no longer have to use damn workarounds...
jeep364 said:
... It randomly decides to turn off the forced max wifi (even though its still blue and looks like its operating)...
Click to expand...
Click to collapse
Yes, it definitely has an issue holding its lock, and it definitely seems related to another application taking over and also when it switches to cell and back, I can confirm that. It may be related to the OS since the widget thinks it still on when clearly the lock as been released, so it may be that the OS released the lock and the widget has no idea. I haven't taken the time to look into the details yet, and this is something we should make the developer aware of.
tlum said:
Yes, it definitely has an issue holding its lock, and it definitely seems related to another application taking over and also when it switches to cell and back, I can confirm that. It may be related to the OS since the widget thinks it still on when clearly the lock as been released, so it may be that the OS released the lock and the widget has no idea. I haven't taken the time to look into the details yet, and this is something we should make the developer aware of.
Click to expand...
Click to collapse
Yup, from what I can see it loses lock:
1. when cell switching
2. manually killing/starting wifi
3. when ANY application is downloaded/removed (ie. changes in permissions)
4. when playing with dolphin, other apps for more than a few minutes, it will kill it even though the blue stays lit. I think its as you mentioned, during general use of the phone, at some point some permissions are changed and hifi performance is tossed off its lock.
If you only are streaming music and re enter the phone to check a gmail alert or two...it seems to be fine. otherwise you need to hit the lock widget one more time before sending it to sleep with pandora/tune in playing.
I've been perusing the 'request for ROM threads' for the last handful of days or so, but haven't seen any Driving Mode pros/cons stuff mentioned.
I'm guessing I might have to try a few ROMs, just wondering if any Sprint or other peeps have noticed any that fix the Sprint Driving Mode issues.
And I'm not looking for movie reviews on which ROM is the best or etc. or else I'd post in those threads.
I want to specifically know if someone has developed a ROM that deals with any driving mode tweaks, because Sprint/Samsung/Android is goofy in how they collectively work or deal with Car Mode and specifically Driving Mode.
Do any of you out there have a Driving Mode toggle in your custom ROM notifications? If so, does it get the TTS text readouts to function when engaged?
The Sprint stock ROM doesn't implement this well, and the only way to get Driving Mode on when getting into my car the first time is via S-Voice (which stinks, because I then have to use my NFC tag to toggle 5 things but only S-Voice will toggle Driving Mode)
And, I'm not sure if the Verizon Driving Mode is a nice add-on after Android/Samsung gave it to them or did Sprint delete it/mask it?
If you're wondering about the Sprint Driving Mode issues, I have a deadish thread here that no one has seemed to notice (because either I'm delusional or else not many Sprint rooted tweakers on here that want Driving Mode on in their car with ease)
http://forum.xda-developers.com/showthread.php?t=1907382
Ever since I use the Llama app (Location Aware Mobile Application)on my i9195 (Carbon ROM 4.4.2) I have the problem that Llama doesn't receive cell tower information when the screen is turned off. This is a major feature of the app, which doesn't work. I activated the active cell polling, wake up during sleep etc, but the only thing working is to activate the screen during every poll, which is not favorable of course.
The thing is, that with my previous Huawei Y300, with stock ROM 4.1.2 it worked flawlessly without having to enable all the extra (battery consuming) settings. Unfortunately I don't know if the stock Samsung ROM didn't have this bad behavior since I booted the original ROM only once to enable root, in order to instal CWM recovery
Would this be a ROM issue or device issue? Too bad this is my first post here and therefore I can't post in the dev. section of Carbon ROM on this website :crying:
Has nobody issues with Llama on this device/ROM? The location awareness is really adding something to the use of the phone. Really too bad that I have to turn the screen on, before Llama realizes that I am at another location.
I love Llama, it's a great app which allows me to set it and forget it. I love not having to remember to turn radios on/off, muting phone at college or work.
I had to uninstall it because I switched carriers, and with the new one I keep getting "1-1-1-1 No signal" on the Recent towers tab. It's intermittent (once every detected tower) and it had my profiles going nuts.
I also was experiencing issues where my phone would freeze until it forced a reboot almost every time I got back home.
Sounds like your current ROM might be to blame. I suggest you try Llama with the stock rom. I for one prefer stock with Action Launcher. You might lose the added features of the custom ROM, but at least Samsung's camera interface is way better than AOSP, at least to my taste and needs.
JoeCastellon said:
I love Llama, it's a great app which allows me to set it and forget it. I love not having to remember to turn radios on/off, muting phone at college or work.
I had to uninstall it because I switched carriers, and with the new one I keep getting "1-1-1-1 No signal" on the Recent towers tab. It's intermittent (once every detected tower) and it had my profiles going nuts.
I also was experiencing issues where my phone would freeze until it forced a reboot almost every time I got back home.
Sounds like your current ROM might be to blame. I suggest you try Llama with the stock rom. I for one prefer stock with Action Launcher. You might lose the added features of the custom ROM, but at least Samsung's camera interface is way better than AOSP, at least to my taste and needs.
Click to expand...
Click to collapse
Thanks, luckily I don't have any of your issues so far, only the cell tower updates being delayed until the screen turns on. A few posts away from now I can ask the question in the specific ROM forum and see if they can fix it.I love the ROM and don't like the Samsung layer of the original stock ROM.
In the meantime the cell tower option has been added to the Carbon rom!
TF-101 & S4-mini i9195
Hello!
I've searched around a bit, both on this site and Google in general, but I haven't found anyone with a similar issue.
I have the Samsung SmartDock for my Note II, and have been fairly happy with it. However, I recently discovered an issue when I had to use mobile data rather than WiFi. The screen would flicker, i.e. turn off for a few seconds at a time, come back on, and then in as little as a second or as long as half a minute, would turn back off again. I will also sometimes get a green screen as it's trying to get the HDMI output back (that might just be my monitor), or more rarely the "fuzzy" white noise screen.
My best guess is that it must have to do with communication to the mobile network -- the exact same thing happens at the moment I receive or send a text (screen turns off for several seconds). If mobile data is regularly accessing the network, then that would explain the constant turning off and on while mobile data is on. I had been willing to overlook the nuisance of the screen interruptions during texting.... but this makes it utterly useless for web browsing and such (a primary reason for having it).
To be clear:
The HDMI cable and monitor have been tested in other configurations and are fully operational
The dock is plugged in to an outlet with an original cable
Unplugging the mouse/keyboard USB receiver doesn't have any noticeable effect
This doesn't happen with WiFi or any other function -- just data and texting, things that use the mobile network
I'm running the original unrooted stock ROM
All functions of the dock WORK PERFECTLY as long as Data is not turned on and I'm not texting (in fact, I wrote this entire thing using it with my monitor.... but I had to turn off data after getting to this page.... and get mad at a friend who kept texting me, LoL)
My device model is SCH-i605 (VRUFND7) on stock 4.4.2.
Has anyone else had or heard of this issue? I feel like it shouldn't be a normal issue. It's a *Samsung* dock specifically designed for this *Samsung* phone, whose core functions are data and texting. Samsung obviously wouldn't have designed their dock to not work with the core functions of their phone. Right?
So what could I have possibly done wrong? I have no custom ROM, haven't rooted it, haven't done anything all that crazy with the phone, really. I have a custom SMS app, but that doesn't explain the flickering with mobile data, so I doubt removing that app would fix the screen blackout during texting.
Please offer any ideas or thoughts you might have!
oK, I know this phone is rather old news now, and no developers on here are probably even caring about it.... but are there no thoughts on this issue??
Should I post this in the Note II Accessories forum instead?