Weak WiFi = dropped calls? And Restrict Mobile Data access for apps? - Moto G Power Questions & Answers

This is my fourth Motorola phone in a row. I got it from Amazon and use it on Xfinity mobile. I have not rooted it, and I don't particularly care about advanced calling features, but it does have WiFi calling via the phone app. Unfortunately, my office is not super close to my router, and for whatever reason it seems to not be a problem if I turn wifi off manually before taking/placing a call. I also like to pace when I am on long conversations (or go on walks outside), but this remains an issue. Would enabling advanced calling resolve this? I'd prefer not to root the phone if I don't have to, but I suppose I could.
Also, in previous generations, you could restrict mobile access for certain apps or functions. I made a signal video call several weeks ago that used a full GB of data even though I was connected to WiFi (perhaps the same issue as above, but at least it never disconnected me). I haven't opened the app in weeks and it's still used almost 200mb of data even though I have background data restricted, and all the in-app settings prioritize wifi. I'd love to force signal (and others) to use WiFi only.

Related

[REQ] Disable mobile network when wifi connected

I am looking for an app that automatically switches off the cellular radio when wifi is connected and switches it back on when wifi loses connection. I'm not talking about the APN data connection which already does that, I'm talking about the regular cell phone connection.
According to my lack of results searching through the forums, Market, and Google, such an app does not exist yet. Currently the best app I've found to do anything remotely like this is the Airplane Mode Wi-Fi app, which is a manual switch and a slightly cumbersome one at that, not nearly good enough for how often I go in and out of wifi.
The reason I ask for this is because I use Google Voice with SIP and a prepaid plan. I want to use SIP as much as possible to save my prepaid minutes for when I really need them. When wifi and cell are both connected with Sipdroid running and I receive a call, they both ring at the same time. To be sure I don't accidentally use prepaid, I usually reject the call and call back over SIP, which is slightly annoying for both me and the caller.
Might someone be willing to create this app? Or better yet, does it already exist and I just wasn't doing the right searches?
You can turn the phone radio off with code but you need to use non-public apis and probably extra permissions. For anyone interested, have a look at RadioInfo.java (Phone Info when selecting an activity with AnyCut).
I'll add the option to the Airplane Mode Wi-fi Tool.
It was simple, I'm testing it right now, then I'll update it in the market as soon as it works properly.
UPDATE: Done, go download "Airplane Mode Wi-Fi Tool" (free) from the market if you'd like to stay updated from there, otherwise install it from the attachment here.
It only enables airplane mode if it successfully connects to a Wi-fi network, if it disconnects, connection gets dropped, or wi-fi gets disabled from the settings or widget, the phone goes back to regular radio mode.
Make sure to check the Preferences and enable/disable it according to your preferences. It's disabled as default.
Enjoy!
Perfect! Airplane Mode Wi-Fi Tool has become one of my top favorite apps with this feature. Thanks!
cant' find it on the market
sorry: I needed to search for the translated name
zorxd said:
is this app still available on market? Can't find it.
Click to expand...
Click to collapse
It is, Market link -- Airplane Mode Wi-fi Tool
Also, you might be interested in this one, Market link - AutoAP
I found the application on the market, however it doesn't behave as expected. I have to manually switch to airplane mode, and then enable wifi.
What I would like is a single switch to enable wifi AND disable the cellular radio.
And then a single switch to switch back to cell radio with wifi off.
I will try autoAP, thanks
How hard is it on the battery if I always leave wi-fi on even when not used?
autoap seems just fine, I just have to disable wifi to automatically enable cell radio
thanks
However I think, from a marketing point of view, you should consider a better name. Auto AP sounds like Automatic Access Point to me.
Yeah, works fine on tablets without internal 3G. This provides a battery saver.

Tutorial: Really enable/disable Wifi Calling to Save Your Battery

