Enable Night Light and Camera2 API on the Xiaomi Mi A1 with Magisk
Often, a smartphone’s hardware is capable of more than just what the software allows by default. This is the case with the Xiaomi Mi A1 as it can support Android’s Night Light feature as well as the Camera2 API. Thanks to XDA Senior Member sooti, XDA Senior Member simonsmh, and XDA Senior Member jimmy123322, we now have a Magisk Module for the Mi A1 that enables Night Light, adds EIS to the prop file, enables slow motion in Google Camera, disables noise cancellation during video recordings, and forces HAL 3.
Download this Magisk Module from our Mi A1 forums