The Mi A1’s dual rear camera setup is good for the price, with a 12MP primary rear wide-angle camera paired with a 12MP camera with a “telephoto” lens. we found its camera to be noticeably improved over the Redmi Note 4’s camera, but there was still room for improvement. Notably, electronic image stabilization (EIS) was still absent.

This is where the unofficial Google Camera HDR+ port comes to the rescue. The port has been found to noticeably improve camera in many cases on a wide range of phones ranging from the Redmi Note 3 to the Essential Phone. The problem with using the port on Xiaomi devices is that Xiaomi devicesdon’t have the Camera2 API enabled by default. Enabling it has typically required users to root their devices and edit the build.prop, which normally means that they can’t receive OTA updates. Therefore, users who don’t want to root their devices or who want to receive OTA updates have been out of luck so far.

However, there’s a method to enable the Camera2 API without modifying any system files that was detailed this weekby XDA Recognized Developer flex1911. It involves unlocking the bootloader and rooting the device through Magisk, enabling the Camera2 API via a setprop command, and then completely removing Magisk and re-locking the bootloader. This will mean that OTA updates are still able to be received.

READ ALSO: Xiaomi Mi Note 2 Android Oreo MIUI Global Beta ROM Now Available

Taking this further, XDA Member AridaneAM has released an automated tool to install the Google Camera HDR+ port without root. In order to install the port, users need to do the following steps:

    • Disable pattern / password security lock
    • Enable developer options
    • Enable OEM unlock and USB debugging

READ ALSO: Download App: Toggle Track for Monitoring of GPS and WiFi Scanning Apk

  • Install ADB / fastboot drivers
  • Enable HAL3 and EIS
  • Install the Google Camera zip, while the phone is connected to the PC using ADB.

The tool automatically unlocks the bootloader, temporarily installs TWRP, installs the Google Camera port, and then re-locks the bootloader without rooting the device at all. Users can use this method to install the port without needing to root their device at all.

Download Google Camera Installer on the Xiaomi Mi A1

Source: XDA-DEVELOPERS