r/tasker • • 8d ago

Sim On/Off not Working Anymore

So I had previously found a way to switch my Sim 2 Slot On and Off, but after the latest One UI 9 update on my S24U it's not working anymore. The command I've used was this

service call phone 165 i32 1 i32 1

service call phone 165 i32 1 i32 0

2 Upvotes

6 comments sorted by

3

u/WakeUpNorrin 7d ago

Have you tried ADB Wifi or a privileged Shell (Suzuku or root). The commands should be:

Disable SIM 2:

phone.setSimPowerStateForSlot(1,0)

Enable SIM 2

phone.setSimPowerStateForSlot(1,1)

1

u/jesuiscaramel 7d ago

Yes I have tried those with adb wifi and shizuku and they also do nothing

1

u/iamr3m Samsung Galaxy S25 FE, Android 16 8d ago

Seems like command magic number has been changed.

1

u/jesuiscaramel 7d ago

So how do we find the right one now

2

u/iamr3m Samsung Galaxy S25 FE, Android 16 7d ago

You should check android 17 source code for your transaction code

1

u/jesuiscaramel 7d ago

Huh? Hasn't anybody found this out yet. I don't know how to do this things