[Xiaomi Mi A1 Questions & Answers] Macguyver1980:
Hello, I need help:cry:, I've same problem apart that I stay stuck on Fastboot mode on a Xiaomi MI11 Pro, I used the MiFlash soft and selected to lock it back after the flash, but then it seems the MIUI wasn't working on that phone and my bootloader is locked with a non bootable image. Here's the result of that command for me:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all

(bootloader) crc:1

(bootloader) token:VQEBHgEQFVnIUyI2Z3xekaozbJGKRQMEbWFycwIEIU9S_w

(bootloader) cpuid:0x214f52ff

(bootloader) parallel-download-flash:yes

(bootloader) anti:1

(bootloader) hw-revision:20001

(bootloader) unlocked:no

(bootloader) off-mode-charge:1

(bootloader) charger-screen-enabled:1

(bootloader) battery-soc-ok:yes

(bootloader) battery-voltage:0

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) erase-block-size: 0x1000

(bootloader) logical-block-size: 0x1000

(bootloader) variant:SM_ UFS

(bootloader) partition-type:fsc:raw

(bootloader) partition-size:fsc: 0x100000

(bootloader) partition-type:fsg:raw

(bootloader) partition-size:fsg: 0x800000

(bootloader) partition-type:modemst2:raw

(bootloader) partition-size:modemst2: 0x800000

(bootloader) partition-type:modemst1:raw

(bootloader) partition-size:modemst1: 0x800000

(bootloader) partition-type:bk51:raw

(bootloader) partition-size:bk51: 0xE0000

(bootloader) partition-type:ALIGN_TO_128K_2:raw

(bootloader) partition-size:ALIGN_TO_128K_2: 0x1A000

(bootloader) partition-type:oem_misc1:raw

(bootloader) partition-size:oem_misc1: 0x100000

(bootloader) partition-type:rtice:raw

(bootloader) partition-size:rtice: 0x80000

(bootloader) partition-type:spunvm:raw

(bootloader) partition-size:spunvm: 0x2000000

(bootloader) partition-type:tzsc:raw

(bootloader) partition-size:tzsc: 0x20000

(bootloader) partition-type:connsec:raw

(bootloader) partition-size:connsec: 0x20000

(bootloader) partition-type:mdcompress:raw

(bootloader) partition-size:mdcompress: 0x1400000

(bootloader) partition-type:vm-data:raw

(bootloader) partition-size:vm-data: 0x20A4000

(bootloader) partition-type:secdata:raw

(bootloader) partition-size:secdata: 0x8000

(bootloader) partition-type:uefivarstore:raw

(bootloader) partition-size:uefivarstore: 0x80000

(bootloader) partition-type:storsec:raw

(bootloader) partition-size:storsec: 0x20000

(bootloader) partition-type:logdump:raw

(bootloader) partition-size:logdump: 0x4000000

(bootloader) partition-type:limits-cdsp:raw

(bootloader) partition-size:limits-cdsp: 0x8000

(bootloader) partition-type:limits:raw

(bootloader) partition-size:limits: 0x8000

(bootloader) partition-type:splash:raw

(bootloader) partition-size:splash: 0x2000000

(bootloader) partition-type:bk43:raw

(bootloader) partition-size:bk43: 0x2000000

(bootloader) partition-type:logo:raw

(bootloader) partition-size:logo: 0x4000000

(bootloader) partition-type:gsort:raw

(bootloader) partition-size:gsort: 0x1000000

(bootloader) partition-type:apdp:raw

(bootloader) partition-size:apdp: 0x40000

(bootloader) partition-type:bk42:raw

(bootloader) partition-size:bk42: 0x80000

(bootloader) partition-type:dip:raw

(bootloader) partition-size:dip: 0x100000

(bootloader) partition-type:qweslicstore_b:raw

(bootloader) partition-size:qweslicstore_b: 0x40000

(bootloader) partition-type:vendor_boot_b:raw

(bootloader) partition-size:vendor_boot_b: 0x6000000

(bootloader) partition-type:featenabler_b:raw

(bootloader) partition-size:featenabler_b: 0x20000

(bootloader) partition-type:cpucp_b:raw

(bootloader) partition-size:cpucp_b: 0x100000

(bootloader) partition-type:multiimgoem_b:raw

(bootloader) partition-size:multiimgoem_b: 0x8000

(bootloader) partition-type:shrm_b:raw

(bootloader) partition-size:shrm_b: 0x20000

(bootloader) partition-type:imagefv_b:raw

(bootloader) partition-size:imagefv_b: 0x200000

(bootloader) partition-type:uefisecapp_b:raw

(bootloader) partition-size:uefisecapp_b: 0x200000

(bootloader) partition-type:dtbo_b:raw

(bootloader) partition-size:dtbo_b: 0x1800000

(bootloader) partition-type:vbmeta_b:raw

