MacroDroid Helper APK

thecid.ia2002

New member
How can I be 100% sure that this apk file is safe to sideload on my smartphone?
Being 100% sure is impossible, since it doesn't depend on the developer, there are many variants that can be modified, from small bugs, to the infected servers themselves. But the application is very stable, I've tested it in various environments with different cell phones.
 

NSTAdventure

New member
In order to toggle Wifi 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 is attached to this post and can also be downloaded from the following link:

https://www.macrodroidforum.com/MacroDroidHelper_v1_7.apk

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.

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.

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.
and now toggle wifi still not working even i use this app
all permission is granted used shell script to achieve same goal i am on android 10

help me please? 🙏😊
 

dhj49er

Well-known member
Make sue that Macrodroid and MD Helper have location permission set to on all the time.
Also location needs to be enabled and airplane mode needs to be disabled.
 

dhj49er

Well-known member
hello, I updated the phone and it says to me that a new version of md helper is needed
More information would be helpful, such as
What phone do you have
Android version
Macrodroid version installed
MD Helper version installed
 

Lydus

New member
Hey,

Been using the MD helper file for a few years now, and untill recently it has worked flawlessly.

Since a while I'm getting a pop-up whenever the helper file wants to turn wifi on or off. I have two options: deny (with a countdown) or allow.

The permissions of the helper file are unchanged. I have reset them and allowed everything again, but I still get the pop-up.

I'm on a POCO F3, MIUI 13.7. Recently updated (I think it was the Android June 2022 patch), does that have anything to do with this?
 

dhj49er

Well-known member
Hey,

Been using the MD helper file for a few years now, and untill recently it has worked flawlessly.

Since a while I'm getting a pop-up whenever the helper file wants to turn wifi on or off. I have two options: deny (with a countdown) or allow.

The permissions of the helper file are unchanged. I have reset them and allowed everything again, but I still get the pop-up.

I'm on a POCO F3, MIUI 13.7. Recently updated (I think it was the Android June 2022 patch), does that have anything to do with this?
Unfortunately this appears to be an Xiaomi generated popup.
I briefly had an F3 but found that Xiaomi had implemented multiple popups with 10 sec countdown timers for all apps accessibility settings. This wouldn't be too bad if it was set and forget as it is on nearly every other phone I've had. At seemingly random intervals the OS would reset all of the MD accessibility settings. This immediately stops MD working properly and it became a real PIA to wait for the 10 sec countdown timers.
On Android 12 Google have decided that no app should be able to turn WiFi on or off. I think Xiaomi have decided to intercept any attempt and force the user to wait for 10 secs via the popup.
The way around the Android 12 WiFi limitation is to use ADB Shell commands - search the forums and you'll find lots of information on how to do this.
Using ADB Shell (app from Google Store) usually needs a connection to a pc to set it up. Unfortunately the settings are lost on a power on reset and needs to be redone via a pc. There is a way using wireless debugging and another third party add-on such a LADB to do the setup without needing a pc.
I returned my F3 as the random resetting of the accessibility settings was a deal breaker, as it happened several times in the week I had the phone
 
Last edited:

Lydus

New member
Unfortunately this appears to be an Xiaomi generated popup.
I briefly had an F3 but found that Xiaomi had implemented multiple popups with 10 sec countdown timers for all apps accessibility settings. This wouldn't be too bad if it was set and forget as it is on nearly every other phone I've had. At seemingly random intervals the OS would reset all of the MD accessibility settings. This immediately stops MD working properly and it became a real PIA to wait for the 10 sec countdown timers.
On Android 12 Google have decided that no app should be able to turn WiFi on or off. I think Xiaomi have decided to intercept any attempt and force the user to wait for 10 secs via the popup.
The way around the Android 12 WiFi limitation is to use ADB Shell commands - search the forums and you'll find lots of information on how to do this.
Using ADB Shell (app from Google Store) usually needs a connection to a pc to set it up. Unfortunately the settings are lost on a power on reset and needs to be redone via a pc. There is a way using wireless debugging and another third party add-on such a LADB to do the setup without needing a pc.
I returned my F3 as the random resetting of the accessibility settings was a deal breaker, as it happened several times in the week I had the phone
Annoying that they only seemed to have implemented this recently because I have had android 12 since forever and it didn't happen before.

Just to clarify, this is a slightly different pop-up then the accessibility one you are talking about. That one indeed makes you wait before you can ok it, in my case not doing anything before the count down ends mean you automatically denied the wifi change. In my case that means that I most likely won't even see it because the phone will be in my pocket when the specific macro is executed.
 

dhj49er

Well-known member
Annoying that they only seemed to have implemented this recently because I have had android 12 since forever and it didn't happen before.

Just to clarify, this is a slightly different pop-up then the accessibility one you are talking about. That one indeed makes you wait before you can ok it, in my case not doing anything before the count down ends mean you automatically denied the wifi change. In my case that means that I most likely won't even see it because the phone will be in my pocket when the specific macro is executed.
But surely you want the WiFi change to happen not be denied?
 

eros"1905

New member
Android version Mui 13 Android 12
Macrodroid version installed
MD Helper version installed
adb hack tamam
code:

adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION
adb shell pm grant com.arlosoft.macrodroid android.permission.DUMP
adb shell pm grant com.arlosoft.macrodroid android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER
adb shell pm hibe com.arlosoft.macrodroid android.permission.READ_LOGS
.....?

my problem is asking for permission when turning wifi on and off


can it be resolved?

without root permission
 

Attachments

  • Screenshot_2022-08-25-11-18-47-096_com.lbe.security.miui.jpg
    Screenshot_2022-08-25-11-18-47-096_com.lbe.security.miui.jpg
    374.3 KB · Views: 26
Last edited:

Endercraft

Moderator (& bug finder :D)
Android version Mui 13 Android 12
Macrodroid version installed
MD Helper version installed
adb hack tamam
code:

adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION
adb shell pm grant com.arlosoft.macrodroid android.permission.DUMP
adb shell pm grant com.arlosoft.macrodroid android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER
adb shell pm hibe com.arlosoft.macrodroid android.permission.READ_LOGS
.....?

my problem is asking for permission when turning wifi on and off


can it be resolved?

without root permission
Try to look in the App permissions to see if you find something about Wi-Fi. If not use UI Interaction to automatically click on "Allow once".
 
Top