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!
Toggle specific SIM toggling Android Work Profile
Moderator: Martin
Re: Toggle specific SIM toggling Android Work Profile
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
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
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.