In short:
Martinez-Fuerte authorized stops within range of the border, but explicitly disallowed searches; what made the stop in Martinez-Fuerte lawful was that it wasn't a search. You can be stopped anywhere in the country with virtually no probable cause; it's what happens when a traffic cop pulls you over for a "bad lane change", or to check your insurance. When that happens, the police cannot then pop your trunk and rifle around in your glove compartment --- nor can they take and image your phone.