![]() ![]() Security exception: grantRuntimePermission: Neither user 2000 nor current process has _RUNTIME_PERMISSIONS. In order to grant ADB access to this helper file please use the following command:Īdb shell pm grant _SECURE_SETTINGSĬ:\Users\Francesco>adb shell pm grant _SECURE_SETTINGS Starting with MacroDroid v5.8 a new helper file is available to perform some limited functionality that cannot be done directly in the app. In this case please check your phone's developer options and look for a setting called "Disable permission monitoring" or "USB debugging (Security settings)" or anything similar and enable/disable it as appropriate. Neither user 2000 nor current process has _RUNTIME_PERMISSIONS On some devices there can be an error granting ABD permission that looks like this: ![]() The features above are currently the only features that can be utilised by this adb permission hack, but I hope in the future I can expand the capability to allow additional features. It's a little bit of work but hopefully a nice solution for users who are unable to or don't want to root their device. These commands will give MacroDroid permission to write to some restricted device settings that can normally only be done by system apps (or using root hacks). If you are using the Logcat trigger you will need the following permission:Īdb shell pm grant _LOGS If you are using the volume button long press trigger you will need the following permission:Īdb shell pm grant _VOLUME_KEY_LONG_PRESS_LISTENER If you are using the demo mode action you will also need the following permission:Īdb shell pm grant Once you have a working adb connection, you need to run the following command from the command line/terminal on your computer:Īdb shell pm grant _SECURE_SETTINGSĪdb shell pm grant _CONFIGURATION ![]() In order to do this you will need a Windows/Linux based PC or a Mac plus Google's ADB tool which can be downloaded from the links below:įor instructions on configuring your device to connect via adb please see the following information: Starting with MacroDroid V3.16.11 (with some effort) you can now invoke the following features on a non-rooted device: ![]()
0 Comments
Leave a Reply. |