Recently I have run across way too many articles on arrests leading to unwarranted search and seizure of data on phones. I am in the US, and most searches need a judge signed warrant, to search, except on phones, emails, or browsing histories. Now while the worst law I ever break is going 5 to 10 over the posted speed limit (in my car, motorcycle is another story), I really feel a sense of violation over this policy with others. My question is: Is there a way to write a script or some other code, that is linked to a specific pass code at the pass screen? The idea is, an officer asks for your phone, to search it on a routine stop (very common lately) sees you have the pass-code active, when he legally asks for the pass-code, you have a special one that when entered wipes the phone completely. Of course having a back up at home will fix this. I know nothing of programming, or scripts, but this app I would buy! This has nothing to do with having things to hide, and everything to do with civil rights and liberties being violated. This same officer needs a warrant to read my postal mail, but not my email? WTF?