Member of the forum XDA Developers under the name argraur ported to the smartphone Xiaomi Mi 8 firmware Android 9.0 Pie with a Google Pixel 2 with minor amendments to support the cutout in the screen.
The firmware includes Google application, operate all functions and modules that are present and live Wallpapers from the Pixel 2. The port emulates a smartphone even in the Google Play Store which is available for download in the app account for the use of the device Digital Wellbeing, although it is open only for devices Pixel and Nokia 7 Plus.
Developer notes only outside the mobile payment system Google Pay, with NFC and the Android Beam function active.
Installation instructions and download link for the firmware posted on XDA Developers.