wifi autostart in airplane mode - Lenovo P2 Questions & Answers

If I enable airplane mode, after few minutes my wifi automatically enable by itself. I use the latest official rom [Lenovo P2a42, build p2a42_s251_171107ROW], never rooted. I looked for virus with malwarebyte and I found none. I disabled use of WLAN for improve geolocalization. I don't know which app enable my wlan, I checked apps permissions and I found nothing useful.
I created a task in tasker, when wifi is actived and airplane mode is off then tasker disable wifi. But this is an infinite loop, because when the task ends, the app (or system) soon try again and then tasker again shut wifi off.
How can I fix it?

I don't remember in detail, if it is the same for your stock ROM, but with Pie, there is an option in WiFi settings to turn on automatically if the device is near a known WiFi location. Did you check this?

Related

WLAN off when Screen off?

Hi,
I just discovered something strange: I use FolderSync to sync Music to my GN. I configured it to only sync when WLAN is available. When I sync and switch the screen of, then the Sync stops immediately and resumes when I switch the Screen back on. Is WLAN switched off when the screen is switched off? Did I miss some settings to configure that?
Thanks
May be related with some auto task killer or process killer like juice defender
Yes you missed some wifi settings. You can set there whether you want to turn off wifi with the screen, keep it always on or keep it always on while charging.
You can find it in:
Settings - wifi - ... - advanced
Thanks martan1981, but this is "always on" on my GN. So thats not the reason
Do you have any battery-saving apps like JuiceDefender or GreenPower installed? That could cause your data/wifi to turn off with the screen.
Or there could perhaps be a power-saving function built in to your ROM? I know AOKP has a Power Saver mode that could be enabled to turn data off with the screen.
wifi sleep policy should be set to never. But some people have a bug where this setting does not stick for some reason. You prob have this bug too.
I also have this problem how to fix it ?
No root stock 4.0.2

How to auto-start wifi on power-up and in airplane mode

So I have a EVO that I keep in airplane mode and use wifi only.
If I shut-down and power-up, the phone stays in airplane mode (just like I want) but the wifi does not auto-start.
Is there a way to add the wifi to something like a start-up (autoexe.bat in DOS, if I remember correctly) file so it will start on boot?
Thanks in advance.
ftawa said:
So I have a EVO that I keep in airplane mode and use wifi only.
If I shut-down and power-up, the phone stays in airplane mode (just like I want) but the wifi does not auto-start.
Is there a way to add the wifi to something like a start-up (autoexe.bat in DOS, if I remember correctly) file so it will start on boot?
Thanks in advance.
Click to expand...
Click to collapse
I did add a widget to display and control the wifi on-ff from the homepage but I still have to start it manually after every power-up.

[Q] enable airplane mode turns wifi off in 4.2?

