Phone Freezes or Restarts on Android 7.1 Nougat or Lower