If they have a warrant that adheres to the particularity requirement of the Fourth Amendment, then anything they might find that it outside the scope of the warrant would be illegally seized. For instance, if the search warrant were to say "search the contacts on the phone" and they go looking for pictures.