WiFi calling control
Moderator: Martin
WiFi calling control
Cellular reception at work is weak, so I use Advanced calling/enable WiFi calling, but when elsewhere I prefer to turn that off. I'd like to have access to that setting. Please add the functionality so that I can create a location based profile to automatically enable or disable based on connected WiFi.
Re: WiFi calling control
AFAIK, this is phone specific setting. Automagic usually won't have direct access to it. What is the phone? And can you screenshot the setting which can toggle this wifi calling? Most likely the setting is kept at the secure setting database. If the phone react to the changes, it is possible to toggle the value after giving automagic write secure permission in adb PC.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: WiFi calling control
I would like to pick up this thread. It would be nice to access the feature wifi call with Automagic. I m using a Samsung Galaxy S9. There are two ways to activate Wifi Call. One on the DropDown Quick Settings.
The other in the settings for the telefon (app).
Btw. I do have secure permission via adb...
The other in the settings for the telefon (app).
Btw. I do have secure permission via adb...
- Attachments
-
- Phone app settings
- Screenshot_20181018-225455_Phone.jpg (132.21 KiB) Viewed 14820 times
-
- Quick Settings
- Screenshot_20181018-225523_Samsung Experience Home.jpg (24.63 KiB) Viewed 14820 times
Re: WiFi calling control
I don't know if it will work at your phone. You can try to use Set System Setting, category - global. Find wfc_ims_enabled and set it 1 for enable or 0 for disable. If it is not at global, try to find it at secure or system.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: WiFi calling control
Hey,
Thanks to Desmanto for the Reply. Mabe I get one step closer the solution.
Unfortunately it is not working yet. In the system settings I find the variable "wifi_call_enable" as a Global variable.
When I activate WifiCall in the Quicksettings, the value changes from 0 -> 1, so Automagic seems to read the "correct" variable.
How do I enable Global Settings for Automagic?
I used; (adb shell pm grant ch.gridvision.ppam.androidautomagic android.permission.WRITE_SECURE_SETTINGS)
but this is only the permission for secure Settings, do I have to permit the variable wifi_call_enable manualy via ADB as string?
Thanks in advance
melu
Thanks to Desmanto for the Reply. Mabe I get one step closer the solution.
Unfortunately it is not working yet. In the system settings I find the variable "wifi_call_enable" as a Global variable.
When I activate WifiCall in the Quicksettings, the value changes from 0 -> 1, so Automagic seems to read the "correct" variable.
How do I enable Global Settings for Automagic?
I used; (adb shell pm grant ch.gridvision.ppam.androidautomagic android.permission.WRITE_SECURE_SETTINGS)
but this is only the permission for secure Settings, do I have to permit the variable wifi_call_enable manualy via ADB as string?
Thanks in advance
melu
Re: WiFi calling control
If you enter that adb shell command, the write secure permission has been granted properly. It is for all category, including LineageOS system setting (if you use LOS based ROM).
Unfortunately if changing this value (wifi_call_enable) doesn't reflected back to the system, there is nothing you can do to trigger it. It is the same as the android Demo UI which is sysui_tuner_demo_on 1 (Global). When set to 1, the demo UI still not appear. I have to use root command and use the broadcast method to achieve that. But that is because SystemUI provide other method to trigger the Demo UI. I don't know if there is one for wifi calling.
So your last resort will be only using Control UI. But you'll have UI distraction. Look at my index, at the Control UI section.
Unfortunately if changing this value (wifi_call_enable) doesn't reflected back to the system, there is nothing you can do to trigger it. It is the same as the android Demo UI which is sysui_tuner_demo_on 1 (Global). When set to 1, the demo UI still not appear. I have to use root command and use the broadcast method to achieve that. But that is because SystemUI provide other method to trigger the Demo UI. I don't know if there is one for wifi calling.
So your last resort will be only using Control UI. But you'll have UI distraction. Look at my index, at the Control UI section.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.