[Poco M4 5G / Redmi Note 11 E / 10 Prime+ 5G] Raghav10330:
You are doing everything on your device at your

own risk.

Your data will be wiped! Do your research before doing anything. Continue on your own volition. AGAIN! You are doing everything at your own risk! I will not take responsibility for anything!​

Credit for original Guide goes to

rorkeanathema​

I have used GSI on my Redmi 11 Prime 5G for many months, So I wanted to share what I've learned.

Prerequisites:-​

MIUI Fastboot file (tested working:- light_in_global_images_V14.0.6.0.TLSINXM_13.0)

Magisk

Your favourite GSI (system-arm64-ab.img.xz)

Step 1 (Rooting)​

Install MIUI rom on device (make sure bootloader does not get locked)

In the folder

light_in_global_images_V14.0.6.0.TLSINXM_13.0\images

copy boot.img and place it the phone's storage

Install and open Magisk app.

Click on Install > Select file

Select the boot.img you just placed in your phone and,

Click on Patch

Once done, move your patched boot image to your PC and put it in platform-tools folder.

Reboot device into bootloader.

Open terminal in platform-tools folder.

Enter the following:

fastboot flash boot magisk_patched(press TAB to autocomplete).img

Let it finish. Reboot. Check if device is rooted.

Step 2 (Installing GSI)​

I have tested DerpFest 14, PixelOS 14, EvolutionX 8, ProjectElixir 3.12, AOSP 14, Lineage OS 20, Pixel Experience 13. All are working.

Make sure to download "system-arm64-ab.img.xz" version of your favourite GSI.

Extract the img file and place it in platform-tools folder.

Reboot to bootloader.

Enter the following:

fastboot reboot fastboot

fastboot erase system

fastboot delete-logical-partition product_a

fastboot flash system yourgsiname.img (Replace "yourgsiname" with the name of the GSI image file)

fastboot -w

fastboot reboot

Step 3 (Setup)​

Make sure to do the initial setup offline and skip it.

When in homescreen:-

Go to settings

Go to Phh Treble Settings > IMS features:

1) Install IMS APK (make sure to install it after the download is complete from the notification panel)

2) Turn on Request IMS network

3) Turn on Force the presence of 4G Calling setting

Reboot (If you want to root then you can do so with the same magisk patched boot.img from Step 1.)

And you can continue with your initial setup from the notification panel.

Step 4 (Fixes)​

If SafetyNet is has not passed: Root your device, flash the Play Integrity Fix by chiteroman

For 90Hz Refresh Rate: Go to Phh Treble Settings > Misc features > Force FPS (Select 1080x2408@90.0 for 90Hz)

Earphones not working: Go to Phh Treble Settings > Misc features > Use alternate way to detect headsets (And Reboot)

Bluetooth not working: Go to Phh Treble Settings > Misc features > Bluetooth Workarounds [Also try enabling the option in developer options: Disable Bluetooth A2DP hardware offload] (And Reboot)

Brightness is finicky: Go to Phh Treble Settings > Misc features > Force alternate backlight scale (And Reboot)

Lowest Brightness is still too bright: Go to Phh Treble Settings > Misc features > Allows setting brightness to the lowest possible (And Reboot)

Incoming calls aren't popping up: In the phone app dial *#*#4636#*#* > Phone information > Set preferred network type: (Select the types your service provider supports [For example my sim 1 is VI and I have GSM/WCDMA preferred for calls and for sim 2 Jio I have NR only for 5G] Do some research and select the options best for you)

Have Fun!​