(bootloader) partition-size:vbmeta_b: 0x20000

(bootloader) partition-type:qupfw_b:raw

(bootloader) partition-size:qupfw_b: 0x20000

(bootloader) partition-type:devcfg_b:raw

(bootloader) partition-size:devcfg_b: 0x40000

(bootloader) partition-type:boot_b:raw

(bootloader) partition-size:boot_b: 0xC000000

(bootloader) partition-type:keymaster_b:raw

(bootloader) partition-size:keymaster_b: 0x100000

(bootloader) partition-type:dsp_b:raw

(bootloader) partition-size:dsp_b: 0x4000000

(bootloader) partition-type:abl_b:raw

(bootloader) partition-size:abl_b: 0x200000

(bootloader) partition-type:mdtp_b:raw

(bootloader) partition-size:mdtp_b: 0x2000000

(bootloader) partition-type:mdtpsecapp_b:raw

(bootloader) partition-size:mdtpsecapp_b: 0x400000

(bootloader) partition-type:bluetooth_b:raw

(bootloader) partition-size:bluetooth_b: 0x200000

(bootloader) partition-type:modem_b:raw

(bootloader) partition-size:modem_b: 0x1C000000

(bootloader) partition-type:hyp_b:raw

(bootloader) partition-size:hyp_b: 0x800000

(bootloader) partition-type:tz_b:raw

(bootloader) partition-size:tz_b: 0x400000

(bootloader) partition-type:bk41_b:raw

(bootloader) partition-size:bk41_b: 0x200000

(bootloader) partition-type:aop_b:raw

(bootloader) partition-size:aop_b: 0x80000

(bootloader) partition-type:qweslicstore_a:raw

(bootloader) partition-size:qweslicstore_a: 0x40000

(bootloader) partition-type:qmcs:raw

(bootloader) partition-size:qmcs: 0x1E00000

(bootloader) partition-type:vendor_boot_a:raw

(bootloader) partition-size:vendor_boot_a: 0x6000000

(bootloader) partition-type:featenabler_a:raw

(bootloader) partition-size:featenabler_a: 0x20000

(bootloader) partition-type:cpucp_a:raw

(bootloader) partition-size:cpucp_a: 0x100000

(bootloader) partition-type:multiimgoem_a:raw

(bootloader) partition-size:multiimgoem_a: 0x8000

(bootloader) partition-type:shrm_a:raw

(bootloader) partition-size:shrm_a: 0x20000

(bootloader) partition-type:imagefv_a:raw

(bootloader) partition-size:imagefv_a: 0x200000

(bootloader) partition-type:uefisecapp_a:raw

(bootloader) partition-size:uefisecapp_a: 0x200000

(bootloader) partition-type:dtbo_a:raw

(bootloader) partition-size:dtbo_a: 0x1800000

(bootloader) partition-type:vbmeta_a:raw

(bootloader) partition-size:vbmeta_a: 0x20000

(bootloader) partition-type:qupfw_a:raw

(bootloader) partition-size:qupfw_a: 0x20000

(bootloader) partition-type:devcfg_a:raw

(bootloader) partition-size:devcfg_a: 0x40000

(bootloader) partition-type:boot_a:raw

(bootloader) partition-size:boot_a: 0xC000000

(bootloader) partition-type:keymaster_a:raw

(bootloader) partition-size:keymaster_a: 0x100000

(bootloader) partition-type:dsp_a:raw

(bootloader) partition-size:dsp_a: 0x4000000

(bootloader) partition-type:abl_a:raw

(bootloader) partition-size:abl_a: 0x200000

(bootloader) partition-type:mdtp_a:raw

(bootloader) partition-size:mdtp_a: 0x2000000

(bootloader) partition-type:mdtpsecapp_a:raw

(bootloader) partition-size:mdtpsecapp_a: 0x400000

(bootloader) partition-type:bluetooth_a:raw

(bootloader) partition-size:bluetooth_a: 0x200000

(bootloader) partition-type:modem_a:raw

(bootloader) partition-size:modem_a: 0x1C000000

(bootloader) partition-type:hyp_a:raw

(bootloader) partition-size:hyp_a: 0x800000

(bootloader) partition-type:tz_a:raw

(bootloader) partition-size:tz_a: 0x400000

(bootloader) partition-type:bk41_a:raw

(bootloader) partition-size:bk41_a: 0x200000

(bootloader) partition-type:aop_a:raw

(bootloader) partition-size:aop_a: 0x80000

(bootloader) partition-type:bk32:raw

(bootloader) partition-size:bk32: 0x200000

(bootloader) partition-type:ddr:raw

(bootloader) partition-size:ddr: 0x200000

(bootloader) partition-type:bk31:raw

(bootloader) partition-size:bk31: 0x100000

(bootloader) partition-type:cdt:raw

