Activate Hidden Night Mode on Xiaomi MiA1

How to Enable Night Mode Setting on Xiaomi Mi A1

Here’s a method on how to enable Night Mode settings on Mi A1 which requires root. The feature is similar to the one on Google Pixel smartphone.

Official Mi A1 firmware: the latest MIUI 10 Recovery and Fastboot ROMs for all regions (1), direct from Xiaomi's servers with MD5.

→ Mi A1 firmware download

Activate Hidden Night Mode on Xiaomi MiA1

  1. Open Root explorer and go to “/system/framework”, find framework-res.apk file and copy it to any other folder.
  2. Start MT Manager and locate previously copied framework-res.apk file.
  3. Also open resources.arsc file in arsc editor.
  4. Go to “android/bool/bool”, search for the “nightDisplay”, look for “config_nightDisplayAvailable” and change the value from “false” to “true”.
  5. Close the arsc editor, confirm changes and confirm update of “resources.arsc”. Now the framework-res.apk will be repacked and original file backup will be saved as “framework-res.apk.bak”.
  6. Open Root Explorer once again, take the updated “framework-res.apk” and replace one in the “/system/framework” folder.
  7. Your device will soft reboot, probably you’ll see some error messages.
  8. Reboot your phone manually, go to “Settings” > “Display” and look for the “Night mode” feature which is now will be available.