➤➤➤➤➤ If your device is running Android 14 (Xiaomi HyperOS counts!!!) or above make sure to read the whole post carefully.
(if you are wondering why the above text is so big with so much color, it's because some people just can't read properly apparently)
In order to toggle Wifi (and a number of other features) on devices running Android 10+ a new helper file is now required. This helper file is built against an older target SDK allowing it to still invoke the Wifi functionality. It cannot appear on the Play Store since they no longer allow apps built against older SDKs to be uploaded.
The latest version of the MacroDroid Helper APK can be downloaded from the following link:
You may need to long press and click the download link above to get the file to download
Note that you will have to allow installation of APKs from external sources in order to install this APK. You will also need to ignore any warnings about it being built against an old version (that is the whole point). On most new devices Google Play Protect will show this warning. You should click on 'More details' then 'Install anyway'.
This APK replaces all functionality in the older Settings Helper available on the Play Store (so you may also uninstall). It also supports a new option in the system settings action as this may enable some settings which cannot be changed in the main app to be modified by the helper file.
After installation please launch the helper file and grant location permission and disable battery optimization (This is vital for everything to function reliably). You should be prompted for these at app launch but you can also do it via your phone's settings app.
Android 14 specific information
Android 14 prevents installation of any application build against a target SDK less than 23. Unfortunately for all helper file functionality to work it must be built against SDK 21.
The helper file can still be installed via the ADB tool and information regarding this process can be found here:
About Xiaomi HyperOS (running Android 14)
There currently is no know way to enable/disable wifi using the helper app alone. You need to use the adb tool. Here is a guide on how to do it automatically:
Why is this needed?
In simple terms because Google is gradually crippling the functionality of Android over time. On Android 10 and above when your app is built to target Android 10 then the set wifi request simply will no longer function. Google thinks users are too dumb to cope with more permissions, so instead of providing an explicit permission for this that apps can request, they take a blanket approach of disabling features that have worked for 10 years on Android "to protect user privacy", breaking 1000s of apps in the process.
API spec is here: https://developer.android.com/reference ... d(boolean)
Bug report/request to remove this limitation is here: https://issuetracker.google.com/issues/128554616 (Please star the issue if you haven't already)
If you are confused how it used to work on Android 10 without the helper then the reason is because the app was previously built to target Android 9, so this restriction didn't apply at that stage. In order to publish updates on the Play Store now all apps must target Android 10.
(if you are wondering why the above text is so big with so much color, it's because some people just can't read properly apparently)
In order to toggle Wifi (and a number of other features) on devices running Android 10+ a new helper file is now required. This helper file is built against an older target SDK allowing it to still invoke the Wifi functionality. It cannot appear on the Play Store since they no longer allow apps built against older SDKs to be uploaded.
The latest version of the MacroDroid Helper APK can be downloaded from the following link:
You may need to long press and click the download link above to get the file to download
Note that you will have to allow installation of APKs from external sources in order to install this APK. You will also need to ignore any warnings about it being built against an old version (that is the whole point). On most new devices Google Play Protect will show this warning. You should click on 'More details' then 'Install anyway'.
This APK replaces all functionality in the older Settings Helper available on the Play Store (so you may also uninstall). It also supports a new option in the system settings action as this may enable some settings which cannot be changed in the main app to be modified by the helper file.
After installation please launch the helper file and grant location permission and disable battery optimization (This is vital for everything to function reliably). You should be prompted for these at app launch but you can also do it via your phone's settings app.
Android 14 specific information
Android 14 prevents installation of any application build against a target SDK less than 23. Unfortunately for all helper file functionality to work it must be built against SDK 21.
The helper file can still be installed via the ADB tool and information regarding this process can be found here:
Installing helper on Android 14+
While waiting for an official guide, users are starting to come here to get help about installing or updating the helper app on Android 14+. Because Google is so keen to "protect our privacy", applications targeting SDK 22 or lower can no longer be installed or updated on devices - at least not...
www.macrodroidforum.com
About Xiaomi HyperOS (running Android 14)
There currently is no know way to enable/disable wifi using the helper app alone. You need to use the adb tool. Here is a guide on how to do it automatically:
(Guide) Setting up and using adb commands with Termux
This thread is for those who need to run ADB commands on their devices locally and automatically, as well for those whose devices don't support ADB hack to do certains operations - for example enabling/disabling mobile data on Xiaomi. Here we will be using Termux to run these commands. Big...
macrodroidforum.com
Why is this needed?
In simple terms because Google is gradually crippling the functionality of Android over time. On Android 10 and above when your app is built to target Android 10 then the set wifi request simply will no longer function. Google thinks users are too dumb to cope with more permissions, so instead of providing an explicit permission for this that apps can request, they take a blanket approach of disabling features that have worked for 10 years on Android "to protect user privacy", breaking 1000s of apps in the process.
API spec is here: https://developer.android.com/reference ... d(boolean)
Bug report/request to remove this limitation is here: https://issuetracker.google.com/issues/128554616 (Please star the issue if you haven't already)
If you are confused how it used to work on Android 10 without the helper then the reason is because the app was previously built to target Android 9, so this restriction didn't apply at that stage. In order to publish updates on the Play Store now all apps must target Android 10.
Last edited: