I have been having sporadic issues with one of my tasks that runs a root shell commmand. It seems that the command is NOT being executed. In trying to get to the bottom of this, I find the following in the
Tasker log file:
22-09-2021 Shell: 02.27.45#b#Shell: Couldn't convert from easy command: echo 1 > /sys/devices/platform/lge-unified-nodes/charging_enable; echo 1 > /sys/devices/platform/soc/a90000.i2c/i2c-4/4-0061/power_supply/wireless/charging_enabled doesn't have a valid component
22-09-2021 Shell: 02.27.45#b#Shell: runSync su -c id root: true timeout: 3000
22-09-2021 Shell: 02.27.45#b#Shell: runBackground echo 1 > /sys/devices/platform/lge-unified-nodes/charging_enable; echo 1 > /sys/devices/platform/soc/a90000.i2c/i2c-4/4-0061/power_supply/wireless/charging_enabled root: true timeout: -1
22-09-2021 Shell: 02.27.45#b#Shell: start process-thread ID 354
22-09-2021 E: 02.27.45#b#E: add wait type Shell3 time
214748364722-09-2021 E: 02.27.45#b#E: add wait type Shell3 done
22-09-2021 E: 02.27.45#b#E: add wait task
22-09-2021 M: 02.27.45.255#b#M: checkMatchStates: handleChanges: true handle:
22-09-2021 Shell: 02.27.45#b#Shell: have process
22-09-2021 Shell: 02.27.45#b#Shell: write cmd: su -c id
22-09-2021 Shell: 02.27.45#b#Shell: start process timeout timer 3000ms for: su -c id
22-09-2021 M: 02.27.45#b#M: occurred event count: 1 with action: net.dinglisch.android.tasker.VSETUM
22-09-2021 Shell: 02.27.45#b#Shell: start process-thread ID 356
22-09-2021 E: 02.27.45#b#E: stillWaiting: test Shell3
22-09-2021 Shell: 02.27.45#b#Shell: have process
22-09-2021 E: 02.27.45#b#E: still waiting for Shell3: Power Enable Charging
22-09-2021 E: 02.27.45#b#E: nothing chosen, check exit
22-09-2021 E: 02.27.45#b#E: wait for 1000ms
22-09-2021 Shell: 02.27.45#b#Shell: Couldn't convert from easy command: echo 1 > /sys/devices/platform/lge-unified-nodes/charging_enable; echo 1 > /sys/devices/platform/soc/a90000.i2c/i2c-4/4-0061/power_supply/wireless/charging_enabled doesn't have a valid component
22-09-2021 Shell: 02.27.45#b#Shell: write cmd: echo 1 > /sys/devices/platform/lge-unified-nodes/charging_enable; echo 1 > /sys/devices/platform/soc/a90000.i2c/i2c-4/4-0061/power_supply/wireless/charging_enabled
22-09-2021 Shell: 02.27.45#b#Shell: out of wait
22-09-2021 Shell: 02.27.45#b#Shell: exit result: 0
22-09-2021 Shell: 02.27.45#b#Shell: record back result: 0
22-09-2021 Shell: 02.27.45#b#Shell: kick exe thread
22-09-2021 Shell: 02.27.45#b#Shell: kicked
22-09-2021 E: 02.27.45#b#E: wait int
22-09-2021 E: 02.27.45#b#E: stillWaiting: test Shell3
22-09-2021 E: 02.27.45#b#E: Run Shell: ->
22-09-2021 E: 02.27.45#b#E: Run Shell: ->
22-09-2021 E: 02.27.45#b#E: Run Shell: ->
22-09-2021 E: 02.27.45#b#E: removeWait: Shell3
22-09-2021 E: 02.27.45#b#E: finished waiting for Shell3 (task Power Enable Charging)
22-09-2021 E: 02.27.45#b#E: remove finished task from q: Power Enable Charging
22-09-2021 E: 02.27.45#b#E: nothing chosen, check exit
22-09-2021 E: 02.27.45#b#E: fix finished, remove wait flag
22-09-2021 E: 02.27.45#b#E: exe sync stoplock
22-09-2021 E: 02.27.45#b#E: exe insync stoplock
22-09-2021 E: 02.27.45#b#E: stopSelf: 8 alldone: true eqtimes: 0
22-09-2021 E: 02.27.45#b#E: exe postsync stoplock
22-09-2021 E: 02.27.45#b#E: exe thread tidy up
22-09-2021 E: 02.27.45#m#E: ondestroy
22-09-2021 WakeLockManager: 02.27.45#b#WakeLockManager: acquired partial lock for M flags: 1 autorelease: true warn: true
22-09-2021 WakeLockManager: 02.27.45#b#WakeLockManager: setClearAlarm: not setting, last set 2201ms ago
22-09-2021 E: 02.27.45#b#E: onUtteranceCompleted: exeThreadTidy id: null err: false
I have no idea what an "easy command" is or why there should be a problem in doing this. I have no idea what the needed "component" might be.
Can anyone shed some light on this? I am stumped. Thanks