SIM Swap tasker routine for Pixel 3 XL Android 10

Search This thread
Jun 18, 2019
14
9
In lieu of DSDS I created this routine to allow me to easily swap between physical and eSIM on Pixel 3XL Android 10. It will probably work on other Android 10 devices but you may need to tweak some of the coordinate-based inputs. I'm posting here because a couple of people requested the routine from my and I thought it may be useful.:

https://taskernet.com/shares/?user=...1gNPa0H1P6JuqwklZxdYH5H7VOY3&id=Task:Swap+SIM

Full routine is below. No doubt people who are more practiced in Tasker will point out I've done things a very odd way.... There's a 16 second delay before using the 'go home' function - this is because when swapping to the eSIM it takes about 15 seconds to active. If you 'go home' before that process is finished, something weird happens and the next time you run the task it gets stuck at 'A9: AutoInput Action [ Configuration:Type: Point Value: 750,400' and you effectively need to tap the screen *twice* in the same place.

Some of my 'waits' are a bit long and could probably be shortened, but personally I'd rather have a bomb-proof task than chance speeding it up and it failing occasionally.

Good luck!


Swap SIM (2)
A1: Launch App [ App:Settings
Settings Data: Exclude From Recent Apps:eek:ff Always Start New Copy:eek:n ]
A2: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A3: AutoInput Action [ Configuration:Type: Text
Value: network &
Action : Click Timeout (Seconds):20 ]
A4: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: AutoInput Action [ Configuration:Type: Text
Value: Mobile network
Action : Click Timeout (Seconds):20 ]
A6: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A7: AutoInput Action [ Configuration:Type: Text
Value: Active
Action : Click Timeout (Seconds):20 ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A9: AutoInput Action [ Configuration:Type: Point
Value: 750,400
Action : Click Timeout (Seconds):20 Continue Task After Error:eek:n ]
A10: [X] AutoInput Action [ Configuration:Type: Text
Value: Off
Action : Click Timeout (Seconds):2 ]
A11: [X] AutoInput Action [ Configuration:Type: Text
Value: Use SIM
Action : Click Timeout (Seconds):2 ]
A12: [X] Wait [ MS:141 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A13: [X] AutoInput Action [ Configuration:Type: Point
Value: 750,400
Action : Click Timeout (Seconds):20 Continue Task After Error:eek:n ]
A14: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A15: AutoInput Action [ Configuration:Type: Point
Value: 1000,1690
Action : Click Timeout (Seconds):20 ]
A16: Wait [ MS:0 Seconds:16 Minutes:0 Hours:0 Days:0 ]
A17: Go Home [ Page:1 ]
 

kaiseryeahhh

Senior Member
Oct 31, 2008
127
19
If you type *#*#794824746#*#* in the phone automatically changes from e-sim to physical sim and nothing else needs to be done.
The problem is that I tried to put that code as a contact to make a shortcut and it doesn't work, and I'm investigating to see how I can do it without copying and pasting.
 

ASA.mv

New member
Oct 11, 2019
1
0
Pixel 3 esim

Before Android 10 there was option to add esim by scanning QR codes

But after updating to 10 I don't find that option to add.

When I use below code it says esim enabled but how do I add ?

*#*#794824746#*#*