[Q] Wifi CONSTANTLY turning on by itself - Motorola Photon Q 4G LTE

My wifi keeps turning on by itself.
Does anyone else have this issue? I am on the stock rooted ROM. I wonder if I installed something that does this. It's driving me crazy!!!
Arrrgghh.

ZenInsight said:
My wifi keeps turning on by itself.
Does anyone else have this issue? I am on the stock rooted ROM. I wonder if I installed something that does this. It's driving me crazy!!!
Arrrgghh.
Click to expand...
Click to collapse
You rang? lol.
Yes, I did at first when on stock. There's a setting, it is escaping me exactly where it is - but I believe it's in the 'advanced' wifi settings. Let me see if I can find the thread real quick.
This is a "feature" - basically the concept is, the phone tells you when you are near AP's to save $$$ on your cell data plan. Stupid.
Edit - there's also battery saving apps that could be doing this... just FYI, reading other forums they seem to indicate that rogue apps could be doing this - one user in particular mentioned some app called Snapdragon BatteryGuru...

arrrghhh said:
You rang? lol.
Yes, I did at first when on stock. There's a setting, it is escaping me exactly where it is - but I believe it's in the 'advanced' wifi settings. Let me see if I can find the thread real quick.
This is a "feature" - basically the concept is, the phone tells you when you are near AP's to save $$$ on your cell data plan. Stupid.
Edit - there's also battery saving apps that could be doing this... just FYI, reading other forums they seem to indicate that rogue apps could be doing this - one user in particular mentioned some app called Snapdragon BatteryGuru...
Click to expand...
Click to collapse
I wonder if "Keep wifi on during sleep" was causing the issue.
Also, I do have that snapdragon app...but it hasn't gone through the 3 days of "learning" to actually be functional. If it doesn't stop happening from changing the setting on Keep wifi on during sleep to NEVER...then I for sure will uninstall the snapdragon app and see if that helps. The snapdragon app seems to only do what Greenify is already doing anyway. Hibernate apps.
Thanks for replying man! You are a great dev.

ZenInsight said:
I wonder if "Keep wifi on during sleep" was causing the issue.
Also, I do have that snapdragon app...but it hasn't gone through the 3 days of "learning" to actually be functional. If it doesn't stop happening from changing the setting on Keep wifi on during sleep to NEVER...then I for sure will uninstall the snapdragon app and see if that helps. The snapdragon app seems to only do what Greenify is already doing anyway. Hibernate apps.
Thanks for replying man! You are a great dev.
Click to expand...
Click to collapse
I'm just learning, but getting better at it for sure .
As for the issue at hand, I don't think that keep wifi on setting is the one I am thinking of...
Unfortunately I don't have a device to look at right now to tell you the exact setting, and I am having trouble finding the thread where this was discussed (I thought there was one at least)...
However, did you check the settings on that Snapdragon app? Make sure there's nothing configured there to enable wifi. Also, I'm not real familiar with all these battery saving apps - I would use caution, they might be like antivirus software on Windows - don't run more than one at a time, or else they will just butt heads.

Related

Need Help finding an App that I know exists...

I know this app is out there somewhere, but I'm unable to come up with the right search terms and I'm hoping that someone reading this thread will know what i'm talking about. So here goes:
I need a program that basically acts as a scheduler for which services will be turned on and off.
For instance, If I know that i walk to work between 7:30 - 8:00am, I'd like Bluetooth=On, Wifi=Off, Phone=On, etc. Once I get to work between 8 and 5, I might want this program to turn the bluetooth off, turn 3G data off, etc, but then once I get home turn wifi On, Bluetooth back on, etc etc. You get the idea. Basically a program that I schedule when certain connections should be available, which is really just a way to conserve maximum battery power. I saw a program that did exactly this during the waiting for the fuze to come out, but I must have forgotten to bookmark that page.
Any help would be much appreciated!!
Hi,
You could try Communication Manager Pro (shareware). It can be found here http://handheld.softpedia.com/get/System-Utilities/Enhancements/Communication-Manager-Pro-CommMgrPro-37327.shtml
I tried the previous version 2.3 and it had some issues with randomly disconnecting bluetooth so for me it wasn't a keeper. Maybe current version has this bug ironed out.
slyng1 said:
I know this app is out there somewhere, but I'm unable to come up with the right search terms and I'm hoping that someone reading this thread will know what i'm talking about. So here goes:
I need a program that basically acts as a scheduler for which services will be turned on and off.
For instance, If I know that i walk to work between 7:30 - 8:00am, I'd like Bluetooth=On, Wifi=Off, Phone=On, etc. Once I get to work between 8 and 5, I might want this program to turn the bluetooth off, turn 3G data off, etc, but then once I get home turn wifi On, Bluetooth back on, etc etc. You get the idea. Basically a program that I schedule when certain connections should be available, which is really just a way to conserve maximum battery power. I saw a program that did exactly this during the waiting for the fuze to come out, but I must have forgotten to bookmark that page.
Any help would be much appreciated!!
Click to expand...
Click to collapse
Check out SPB Phone Suite, it has a lot of scheduling features for com and sound settings
I use SPB Phone Suite, and it works as a dream.
You can also set a profile that is linked to your calendar, so you can make the phone silent when in a meeting.
It also support hardware-triggers, like turning on a profile when charging, another when headset is connected and so on.
Thanks for the replies gents. I think SQB might have been the one I'm thinking of. If there are others people use, keep them coming. If there's a free tool that will do this, even better, but i suppose $20 might be reasonable depending on what else the software does. I'll check it out.
There is a free tool: WirelessTime.
snark_be said:
There is a free tool: WirelessTime.
Click to expand...
Click to collapse
Do you use it? What do you think of it?
Phoneweaver
slyng1 said:
Do you use it? What do you think of it?
Click to expand...
Click to collapse
No, not used yet. If you use it, let us know how it works for you.

