To be clear, not stating I agree with situation, fully understand law, your perspective, law enforcement perspective, etc — but claim that body cavity search requires a warrant once reasonable suspicion is established at a border crossing to my knowledge is inaccurate if you’re claiming it is.
Example of Google search that appears to return search results supporting this:
https://www.google.com/search?q=is+it+legal+for+us+customs+t...
Disputing reasonable cause is very hard to do. Most people would likely find it reasonable to be suspicious of a person lacking a cell phone. Also appears judge granted a warrant, which to me confirms they believed their the threshold for reasonable suspicion had been passed.