I've created a small magisk module, with that you can use the Argument Reality function inside the Google Camera.
It works on AOSP 8.0 Beta and Stable, maybe it also works on nougat.
When you want to test it on other devices than the Mi A1, please don't forget to make a backup even if bootloop and such things are very unlikely.
Wehen you have a device where it also works you are allowed to create a thread, only condition link me and very important Arnova8G2 because without his work it would not be possible.
The modules can easily flashed inside the Magisk Manager or with TWRP.
To get it fully working you have to flash both modules
All in one version:
ARcore Basic files:
ARcore Basic files V2:
Apps Module V2:
Do not thank me, just thank him @Arnova8G2