"What does mean the second output line "Invalid sparse file format at header magic" ? The bootloop depends on that ?" Ignore it. No, it doesn't depend on that. You probably forgot to decrypt ur data. Use the guide below.Flashing the rom I got this output:
$ fastboot flash system aosp-11_prague_20210406.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'system' 1/4 (417881 KB)...
OKAY [ 11.517s]
writing 'system' 1/4...
OKAY [ 11.228s]
sending sparse 'system' 2/4 (460796 KB)...
OKAY [ 12.628s]
writing 'system' 2/4...
OKAY [ 10.559s]
sending sparse 'system' 3/4 (458901 KB)...
OKAY [ 12.600s]
writing 'system' 3/4...
OKAY [ 11.793s]
sending sparse 'system' 4/4 (380426 KB)...
OKAY [ 10.485s]
writing 'system' 4/4...
OKAY [ 9.934s]
finished. total time: 90.745s
It seems to have worked but at the end it sticks in a bootloop.
What does mean the second output line "Invalid sparse file format at header magic" ? The bootloop depends on that ?
Used this twrp version: TWRP_3.4.0-0-warsaw_DarkJoker360_20200611.img
The complete way to boot gsis a11 on emui8
Coming from stock emui8
1- Install twrp 0.5 test
2- Flash fstab.hi6250b zip (you can find it in hi6260 community telegram group) to decrypt data and format data
3- Boot to emui and check if data is decrypted in settings security , if yes
Make twrp backup ( all available partitions )
1- Wipe system data cache
2- Flash system img in system image partition with "twrp" or you can use "fastboot flash"
3- Go to mount menu , uncheck then check again system
4- Resize system via advanced wipe menu
5- Flash aio v2.4.1
6- Flash Nikgapps gapps
( optional )
7- Install magisk apk
8- Go to twrp & flash MAGISKA11-a-only
9- Flash Magisk-v22-canary-phh
10- Reboot and enjoy
PS: - search in this group using /notes all required files
- For aosp a11 by Darkjoker360 ignore step 5 , and flash NFC fix instead
Thanks @Hami_Do for this guide!