A couple fixes for some of our problems

Lets face it. All devices have bugs upon release that the normal person won't care about nor think of it as a bug. This device has it's share but as a reminder. There is no software bug that can't be fixed. By the way, make sure you don't skip the initial setup and if you did just wipe and restore.
1) Some are having a problem when using WiFi. There 4G or 3G data is not turning off and instead of your device using WiFi to exchange data it is using your 4G or 3G data. If you turn WiFi on and don't see a 4G/3G icon in the notification area then your device is working properly in this department.
The Fix: There is three "My Account" apps on our devices and there causing a conflict when 2 or more is running at the same time. To fix this you need to delete all of them (I used Root Explorer). If you use "My Account" you can download the current version from the market. Next, freeze or delete WiFi calling and the T-Mobile app pack. After you have deleted everything you have to reboot your device. Note: While deleting or freezing some of these, you might get some looping force closes. Just simply remove your battery to reboot the device and once it reboots the force closing will be gone.
2) Some are having a problem when moving from cell tower to cell tower. If you are losing a data signal every once in a while but the 4G/3G icon is still showing in the notification area, you need to do the fallowing.
The Fix: Go into your Mobile Network settings and make sure your device is setup to automatically use GSM/WCDMA. Then click on search for networks and at this point you will see T-Mobile UMTS, T-Mobile GSM and ATT GSW. After they appear click on select automatically. While your at it go ahead and click on data roaming since T-Mobile has contracts with other providers so your able to roam on there towers. Don't worry, you won't be charged for roaming since T-Mobile only charges for international roaming. After all this do a reboot.
Some of you think that there is a problem with your battery if your device is showing your "cell standby" above 30%. This is not a problem. Every time you charge your G2X it will reset usage percentages as you know. Well if you emediatly start using your phone and don't put it down for 2 hours than I promise you that your display will be at the top of the list. Obviously if your device stays off for a little bit and upon waking it you look at your battery statistics your going to see Cell standby and Phone idle at the top since the display was off. If your wandering why Cell Standby is using more juice than WiFi it's because when you turn your display off it automatically sleeps your WiFi.
The percentages in your batter statistics need to add up to 100%-105% and something is going to use more than the rest depending on what your doing with your device after removing it from charge. Ask yourself this. If my G2X is in my pocket for 1 hour after removing it from it's charger. What would I like to see using most of my battery? I can tell you right now. Certainly not your display since it's been off the entire time.
There's only one MyAccount app on the phone. I looked myself in the System/app folder. If you see multiple MyAccounts in a task manager it is just another instance of the same application.
Also there's NOTHING wrong with Wifi Calling or My Account. I have both on and use them extensively. My phone has gone now 26hrs without a reboot or hitch of heavy usage. Wifi works, 3G/4G works perfectly. I don't have any issues right now...until the next reboot
Want to give people another perspective since you don't have to give up MyAccount or Wifi caling to have a usable phone.
jrwingate6 said:
Ask yourself this. If my G2X is in my pocket for 1 hour after removing it from it's charger. What would I like to see using most of my battery? I can tell you right now. Certainly not your display since it's been off the entire time.
Click to expand...
Click to collapse
Cell standby of course
mobilehavoc said:
There's only one MyAccount app on the phone. I looked myself in the System/app folder. If you see multiple MyAccounts in a task manager it is just another instance of the same application.
Also there's NOTHING wrong with Wifi Calling or My Account. I have both on and use them extensively. My phone has gone now 26hrs without a reboot or hitch of heavy usage. Wifi works, 3G/4G works perfectly. I don't have any issues right now...until the next reboot
Want to give people another perspective since you don't have to give up MyAccount or Wifi caling to have a usable phone.
Click to expand...
Click to collapse
Thats WHY you don't have any problems. Because you only have 1 "MyAccount" application. Those of us that had 2 or 3 have the problems. By the way I had 3 and no they weren't showing in task manager. They were all deleted using Root Explorer.
Where did you see them? They were all in system/app??!?
Odd how they could all exist together - were they named differently?
mobilehavoc said:
Where did you see them? They were all in system/app??!?
Odd how they could all exist together - were they named differently?
Click to expand...
Click to collapse
Yes, different version numbers and branding included in the apks. I had 2, version 1 and version 5.x.
OP, for some reason when I try Search Networks I get: "Error while searching for networks." Any ideas?
mobilehavoc said:
Where did you see them? They were all in system/app??!?
Odd how they could all exist together - were they named differently?
Click to expand...
Click to collapse
They all existed in the system folder. It seemed like instead of the new versions updating the existing app, they were just creating new files. Your right, it is odd but I can see how that would create a problem.
rfm2113 said:
OP, for some reason when I try Search Networks I get: "Error while searching for networks." Any ideas?
Click to expand...
Click to collapse
I got the same thing. I had to enable wifi, then shut off wifi calling. Then it worked.
OP, for some reason when I try Search Networks I get: "Error while searching for networks." Any ideas?
Click to expand...
Click to collapse
I got the same thing. I had to enable wifi, then shut off wifi calling. Then it worked.
Click to expand...
Click to collapse
Worked perfectly, thanks!
Sent from my LG-P999 using XDA App

