dual Sim card disable / enable

597 views
Skip to first unread message

Alessandro Gusella

unread,
Jan 30, 2021, 5:31:32 PM1/30/21
to Tasker
Dear All. I've a phone NoteS20 dual sim. I would like to disable one sim and keep enable the other one. 
I've try with the ADB Wifi with the command  phone.setSimPowerStateForSlot(1,0), but I receive a notification "Missing Permission ...." and the sim will not be disable.
Can I set a schedule with Tasker by Setting->Connection->Sim-> enable/disable? Ore there is another way?

Thanks a lot.

Robert Ryan

unread,
Jan 30, 2021, 5:38:41 PM1/30/21
to tas...@googlegroups.com, Alessandro Gusella
Which permission does ADB Wifi say you are missing? Have you tried granting that permission with ADB? 

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/125ca103-3f69-417a-8def-87b66932fbaen%40googlegroups.com.

Alessandro Gusella

unread,
Jan 30, 2021, 5:42:31 PM1/30/21
to Tasker
Says "Tasker can perform this action using a special ADB command that must be performed every time yo reboot your phone.want to learn how to grant?"
And if I say OK, it will open a page where there are the instruction to setup up ADB on myPC , adb tcpip 5555 ... etcetera....

Robert Ryan

unread,
Jan 30, 2021, 6:22:40 PM1/30/21
to tas...@googlegroups.com, Alessandro Gusella
Did you do all those steps? Did ADB give you any error messages? 

Alessandro Gusella

unread,
Jan 31, 2021, 2:45:42 PM1/31/21
to tas...@googlegroups.com, Robert Ryan
I didn’t do all the steps, the reason is that I need to connect the pc to phone and at the moment I don’t have time to do that, but the main reason is that, I think to have understand, I have to do these steps every time i turn off/on my phone.

Alessandro Gusella

Marta Hintz

unread,
Feb 4, 2021, 8:04:16 PM2/4/21
to Tasker
No you have to do those steps when you REBOOT your phone

Alessandro Gusella

unread,
Feb 5, 2021, 9:16:13 AM2/5/21
to Tasker
thank you very much for explanation. Now I will do these steps….;-)))


You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/7wAEYKgQhLk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/3dbe840a-de30-4fa0-8836-9505ac4ebc06n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages