But if it is important to you to maintain your anonymity at a protest, consider leaving your phone at home, or at least turning it on/off only once you are well out of the neighborhood.
There is no one-size-fits-all solution for digital safety at protests. You need to decide in advance what your goals are, what is important for you to protect, and what is likely to happen to you, and threat model accordingly.
If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/evacide/statuses/115864064580416722 on your instance and quote it. (Note that quoting is not supported in Mastodon.)