[Q] Nexus 5 Mobile Data When on Wifi

Hi all,
I am having an issue with my Nexus 5 using huge amounts of my mobile data (T-Mobile) when connected to wifi even when I'm not using it. What's crazy is that this keeps happening almost exclusively between 2-6am when I'm not awake. It also happens to an even further extent when I'm connected to wifi at work and not using my phone either. Heres a breakdown:
11/12 5:48 AM - 27.57 MB
11/13 3:33 AM - 12.42 MB
11/14 5:15 AM - 14.21 MB
11/12 2:53 PM - 49.57 MB
11/13 2:39 PM - 27.97 MB
I called T-Mobile and they said that it shows that I definitely used my data during those times. I have almost nothing running in the background that uses any data and have turned off my GPS to see if that will help.
Anyone else having the same problems or have any advice?
Thanks,
Chris
Only thing that comes to mind is that your wifi connection is being dropped for some reason, and your phone switches to mobile data instead.
About why data is being used at that time, it is very likely that there are some apps that are using background data - you may have disabled this for a bunch of apps, but may have missed some.
Check data usage under settings to see if you can identify the culprit (you can use the sliders to narrow down - though it doesn't seem to let you narrow down to a specific timeframe)
jj14 said:
Only thing that comes to mind is that your wifi connection is being dropped for some reason, and your phone switches to mobile data instead.
About why data is being used at that time, it is very likely that there are some apps that are using background data - you may have disabled this for a bunch of apps, but may have missed some.
Check data usage under settings to see if you can identify the culprit (you can use the sliders to narrow down - though it doesn't seem to let you narrow down to a specific timeframe)
Click to expand...
Click to collapse
Where can setup this prioritization? For example if I want the phone to use mobile data and override Wifi?
megakony said:
Where can setup this prioritization? For example if I want the phone to use mobile data and override Wifi?
Click to expand...
Click to collapse
I may be mistaken, but I don't think you can do that on stock ROM at least. If WiFi is available, it will always try to use WiFi
For whatever reason, if you want to use Mobile data, you will need to turn WiFi off.
If you always want to use mobile data for a given app or want to use mobile data in a specific time range, you could use tasker app to set up a profile to disable WiFi when that app is launched (or in that time range)
jj14 said:
Only thing that comes to mind is that your wifi connection is being dropped for some reason, and your phone switches to mobile data instead.
About why data is being used at that time, it is very likely that there are some apps that are using background data - you may have disabled this for a bunch of apps, but may have missed some.
Check data usage under settings to see if you can identify the culprit (you can use the sliders to narrow down - though it doesn't seem to let you narrow down to a specific timeframe)
Click to expand...
Click to collapse
Thanks. I did check last night to see what apps were using the most data and it was by far feedly but I'm not sure why that would be using data when I'm not awake. Does anyone else have that problem with feedly? Isn't it also strange that it keeps happening at roughly the same times every day?
Also wanted to add that I came from a Galaxy S2 running Cyanogen and never had this issue.
jj14 said:
I may be mistaken, but I don't think you can do that on stock ROM at least. If WiFi is available, it will always try to use WiFi
For whatever reason, if you want to use Mobile data, you will need to turn WiFi off.
If you always want to use mobile data for a given app or want to use mobile data in a specific time range, you could use tasker app to set up a profile to disable WiFi when that app is launched (or in that time range)
Click to expand...
Click to collapse
I just checked my gf's Galaxy Young...in there when you go to WIFI and access Advanced and there you can set Wifi Sleep policy.
The options I got are "When screen turns off", "Never when plugged in" and "Never"...not really the options I'd imagine for this =)
danotoriusodo said:
Thanks. I did check last night to see what apps were using the most data and it was by far feedly but I'm not sure why that would be using data when I'm not awake. Does anyone else have that problem with feedly? Isn't it also strange that it keeps happening at roughly the same times every day?
Also wanted to add that I came from a Galaxy S2 running Cyanogen and never had this issue.
Click to expand...
Click to collapse
Did you check settings on your feedly? It sounds like it does a daily sync which some RSS readers I'd imagine would do.
I don't have feedly on my phone, but if it has some decent settings it should have one to sync only via wifi or similar.
xShadoWxDrifTx said:
Did you check settings on your feedly? It sounds like it does a daily sync which some RSS readers I'd imagine would do.
I don't have feedly on my phone, but if it has some decent settings it should have one to sync only via wifi or similar.
Click to expand...
Click to collapse
Yea I checked the feedly settings section and there isn't anything related to sync. The app actually only refreshes when it's opened. For now I went into the "data usage" section on my phone and selected "Restrict background data" for the app. Hopefully that works.
danotoriusodo said:
Yea I checked the feedly settings section and there isn't anything related to sync. The app actually only refreshes when it's opened. For now I went into the "data usage" section on my phone and selected "Restrict background data" for the app. Hopefully that works.
Click to expand...
Click to collapse
It actually gets even crazier. Last night before I went to bed I turned off my mobile data by going to setting>data usage and it still shows at 5:19 AM that I used 43 MB of data. I mean the only explanation I could think of is I'm sleep walking and using my phone lol. I called T-Mobile and it definitely shows on their end I did use the data at that time. They also couldn't help me because they don't have the phone yet. Can't believe that no one else is having this problem. Guess I have to contact Google which should be really useful smh.

[Q] Optimal settings battery vs Lost Phone functionality

I try to tweak the phone to save as much battery as it can, but I still want to be able to use the Lost Phone functionality. What settings do you suggest?
For now I'm using these settings:
- Allow WIFI to sleep when in sleepmode
- Allow WIFI to scan even if WIFI is turned off
- No GPS
- Location is on battery save mode
- Don't allow mobile data connection when screen is of (using Llama)
Now im using the default Google find my phone website. For the theftie I installed Lockwatch (it will take a pic after a few tries of entering the wrong code). But you need a data connection / wifi for the app to sent the mail? So how to circumvent this if wifi and data is off after the phone goes to sleep??
I don't have Lockwatch. But it looks like a really nice simple app. From what I can read in the product description it implies that Lockwatch turns on the required features by itself GPS, WiFi, etc. Have you tried "stealing" your own phone with your power saving settings activated? The other thing not mentioned in the product description is does the app continue to send periodic emails to update the phones location after it has been stolen and is moving? Maybe you know? I am using Lookout which can be interrogated at any time to located the phone. But it is not a lightweight app, which makes Lockwatch all the more interesting. Thanks for bringing it to my attention. I can't answer your question, but maybe someone else can, plus my question!
I monitored the battery life of my Moto G LTE for a while and I can say that in standby doesn't drain battery, even if gps and mobile networks are active (I tried using Runtastic while riding racing bike for about 15km: 1h of gps and mobile network consumed about 10-15%).
Remember that, even if you turn on location, doesn't mean that phone searches costantly gps signal, it searches for it only when apps request for it.
grahamgo said:
I don't have Lockwatch. But it looks like a really nice simple app. From what I can read in the product description it implies that Lockwatch turns on the required features by itself GPS, WiFi, etc. Have you tried "stealing" your own phone with your power saving settings activated? The other thing not mentioned in the product description is does the app continue to send periodic emails to update the phones location after it has been stolen and is moving? Maybe you know? I am using Lookout which can be interrogated at any time to located the phone. But it is not a lightweight app, which makes Lockwatch all the more interesting. Thanks for bringing it to my attention. I can't answer your question, but maybe someone else can, plus my question!
Click to expand...
Click to collapse
You're welcome. I try to test it a few times. I'm still not sure when the mailing and gps kicks in. I do receive a mail when fake stealing my phone So it works good from time to time.
There is an premium feature that will try to sent again when there is data connection again.
If you want even more lightweight, im now using Avira with Lockwatch. If you like your phone to take pics for app locking, you can try Smart App Lock. And if you dislike Chrome, use CM Browser
justanicename said:
You're welcome. I try to test it a few times. I'm still not sure when the mailing and gps kicks in. I do receive a mail when fake stealing my phone So it works good from time to time.
There is an premium feature that will try to sent again when there is data connection again.
If you want even more lightweight, im now using Avira with Lockwatch. If you like your phone to take pics for app locking, you can try Smart App Lock. And if you dislike Chrome, use CM Browser
Click to expand...
Click to collapse
The "time to time" bit sounds worrisome! I'm on this group because I gave my wife a Moto G. She just wants a working phone, so now that it's pretty much setup right and she can "drive" it proficiently I tend not to mess with it (read - I am not allowed!) . We live in Peru 6 months a year and we both like the fact that I can ping her phone using Lookout if necessary to see that's she's safe. However, they removed the photo taking feature from the free version, and the paid version is now about $30 p/a. Quite reasonable, but this has prompted me to see what else is out there before giving them my money. I have read good things about Avira ($10 for Pro version), so your recommendation might be perfect. I have also just looked at avast! Anti-Theft (pro version $15 p/a), this also seems very comprehensive, I am not too worried about antivirus protection as she only uses the basic's. Anyway I'm still looking around to look at all possible options. Thanks!
Oh, and sorry I don't mean to pull your thread off track. But you do want a location app that overrides your battery saving setup when needed. So the more possible options open to you the better right? On our Moto G, the WiFi/3g data is always on. We get a 2 to 3 day typical battery life.
grahamgo said:
The "time to time" bit sounds worrisome! I'm on this group because I gave my wife a Moto G. She just wants a working phone, so now that it's pretty much setup right and she can "drive" it proficiently I tend not to mess with it (read - I am not allowed!) . We live in Peru 6 months a year and we both like the fact that I can ping her phone using Lookout if necessary to see that's she's safe. However, they removed the photo taking feature from the free version, and the paid version is now about $30 p/a. Quite reasonable, but this has prompted me to see what else is out there before giving them my money. I have read good things about Avira ($10 for Pro version), so your recommendation might be perfect. I have also just looked at avast! Anti-Theft (pro version $15 p/a), this also seems very comprehensive, I am not too worried about antivirus protection as she only uses the basic's. Anyway I'm still looking around to look at all possible options. Thanks!
Oh, and sorry I don't mean to pull your thread off track. But you do want a location app that overrides your battery saving setup when needed. So the more possible options open to you the better right? On our Moto G, the WiFi/3g data is always on. We get a 2 to 3 day typical battery life.
Click to expand...
Click to collapse
It's ok, maybe some good anti-theft app can do this overriding the battery saving setup thingy. Im now trying "Android Lost", "AntiTheft & Find My Phone" and "Theftie" (all free of course) . Since we are just both users, maybe we can help each other here on XDA.
Sure, I for one would like to know which app you consider to be the best. Also the reasoning behind the decision.
I hope that you you find one that can override your power saving settings. I would hope that they all can...
grahamgo said:
Sure, I for one would like to know which app you consider to be the best. Also the reasoning behind the decision.
I hope that you you find one that can override your power saving settings. I would hope that they all can...
Click to expand...
Click to collapse
After a few tests, i think Theftie and Lockwatch are the best. But I still need wifi or a data connection. And as a backup i keep Android Lost. So in the end i cannot save battery if i want to use the anti-theft functionalities.
Let me know if you what you decided.
justanicename said:
After a few tests, i think Theftie and Lockwatch are the best. But I still need wifi or a data connection. And as a backup i keep Android Lost. So in the end i cannot save battery if i want to use the anti-theft functionalities.
Let me know if you what you decided.
Click to expand...
Click to collapse
Have you tried cerberus? It's one of the most complete out there at a reasonable price
I have to say Cerberus is very complete, I think this is the first app I have seen that specifies in its description that GPS is turned on even if its turned off. Edit:- not quite, only on systems earlier than 2.3.3 on later version you have to jump through hoops and convert Cerebus to a system app. Then In the case @justanicename the phone still needs to get access to a WiFi of GSM internet connection. I presume the only chance is that if the phone is stolen the thief will try to use the phone and the GSM data connection will become active when the screen comes on?
I did some further research on the battery saving settings and found a discussion sayin that actually turning on/of the wifi/dataconnection/gps is draining the battery more. So I will try this for a while. Cerberus looks really nice, it seems that Theftie does a lot of what cerberus does too.
Hi, I tried Cerberus yesterday. It does everything as advertised. The memory footprint is 4.4mb, compared with Lookout's 19mb, though Lookout does provide antivirus protection. I started to try Theftie today, but was putoff by the requirement to sign in using Google+ a service that I don't like and don't use. So I removed Theftie. I will go with Cerberus costing the one time 3 Euro. Thanks @agusaon for the pointer.
grahamgo said:
Hi, I tried Cerberus yesterday. It does everything as advertised. The memory footprint is 4.4mb, compared with Lookout's 19mb, though Lookout does provide antivirus protection. I started to try Theftie today, but was putoff by the requirement to sign in using Google+ a service that I don't like and don't use. So I removed Theftie. I will go with Cerberus costing the one time 3 Euro. Thanks @agusaon for the pointer.
Click to expand...
Click to collapse
Great app! I hope you enjoy it and never have to use it

CM11 M7 Wifi dead? here's a potential fix

OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
So last week I replaced my home router. This of course means reconfiguring all the wifi devices around the house, including my wifi thermostat. The unique thing about the thermostat is that to configure it, you connect a laptop/phone/tablet to the thermostat's ad-hoc wifi network, tell it which infrastructure ssid to connect to, verify a pin from the thermostat's screen (so nobody can hijack your t-stat from outside the house), and that's it.
thing is, when you use Cyanogenmod (at least on the relay) to connect to an adhoc network, it breaks wifi. what happens is you can't connect to any other wifi networks, and can't even scan to see available networks till you reboot. sometimes it doesn't work even after a reboot. strangely, the tethering/hotspot still works fine. you just can't connect the phone to a hotspot whether it's at home or work or anywhere.
i'd been having other issues and general slowness with the phone, so i decided to backup a few apps with TiBu and do a factory reset. that worked... till i tried connecting to the thermostat again, and it broke wifi completely this time.
solution? go to /data/misc/wifi/ and rename wpa_supplicant.conf to wpa_supplicant.conf.old (or whatever, as long as it's a different name) and reboot. the system will automatically create a new conf file. boom - wifi fixed.
obviously this requires root, but that's not an issue in CM. I doubt it matters, but i used ES file explorer since it's got a good root filesystem browser and mounting / or system as RW is a simple matter of a checkbox in the settings.
when i compared the newly created wpa_supplicant.conf with the one i'd renamed (.old) the only real difference i could see was the saved networks at the bottom. so you might be able to get away with simply deleting the offending network={ blah blah } section instead of completely renaming the conf file. the advantage here would be if you have a bunch of saved networks that you don't want to get rid of, it will keep those saved networks. the conf file is a plaintext file so it's easy enough to understand what you're looking at, and modify appropriately.
MODS: I apologize if this is in the wrong forum. I figured since it probably only applies to CM, I should post it in the dev forum rather than the general one. If it needs to be moved, I don't be offended.
Gibson99 said:
OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
So last week I replaced my home router. This of course means reconfiguring all the wifi devices around the house, including my wifi thermostat. The unique thing about the thermostat is that to configure it, you connect a laptop/phone/tablet to the thermostat's ad-hoc wifi network, tell it which infrastructure ssid to connect to, verify a pin from the thermostat's screen (so nobody can hijack your t-stat from outside the house), and that's it.
thing is, when you use Cyanogenmod (at least on the relay) to connect to an adhoc network, it breaks wifi. what happens is you can't connect to any other wifi networks, and can't even scan to see available networks till you reboot. sometimes it doesn't work even after a reboot. strangely, the tethering/hotspot still works fine. you just can't connect the phone to a hotspot whether it's at home or work or anywhere.
i'd been having other issues and general slowness with the phone, so i decided to backup a few apps with TiBu and do a factory reset. that worked... till i tried connecting to the thermostat again, and it broke wifi completely this time.
solution? go to /data/misc/wifi/ and rename wpa_supplicant.conf to wpa_supplicant.conf.old (or whatever, as long as it's a different name) and reboot. the system will automatically create a new conf file. boom - wifi fixed.
obviously this requires root, but that's not an issue in CM. I doubt it matters, but i used ES file explorer since it's got a good root filesystem browser and mounting / or system as RW is a simple matter of a checkbox in the settings.
when i compared the newly created wpa_supplicant.conf with the one i'd renamed (.old) the only real difference i could see was the saved networks at the bottom. so you might be able to get away with simply deleting the offending network={ blah blah } section instead of completely renaming the conf file. the advantage here would be if you have a bunch of saved networks that you don't want to get rid of, it will keep those saved networks. the conf file is a plaintext file so it's easy enough to understand what you're looking at, and modify appropriately.
MODS: I apologize if this is in the wrong forum. I figured since it probably only applies to CM, I should post it in the dev forum rather than the general one. If it needs to be moved, I don't be offended.
Click to expand...
Click to collapse
It does belong in q&a...but my lollipop validus has working gps
REV3NT3CH said:
It does belong in q&a...but my lollipop validus has working gps
Click to expand...
Click to collapse
As does FatToad. However, I do know that the privacy bit in the GPS can be flipped with the drivers we're using in FT. There's an old thread with a post from nard about how to fix that.
Magamo said:
As does FatToad. However, I do know that the privacy bit in the GPS can be flipped with the drivers we're using in FT. There's an old thread with a post from nard about how to fix that.
Click to expand...
Click to collapse
Do you understand more about this "privacy bit", what call in the API flips it, or can give me any other pointers about it? The poster previous to you indicates that GPS works with M7. I thought I had it working with M8, but can't really guarantee that, any more. The post from nard was quite an onerous process, including what looked like reflashing the baseband.
It seems to me that if we really understood this problem, the fix would be quite simple, and could be done by a root-access app. I've done more digging, and see that it seems to be common to many models of Samsung Galaxy phones, and some of the fixes involve doing potentially horrible things to the NVRAM. (like clearing it completely - what could possibly go wrong?)
It seems that the GPS is done in the baseband processor, along with the other radio stuff, but so far I haven't been able to find it. The transceiver chip is just a transceiver, no baseband processor. It looks like the baseband processor might be on the Snapdragon main processor chip, though they don't enumerate it well. In addition they mention a "gpsOne engine" without describing exactly what it is.
I'm still relatively ignorant about Android, a year after getting one. (not enough time) I'm better versed on hardware, but this problem seems to be in the cracks between.
Come to think of it, a simple question... Is there documentation on the communications between Android and the baseband processor?
Gibson99 said:
OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
Click to expand...
Click to collapse
I just took my wife's phone outside and tested it. GPS works on M8 from last summer, as does wifi. AFAIK the only thing that doesn't work on M8 is the video camera. (Stills on the camera work.)
This was an older phone than mine, purchased after mine. With mine I didn't need the radio or bootloader updates, my wife's did. I bought the phone for her, used it briefly with my PureTalkUSA SIM card to make sure it was really unlocked. Then I put CM11 on it.
phred14 said:
I just took my wife's phone outside and tested it. GPS works on M8 from last summer, as does wifi. AFAIK the only thing that doesn't work on M8 is the video camera. (Stills on the camera work.)
This was an older phone than mine, purchased after mine. With mine I didn't need the radio or bootloader updates, my wife's did. I bought the phone for her, used it briefly with my PureTalkUSA SIM card to make sure it was really unlocked. Then I put CM11 on it.
Click to expand...
Click to collapse
no idea how old mine actually is; i bought it "like new" from a tmobile reseller here in town and i actually use tmobile for service.
right now i'm on fattoad and once i stepped down my paranoia (i turned on privacy guard for everything including all system apps. hint: don't do that ) it seems good so far. nova launcher has an issue with flickering or disappearing icons, and everything is huge (i need to adjust the dpi) but so far no issues with gps or wifi (though i havent needed to connect to an adhoc network yet).
Do be careful with Privacy Guard. I didn't mention, but although Privacy Guard out of the box tends to make it so that most system apps are unable to be tuned, TeamApexQ likes the option of being able to tune everything in that regard, so we removed the safeguard. (For example, when PG was first ported to CM12, you could tune the settings of the 'Settings' app. Then at our next internal testing build, it was suddenly coming up empty, because CM made a change to exclude tuning for it. We restored full capability because we liked it. But that does mean you can more easily 'shoot yourself in the foot'.
Magamo said:
Do be careful with Privacy Guard. I didn't mention, but although Privacy Guard out of the box tends to make it so that most system apps are unable to be tuned, TeamApexQ likes the option of being able to tune everything in that regard, so we removed the safeguard. (For example, when PG was first ported to CM12, you could tune the settings of the 'Settings' app. Then at our next internal testing build, it was suddenly coming up empty, because CM made a change to exclude tuning for it. We restored full capability because we liked it. But that does mean you can more easily 'shoot yourself in the foot'.
Click to expand...
Click to collapse
I've recently begun to wonder if Privacy Guard might be partially responsible for reduced battery life. I'm under the impression that it lies to apps, providing false information when they have insufficient authority for the real information. Some of those permissions in Privacy Guard are to turn radios on and off. If an app thinks it's turned a radio on, and is trying to communicate based on faked (Really, it's going to look like a failure, at this point.) returns, it may spend more time continuing to try instead of just staying asleep. My battery life comes an goes, but I've noticed that on a "bad day" there are quite a few wakeups in the middle of nowhen, when the phone was sitting there in airplane mode with all radios off.
Of course I may be all wet on this - radio control may be one area where it can say, "You're in Airplane Mode, no program can turn the radio on."
good theory, and like you said, it depends on the app and how pg implements each block.
personally i'm having great battery life in L. i have a 5000mah battery, but usually by this point in the day i'm at about 60%. right now i'm still at 83%. i like how it projects your estimated remaining battery time. first time i looked at the battery chart, i lol'd - it was projecting 4.5 days before it died. i can probably get 2 no sweat even with regular usage, but i'd have to turn off sync and really cut back to make it 4 days.
I've had very good results with some simple rules with Privacy Guard. Generally the only thing I've turned off is the ability for Google Play Services and the Google App (Google Now) to wake up my device and to keep it awake. With those turned off, my battery life has gotten to be pretty damned nice... Though it makes Google Play Services FC once maybe every 24 hours. It restarts just fine, no harm no foul.
My battery life seems to be "bimodal". It either barely makes it 24 hours - basically needs recharging every night, or it lasts on the order of three or four days on a charge.
It seems to be somehow wifi-related, if I were guessing, and in an odd way. If wifi is largely off, but occasionally on, the battery life seems shorter. After wifi has been left off for "a while" (quantity not yet determined) it seems to go into long-battery-life mode. If I keep wifi largely on, and occasionally off (basically between known/trusted wifi places) the battery life comes out somewhere in between, consistent with wifi itself taking some power.
It's been really tough to detect any sort of pattern, but this is the best I've been able to come up with so far. I haven't done rigorous testing, or at least attempts at rigor so far have yielded inconsistent results. I've looked at what the Settings->Battery has available for power diagnostics, and one thing I noted was a lot of spurious wakeups when all radios were turned off. That's what led me to tentatively finger Privacy Guard.
I just saw the setting to show "built-in" apps on PG. I see two different entries for google.services and google.services.framework. The former has scads of wakeups - thanks for the tip. The latter has many, but a much smaller number. Did you block wakeups for both? I presume "built-in" are also "system" that others have said shouldn't be bulk-denied in PG. Are there guidelines anywhere about which are OK, which are useful, etc? (Like this case, and perhaps battery life.)
phred14 said:
My battery life seems to be "bimodal". It either barely makes it 24 hours - basically needs recharging every night, or it lasts on the order of three or four days on a charge.
It seems to be somehow wifi-related, if I were guessing, and in an odd way. If wifi is largely off, but occasionally on, the battery life seems shorter. After wifi has been left off for "a while" (quantity not yet determined) it seems to go into long-battery-life mode. If I keep wifi largely on, and occasionally off (basically between known/trusted wifi places) the battery life comes out somewhere in between, consistent with wifi itself taking some power.
It's been really tough to detect any sort of pattern, but this is the best I've been able to come up with so far. I haven't done rigorous testing, or at least attempts at rigor so far have yielded inconsistent results. I've looked at what the Settings->Battery has available for power diagnostics, and one thing I noted was a lot of spurious wakeups when all radios were turned off. That's what led me to tentatively finger Privacy Guard.
I just saw the setting to show "built-in" apps on PG. I see two different entries for google.services and google.services.framework. The former has scads of wakeups - thanks for the tip. The latter has many, but a much smaller number. Did you block wakeups for both? I presume "built-in" are also "system" that others have said shouldn't be bulk-denied in PG. Are there guidelines anywhere about which are OK, which are useful, etc? (Like this case, and perhaps battery life.)
Click to expand...
Click to collapse
It's difficult to give tips for this, because everyones' usage is different. Get 'WakeLock Detector' and keep an eye on that when your power drain seems more intense. Disable things that make sense to disable based on that.
I know this isn't really the topic, but just because you get a new router doesn't mean you have to reconfigure everything. Why couldn't you just configure the new router with the SSID and password from the old one?
slartibartfast42 said:
I know this isn't really the topic, but just because you get a new router doesn't mean you have to reconfigure everything. Why couldn't you just configure the new router with the SSID and password from the old one?
Click to expand...
Click to collapse
believe me, i tried that. it's stupidly tedious to enter a long keyphrase via the remote control on our tivos and only slightly less tedious on the roku (its remote is much more responsive). laptops and phones aren't as bad since they have keyboards. apparently the devices are smart enough to notice a different MAC behind the BSSID. which if you think about it, is actually a GOOD thing in terms of security, since it makes spoofing a little more difficult. granted, you'd also have to know the wpa key to successfully spoof, but it's a simple check to implement for security's sake, and i'm glad they did.
by the way, do you like fjords?
Magamo said:
It's difficult to give tips for this, because everyones' usage is different. Get 'WakeLock Detector' and keep an eye on that when your power drain seems more intense. Disable things that make sense to disable based on that.
Click to expand...
Click to collapse
"Wakelock Detector" has certainly been enlightening. "Google Fit", which makes sense, once you think about it. But the other aspect that was even more important, I just happened to see when one of the other forums popped up on some sort of search result or other.
You have to boot your Android device on battery. If the kernel starts up on charger, it never gets into the deepest power-saving states. When I first started using Wakelock Detector, my phone showed up as being awake something like 97% of the time. Google Fit was the biggest user, but not that big. After seeing that advice I've been careful to boot on battery, and now most of the time is spent asleep. Google Fit still uses wakes as much, but when it's not, the phone is really sleeping. My normal battery life has moved out to two or three days, sometimes into a fourth. As long as I consider Google Fit worth having around, this battery life is good enough for me - there is always a decent window to recharge.
phred14 said:
You have to boot your Android device on battery. If the kernel starts up on charger, it never gets into the deepest power-saving states.
Click to expand...
Click to collapse
So much for that theory. A day or two back, after good battery life since this post, I noticed it draining faster. Today I looked, and sure enough, it's not going into deep sleep. I tried rebooting with all four states of wifi and cell service, and nothing has gotten deep sleep back. I think I'm going to try charging tonight, booting while charging, then rebooting after disconnecting. It would be good to have an exact and repeatable set of circumstances that cause both good and bad battery life.

Categories

Resources