AutoTools Trying Autotools with mixed results

Discussion in 'AutoApps' started by click-click, Apr 12, 2020.

  1. click-click

    click-click New Member

    Joined:
    Apr 3, 2020
    Messages:
    4
    Likes Received:
    0
    I'm currently trying to create simple tasks to help me learn how to use Tasker and Autotools and so far it's been a disappointment. I can't even get something simple to work like turning wifi on or off. I know Tasker can do this, but Autotools should work too right?
    Code (Text):

    (Secure Settings Tasks)
    Setting Type: Global
    Name: wifi_on
    Input Type: String
    Value: 0 (Doesn't turn OFF - I got this value using the Custom Setting
     Assistant 1 to 0)
    Value: 1 (Doesn't turn ON - I got this value using the Custom Setting
             Assistant 0 to 1)
    Value: 3 (doesn't do anything even with input type toggle)

    Name: airplane_mode_on
    turns off and on with values 1 and 2, but it doesn't toggle the wifi
    on/off so I had to use Autoinput to turn Airplane Mode on/off via
    the GUI to make it toggle the other radios. How is this done with
    Autotools?

    (Sensors Task)
    Sensor Number: 15 (TYPE_GAME_ROTATION_VECTOR)
    Is 0 valid: true
    Convert Orientation: True
    Flash Text %atsensor2
    (always shows 90° no matter what angle I am holding the phone at - I
    thought this would show the correct angle.

     
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. The Secure Settings action may or may not work depending on the setting/ROM you're using. AutoTools simply changes that setting but then the ROM is the one that decides if it works or not. :) To be clear, AutoTools itself is working, in the sense that the setting value is actually changed internally. The ROM then decides if that value changes something or not in the system itself.

    Hope this helps!
     
  3. click-click

    click-click New Member

    Joined:
    Apr 3, 2020
    Messages:
    4
    Likes Received:
    0
    Requires ADB on each reboot which is impracticable. Will try the rest when I have a little time to spare
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Unfortunately that's the only rootless way to do it. :(
     

Share This Page