i have 2 gnex phones that both just updated to 4.2, and prior to the update, when i turned on airplane mode, cell data would turn off but wifi would be left on.
after the 4.2 update, one phone continues to work that way, with airplane mode on, cell data is turned off but wifi is left on. the other phone, enabling airplane mode turns off both wifi and cell data.
i know that apps are not able to toggle airplane mode anymore (AutoAP) because of security changes but why would airplane mode work differently on 2 phones running the same 4.2 build?
both phones are running stock android, no root, no flashing.
is there a setting i'm missing? was this something in the update that other people are experiencing?
thanks for the help!
Can't you just toggle wifi back on after?
WiredPirate said:
Can't you just toggle wifi back on after?
Click to expand...
Click to collapse
yes, but it immediately shuts wifi back off.
with airplane mode on, i can go to the wifi settings screen, and hit the toggle, it turns on, scans, finds the local wifi, connects and at the same moment it connects the wifi on/off toggle flips back to off.
just seems weird that it is happening with this phone but mine is working as expected...
Then you must go back to 4.1.2 with 4.2 gapps.
Sent from my Galaxy Nexus using xda premium
danishprakash said:
Then you must go back to 4.1.2 with 4.2 gapps.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
any idea why it would work with one 4.2 phone and not the other?
seems odd i'd have to backport one phone but leave the other at 4.2
This happens on my Nexus 4. Airplane mode constantly disables WiFi, no matter what. And yes the app AutoAP doesn't work either.
I have found this app, Airplane Mode Wi-Fi Tool, funny that it was made for Android versions prior to 2.0.
The actual app doesn't seem to work (to enable/disable airplane mode and WiFi), but within the app lies a nifty feature in the Preferences menu under Extras:
Keep Wi-fi On
Wi-fi on Airplane Mode
Check both of those and you should be able to turn Airplane mode on and then keep WiFi on.
Cheers.
obscure.detour said:
This happens on my Nexus 4. Airplane mode constantly disables WiFi, no matter what. And yes the app AutoAP doesn't work either.
I have found this app, Airplane Mode Wi-Fi Tool, funny that it was made for Android versions prior to 2.0.
The actual app doesn't seem to work (to enable/disable airplane mode and WiFi), but within the app lies a nifty feature in the Preferences menu under Extras:
Keep Wi-fi On
Wi-fi on Airplane Mode
Check both of those and you should be able to turn Airplane mode on and then keep WiFi on.
Cheers.
Click to expand...
Click to collapse
thanks i'll try that out. that app is actually dev'd by the same guy as AutoAP.
chadd_k2 said:
thanks i'll try that out. that app is actually dev'd by the same guy as AutoAP.
Click to expand...
Click to collapse
that didn't work
i could check "keep wifi on" but whenever i went back to that settings page, it was unchecked again. like it was refusing to save.
the rest of the settings saved.
wrong thread
chadd_k2 said:
i have 2 gnex phones that both just updated to 4.2, and prior to the update, when i turned on airplane mode, cell data would turn off but wifi would be left on
Click to expand...
Click to collapse
im on ARHD 7.0.0 and even in prior versions, when airplane mode was turned on wifi would turn off but it could be turned back on. how come your wifi stays on during the airplane mod transition?
Isn't airplane mode means disable any active radio transmission includes Wi-Fi which is sent and receive data ?
If you just wanna stay off calls why don't you just use automatic redirect incoming calls to voice mail or just simply pull out the sim card?
Sent from my Galaxy Nexus using xda premium
Airplane mode is supposed to turn wifi off (its a transceiver). However, You can turn it back on while airplane mode is activated and still have the other functions off.
That how airplane mode is supposed to work, thats not a bug, every phone ive had does this
Sent from my Galaxy Nexus using Tapatalk 2
rptw said:
im on ARHD 7.0.0 and even in prior versions, when airplane mode was turned on wifi would turn off but it could be turned back on. how come your wifi stays on during the airplane mod transition?
Click to expand...
Click to collapse
i don't know why, but wifi always has always stayed on when switching to AP mode since i got our Gnex phones in sept. (4.1 i think). wifi even stayed enable when switching to AP mode in my old crappy kin two.
and i think it must be fairly common based upon the instructions in the $30 cell service thread, but i'm no android expert so maybe i'm wrong.
chadd_k2 said:
i have 2 gnex phones that both just updated to 4.2, and prior to the update, when i turned on airplane mode, cell data would turn off but wifi would be left on.
after the 4.2 update, one phone continues to work that way, with airplane mode on, cell data is turned off but wifi is left on. the other phone, enabling airplane mode turns off both wifi and cell data.
i know that apps are not able to toggle airplane mode anymore (AutoAP) because of security changes but why would airplane mode work differently on 2 phones running the same 4.2 build?
both phones are running stock android, no root, no flashing.
is there a setting i'm missing? was this something in the update that other people are experiencing?
thanks for the help!
Click to expand...
Click to collapse
There's a lot of talk about this. Check the [GUIDE] to voip/$30/month plans. But it sounds like google moved it into part of core services or something like that. So none of the autoap type programs work any more. But one member had this suggestion below in that other thread. Gotta buy Tasker, but should be able to get back to working like AutoAP did.
Download Secure Settings. Launch Secure Settings, go over to the Helper tab and install the helper. Then go to Tasker. Go into your task and delete the Airplane Mode radio step and the Airplane mode on step. Then hit the + at the bottom left, go to Plugins, select Secure Settings. Hit edit. Scroll down to "Airplane Mode Radios" and select it, and then select "Cell" from the dropdown. Hit the save button at the bottom left and select the check mark to create the task. Move the task where it needs to be by dragging on the right side up and down. Then create a new task, Plugins, Secure Settings, edit, Airplane mode, on, save button, check mark, move to position. You can figure out the rest. Works perfectly.
Llama works as well, it's free and looks less complicated
jpmanchester said:
There's a lot of talk about this. Check the [GUIDE] to voip/$30/month plans. But it sounds like google moved it into part of core services or something like that. So none of the autoap type programs work any more. But one member had this suggestion below in that other thread. Gotta buy Tasker, but should be able to get back to working like AutoAP did.
Download Secure Settings. Launch Secure Settings, go over to the Helper tab and install the helper. Then go to Tasker. Go into your task and delete the Airplane Mode radio step and the Airplane mode on step. Then hit the + at the bottom left, go to Plugins, select Secure Settings. Hit edit. Scroll down to "Airplane Mode Radios" and select it, and then select "Cell" from the dropdown. Hit the save button at the bottom left and select the check mark to create the task. Move the task where it needs to be by dragging on the right side up and down. Then create a new task, Plugins, Secure Settings, edit, Airplane mode, on, save button, check mark, move to position. You can figure out the rest. Works perfectly.
Click to expand...
Click to collapse
Many thanks. Got this working after playing with Secure Settings and Tasker, works great...:good:
delete
Delete
keep wifi on in airplane mode
I guess I have figured out how to do it with Tasker or Secure Settings.
Both have two actions like "Airplane Mode" and "Airplane Radios", so the second one doesn't turn off anything, but set, what to control with "Airplane Mode" action. Setting seems to be system wide and permanent (saved after reboot).
Good luck

