ADB Wifi - SIM toggle issue with Samsung Android 11 devices

398 views
Skip to first unread message

kanemari

unread,
Feb 20, 2021, 6:39:52 AM2/20/21
to Tasker
Hi there,

I have a Galaxy S21 Ultra, Note 10+ and Pixel 5, all using Android 11.

I have enabled the prerequisites through ADB on a PC and have tried a couple of commands. Most work (e.g enable / disable apps in fine across all) but the SIM toggle feature doesn't seem to work consistently across all devices.

Pixel 5 works fine, but both Samsung devices fail.

Using %aw_output, there is no error (i.e. the output is 0), but when I try to run the commands directly via ADB shell it gives syntax errors:-

>adb shell phone.setSimPowerStateForSlot(0,0)
/system/bin/sh: syntax error: unexpected '0,0'

>adb shell phone.setSimPowerStateForSlot
/system/bin/sh: phone.setSimPowerStateForSlot: inaccessible or not found

Is it possible to make changes to allow this to work with Samsung devices?

Thanks.

jmjc...@gmail.com

unread,
Feb 20, 2021, 7:57:35 AM2/20/21
to Tasker
Unfortunately no. Not with ADB Wifi. Some actions just don't work with Samsung phones. Having said that, there are issues with different brands as well. The most reliable one seems to be Pixel.

kanemari

unread,
Feb 20, 2021, 8:04:53 AM2/20/21
to Tasker
Is it possible then to update the 'Tasker Settings' addon so that its compatible with Android 11? It looks like that was a viable alternative on lower Android versions for SIM toggle.

jmjc...@gmail.com

unread,
Feb 20, 2021, 9:10:10 AM2/20/21
to Tasker

I think it has to do with Samsung. Mine is on A10 and it doesn't work. 
Reply all
Reply to author
Forward
0 new messages