Even US Citizens are subject to search at the border without warrant or probable cause.
Recently I had a CBP officer at SFO ask to search photo gallery when returning from vacation.
Recently I had a CBP officer at SFO ask to search photo gallery when returning from vacation.
In practice, courts have generally allowed manual, cursory searches of electronic devices (such as looking at recent photos) as being similar to a search of luggage. However, courts have disagreed on how intrusive the search can be and whether a more invasive search at the border can be conducted without some additional suspicion.
https://www.americanbar.org/groups/business_law/publications...
Do one of these things at the beginning of any custodial situation.