[Q] GSM cell tower info only passed to Llama when screen in turned on - Galaxy S 4 Mini Q&A, Help & Troubleshooting

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

Related

[Q]Problems with WiFi and screen off?

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.

Bluetooth while in Air plane mode

Issue: Unable to enable Bluetooth while in Airplane mode.
Reason: I hike and would like to disable all connectivity to save battery while still leaving Bluetooth enabled so I can use my external GPS in the mountains in conjunction with software on my phone. This all works fine however as is. However, I must keep the cell radios on even though I have the "No service" emblem showing and my phone is just burning battery looking for cell signal.
Rom: Calkulin's 3.0 GB rom
I have found several forums dealing with this subject on other phones but not one for the epic 4g touch. Other forums have flashable zips that fix the issue or changing of roms that enable what I am asking.
Since I am on a TW based rom could anyone confirm that one of the other roms actually enable this function? such as CM9 CM10 AOSP AOKP ?
Is it possible that I am worrying about nothing? Will enabling the function I am desiring actually save much battery? I would assume it would, however I am by not means an expert.
Perhaps I should clarify. Could someone on a few of the none TW based roms take the short amount of time needed to turn on Air plane mode and see if you can then turn on bluetooth while air plane mode is left active and post the results. I would prefer not going through the time it would take to flash all these myself only to find out it is just a limitation of this device. thank you.

Greyed out WiFi button, WiFi won't start.

Stock/no root Tmo Note 3, with latest nk3 firmware update (ota) , WiFi won't turn on. In notification panel you tap WiFi button and it hangs partially green but not fully bright green, doesn't connect. In settings slide button is grayish but no connection, won't slide to off just sits there not connecting. A restart will put switch back to off, mobile network works fine just can't get WiFi to start.
Sometimes it works after phone sits for a while. Basic apps installed no facebook app or weird games.
This condition started recently out of nowhere, no problems after ota back in November, phone has same case since new back in Oct/2013 , phone has not been dropped or dunked in toilet.
No flashing or root attempts, download mode and stock recovery can be accessed. Not looking to flash custom ROM, rooting is a possible option if needed to solve issue.
Pp.
same here bro
PanchoPlanet said:
Stock/no root Tmo Note 3, with latest nk3 firmware update (ota) , WiFi won't turn on. In notification panel you tap WiFi button and it hangs partially green but not fully bright green, doesn't connect. In settings slide button is grayish but no connection, won't slide to off just sits there not connecting. A restart will put switch back to off, mobile network works fine just can't get WiFi to start.
Sometimes it works after phone sits for a while. Basic apps installed no facebook app or weird games.
This condition started recently out of nowhere, no problems after ota back in November, phone has same case since new back in Oct/2013 , phone has not been dropped or dunked in toilet.
No flashing or root attempts, download mode and stock recovery can be accessed. Not looking to flash custom ROM, rooting is a possible option if needed to solve issue.
Pp.
Click to expand...
Click to collapse
hey bro i have exactly the same problem , but my case is slightly different i am having this problem since i have rooted my phone now i just cant find any way to solve it , i just think its a hardware problem. if u come to find any solution plz dont forget to post it here. i am waiting for ur reply.
Will do that, been looking around but nothing yet, have read a bunch of stuff in Google, similar but not the same issue.
I'm suspecting the modem but have not attempted to flash or look for modem file yet.
Not sure if I'm going to find it here anyway, this Note 3 thread is the lamest thread here, I see a lot of questions asked here that go unanswered, I have asked questions in the past that got no response, and simply ones too.
I also follow the T-Mobile S4 thread and there you get a ton of activity but here, it's like pulling teeth.
Anyway I will post back for your sake if I figure out something.
Pp.
Tried reseting modem with this http://forum.xda-developers.com/showthread.php?p=52735067
but still acting up now and then .
But toggling "airplane mode" on/off un-greys wifi button and it works smoothly.
Pp.
So, the device has always been stock, never been rooted or anything, never had any custom firmware on it? I am understanding this correctly? And that being the case, this means the device has also never had the data partition scrubbed?
Honestly, I would strongly recommend wiping the device and installing the NK3 firmware via odin. I'm not sure you are going to find a solution.
One thing you can do first, is root the device, and download the app "LogcatX".. open the app, run a logcat, then hit that wifi toggle. Save the logcat and post it here.
I highly doubt this is fixable without a re-install of the OS, however.
Good luck
I had considered root just for debloating purposes and re-flashin the firmware but with an update around the corner I can toggle airplane mode for a bit longer.
I like stock touchwiz and also need reliability from the phone so won't be considering a custom rom.
Pp.
Use Tweaked ROM. It's more reliable than stock.
Kind of funny, you mention you need reliability and because of that you won't root and install custom firmware. Yet, your device is bone stock and your WiFi is broken. Lol.
Think about it.
Wifi is just an extra, I rely more on my unlimited data plan and living in the metropolitan area LTE is always strong and plentiful. Wifi comes in handy when downloading huge files, pdf's and some large images (work related )
and using download boost. Wifi calling is handy also to have but haven't really needed it.
So it's nice to have working. But not the end of the world.
Pp.

Mi 5s MIUI 7.12.28 - WiFi automatically turns on

Hi guys,
I've updated the phone to the last global beta - 7.12.28 and noticed one big issue and a few other smaller ones. I hope someone might have ideas on how to fix them.
The WiFi turns on as soon as the screen is off. What I've done so far is to make sure no app has permission to turn the WiFi on (using the built in permission manager). I've cleared cache and rebooted the phone several times.
Another issue is the MIUI memory optimization is always disabled, no matter if you change it to something else or not.
And the third one that I can think of right now is the region - it always reverts back to China. Now this has been outgoing for a while, so it might be something with my phone.
What I've done on the phone is to root it and have Xposed install and active. I've also ran Unbloatmi, great script to get rid of apps you don't need. I haven't tried alternative roms like Lineage.
Recently I installed floppy kernel, but the wifi issue remains with the stock kernel too.
I'm open to suggestions
Issue resolved with the next update.
I suggest to you to use global stable. It's old, but global dev is always bugged for this phone. Do what you want, but my experience is bad
Yeah it's always preferred to use stable roms on phones in production environment. But I like to live on the edge And I got into the routine to remove most of the unnecessary apps right after the update. So overall - the phone is quite stable. But now it has the same MAC as my wife's phone. Go figure...

"Turn on MIUI Optimizations" - On or Off?

Hi Guys,
I've been having a real hard time with this phone, I am sitting on the MIUI 10 stable global rom at the moment and I was wondering if you guys turn off MIUI optimization at all (in the developer settings) I'm not entirely sure what it does, but toggling it wipes out alot of permissions.
I've got 2 big issues with this phone. the Video Chat mic bug (Which I have seemed to get around by using WhatsApp for video chats)
The other being Android Auto not connecting all the time. I was wondering if maybe because this MIUI optimization is like a task killer that keeps killing stuff in the background?
When I need Android Auto to work, all I have to do is toggle USB Debugging and it fires up right away. Very strange, but it works for now.
Side Note for Xiaomi, Why do you need to lock down the phones like this? Android memory management works great, please don't mess with it. I just don't understand why we have these extra layers of security and permissions. It really messes with any third party apps, what an ordeal it is to get notifications working for example on any third part texting app. I have to go into like 3 different areas and then only sometimes it works. Please leave android alone, it works fine the way it is
I just turned them off. I guess we'll see how it goes.

Categories

Resources