I know there's a thread here about this same error, but apparently it was something exclusive to Samsung devices. So, to avoid mixing possibly unrelated issues, here is what I could find out regarding a possible solution: I was trying to use AutoTools to change my device's locale (Oneplus 3T) through Tasker but I kept getting the same error: And here is the task: The device is rooted and running Android 7.0 (OxygenOS v.4.0.3 stock). AutoTools was granted the WRITE_SETTINGS permission via adb. Eventually I found out an app that could successfully change the locale via adb shell (ADB Change Language) and required the CHANGE_CONFIGURATION permission. I tried to grant the same permission to AutoTools but got this: So if you change AutoTools to request the CHANGE_CONFIGURATION permission the locale change (and maybe other settings too) will probably work.