[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] mYXiao:
[Warning - outdated - OP has replaced the fw+vendor file 11.0.3 to 11.0.11]

Explaning some stuff about GSI basics

If this GSI stuff is also new to you like it is to me:

When working with GSI it's important to understand that the version which is currently running on your device, lets say V10.2.5 for example,

has the same version of your patched boot image (actually the boot image is build to fit for the currently running version i guess)

In this Thread the Base (11.0.3 Q FW) must have the same Version as the currently running version.

At the beginning i didn't know how this should work out because in all the other GSI Rom guides there is a patched boot image file in use

but if you want to use this Base (11.0.3 Q FW) there is no V11.0.3 GLOBAL patched boot image file to use?, just russia.

(see https://xdaforums.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305 link in download section)

but then i read somewhere that the boot img also/always is part of the stock image and then i saw that the actual stock image from c. mi. com homepage is V11.0.3.

the second thing that doesn't made sense to me was: does Base (11.0.3 Q FW) mean you only can run Android 10 on it and why are there "higher versions" like Base (11.0.7 P FW) for the older Android P?

but anyway i had all the needed files to give it a try.

Instructions how to get from some sort of a corrupt status xy --> StockRom

Because i did some testing with Rom's i needed a "starting point" = this means unlocked Bootloader, Stock Rom V11.0.3, recovery installed

This was necessary for me to find out what step causes problems and also to "reset" the boot.img if i used a patched one

So this was my loop i did everytime to get from some sort of a corrupt status "xy" back to "starting point":

Enter Fastboot mode (Vol-Down & Power)

Install Stock Rom "pine_global_images_V11.0.3.0.QCMMIXM_20200717.0000.00_10.0_global" from c .mi .com homepage by using the software "MiFlash 2020.3.14.0"

(if you use MiFlash for the first time go to Driver --> install & wait for weird message.)

(it's important to use the V11.0.3.0. if you want to run the "64-bit Base Package For GSI Redmi 7A")

if your bootloader is unlocked at this moment choose "clean all" at the bottom of MiFlash instead of "clean all and lock".

("clean all" always ends with the error "error: Not catch checkpoint (\$fastboot -s .*lock), flash is not done" but you can ignore this one)

After install Stock Rom is finished let the device boot to system

if you already have a unlocked bootloader and you used "clean all" option you can now shut down the device and then enter Fastboot mode (Vol-Down & Power)

if you used "clean all and lock" with a previous unlocked bootloader you can quickly unlock it again by entering Fastboot mode and using the "Mi Unlock" software for Windows.

if your bootloader was never unlocked before you now have to do the complete process:

enable the developer options, go to "Mi unlock status" and register/LOGIN ON YOUR DEVICE into Mi-Account, install "Mi Unlock" software on PC and then you can unlock it.

anyways, if your bootloader is unlocked - shut down the device and then enter Fastboot mode (Vol-Down & Power)

[not flashing boot.img, already mentioned why not ]

use fastboot to flash vbmeta.img

vbmeta file

https://xdaforums.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305

use fastboot to flash recovery.img

TWRP recovery

https://xdaforums.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305

go to recovery by holding Vol-Up & Power​

-->my starting point to testing different settings...

Wipe Dalvik / ART cache, System, Data, Cache.

Format Data > Yes

Do not wipe Internal Storage!

copy the following files to the devices sdcard:

Base (11.0.3 Q FW) - fw_vendor_pine_64bit-rel_11.0.3MI.zip File from download section [Warning - outdated - OP has removed this file]

"lineage-17.1-20200808-UNOFFICIAL-treble_arm64_bvN.img" (thats the one i've used but any arm64 GSI of your choice should work)

link in Download section at: https://xdaforums.com/project-trebl...lopment/gsi-lineageos-17-0-gsi-archs-t4004673

Permissiver v5:

https://xdaforums.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305

FM Radio fix: [EDIT: dont use this because LOS bootscreen will stuck in a flickering loop]

https://xdaforums.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305

use FM-Radio_(GSI).zip instead [EDIT: app doesnt work because of errormessage]

https://xdaforums.com/attachment.php?attachmentid=4937895&d=1580288989

worked for me, thanks [MENTION=7343602]dmitrypershin2015[/MENTION]

Flash fw_vendor_pine_64bit-rel_11.0.3MI.zip aka "Base (11.0.3 Q FW)"

Wipe system

Flash any arm64 GSI of your choice to system image

Reboot to Recovery

Flash Magisk (optional) (not tested here)

Flash Permissiver v5

Flash GApps (optional) (not tested here)

If you get 'insufficient space' error, first resize System partition.

Flash FM-Radio_(GSI).zip

Reboot system and enjoy.

As already mentioned the FM Radio fix doesn't work, if you skip it LOS boots perfectly

another bug: No other color of the Notification LED than white

Somewhere in the Forum there is a link to Permissiver v4 instead of v5, cant say if v4 works fine but v5 does