java.lang.SecurityException: com.llamalab.automate.ext.* was not granted this permission: android.permission.WRITE_SETTINGS.
java.lang.SecurityException: com.llamalab.automate.ext.settings was not granted this permission: android.permission.WRITE_SETTINGS.
to
java.lang.SecurityException: com.llamalab.automate.ext.network was not granted this permission: android.permission.WRITE_SETTINGS.
Some users are having issue with the transition from the old permission add-ons, to the (new) Android 6+ run-time permission model, resulting in security failures such as:
Fix which seems to work for most users:
- Stop all flows
- Make a backup, see settings
- Uninstall Automate
- Uninstall all permission add-ons, see system Apps settings.
- Reboot the device
- Reinstall Automate
- Restore backup
- Optional, use ADB to grant "superuser" permission, see:
https://groups.google.com/d/topic/automate-user/HUm7yZPv578/discussion- Grant "privileges" required by flows
- Restart flows
Please let me know if you has Automate installed prior to version 1.11.3, i.e. the old permission model, or not.
https://groups.google.com/forum/m/#!topic/automate-user/iom824EjmVQ
2018-06-11 09:36:10.643 FAIL 85@2: java.lang.SecurityException: com.llamalab.automate.ext.network was not granted this permission: android.permission.WRITE_SETTINGS.
http://llamalab.com/automate/community/flows/7137
I'm on a Pixel 2 XL running Oreo 8.1.
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/bac0a7e9-e3fe-42fb-b8ea-77196911a157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What I did but I have one flow which force reinstallation of "Automate connectivity permission". I don't know if it's the problem cause.
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/c9785785-0644-4de3-8719-b9f5d196f6a9%40googlegroups.com.
I followed your post, two time to be sure, and the problem always come back. If the permission are now granted to the "main" application why this addon is still required ? Is it work in progress ?---
Florent FievezGsm: +32 494 43 08 51
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/d5c25ceb-4033-44ee-943b-5f567e2d2540%40googlegroups.com.
Ok I found a working workaround at least on my device:Automate > settings > privileges > modify private settingsThis trigger installation of "Automate settings permissions" add on and it works.Don't have you forgot to enable a permission in the main app ?
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/dd48b78a-f125-4da3-a591-4804a0fae01f%40googlegroups.com.
+1 I thought it was fixed but just worked a couple of times before it failed again.Do you plan releasing an update for this (or force downgrade to the working version until you find a solution)?
2018-07-03 05:42:27.504 INFO 14@7: Power source plugged? 2018-07-03 05:42:27.507 INFO 14@9: Bluetooth set state 2018-07-03 05:42:27.546 INFO 14@3: Bluetooth device connected? 2018-07-03 05:42:27.875 INFO 14@25: Audio player control 2018-07-03 05:42:28.001 INFO 14@4: Wi-Fi hotspot set state 2018-07-03 05:42:28.214 FAIL 14@4: java.lang.SecurityException: com.llamalab.automate.ext.network was not granted this permission: android.permission.WRITE_SETTINGS. 2018-07-03 05:42:28.215 INFO 14@4: Stopped by failure
Btw. I noticed that I have some infinite loop of PowerSourcePlugged and Bluetooth set state, so maybe this has some impact. I will check that by modofying my flow to remove the loop.
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/f8a440a1-c46d-4a25-8c58-91fc2dd635bb%40googlegroups.com.
Yes wifi hotspot set state. Non-rooted device.Android 8.0.0 (Samsung flavor)
Don't hesitate if you want me to do some tests in order to help you debug this thing.
Some users are having issue with the transition from the old permission add-ons, to the (new) Android 6+ run-time permission model, resulting in security failures such as:
The issue seems to be fixed by ensuring that the main app package is installed first, i. e.:
- Stop all flows
- Make a backup, see settings
- Uninstall Automate
- Uninstall all permission add-ons, see system Apps settings.
- Reboot the device
- Reinstall Automate
- Restore backup
- Optional, use ADB to grant "superuser" permission, see:
https://groups.google.com/d/topic/automate-user/HUm7yZPv578/discussion- Grant "privileges" required by flows
- Restart flowsPlease let me know if you has Automate installed prior to version 1.11.3, i.e. the old permission model, or not.Include Android version, device model, and which block is causing it!I need to determine if this issue is caused by the transition, or the new model, in which case i may have to abandon the remaining three add-ons.
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/7360b542-c42f-4fe1-961b-82e502313700%40googlegroups.com.
Lars
http://llamalab.com/automate/community/flows/21295
The flow detects whether the Oreo UI workaround is needed by checking for an exception from a Wi-Fi Hotspot block during setup.
Lars
Having Nougat (7.0) and joined the Automate Alpha channel --> this configuration worked OK for a few days, but then it stopped (back to the WRTIE_SETTINGS problem)
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/89987a63-4e27-4870-8463-74e2bf533bcc%40googlegroups.com.
It worked for me for a month but stopped again today, was there any update?
2018-07-28 09:06:22.544 INFO 80@1: Flow beginning 2018-07-28 09:06:22.550 INFO 80@2: Wi-Fi hotspot set state 2018-07-28 09:06:22.561 DBUG 80@2: package=com.llamalab.automate, packages=[com.llamalab.automate.ext.network, com.llamalab.automate, com.llamalab.automate.ext.settings] 2018-07-28 09:06:22.562 DBUG 80@2: uid=10304, callingUid=10304 2018-07-28 09:06:22.563 DBUG 80@2: WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=true 2018-07-28 09:06:22.572 DBUG 80@2: com.llamalab.automate.ext.costly: not installed 2018-07-28 09:06:22.574 DBUG 80@2: com.llamalab.automate.ext.location: not installed 2018-07-28 09:06:22.575 DBUG 80@2: com.llamalab.automate.ext.media: not installed 2018-07-28 09:06:22.586 DBUG 80@2: com.llamalab.automate.ext.network: uid=10304, WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=false 2018-07-28 09:06:22.587 DBUG 80@2: com.llamalab.automate.ext.personal: not installed 2018-07-28 09:06:22.590 DBUG 80@2: com.llamalab.automate.ext.settings: uid=10304, WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=true 2018-07-28 09:06:22.592 DBUG 80@2: com.llamalab.automate.ext.storage: not installed 2018-07-28 09:06:22.593 DBUG 80@2: com.llamalab.automate.ext.superuser: not installed 2018-07-28 09:06:22.595 DBUG 80@2: com.llamalab.automate.ext.telephony: not installed 2018-07-28 09:06:22.612 FAIL 80@2: java.lang.SecurityException: com.llamalab.automate.ext.network was not granted this permission: android.permission.WRITE_SETTINGS. 2018-07-28 09:06:22.613 INFO 80@2: Stopped by failure
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/6ef0c245-4e1f-4539-849a-1c69d3d534bc%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/8b0ca94b-c0b8-4a47-b85d-7006357bf60a%40googlegroups.com.
2018-07-28 09:06:22.561 DBUG 80@2: package=com.llamalab.automate, packages=[com.llamalab.automate.ext.network, com.llamalab.automate, com.llamalab.automate.ext.settings]
Galaxy S8 and android 8.0.02018-07-28 09:06:22.544 INFO 80@1: Flow beginning 2018-07-28 09:06:22.550 INFO 80@2: Wi-Fi hotspot set state 2018-07-28 09:06:22.561 DBUG 80@2: package=com.llamalab.automate, packages=[com.llamalab.automate.ext.network, com.llamalab.automate, com.llamalab.automate.ext.settings] 2018-07-28 09:06:22.562 DBUG 80@2: uid=10304, callingUid=10304 2018-07-28 09:06:22.563 DBUG 80@2: WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=true 2018-07-28 09:06:22.572 DBUG 80@2: com.llamalab.automate.ext.costly: not installed 2018-07-28 09:06:22.574 DBUG 80@2: com.llamalab.automate.ext.location: not installed 2018-07-28 09:06:22.575 DBUG 80@2: com.llamalab.automate.ext.media: not installed 2018-07-28 09:06:22.586 DBUG 80@2: com.llamalab.automate.ext.network: uid=10304, WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=false 2018-07-28 09:06:22.587 DBUG 80@2: com.llamalab.automate.ext.personal: not installed 2018-07-28 09:06:22.590 DBUG 80@2: com.llamalab.automate.ext.settings: uid=10304, WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=true 2018-07-28 09:06:22.592 DBUG 80@2: com.llamalab.automate.ext.storage: not installed 2018-07-28 09:06:22.593 DBUG 80@2: com.llamalab.automate.ext.superuser: not installed 2018-07-28 09:06:22.595 DBUG 80@2: com.llamalab.automate.ext.telephony: not installed 2018-07-28 09:06:22.612 FAIL 80@2: java.lang.SecurityException: com.llamalab.automate.ext.network was not granted this permission: android.permission.WRITE_SETTINGS. 2018-07-28 09:06:22.613 INFO 80@2: Stopped by failure
It works again with the latest Google Play version and after reboot.
And to reply to your other post, I always install Automate first.
Then I select each flow to enable required privileges.
And when I tick "access local network, internet and nearly devices" I'm asked to install the connectivity permission app.
Thanks.
Luc
2018-07-30 18:29:54.227 INFO 7589@1: Flow beginning
2018-07-30 18:29:54.229 INFO 7589@2: Bluetooth device connected?
2018-07-30 20:16:45.563 INFO 7589@3: Bluetooth tethering set state
2018-07-30 20:16:45.688 FAIL 7589@3: java.lang.SecurityException: com.llamalab.automate.ext.network was not granted  this permission: android.permission.WRITE_SETTINGS.
2018-07-30 20:16:45.700 INFO 7589@3: Stopped by failure
A dedicated tethering extension app would be really nice! :)
Some users are having issue with the transition from the old permission add-ons, to the (new) Android 6+ run-time permission model, resulting in security failures such as:
The issue seems to mostly affect the Wi-Fi hotspot set state block, if you're using an Android 8+ device, try enabling the "Private setting" option in the "Wi-Fi hotspot workaround" setting.The issue seems to be fixed by ensuring that the main app package is installed first, i. e.:
- Stop all flows
- Make a backup, see settings
- Uninstall Automate
- Uninstall all permission add-ons, see system Apps settings.
- Reboot the device
- Reinstall Automate
- Restore backup
- Optional, use ADB to grant "superuser" permission, see:
https://groups.google.com/d/topic/automate-user/HUm7yZPv578/discussion- Grant "privileges" required by flows
- Restart flowsIf it still doesn't work. Please let me know if you has Automate installed prior to version 1.11.3, i.e. the old permission model, or not.Include Android version, device model, which block is causing it. If only the Wi-Fi hotspot set state block is affected, enable the "Debug logging" option in settings and run the block to see debug info, please post it here.I need to determine if this issue is caused by the transition, or the new model, in which case i may have to abandon the remaining three add-ons.
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/XFRTWIpJ1e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at https://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/53f06590-8c41-428f-b41c-98c1d81e7254%40googlegroups.com.
Thank you! 
Lars
http://llamalab.com/automate/community/flows/21295
2018-08-24 10:42:55.833 DBUG 35067@46: package=com.llamalab.automate, packages=[com.llamalab.automate.ext.network, com.llamalab.automate.ext.settings, com.llamalab.automate]
2018-08-24 10:42:55.834 DBUG 35067@46: uid=10028, callingUid=10028
2018-08-24 10:42:55.835 DBUG 35067@46: WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=true
2018-08-24 10:42:55.836 DBUG 35067@46: com.llamalab.automate.ext.costly: not installed
2018-08-24 10:42:55.836 DBUG 35067@46: com.llamalab.automate.ext.location: not installed
2018-08-24 10:42:55.837 DBUG 35067@46: com.llamalab.automate.ext.media: not installed
2018-08-24 10:42:55.838 DBUG 35067@46: com.llamalab.automate.ext.network: uid=10028, WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=false
2018-08-24 10:42:55.839 DBUG 35067@46: com.llamalab.automate.ext.personal: not installed
2018-08-24 10:42:55.840 DBUG 35067@46: com.llamalab.automate.ext.settings: uid=10028, WRITE_SETTINGS=false, OPSTR_WRITE_SETTINGS=0, canWrite=true
2018-08-24 10:42:55.840 DBUG 35067@46: com.llamalab.automate.ext.storage: not installed
2018-08-24 10:42:55.841 DBUG 35067@46: com.llamalab.automate.ext.superuser: not installed
2018-08-24 10:42:55.841 DBUG 35067@46: com.llamalab.automate.ext.telephony: not installed
Some users are having issue with the transition from the old permission add-ons, to the (new) Android 6+ run-time permission model, resulting in security failures such as:
The issue seems to mostly affect the Wi-Fi hotspot set state block, if you're using an Android 8+ device, try enabling the "Private setting" or "Extension" option in the "Wi-Fi hotspot workaround" setting.If that doesn't work, the issue seems to be (temporarily) fixed by ensuring that the main app package is installed first, i. e.:
- Stop all flows
- Make a backup, see settings
- Uninstall Automate
- Uninstall all permission add-ons, see system Apps settings.
- Reboot the device
- Reinstall Automate
- Restore backup
- Optional, use ADB to grant "superuser" permission, see:
https://groups.google.com/d/topic/automate-user/HUm7yZPv578/discussion- Grant "privileges" required by flows
- Restart flows
Can you please have a look?
Thanks
-------
Sorry for slow response. So it's usually about storage but sometimes network permission.