Page 1 of 1

Toggle specific SIM toggling Android Work Profile

Posted: 18 Oct 2019 14:58
by fede91it
I'm trying to figure out how to create this automation with Automagic, but I don't think I can do it:

When activating/deactivating the work profile I want to activate/deactivate the sim with the work phone number.

How do I intercept the activation or deactivation of the Android work profile?
How do I activate or deactivate a specific SIM card on a dual sim phone?

Thank you! ;)

Re: Toggle specific SIM toggling Android Work Profile

Posted: 03 Nov 2019 16:27
by Desmanto
What is your phone and ROM type? It doesn't guarantee to work, but maybe you can use secure setting to detect the changes. Use my secure setting logger flow to log the activation and deactivation of the work profile. viewtopic.php?f=3&t=7931

As for the SIM card, it is secure procedure, most likely can't be change using common method. You have to use control UI to emulate the click and disable/enable the SIM : viewtopic.php?f=6&t=7320