Used xiaomi.eu_multi_MI11_21.5.12_v12-11-fastboot ROM
Booted the phone into fastboot mode, connected via USB to the laptop
Executed ./windows_fastboot_first_install_with_data_format.bat
Here is the log
Code:
You are going to wipe your data and internal storage. It will delete all your files and photos stored on internal storage. Do you agree? (Y/N) Y
product: venus
product: venus
Sending 'vm-bootsys_ab' (263668 KB) OKAY [ 6.970s]
Writing 'vm-bootsys_ab' (bootloader) Partition vm-bootsys_a flashed successfully
(bootloader) Partition vm-bootsys_b flashed successfully
OKAY [ 1.164s]
Finished. Total time: 8.143s
Sending 'dsp_ab' (65536 KB) OKAY [ 1.736s]
Writing 'dsp_ab' (bootloader) Partition dsp_a flashed successfully
(bootloader) Partition dsp_b flashed successfully
OKAY [ 0.296s]
Finished. Total time: 2.058s
Sending 'xbl_config_ab' (216 KB) OKAY [ 0.007s]
Writing 'xbl_config_ab' (bootloader) Partition xbl_config_a flashed successfully
(bootloader) Partition xbl_config_b flashed successfully
OKAY [ 0.007s]
Finished. Total time: 0.030s
Sending 'boot_ab' (196608 KB) OKAY [ 5.205s]
Writing 'boot_ab' (bootloader) Partition boot_a flashed successfully
(bootloader) Partition boot_b flashed successfully
OKAY [ 0.879s]
Finished. Total time: 6.121s
Sending 'modem_ab' (242268 KB) OKAY [ 6.377s]
Writing 'modem_ab' (bootloader) Partition modem_a flashed successfully
(bootloader) Partition modem_b flashed successfully
OKAY [ 1.121s]
Finished. Total time: 7.522s
Sending 'vbmeta_system_ab' (4 KB) OKAY [ 0.001s]
Writing 'vbmeta_system_ab' (bootloader) Partition vbmeta_system_a flashed successfully
(bootloader) Partition vbmeta_system_b flashed successfully
OKAY [ 0.005s]
Finished. Total time: 0.021s
Sending 'tz_ab' (3640 KB) OKAY [ 0.097s]
Writing 'tz_ab' (bootloader) Partition tz_a flashed successfully
(bootloader) Partition tz_b flashed successfully
OKAY [ 0.047s]
Finished. Total time: 0.187s
Sending 'vbmeta_ab' (4 KB) OKAY [ 0.002s]
Writing 'vbmeta_ab' (bootloader) Partition vbmeta_a flashed successfully
(bootloader) Partition vbmeta_b flashed successfully
OKAY [ 0.006s]
Finished. Total time: 0.021s
Sending 'bluetooth_ab' (1084 KB) OKAY [ 0.029s]
Writing 'bluetooth_ab' (bootloader) Partition bluetooth_a flashed successfully
(bootloader) Partition bluetooth_b flashed successfully
OKAY [ 0.010s]
Finished. Total time: 0.055s
Sending 'abl_ab' (204 KB) OKAY [ 0.007s]
Writing 'abl_ab' (bootloader) Partition abl_a flashed successfully
(bootloader) Partition abl_b flashed successfully
OKAY [ 0.007s]
Finished. Total time: 0.027s
Sending 'cpucp_ab' (100 KB) OKAY [ 0.004s]
Writing 'cpucp_ab' (bootloader) Partition cpucp_a flashed successfully
(bootloader) Partition cpucp_b flashed successfully
OKAY [ 0.010s]
Finished. Total time: 0.027s
Sending 'dtbo_ab' (8192 KB) OKAY [ 0.212s]
Writing 'dtbo_ab' (bootloader) Partition dtbo_a flashed successfully
(bootloader) Partition dtbo_b flashed successfully
OKAY [ 0.047s]
Finished. Total time: 0.275s
Sending 'featenabler_ab' (88 KB) OKAY [ 0.004s]
Writing 'featenabler_ab' (bootloader) Partition featenabler_a flashed successfully
(bootloader) Partition featenabler_b flashed successfully
OKAY [ 0.007s]
Finished. Total time: 0.026s
Sending 'vendor_boot_ab' (3692 KB) OKAY [ 0.096s]
Writing 'vendor_boot_ab' (bootloader) Partition vendor_boot_a flashed successfully
(bootloader) Partition vendor_boot_b flashed successfully
OKAY [ 0.023s]
Finished. Total time: 0.134s
Sending 'keymaster_ab' (260 KB) OKAY [ 0.008s]
Writing 'keymaster_ab' (bootloader) Partition keymaster_a flashed successfully
(bootloader) Partition keymaster_b flashed successfully
OKAY [ 0.031s]
Finished. Total time: 0.080s
Sending 'uefisecapp_ab' (124 KB) OKAY [ 0.004s]
Writing 'uefisecapp_ab' (bootloader) Partition uefisecapp_a flashed successfully
(bootloader) Partition uefisecapp_b flashed successfully
OKAY [ 0.010s]
Finished. Total time: 0.029s
Sending 'qupfw_ab' (56 KB) OKAY [ 0.002s]
Writing 'qupfw_ab' (bootloader) Partition qupfw_a flashed successfully
(bootloader) Partition qupfw_b flashed successfully
OKAY [ 0.005s]
Finished. Total time: 0.019s
Sending 'xbl_ab' (3584 KB) OKAY [ 0.096s]
Writing 'xbl_ab' (bootloader) Partition xbl_a flashed successfully
(bootloader) Partition xbl_b flashed successfully
OKAY [ 0.014s]
Finished. Total time: 0.132s
Sending 'devcfg_ab' (52 KB) OKAY [ 0.002s]
Writing 'devcfg_ab' (bootloader) Partition devcfg_a flashed successfully
(bootloader) Partition devcfg_b flashed successfully
OKAY [ 0.007s]
Finished. Total time: 0.022s
Sending 'hyp_ab' (3600 KB) OKAY [ 0.095s]
Writing 'hyp_ab' (bootloader) Partition hyp_a flashed successfully
(bootloader) Partition hyp_b flashed successfully
OKAY [ 0.030s]
Finished. Total time: 0.163s
Sending 'imagefv_ab' (28 KB) OKAY [ 0.002s]
Writing 'imagefv_ab' (bootloader) Partition imagefv_a flashed successfully
(bootloader) Partition imagefv_b flashed successfully
OKAY [ 0.004s]
Finished. Total time: 0.019s
Sending 'shrm_ab' (48 KB) OKAY [ 0.003s]
Writing 'shrm_ab' (bootloader) Partition shrm_a flashed successfully
(bootloader) Partition shrm_b flashed successfully
OKAY [ 0.005s]
Finished. Total time: 0.019s
Sending 'aop_ab' (240 KB) OKAY [ 0.008s]
Writing 'aop_ab' (bootloader) Partition aop_a flashed successfully
(bootloader) Partition aop_b flashed successfully
OKAY [ 0.008s]
Finished. Total time: 0.030s
Sending 'cust' (417604 KB) OKAY [ 10.262s]
Writing 'cust' OKAY [ 0.015s]
Finished. Total time: 10.752s
Sending sparse 'super' 1/7 (738892 KB) OKAY [ 18.679s]
Writing 'super' OKAY [ 0.005s]
Sending sparse 'super' 2/7 (768540 KB) OKAY [ 19.537s]
Writing 'super' OKAY [ 0.011s]
Sending sparse 'super' 3/7 (751520 KB) OKAY [ 18.961s]
Writing 'super' OKAY [ 0.047s]
Sending sparse 'super' 4/7 (785908 KB) OKAY [ 19.927s]
Writing 'super' OKAY [ 0.004s]
Sending sparse 'super' 5/7 (768768 KB) OKAY [ 19.405s]
Writing 'super' OKAY [ 0.006s]
Sending sparse 'super' 6/7 (760128 KB) OKAY [ 19.181s]
Writing 'super' OKAY [ 0.005s]
Sending sparse 'super' 7/7 (771592 KB) OKAY [ 19.225s]
Writing 'super' OKAY [ 0.043s]
Finished. Total time: 148.967s
Setting current slot to 'a' OKAY [ 15.082s]
Finished. Total time: 15.251s
Erasing 'metadata' OKAY [ 2.091s]
Finished. Total time: 2.207s
Erasing 'userdata' OKAY [ 1.191s]
F2FS-tools: mkfs.f2fs Ver: 1.13.0 (2019-09-24)
Info: Disable heap-based policy
Info: Debug level = 1
Info: Trim is disabled
Info: Set conf for android
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 470990808 (229975 MB)
Info: zone aligned segment0 blkaddr: 512
Info: add quota type = 0 => 4
Info: add quota type = 1 => 5
[f2fs_init_sit_area: 556] Filling sit area at offset 0x00600000
C:\Users\av\Desktop\fastboost\platform-tools-windows/make_f2fs failed: 3221225477
fastboot: error: Cannot generate image for userdata
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.003s
The phone rebooted into the original recovery mode --> wiped the data.
Installed twrp as follows: fastboot boot mi-11-twrp3.5.1-recovery-v21.5.10_decrypted.img
Pushed the latest ROM into device: adb push xiaomi.eu_multi_MI11_21.6.30_v12-11.zip /sdcard
xiaomi.eu_multi_MI11_21.6.30_v12-11.zip: 1 file pushed. 32.5 MB/s (4086123980 bytes in 120.080s)
Install -- selected xiaomi.eu_multi_MI11_21.6.30_v12-11.zip
Installation completed. Rebooted.
All works now. The System occupies 14.85 GB. (Despite of the weird error during fastboot: error: Cannot generate image for userdata. Hope it is not major)