chaoscreater
Active member
My phone (Xiaomi, non-rooted) supports dual SIM and I want to turn off and turn on my 2nd SIM card at specific times. Reason being is that my 2nd SIM card is for work and I don't want to be receiving text or calls outside of business hours.
I've looked this up online and tried using a custom setting as per guide here:
https://www.reddit.com/r/tasker/comments/b0a1o5
However, it doesn't work. I've also tried using adb shell directly as per below:
adb shell settings put secure phone0_on 0
adb shell settings put secure phone1_on 0
adb shell settings put secure phone2_on 0
adb shell settings put system phone0_on 0
adb shell settings put system phone1_on 0
adb shell settings put system phone2_on 0
I didn't get any errors running the commands, but no changes were made. Any ideas what else I can try? I don't want to use UI Interaction because it's not an elegant approach
I've looked this up online and tried using a custom setting as per guide here:
https://www.reddit.com/r/tasker/comments/b0a1o5
However, it doesn't work. I've also tried using adb shell directly as per below:
adb shell settings put secure phone0_on 0
adb shell settings put secure phone1_on 0
adb shell settings put secure phone2_on 0
adb shell settings put system phone0_on 0
adb shell settings put system phone1_on 0
adb shell settings put system phone2_on 0
I didn't get any errors running the commands, but no changes were made. Any ideas what else I can try? I don't want to use UI Interaction because it's not an elegant approach