AutoTools Possible solution to the error "Can't change setting on this device"

Discussion in 'AutoApps' started by ericardo, Mar 3, 2017.

  1. ericardo

    ericardo New Member

    Joined:
    Mar 3, 2017
    Messages:
    6
    Likes Received:
    1
    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.
     
    Osiedacz likes this.
  2. ericardo

    ericardo New Member

    Joined:
    Mar 3, 2017
    Messages:
    6
    Likes Received:
    1
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
  4. ericardo

    ericardo New Member

    Joined:
    Mar 3, 2017
    Messages:
    6
    Likes Received:
    1
    Just tested this version (1.0.8b.bf) and unfortunately the error persists with exactly the same error message.
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Ok, thanks. Oh well, it was worth a try! Thanks for your suggestion! Were you able to grant it the new permission through ADB though?
     
  6. ericardo

    ericardo New Member

    Joined:
    Mar 3, 2017
    Messages:
    6
    Likes Received:
    1
    Yes, the CHANGE_CONFIGURATION permission was successfully granted through ADB. Maybe the secret is really on that stackoverflow thread I linked above.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you specify which of the answers in the stackoverflow thread you mean? :) Thanks!
     
  8. ericardo

    ericardo New Member

    Joined:
    Mar 3, 2017
    Messages:
    6
    Likes Received:
    1
    I don't know, I just asked the developer of ADB Change Language (ohtonen.juuso@gmail.com) how he did it and he directed me to that thread.
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. I just added this to AutoTools beta :) Hope this helps!
     
  10. ericardo

    ericardo New Member

    Joined:
    Mar 3, 2017
    Messages:
    6
    Likes Received:
    1
    I can confirm it works on my Oneplus 3T running Android 7.1.1, thank you!
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Awesome! :D
     
: autotools

Share This Page