[Redmi K20 Pro / Xiaomi Mi 9T Pro Guides, News, & D] iXanza:
Note: I do not really care what you guys think about Google. These are just the steps I took to replace google services with MicroG. This also only works on Android 11 due to FakeGapps being superior on Android 11 compared to Android 12 for now.

TLDR: Flash Magisk, enable zygisk, install Universal Safety Net Fix, Lsposed + fakestore and Nanodroid microg.

Unlock Bootloader and flash a custom recovery

You can follow the guide here on how to unlock your bootloader and flash a custom recovery: https://xdaforums.com/t/guide-unlock-bootloader-and-flash-xiaomi-eu-rom.3952443/

Flash Magisk

Grab the latest APK from Magisk's Github and rename it from Magisk-vXX.apk to Magisk-vXX.zip then flash it in your recovery of choice

Essential magisk setup

Hide the Magisk app

Enable Zygisk and Enforce Denylist on your banking apps etc.

Install the following Magisk Modules and reboot your device

https://github.com/kdrag0n/safetynet-fix for passing safetynet

https://github.com/LSPosed/LSPosed for installing fakegapps later on which provides signature spoofing

Install and enable fakegapps for signature spoofing support

https://github.com/whew-inc/FakeGApps/ - since our device is on A11, grab the latest v3.0 apk and install it

Open LSPosed (A shortcut should be made on your home screen, if not dial *#*#5776733#*#* (LSposed) in your phone dialer and it should open and enable FakeGapps in the module. System Framework is already ticked and thats all thats needed

Installing MicroG

Grab Nanolx's version of microG from: https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-microG-23.1.2.20210117.zip

Note on this zip. The installer supports reading a config file to set up following this guide: https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md.

I would recommend downloading the default .nanodroid-setup file in the guide, putting it in your internal storage and making the following configurations.

Line 37 - nanodroid_nlpbackend=1000

Line 55 - nanodroid_play=10 if you want in app purchases to work, nanodroid_play=01 if you do not care about in app purchases

I wouldn't recommend going with aurora services here as it is severely outdated, grab it and flash it manually from aurora's gitlab if you want to use it

Uninstall Google Play Services and ignore all the errors that pop up instantly after that

Install Nanodroid MicroG in magisk. It should debloat the default Google installation on the phone and replace it with MicroG

Updating MicroG and optionally Play store based on the options chosen

I recommend installing F-droid and adding the MicroG fdroid repository from https://microg.org/fdroid.html

There will be an update for MicroG. Update it and you're good to go

If you enabled the patched play store for IAP you can update it by going into Google Play Store > Setings and presss Update Play Store

That should be it. You can further clean up the rom by grabbing https://github.com/Szaki/XiaomiADBFastbootTools and disabling some bloatware (I recommend disabling and not uninstalling)

Note: You will get an error from Device Health Services saying it needs an update to Google Play. Feel free to disable the app using a root app disabler or by using ADB with the following command:

adb shell pm disable-user --user 0 com.google.android.apps.turbo

I've gone a step further and replaced most of the default apps with "Simple" apps from F-Droid such as Simple Contacts, Simple Dialer, Simple Calendar etc. They work really well and there's a companion app that allows shared file themeing among them called Simple Thank You.

See attached files for screenshot of my success.