Phones should be turned off or left at home anyways when protesting. Here are my 10 commandments for engaging in protests:
1: never bring your wallet/ID. If you need to buy things, bring cash
2: either shut off your phone or leave it with your wallet. Recording police violence can be useful, in that case get the aclu app, a burner phone with the app, or an action camera
3: never speak to police under any circumstance
4: you can beat the charge but you can't beat the ride
5: bring water, it's more useful than for just drinking
6: bring hats, sunglasses, etc to avoid being identified by the state if it gets violent
7: wear good running shoes
8: know your rights, both federal and local, and when to use them
9: take out any contact lenses in case police use tear gas
10: stay aware of your surroundings; listen to picket line enforcers/community organizers