The absolute best way to protect your phone from police inspection is to keep it locked with a passcode, which will keep an officer from rummaging through your Facebook photos as you stand beside him in handcuffs.This is good security practice anyway. But the "interesting" bit comes after Officer Friendly decides he's going to look anyway. Lots of good info about how to handle this at the link.
“The most simple precaution you can take is to make sure your phone is locked and/or encrypted,” says Jay Stanley, senior policy analyst for the American Civil Liberties Union (ACLU). “The police may take your phone, may try to look at it unconstitutionally, but they won't be able to.”
Saturday, June 28, 2014
What to do if the police try to search your phone
Via the Electronic Frontier Foundation and the ACLU, some good advice: