The supreme court has ruled unanimously that police generally must obtain a warrant before searching a mobile phone after arresting someone, and on changes to how you might watch TV.