[Xiaomi Pad 6] cmz6996:
Before installing any GSI, its reccomended that you first dual boot to see if it will work properly with your Pad, by using DSU Sideloader, Which works with and without root, but you must have your bootloader unlocked.

Make sure you have your firmware installed, you can get yours from here. (Make sure to get the fastboot version of the firmware and not the recovery one)

The xiaomi stylus might not work.

Go to “Settings” on your phone.

Navigate to “About Phone.”

Find the “MIUI version” and tap on it seven times until the “You are now a developer” notification appears on your screen.

Go back to the main settings.

Scroll down until you find “Additional Settings.”

Go to “Developer Options.”

Then once you are in developer options, find OEM unlocking enable it, then scroll down until you see USB Debugging and also enable it, and your Xiaomi must be unlocked.

I personally recommend you use this list to get the GSI you wish, I went with Pixel Experience Plus. (Only use GSI images that came with your Android version or above)

Download the GSI then extract it.

Connect your Tab to your PC, and ensure that you have platform-tools installed.

Proceed to run this command that will reboot you into fastboot mode:

adb reboot bootloader

Once you're in fastboot mode, check if your device is present by running this command:

fastboot devices

If you don't see any device, you will need to install the Xiaomi drivers. You can do that by getting MiUnlock and installing the drivers inside the app.

Now just continue running these commands in order.

fastboot --disable-verification flash vbmeta vbmeta.img

(at vbmeta.img, just throw in the img file into the cmd prompt)

fastboot reboot fastboot

(this will reboot you into fastbootd mode)

fastboot delete-logical-partition product_a

(This will delete the logical partition to free up some space on your device)

fastboot flash system gsi.img

(at gsi.img, just throw in the gsi you installed and extracted, it doesn't need to be named gsi, it's just there as an example)

fastboot -w

(This will format your device)

fastboot reboot

(this will reboot your device into the OS)

And you're done, your GSI should be successfully installed, now you can just stop here and enjoy your new GSI or if you also want root continue following the next step below.

Download Magisk from here.

Get the boot.img file from the official firmware you downloaded above.

Send the boot.img to your device

Open magisk

Go and press on install in the Magisk section and not the App one.

Press on Select and Patch a File

Select the boot.img you just sent

Wait for it to patch the boot.img file

Once its done send it over to your pc

Run the command :

adb reboot bootloader

Run the command :

fastboot flash boot patchedboot.img

(patchedboot.img being the patched file you sent over just now, and as before it does not need to be named exactly that, its an example)

Then restart by running the command :

fastboot reboot

Now you are rooted, Congratulations!

You can enable developer options and set the option "Smallest Width" to ~729dp to make your tablet feel like a tablet.

After enabling developer options go inside Phh Treble Settings and set the following

Qualcomm Features:

Everything enabled

Xiaomi Features:

Enable DT2W (Double tap to wake)

Misc Features:

Force FPS : Normal Device Resolution@Highest Refresh rate (ex. for my Pad6 its 1800x2880@144.0002) (This does mean that you will be stuck on the refresh rate you set, no variable refresh rate)

If when moving the brightness slider, the brightness flickers from max to low, and it doesn't get set properly,

Enable Force alternative backlight scale.

These bugs may or may not occur depending on your device, dont solely depend on this information, as mentioned in the notes, its reccommended you use DSU to test if the GSI works and to find out its issues.

Project Elexir, Evo :

Buggy rotation behavior.

Auto-Brightness does not work.

Xiaomi Stylus does not work, any knockoff pen that does not use bluetooth should work fine, as mine does.

When using a cover, screen turns off randomly many times when changing the orientation of the screen.

Sometimes when you leave the tab for a long period, the screen doesn't open unless you restart it

Information from ahmd gom3aa from this comment.

Pixel Experience Plus :

Brightness bar will not work if you dont have Force alternative backlight scale enabled.

Xiaomi Stylus does not work, any knockoff pen that does not use bluetooth should work fine, as mine does.

System thinks you have an external keyboard.

Freeform Windows do not work.

If something goes wrong feel free to comment here and I'll try to assist you as soon as I can and if you use a different GSI and it works, please make sure to leave a comment and some screenshots for future users, Thank you!