It is possible for law enforcement on border control to have your phone taken and ask to unlock it, so they can "check your messengers and contacts".
For that I can show only the profile that has messengers. However they check it without presence of the phone owner.
If it happens, will they be able to install any kind of spyware on my phone, provided they had access only to a worker profile, not the main profile? I understand worker profiles are restricted/hardened in terms of installing malicious "system-wide" software?
Should I wipe my phone afterwards and reinstall GrapheneOS? Or perhaps only delete and re-create the messengers-only worker profile?
My only concern is the possible spyware.
I do have "developer mode" enabled on my phone's main profile, and USB debugging enabled. Can this be exploited?
Thanks