Hello,
I have a task that works like a charm: If wi-fi connection disconnected, it disables wi-fi option after one minute. So far so good, but what I want to create is that I generally use airplane mode at home and manually turn on wi-fi. If wi-fi disconnected anyhow (e.g. I decide to go out), this task does not work and let wi-fi option enabled. I have been working for hours to overcome this problem with no success. Is there a way to turn off wi-fi option after disconnected and one minute later, regardless on Airplane mode or not? (I do not use a rooted phone).
Hey,
I've tested this with my phone (Pixel 3 on Android 11) and it works as expected. Wifi get disabled as soon as it lost the connection to the access point, regardless if airplane mode is on or not.
According to the description of the action "Wifi" the behaviour you mentioned is expected prior to Android 2.0 (see https://tasker.joaoapps.com/userguide/en/help/ah_index.html). But I don't think that you're using such an old version.
Maybe you can work around this "issue" by removing wifi from the airplane mode: create a new task, add the action "Airplane Radios" and select all radios except "Wifi". Execute the task once.
When wifi is enabled and you activate the airplane mode, wifi will not be disabled now. Not sure if this is OK for you, but it could cause that your disable-wifi-after-1-minute-disconnected-task will work when airplane mode is enabled.
Jas
I haven't flown since someone posted this, but this might work for what you want:
Execute the following command in the command prompt or terminal:
adb shell
Then run the following command to prevent Airplane Mode from turning off WiFi:
settings put global airplane_mode_radios cell,bluetooth,nfc,wimax
Alternatively, you could do this command to prevent Airplane Mode from turning off WiFi and Bluetooth:
adb shell
settings put global airplane_mode_radios cell,nfc,wimax
Each item we remove from the list tells Android to leave that radio on when Airplane Mode is toggled on.
If you ever want to return things back to how they were, you can execute the following command in an ADB shell prompt:
settings delete global airplane_mode_radios
JasMan78 said:
Hey,
I've tested this with my phone (Pixel 3 on Android 11) and it works as expected. Wifi get disabled as soon as it lost the connection to the access point, regardless if airplane mode is on or not.
According to the description of the action "Wifi" the behaviour you mentioned is expected prior to Android 2.0 (see https://tasker.joaoapps.com/userguide/en/help/ah_index.html). But I don't think that you're using such an old version.
Maybe you can work around this "issue" by removing wifi from the airplane mode: create a new task, add the action "Airplane Radios" and select all radios except "Wifi". Execute the task once.
When wifi is enabled and you activate the airplane mode, wifi will not be disabled now. Not sure if this is OK for you, but it could cause that your disable-wifi-after-1-minute-disconnected-task will work when airplane mode is enabled.
Jas
Click to expand...
Click to collapse
Thank you. ADB Airplane radios solution works like a charm.
JimSmith94 said:
I haven't flown since someone posted this, but this might work for what you want:
Execute the following command in the command prompt or terminal:
adb shell
Then run the following command to prevent Airplane Mode from turning off WiFi:
settings put global airplane_mode_radios cell,bluetooth,nfc,wimax
Alternatively, you could do this command to prevent Airplane Mode from turning off WiFi and Bluetooth:
adb shell
settings put global airplane_mode_radios cell,nfc,wimax
Each item we remove from the list tells Android to leave that radio on when Airplane Mode is toggled on.
If you ever want to return things back to how they were, you can execute the following command in an ADB shell prompt:
settings delete global airplane_mode_radios
Click to expand...
Click to collapse
Thank you very much. Removing WiFi via ADB command from Airplane radios solution worked like charm!
Related
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
#1- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
#2- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
#3- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
#4- Enable 3G every 30 minutes and then turn off
#5- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
For #2 - Create a task that will be triggered by a Time context. Turning Airplane mode On or Off at specific times and days
For #3 - Create a task that will automatically turn off WiFi if not successfully connected to a WiFi network after say 1 minute
For #4 - From Lollipop onward, android has blocked third party apps to control 3G.
For #5 - Create a task that will be triggered by an event (i.e. starting of an app). Enable GPS upon starting a Navigation app like Google Maps. Add an exit task to turn off GPS when Navigation app was stopped.
During the state that the phone is on airplane mode, you cannot turn On the 3g.
You can see some profile and task examples in tasker settings/browse examples.
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
You will need root access to toggle Airplane mode, GPS and Mobile data. It can be done without root though with help of a plugin to Tasker named AutoInput. But if you are new to Tasker this plugin can be a little bit tricky.. Before I rooted my phone I used it myself to toggle GPS to high accuracy when opening Maps and back to Power saving when Maps was closed, also Mobile data ON/OFF when disconnected/connected to Wifi. AutoInput works good but is a ``workaround´´ to access settings that are not allowed by third party applications to use, it opens the menus and do clicks like it would be done by yourself. Not so easy to explain, I would recommend you to visit THIS page to learn more.
If you are are rooted its more easy, you need another Tasker plugin named Secure Settings but its far more easy to use since you only select ``Airplane mode ON´´ or ``GPS high accuracy ON´´ etc. No workarounds needed like with AutoInput.
Android Marshmellow + rooted.
I'm using (like so many) a few profiles/taks to switch from Mobile Data to Wifi when i get home and back when i leave home. Works pretty nice but... not all the time.
The reason behind this is the difference on how Wifi and Mobile Data are activated.
If changed both manually (via the drop down menu) both act as a toggle.
But within tasker this behaviour changes. Wifi has an On / Off option, Mobile Data has to but that doesn't work anymore since Google changed the activation for Mobile Data which means that you can only set it with the help of Active Input and that turns it into a toggle.
And this creates a syncronisation problem between Wifi and Mobile Data.
I'll explain the difference:
If i set Wifi to ON Wifi goes ON.
If i set Wifi again to ON, Wifi stays ON. It will only go OFF when i set it to OFF.
It behaves as a physical switch.
Mobile Data however does not.
If i activate Mobile Data through Active Input and it's OFF, it will go ON. And when it's ON it will go OFF.
It behaves a toggle.
Now this works OK as long as everything is in sync.
If Mobile Data is ON and i reach home, Wifi is turned ON, i get the connected signal and Mobile Data is turned OFF. Same goes the other way, if i leave home, Wifi connection is lost and Wifi is turned Off. When the connection is lost Mobile Data is turned On again. Works nice.
But this can get out of sync because of the switch/toggle behaviour.
Example:
If i'm home, Wifi is ON and Mobile Data is OFF. If i turn Wifi OFF manually , the connection is lost and Mobile Data comes ON. If i turn Wifi back ON, Mobile Data goes OFF again.
But the other way there is a problem. If i'm not home and turn Mobile Data OFF somewhere and reach at home, tasker sees this, turns on Wifi and "toggles" Mobile Data to be OFF but since it's a toggle action, Mobile Data will come ON instead and both are then ON. And from then on the nice syncronisation between Wifi and Mobile Data is gone.
This manual override (like i like to call it) also doesn't update the variable i use which is logical since the Mobile Data wasn't "toggled" through Tasker.
I tried to solve this with a double variable check together with a variable i set when Mobile Data is connected (2G,3G,or 4G) and then toggle Mobile Data according to this and set/reset the variables but while this should work better in theory, it still doesn't work all the time because indoors, Mobile Data connection can be lost and then the Mobile Data toggles again to a state i don't want again setting a desyncronisation between Wifi and Mobile Data. In fact, due to this the syncronisation has become more unstable. So i removed the Mobile Data connected part again.
Questions:
- Is there a way to make Mobile Data work as a switch instead of a toggle?
- If not, is there a way to detect is the Mobile Data button has been touched (which i could then use in a variable)?
I'm using shell commands to switch mobile data on/off.
If your selinux is permissive, simply run a shell command with this:
Code:
svc data enable;
or
Code:
svc data disable;
If your selinux is enforcing, you need to add two lines, so it looks like this:
Code:
setenforce permissive;
svc data enable;
setenforce enforcing;
and respectively
Code:
setenforce permissive;
svc data disable;
setenforce enforcing;
Needless to say, you need root access for this.
I'm afraid that's currently above my head...
To add a shell command:
Code > Run Shell
Tick "root"
Put the codes from above in "Command"
Sukarn said:
To add a shell command:
Code > Run Shell
Tick "root"
Put the codes from above in "Command"
Click to expand...
Click to collapse
Exactly. [emoji106]
If i do that, can you then explain at least what it does exactly?
I guess it will turn on/off mobile data but on what basis?
How do these commands know when to turn it on or off depending on my wifi state?
What does " if your selinix is enforcing" means?
Edit: Got it partly working with the shell commands. Mobile data doesn't always turn off when wifi comes back on and is connected. It still can get out of sync.
It does not check the state of the mobile data if i interact and turn it on/off manually because it doesn't seem to know in what state is after playing around with it manually.
Also, tasker sometimes seems to get stuck somewhere in the middle of the code for disabling the mobile data.
Need to look a bit more into why tommorow...
Update:
Got it fully working with the shell commands and sync between Wifi and Mobile Data seems OK (for now at least).
I'm using the settings get global mobile_date command to put the status into a variable and then work with this and the wifi status variable to toggle Mobile Data on and off.
One thing i haven't found yet is what the settings get mobile_data exactly returns, the state of the toggle button in the notification screen or the state of the mobile data being connected?
First of all this is not my work. This mod was originally created by @paul2112. Send him a PM and thank him. I'm simply a guy brave enough to try this on the Note 8. I'm using tethering right now on my Note 8 to type this. It works.
That said follow the steps below to enable both the USB tether and the Wireless Hotspot tethering:
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. Click me.
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
Credits:
@paul2112 -- Hotspot Fix
@Snoop05 -- ADB Fast Installer
rawintellect said:
First of all this is not my work. This mod was originally created by @paul2112. Send him a PM and thank him. I'm simply a guy brave enough to try this on the Note 8. I'm using tethering right now on my Note 8 to type this. It works.
That said follow the steps below to enable both the USB tether and the Wireless Hotspot tethering:
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. Click me.
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
Credits:
@paul2112 -- Hotspot Fix
@Snoop05 -- ADB Fast Installer
Click to expand...
Click to collapse
Might try this sometime. Thanks.
Didn't work for me... Verizon model.
rawintellect said:
First of all this is not my work. This mod was originally created by @paul2112. Send him a PM and thank him. I'm simply a guy brave enough to try this on the Note 8. I'm using tethering right now on my Note 8 to type this. It works.
That said follow the steps below to enable both the USB tether and the Wireless Hotspot tethering:
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. Click me.
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
5. Enable the bypass
a. Disable the DUN requirement
b. Overwrite the DUN APN
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
Credits:
@paul2112 -- Hotspot Fix
@Snoop05 -- ADB Fast Installer
Click to expand...
Click to collapse
I literally just got finished with this from the original article...lol. My tether was working great on my unlocked version until last night so I was forced to find another way...I wad going to try a method for the Note 7 until I saw this which is similar...
snwbrdr852 said:
Didn't work for me... Verizon model.
Click to expand...
Click to collapse
Did you cycle off Mobile data before enabling the hotspot? Then turn mobile data back on when the hotspot is enabled? Takes a little bit for the Internet to show up. I don't know about Verizon but I can definitely confirm that this works on my phone with Sprint.
rawintellect said:
Did you cycle off Mobile data before enabling the hotspot? Then turn mobile data back on when the hotspot is enabled? Takes a little bit for the Internet to show up. I don't know about Verizon but I can definitely confirm that this works on my phone with Sprint.
Click to expand...
Click to collapse
Yep, did it exactly as described.
My hotspot will not turn on when mobile data is off, and it gives the "subscription required" error when mobile data is on.
This bypass must not have been intended for grandfathered UDP.
snwbrdr852 said:
Yep, did it exactly as described.
My hotspot will not turn on when mobile data is off, and it gives the "subscription required" error when mobile data is on.
This bypass must not have been intended for grandfathered UDP.
Click to expand...
Click to collapse
Sorry to hear that. All is well on the sprint side. Perhaps someone else can confirm or deny this works on Verizon? Heck, any feedback would be appreciated.
Can confirm this works on T-Mobile.
snwbrdr852 said:
Yep, did it exactly as described.
My hotspot will not turn on when mobile data is off, and it gives the "subscription required" error when mobile data is on.
This bypass must not have been intended for grandfathered UDP.
Click to expand...
Click to collapse
Try this method.
Soft reset the phone, and once the phone boots up go directly to hotspot and turn it on..
it should turn on and remain on for as long as you want, once you turn it off it will not work again until next reboot.
Team DevDigitel said:
Try this method.
Soft reset the phone, and once the phone boots up go directly to hotspot and turn it on..
it should turn on and remain on for as long as you want, once you turn it off it will not work again until next reboot.
Click to expand...
Click to collapse
Just tried this. Same exact results, unfortunately.
I even tried turning mobile data off prior to rebooting and turning on hotspot immediately upon startup, but no go.
The sim eject method works for me, but that's too inconvenient to be useful for my purposes. I'm really looking for something that will just allow it to work normally while bypassing the subscription check.
On my s7, the only way to get tethering with Verizon is to slightly eject the SIM, wait a second, pop the SIM back in, wait another second, then enable hotspot. Works every time once you get then hang of it.
Try this method and report Back? It took me a few tries to get it, but it definitely works on the s7.
I only tether with Vz very rarely. My tmobile plan gives 10gb LTE tethering so I don't have much need. It's a pain in the a$$ because my s7 is in an otterbox defender too but it's nice to know I can when I need it.
Sent from my SM-N950U using Tapatalk
For Verizon, I was able to get WiFi tether working by disabling the Mobile Hotspot app in BK Disabler.
sixtythreechevy said:
For Verizon, I was able to get WiFi tether working by disabling the Mobile Hotspot app in BK Disabler.
Click to expand...
Click to collapse
What is the name of the app? I could not find it searching for 'mobile' or 'hotspot'
kiwiguy99 said:
What is the name of the app? I could not find it searching for 'mobile' or 'hotspot'
Click to expand...
Click to collapse
2nd app in screenshot highlighted by checkbox.
sixtythreechevy said:
2nd app in screenshot highlighted by checkbox.
Click to expand...
Click to collapse
Hmmm.......I don't have that app installed. I have the unlocked N8 and I think that may be a Verizon app.
I still have a section under settings called 'Mobile hotspot and tethering' . I was going to try to use BK to disable that and see if FoxFi worked.
sixtythreechevy said:
2nd app in screenshot highlighted by checkbox.
Click to expand...
Click to collapse
After disabling this, where do you go to turn on wifi tethering?
Bizmaniz said:
After disabling this, where do you go to turn on wifi tethering?
Click to expand...
Click to collapse
Under Settings , Connections or Mobile tether like in my screenshot. I have simple settings on due to Bixby
Well my fix worked once but now it is not. Odd...
EDIT: Enabled the Hotspot app again and performed the steps in the OP and this is working at least for now. I did not have to turn off mobile data first.
So if you are on Verizon, you simply need to do the steps in the OP. Hopefully it sticks.
2nd EDIT: Rebooted and it stuck.
So I wanted to share my experience with this. I just recently changed my Tmobile plan to one that doesn't include hotspot, only unlimited internet. I did have a Nexus 6 that was rooted so of course getting my hotspot to work was easy. When I upgraded to the Note8 I was afraid of losing my hotspot especially with no root. So what I ended up doing was creating a new Apn because they won't let you edit the first one. After making a new apn I pretty much copied the same settings with the exception of adding dun to apn type, and changing the apn protocol to ipv4... After those changes my hotspot works perfectly, unlimited!!!
Sent from my SM-N950U using Tapatalk
DaMyth said:
So I wanted to share my experience with this. I just recently changed my Tmobile plan to one that doesn't include hotspot, only unlimited internet. I did have a Nexus 6 that was rooted so of course getting my hotspot to work was easy. When I upgraded to the Note8 I was afraid of losing my hotspot especially with no root. So what I ended up doing was creating a new Apn because they won't let you edit the first one. After making a new apn I pretty much copied the same settings with the exception of adding dun to apn type, and changing the apn protocol to ipv4... After those changes my hotspot works perfectly, unlimited!!!
Sent from my SM-N950U using Tapatalk
Click to expand...
Click to collapse
This is great if your screen isn't grayed out by your carrier. My sprint APN screen looks like this. What you've done is exactly what the command through adb is doing. It's also removing the DUN requirement altogether.
Want profile so that when airplane mode is on, I want wifi to stay on. Any ideas? Want it set for a certain time.
Wifi cannot be on when airplane mode is on. I have tried automating it with tasker, and manually doing it. I get errors. I think this is just the way airplane mode works.
Why use wifi with airplane mode anyways?
There is a way of doing it there are some secure setting which you can toggle to prevent certain radio to switch off when activating aeroplane mode,
There is also a guide that I quickly found, which allow you to do it another way via a pc >
Snowby123 said:
Wifi cannot be on when airplane mode is on. I have tried automating it with tasker, and manually doing it. I get errors. I think this is just the way airplane mode works.
Why use wifi with airplane mode anyways?
Click to expand...
Click to collapse
Um...yeah u can have WiFi on with airplane on. Done it tons of times.
Snowby123 said:
Wifi cannot be on when airplane mode is on. I have tried automating it with tasker, and manually doing it. I get errors. I think this is just the way airplane mode works.
Why use wifi with airplane mode anyways?
Click to expand...
Click to collapse
I want airplane on and WiFi on while I'm sleeping.
jerryspring said:
I want airplane on and WiFi on while I'm sleeping.
Click to expand...
Click to collapse
Just create a Task:
1. Turn Airplane Mode On via Tasker Autoinput (or if you're rooted via plugin Secure Setttings)
2. Turn WIFi On
The above Task will be triggered by a Profile based on your desired time of day.
GrippingSphere said:
Just create a Task:
1. Turn Airplane Mode On via Tasker Autoinput
2. Turn WIFi On
The above Task will be triggered with a Profile based on your desired time of day.
Click to expand...
Click to collapse
Where is option to turn AP on with autoinput?
jerryspring said:
Where is option to turn AP on with autoinput?
Click to expand...
Click to collapse
In Autoinput, a series of Autoinput actions must be created , i.e.:
Autoinput Global Action 'Quick Settings'
Autoinput Action short click point (x, y axis where the icon Airplane Mode is located)
Autoinput Action short click to confirm the AP
GrippingSphere said:
In Autoinput, a series of Autoinput actions must be created , i.e.:
Autoinput Global Action 'Quick Settings'
Autoinput Action short click point (x, y axis where the icon Airplane Mode is located)
Autoinput Action short click to confirm the AP
Click to expand...
Click to collapse
Thank you. But no thanks. Lol
Here's mine, it does what your asking
https://taskernet.com/shares/?user=...SOy/dBP01BrT44gcC6k4E=&id=Profile:Sleep+Cycle
It turns on airplane mode then every interval turns WiFi on to allow notifications then goes dark again. No add-ons needed just root. It uses shell commands for both WiFi and airplane mode with waits in-between.
Edit: There is also a shell command that allows you to pick what radios go off when airplane mode is turned on. So essentially you can omit WiFi so that when you turn ap mode on WiFi stays on. But in my profile I chose to turn it off manually by code so WiFi isn't on the whole time.
There's an option within Tasker to turn WiFi On or Off, but of course will only work when rooted.
https://www.xda-developers.com/customize-radios-airplane-mode-android/
Works for me in OxygenOS OB33 pie!
Sent with much love & Android. OnePlus 5T OB33
n0j0e said:
https://www.xda-developers.com/customize-radios-airplane-mode-android/
Works for me in OxygenOS OB33 pie!
Sent with much love & Android. OnePlus 5T OB33
Click to expand...
Click to collapse
Thank you for link that is the code I was talking about. And just to add, if you don't want to use adb from PC to run code you can do it through Android terminal with root.
Hello,
Today I have received Tasker V6, and I was very happy to find that it is now possible to turn ON/OFF Airplane Mode easily. It works great.
Now I want to turn ON WiFi while Airplane Mode ON, but I Tasker says that it is not possible to toggle/change WiFi since API 29 [while in Airplane Mode]. Which is weird, because I can do it manually since years.
I have tried inserting the instruction Airplane Radios before, but Airplane Radios itself always returns "Error: 1". This is with all the possible combinations of checkboxes ticked. There is something wrong with "Airplane Radios"? Or it requires root to work?
The ultimate goal I want is to put my phone fixed into VoWiFi (voice over WiFi) when I am at my office, which has a very bad signal strength.
I am using Tasker 6 on a Galaxy S22 Ultra. No root. Android 12.
Thank you very much.
@paggps try your question over at the r/tasker Reddit forum. The Developer is very responsive there. Maybe question already addressed perhaps...