FORUMS
Remove All Ads from XDA

SIM Swap tasker routine for Pixel 3 XL Android 10

14 posts
Thanks Meter: 9
 
By SonorousPedals, Junior Member on 9th September 2019, 09:46 AM
Post Reply Email Thread
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=A...ask%3ASwap+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 Appsff Always Start New Copyn ]
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 Errorn ]
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 Errorn ]
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 ]
 
 
12th September 2019, 09:55 AM |#2  
Member
Thanks Meter: 11
 
More
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.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes