Skip to content

Instantly share code, notes, and snippets.

@tinhtun
Created January 10, 2020 11:49
Show Gist options
  • Select an option

  • Save tinhtun/94ff3bb5d3f3fb31ef9e5b5a0d0b8f1f to your computer and use it in GitHub Desktop.

Select an option

Save tinhtun/94ff3bb5d3f3fb31ef9e5b5a0d0b8f1f to your computer and use it in GitHub Desktop.

Ther problem of this phone is that for some reason, night display option is activeated by default and cannot be deactivated from the settings. Here is how to fix it by using ADB shell commands.

  • Download ADB(windows/mac)
  • Enable Developer Option
  • Enable USB Debugging
  • Connect Phone to PC with USB cable
  • Run these commands
adb shell settings put secure night_display_activated 0
adb shell settings put secure night_display_auto_mode 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment