The Xiaomi Mi A2 is a recently launched Android One device, and its camera on paper seems pretty great. For those on the Xiaomi Redmi Note 5 Pro (whyred), there's some great news for you. You can now download the Xiaomi Mi A2 camera application for use on your phone on a custom ROM, ported by XDA Senior Member carlosggb. All you need is Magisk and you're good to go. Previously, one of the only options available to people was the Google Camera app. Now you can use an official Xiaomi application for photo taking instead if you want. You can check out the thread below to download and flash the Magisk module. You will need the camera2api enabled as well.

Xiaomi Mi A2 Camera Ported for Xiaomi Redmi Note 5 Pro