(bootloader) partition-size:cdt: 0x20000

(bootloader) partition-type:ALIGN_TO_128K_1:raw

(bootloader) partition-size:ALIGN_TO_128K_1: 0x1A000

(bootloader) partition-type:xbl_config_b:raw

(bootloader) partition-size:xbl_config_b: 0x80000

(bootloader) partition-type:xbl_b:raw

(bootloader) partition-size:xbl_b: 0x800000

(bootloader) partition-type:xbl_config_a:raw

(bootloader) partition-size:xbl_config_a: 0x80000

(bootloader) partition-type:xbl_a:raw

(bootloader) partition-size:xbl_a: 0x800000

(bootloader) partition-type:userdata:f2fs

(bootloader) partition-size:userdata: 0x1A87BFB000

(bootloader) partition-type:rescue:raw

(bootloader) partition-size:rescue: 0x8000000

(bootloader) partition-type:bk010:raw

(bootloader) partition-size:bk010: 0x1FC0000

(bootloader) partition-type:vbmeta_system_b:raw

(bootloader) partition-size:vbmeta_system_b: 0x20000

(bootloader) partition-type:vbmeta_system_a:raw

(bootloader) partition-size:vbmeta_system_a: 0x20000

(bootloader) partition-type:super:raw

(bootloader) partition-size:super: 0x220000000

(bootloader) partition-type:cust:raw

(bootloader) partition-size:cust: 0x40000000

(bootloader) partition-type:exaid:raw

(bootloader) partition-size:exaid: 0x18000000

(bootloader) partition-type:rawdump:raw

(bootloader) partition-size:rawdump: 0x8000000

(bootloader) partition-type:minidump:raw

(bootloader) partition-size:minidump: 0x6000000

(bootloader) partition-type:logdump:raw

(bootloader) partition-size:logdump: 0x4000000

(bootloader) partition-type:mtdblk:raw

(bootloader) partition-size:mtdblk: 0x2000000

(bootloader) partition-type:persistbak:raw

(bootloader) partition-size:persistbak: 0x4000000

(bootloader) partition-type:persist:raw

(bootloader) partition-size:persist: 0x4000000

(bootloader) partition-type:bk09:raw

(bootloader) partition-size:bk09: 0x2000000

(bootloader) partition-type:splash:raw

(bootloader) partition-size:splash: 0x2000000

(bootloader) partition-type:bk08:raw

(bootloader) partition-size:bk08: 0x1000000

(bootloader) partition-type:metadata:raw

(bootloader) partition-size:metadata: 0x1000000

(bootloader) partition-type:devinfo:raw

(bootloader) partition-size:devinfo: 0x1000000

(bootloader) partition-type:oops:raw

(bootloader) partition-size:oops: 0x1000000

(bootloader) partition-type:ffu:raw

(bootloader) partition-size:ffu: 0x800000

(bootloader) partition-type:logfs:raw

(bootloader) partition-size:logfs: 0x800000

(bootloader) partition-type:bk06:raw

(bootloader) partition-size:bk06: 0x800000

(bootloader) partition-type:misc:raw

(bootloader) partition-size:misc: 0x400000

(bootloader) partition-type:countrycode:raw

(bootloader) partition-size:countrycode: 0x200000

(bootloader) partition-type:frp:raw

(bootloader) partition-size:frp: 0x80000

(bootloader) partition-type:keystore:raw

(bootloader) partition-size:keystore: 0x80000

(bootloader) partition-type:bk04:raw

(bootloader) partition-size:bk04: 0x80000

(bootloader) partition-type:bk03:raw

(bootloader) partition-size:bk03: 0x40000

(bootloader) partition-type:bk02:raw

(bootloader) partition-size:bk02: 0x20000

(bootloader) partition-type:bk01:raw

(bootloader) partition-size:bk01: 0x8000

(bootloader) partition-type:dbg:raw

(bootloader) partition-size:dbg: 0x8000

(bootloader) partition-type:ssd:raw

(bootloader) partition-size:ssd: 0x8000

(bootloader) partition-type:switch:raw

(bootloader) partition-size:switch: 0x2000

(bootloader) has-slot:modem:yes

(bootloader) has-slot:system:no

(bootloader) current-slot:a

(bootloader) has-slot:boot:yes

(bootloader) slot-retry-count:b:7

(bootloader) slot-unbootable:b:no

(bootloader) slot-successful:b:no

(bootloader) slot-retry-count:a:0

(bootloader) slot-unbootable:a:yes

(bootloader) slot-successful:a:no

(bootloader) slot-count:2

(bootloader) secure:yes

(bootloader) serialno:3a39c85

(bootloader) product:mars

(bootloader) snapshot-update-status:none

(bootloader) is-userspace:no

(bootloader) max-download-size:805306368

(bootloader) kernel:uefi

all:

finished. total time: 0.529s