Automatic turn off cellular radio?

The building where I work does not like my cell signal, for some reason. It reads 5 bars, but I get no calls and it says "searching." I have wi-fi calling, which works fine. If I leave the cell radio on, it eats through my battery in half a day even if I never turn on the screen. My workaround so far is to turn on airplane mode when I get to work, then reactivate my wi-fi radio and Bluetooth. It works, but it's clunky and I frequently forget to turn airplane mode back off again when I get in the car to go home if I'm thinking about other things.
Does anyone know if there is a way I could set up a script of some kind that can just deactivate the cell radio when connected to a specific network, and reactivate it when it disconnects? Not just mobile data, but the actual cell radio.
I've downloaded Tasker, Automate, and IFTTT, but so far, I just can't figure them out well enough to get any of them to do what I need them to do. If someone could walk me through how to use them effectively to accomplish this, I'm more than willing to do the work end myself.
Via Tasker app, you can make a profile to do the following actions:
1. Autoinput action to simulate tapping your Airplane Mode setting to ON.
2. Activate WiFi On to connect to your work WiFi.
3. Activate Bluetooth On to connect to any Bluetooth you want.
You can activate all the 3 actions above by pressing a created shortcut widget on your phone home screen when you reached your workplace.
Make another Tasker profile to do the following actions:
1. Automatically turn off WiFi when disconnected for 1 minute. This means when you leave your workplace, your WiFi will be disconnected then after 1 minute your WiFi setting will turn off.
2. Automatically turn off Bluetooth when disconnected for 1 minute (same as above).
3. Autoinput action to simulate tapping your Airplane Mode setting to Off.
The 3 actions above are automatically activated when you leave your workplace.
All the actions above can be activated without rooting your phone

Mobile data working although deactivated, airplane mode on, no wifi

Hi there,
i am facing a curious problem and i am kind of lost. Usually i (manually) set my phone on airplane mode during the night and thus was quite surprised when it kept vibrating because i got messages. So i took a look and was dumbfounded, when the quickSetting-buttons for airplane mode was highlighted (airplane mode active) and the ones for WLAN and MobileData were grey (deactivated). Sometimes, there were arrows blinking beside the mobile-data-button as if up-/downloading. After that i tried calling someone and it did work, too.
How is this possible? How can i get back my airplane mode?
I found a way to deactivate MobileData by going to the *#*#4636#*#* menu and deactivating "Mobile Radio Power" in the "Phone Information" tab, i'm not sure if it should be activated by default, but it is on my phone. If i deactivate this option MobileData gets deactivated, but it stays deactivated even when i activate MobileData in the QuickSettings.
I run LineageOS 18.1 (Android11) 2021-03-21
I have Tasker installed and tried to get it to be able to change to airplane mode and back, but i wasn't able to make it work yet.
So... Any Ideas? Help is much appreciated.
Kind regards,
d4foasta
d4foasta said:
Hi there,
i am facing a curious problem and i am kind of lost. Usually i (manually) set my phone on airplane mode during the night and thus was quite surprised when it kept vibrating because i got messages. So i took a look and was dumbfounded, when the quickSetting-buttons for airplane mode was highlighted (airplane mode active) and the ones for WLAN and MobileData were grey (deactivated). Sometimes, there were arrows blinking beside the mobile-data-button as if up-/downloading. After that i tried calling someone and it did work, too.
How is this possible? How can i get back my airplane mode?
I found a way to deactivate MobileData by going to the *#*#4636#*#* menu and deactivating "Mobile Radio Power" in the "Phone Information" tab, i'm not sure if it should be activated by default, but it is on my phone. If i deactivate this option MobileData gets deactivated, but it stays deactivated even when i activate MobileData in the QuickSettings.
I run LineageOS 18.1 (Android11) 2021-03-21
I have Tasker installed and tried to get it to be able to change to airplane mode and back, but i wasn't able to make it work yet.
So... Any Ideas? Help is much appreciated.
Kind regards,
d4foasta
Click to expand...
Click to collapse
Try the "SystemUI Tuner" application from the "Zachary Wander" developer on google play.
Just yesterday I took it off for the first time and noticed the option to control the airplane mode. It was an option whether to turn off the sim card or not in airplane mode.

Categories

Resources