You may have noticed, especially if you've got the new Free Wifi Calling feature from T-Mobile, that WiFi Calling is a BATTERY HOG. Worse, it hogs battery even when disabled. You can verify it's Hogginess even when disabled by noting it will almost always be the top APP in history using SystemPanel. It's incredibly badly coded, and if you've got a Rom with Wifi Calling on it, and you've had bad battery life, now you know WHY.
But, really, with the new Free Wifi Calling feature, we shouldn't have to kill it entirely.
You can freeze it with Titanium Backup, but that's a hassle. Likewise using Bloater to uninstall/reinstall it all the time. Wouldn't it be nice just to have a desktop widget to do it for you? Or be able to hook it into your "Home Wifi" profile, so it's always enabled at home, and then have it turned off as soon as you're no longer near your home wifi?
Thanks to user AntonX in this thread , I came across a method to simply kill the app at the system level until needed. Still not convenient. So, I whipped up some Tasker scripts which will help the situation.
This assumes you have Tasker, as well as a basic knowledge of how to use it. Here are your the TASKS to create (Don't create any profiles unless you want to)
You also need to have the Locale Execute plugin, which is free.
NOTE: For this to work correctly, leave the slider set to ENABLE in the wifi calling app, and disable the feature using the Tasker widget and not inside the app!
Create a Task "Disable Wifi Calling"
1. Variable Set %WIFIWASON to YES If %WIFI ~ on
2. Wifi Set Off
3. Wait 5 Seconds If %WIFIWASON ~ YES
4. Execute @!pm disable com.android.kineto
5. Wifi Set On If %WIFIWASON ~YES
6. Variable Clear %WIFIWASON
7. Variable Clear %WIFICALLING
Create a Task: "Enable Wifi Calling"
1. WiFi Set On
2. Plugin:Execute @!pm enable com.android.kineto
3. Wait 5 Seconds
4. Load App Wifi Calling
5. Variable Set %WIFICALLING to YES
Create a Task "Toggle Wifi Calling"
1. Perform Task Disable WIFI Calling If %WIFICALLING ~ YES
2. Perform Task Enable WIFI Calling If %WIFICALLING |~ YES
TO USE:
Add a Tasker Widget to your homescreen for the "Toggle Wifi Calling" task.
What is going on:
Disable script will check if wifi is on at the time it is executed. It has to turn Wifi OFF so we get a clean disconnect from the network and the taskbar Icon goes away before killing the Wifi Calling app. If Wifi was on beforehand, it turns it back on.
Enable script will make sure wifi is enabled, and give it time to connect, and then load the application since sometimes it won't activate on its own without loading manually.
These tasks are intended to be linked to Tasker widgets on your homescreen, but you can call them from location based profiles or whatever.
Now, when Wifi Calling is OFF, it is REALLY off, and not just sitting around, unused, sucking up your battery. With a little more work, this could probably be turned into a single "Toggle" task, but that's an exercise for someone who has slept and doesn't have work in 5 hours. Comments/Improvements welcome.
Update 1:
Added instructions for creating a Toggle widget at the same time.
Streamlined Tasks.
Planned Features:
1. Automatically disable WIFI calling app once WIFI has been disconnected to save battery. Seems to need a block to prevent the state from triggering during processing of the disable/enable tasks, as it breaks functionality. I'm sure it is trivial but I have a limited attention span.
2. Automatically enable WIFI calling app if currently connected to WIFI *and* cell has no signal for longer than a set time. (%CELLSIG)
3. [not possible?] - Audible warning that WIFI signal is getting low and you are currently on a call. Is there any way to read current WIFI signal strength with Tasker?
Very good guide and a great idea.. if only we could get a better coded wifi calling app... or one for cm7
Sent from a cell tower to the XDA server to you.
I love the idea, but I can't quite seem to get it working. When I run the "disable" task, it eventually turns WiFi back on and WiFi calling gets re-enabled.
Then, a while later I get an "app not responding" warning from the Android system for the execute locale plugin (I can select Force Close or Wait).
Also, what is the best way to grant SU permissions to the plugin in the SU application? I have never been prompted to allow it. To test it out, I just temporarily granted access to everything...
Thanks!
lotherius,
I follow on the G2X forums. And you know how the G2x & MIUI Roms can't seem to get Wifi Calling to work consistently. I noticed that if I can get the Wifi Calling app to stay turned OFF it allowed my Sim card to not get the "Invalid Sim" error and then I was able to get wifi calling to work again even after reboots. Do you think by any chance that this script could help cure our Wifi Calling issue with MIUI Roms??? And is there a way to make a flashable zip of this for us Noobs? Thanks Again.
GFam4 said:
lotherius,
I follow on the G2X forums. And you know how the G2x & MIUI Roms can't seem to get Wifi Calling to work consistently. I noticed that if I can get the Wifi Calling app to stay turned OFF it allowed my Sim card to not get the "Invalid Sim" error and then I was able to get wifi calling to work again even after reboots. Do you think by any chance that this script could help cure our Wifi Calling issue with MIUI Roms??? And is there a way to make a flashable zip of this for us Noobs? Thanks Again.
Click to expand...
Click to collapse
Nope, this script wouldn't help with that. The problem on MIUI roms on the G2X is due to the operator (T-Mobile for most) not sending the phone # directly to the SIM card when it is activated. Some SIM cards have it, typically older ones, so it works. Those without, however, find that it doesn't work.
Supposedly you can manually program the SIM by using a phone that supports doing so, but I haven't checked to see if that would fix the problem.
Also I no longer bother with this on the G2X as it appears that while wifi calling still uses *some* battery when not active, it's not the battery hog it was back on the Vibrant.
Lotherius,
I had an HD2 running MIUI with Wifi Calling working before the G2X. The is the hack/mod that this guy TyTung did to get wifi calling to work for the HD2. http://forum.xda-developers.com/showthread.php?t=1038784 You think something like this can be used for the G2X to get wifi calling working?
GFam4 said:
Lotherius,
I had an HD2 running MIUI with Wifi Calling working before the G2X. The is the hack/mod that this guy TyTung did to get wifi calling to work for the HD2. http://forum.xda-developers.com/showthread.php?t=1038784 You think something like this can be used for the G2X to get wifi calling working?
Click to expand...
Click to collapse
WiFi Calling is really picky about the network information being accurate. I'm surprised that they got it working on the HD2...
The best fix for it on MIUI on the G2X would depend on fixing MIUI itself, since the RIL is correct -- the G2X doesn't allow you to change the RIL so it isn't affected. In the case of MIUI, older SIM cards typically work better than new ones.
The issue comes down to the ability to read the network information from the SIM card. If that data has been programmed to your SIM card, then it might work. If it has not been programmed to your SIM card, then it won't work.
So basically... not saying it's impossible to get it working on G2X/MIUI, but it is more likely to require a fix to MIUI rather than to Wifi Calling.
lotherius said:
WiFi Calling is really picky about the network information being accurate. I'm surprised that they got it working on the HD2...
The best fix for it on MIUI on the G2X would depend on fixing MIUI itself, since the RIL is correct -- the G2X doesn't allow you to change the RIL so it isn't affected. In the case of MIUI, older SIM cards typically work better than new ones.
The issue comes down to the ability to read the network information from the SIM card. If that data has been programmed to your SIM card, then it might work. If it has not been programmed to your SIM card, then it won't work.
So basically... not saying it's impossible to get it working on G2X/MIUI, but it is more likely to require a fix to MIUI rather than to Wifi Calling.
Click to expand...
Click to collapse
I wish i knew what Lib's and RIL's that I can swap from a CM7 Rom (Weapon G2X, Eaglesblood, or TSUGI) and push it via Root Explorer. I did this on my Hd2 and had wifi calling working. Can't this method work to get wifi calling working on G2X. Sorry I know this is off topic. But I even had Wifi Calling on your TSUGI ROM. You wouldn't happen to know what Lib's & Ril's on your TSUGI Rom are responsible for Wifi Calling to be enabled?
Is battery life really bad with wifi calling for you guys? I use it nearly 24/7 on my phone, and get fantastic battery life. Like way better than I did without it.
Of course, I'm on the clearly superior HTC G2, but still
I've been toying with this, but anytime I force Wifi calling to disable (by killing the app or disabling kineto), restarting Wifi calling says I'm not registered with the T-Mobile network (sure) and won't connect (even after clicking Register) until I reboot the phone.
Any tips?

[Q] Turn off background data if wifi off?

Hi,
Is there an app, script or something (which MUST be lightweight for RAM and battery) that would turn off background data when wifi is off?
Sent from my GT-S5830 using Tapatalk
If you enabled background data at any point, you would know that 3G and 2G networks are only used when wifi is not connected. By turning it off when wifi is off would effectively make your data connection and plan redudant.
Disabling background data while is not on WiFi
Actualy, this is not a bad and dum question, these days, that many people have limited data, I really don't want my apps and other stuff on the background access the interent and I prefer these to get done on wifi, specialy market which I really don't want it to access the internet and check for updates while I'm driving, I would like this to get done when I'm on wifi, I noticed that my phone used 10 MB / day even if I don't use it myself.
please let me know if such a app exist
You can use DroidWall to get an exhaustive control over apps. Really easy to use, and you can decide app by app if they can get internet acces on 3g, wifi, 3g and wifi or not at all.
https://play.google.com/store/apps/details?id=com.googlecode.droidwall.free
SORRY IGNORE ABOVE!! That is not what you're asking for. But you can use CPU tuner for that https://play.google.com/store/apps/details?id=ch.amana.android.cputuner&hl=en
Go to wireless
Then scroll down and last one choose
Then untick the one wich is ticked
Sent from my GT-S5830 using xda premium
I've tried each of these suggested options, but none of these have I found satisfactory.
The problem is that one wants to be able to retrieve and send MMS messages, without other data being exchanged (at least in my contract in Sweden, MMS messages are included in the contract, and is not counted as regular data. I'm guessing your contract is under the same premises...). So that rules out the option os switching off the 3G network.
Next, the problem with DroidWall in this situation, is that there is a 0.4kb data leak through the firewall every time the Wi-Fi successfully connects to a wireless network. Don't ask me how or why (I used two or three different apps to ensure that this was the case). Even if this data amount was fairly small, I wasn't satisfied, since I pay a correlating fee for every byte sent or recieved by my phone, and I wanted all other data stopped.
The solution I finally came to was simpler than I imagined. I altered the API (or APN) settings in the "mobile networks" menu found in the network settings in the device menu. I simply accessed the settings for my account and changed API-type (APN-type), so that it only said "MMS" (erase "default" and "supl"). The only flaw with this option is that one has to fill out "default" in this Space again if one actually desires to use 3G data for some reason. Anyway, this has worked solidly for me for a couple of months (no data leaks).
Hope this helps you!
Sincerely, yitzhaq

Android M developer setting, "Cellular data always active"

I noticed this option in the developer settings in the Android M preview, and it got me thinking. I know it says it's for faster network switching, but perhaps one can make an app similar to Samsung's Download Booster, or a better network switcher (if WiFi drops below 100 kbps, switch to cell or via versa; or set to prioritize cell data but still be connected to Wi-Fi)
I know in previous versions of android, the OS closed the cell data connection if WiFi was connected, making it impossible for an app to send data over the cell connection until WiFi was disconnected.
I can't look too much into it right now as I'm working double full time during summer. Once school starts I can tinker with it more.
My main motivation is when going from WiFi to WiFi to cell, etc on a hangouts call, the switch ends the call. Or when I go out to my car, the phone stays connected to WiFi, but the speed is worse than dialup, so it should switch to cell at that point.
Thoughts?
I'm surprised at the lack of response to this!
Your efforts haven't gone unnoticed! I would love this it sounds like a really useful tool...obviously the radio silence on the replies must have been quite demotivating!
Love the thinking behind this, let me know if you do decide to have a play!
This would be amazing if you could get it to work! Not sure if you still are, I certainly hope so!
Sent from my Nexus 6 using Tapatalk

Android phone connecting to internet through mobile data even with Cellular Data off?

Greetings,
I own a OnePlus 5T (128GB) and I am running stock firmware (OxygenOS 5.1.7), rooted and bootloader unlocked. I traveled to a country for which I have a local SIM for, but didn't have (yet) any data plan. What I did to prevent unexpected charges was disable mobile data immediately (I did the same to my wife's phone, which is on the same ISP), so that I could receive phone calls and SMS, but I won't use internet and obviously I won't make phone calls or send SMS.
What happened next is that my phone connected for 0 seconds to the internet every day at a random time during the day, triggering a 6€ expense for 10 days.
I searched through the data usage log to see if any app used internet, but it was empty.
Interestingly, my wife didn't get any charge, so I presume that the configuration I used to prevent access to mobile data was correct (it displayed an X instead of 4G+ over the chart showing the mobile signal strength).
What I'd like to discover is what caused the charges (I did get a refund since those connections lasted 0 seconds each), to prevent this from happening again. However, the phone has been completely unhelpful. I do have a data plan now, in case it's needed to perform some tests.
My best guess so far is AFWall+, it's the only application I can picture bypassing the "cellular data off" option. Those connections looked like DNS connections also, due to how short-lived were.
Any suggestion over how to diagnose this?
Thanks for your help.

Categories

Resources