[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] scuslon:
i am trying to go back to stock but i can't

[IMG="image"]https://i.ibb.co/F5wqq1Z/z2164720220652-246d8f08f266ae13b778d6d4535d9f36.jpg[/IMG]

I use the miflash tool to install the stock rom but with an error "Flash system_a error"

[00:02:14 00b27ed70904]:MiFlash 2019.12.6.0
[00:02:14 00b27ed70904]:idproduct: 53261 idvendor: 6353
[00:02:14 00b27ed70904]:Thread id:11 Thread name:00b27ed70904
[00:02:14 00b27ed70904]:image path:D:\tissot_images_V10.0.24.0.PDHMIXM_9.0
[00:02:14 00b27ed70904]:env android path:"C:\Program Files (x86)\MiFlashPro\XiaoMiFlash\Source\ThirdParty\Google\Android"
[00:02:14 00b27ed70904]:script :D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\flash_all_lock.bat
[00:02:15 00b27ed70904]:Physical Memory Usage:3825664 Byte
[00:02:15 00b27ed70904]:start process id 12804 name cmd
[00:02:15 00b27ed70904]:info1:$fastboot -s 00b27ed70904 getvar product 2>&1 | findstr /r /c:"^product: *tissot" ||
[00:02:15 00b27ed70904]:info1:product: tissot
[00:02:15 00b27ed70904]:info1:$fastboot -s 00b27ed70904 erase boot_a ||
[00:02:15 00b27ed70904]:info2:Erasing 'boot_a'...
[00:02:15 00b27ed70904]:info2:eek:KAY [ 0.050s]
[00:02:15 00b27ed70904]:info2:Finished. Total time: 0.098s
[00:02:15 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash modem_a D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\modem.img ||
[00:02:18 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:18 00b27ed70904]:info2:Sending 'modem_a' (86016 KB)...
[00:02:18 00b27ed70904]:info2:eek:KAY [ 2.388s]
[00:02:18 00b27ed70904]:info2:Writing 'modem_a'...
[00:02:18 00b27ed70904]:info2:eek:KAY [ 0.403s]
[00:02:18 00b27ed70904]:info2:Finished. Total time: 2.962s
[00:02:18 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash modem_b D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\modem.img ||
[00:02:21 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:21 00b27ed70904]:info2:Sending 'modem_b' (86016 KB)...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 1.949s]
[00:02:21 00b27ed70904]:info2:Writing 'modem_b'...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.399s]
[00:02:21 00b27ed70904]:info2:Finished. Total time: 2.415s
[00:02:21 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash sbl1 D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\sbl1.img ||
[00:02:21 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:21 00b27ed70904]:info2:Sending 'sbl1' (380 KB)...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.040s]
[00:02:21 00b27ed70904]:info2:Writing 'sbl1'...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.026s]
[00:02:21 00b27ed70904]:info2:Finished. Total time: 0.154s
[00:02:21 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash sbl1bak D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\sbl1.img ||
[00:02:21 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:21 00b27ed70904]:info2:Sending 'sbl1bak' (380 KB)...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.040s]
[00:02:21 00b27ed70904]:info2:Writing 'sbl1bak'...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.025s]
[00:02:21 00b27ed70904]:info2:Finished. Total time: 0.126s
[00:02:21 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash rpm D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\rpm.img ||
[00:02:21 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:21 00b27ed70904]:info2:Sending 'rpm' (170 KB)...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.040s]
[00:02:21 00b27ed70904]:info2:Writing 'rpm'...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.026s]
[00:02:21 00b27ed70904]:info2:Finished. Total time: 0.180s
[00:02:21 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash rpmbak D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\rpm.img ||
[00:02:21 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:21 00b27ed70904]:info2:Sending 'rpmbak' (170 KB)...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.040s]
[00:02:21 00b27ed70904]:info2:Writing 'rpmbak'...
[00:02:21 00b27ed70904]:info2:eek:KAY [ 0.027s]
[00:02:21 00b27ed70904]:info2:Finished. Total time: 0.128s
[00:02:21 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash tz D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\tz.img ||
[00:02:22 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:22 00b27ed70904]:info2:Sending 'tz' (1495 KB)...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.070s]
[00:02:22 00b27ed70904]:info2:Writing 'tz'...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.032s]
[00:02:22 00b27ed70904]:info2:Finished. Total time: 0.171s
[00:02:22 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash tzbak D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\tz.img ||
[00:02:22 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:22 00b27ed70904]:info2:Sending 'tzbak' (1495 KB)...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.071s]
[00:02:22 00b27ed70904]:info2:Writing 'tzbak'...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.032s]
[00:02:22 00b27ed70904]:info2:Finished. Total time: 0.171s
[00:02:22 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash devcfg D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\devcfg.img ||
[00:02:22 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:22 00b27ed70904]:info2:Sending 'devcfg' (38 KB)...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.039s]
[00:02:22 00b27ed70904]:info2:Writing 'devcfg'...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.027s]
[00:02:22 00b27ed70904]:info2:Finished. Total time: 0.137s
[00:02:22 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash devcfgbak D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\devcfg.img ||
[00:02:22 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:22 00b27ed70904]:info2:Sending 'devcfgbak' (38 KB)...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.039s]
[00:02:22 00b27ed70904]:info2:Writing 'devcfgbak'...
[00:02:22 00b27ed70904]:info2:eek:KAY [ 0.026s]
[00:02:22 00b27ed70904]:info2:Finished. Total time: 0.130s
[00:02:22 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash dsp D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\dsp.img ||
[00:02:23 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:23 00b27ed70904]:info2:Sending 'dsp' (16384 KB)...
[00:02:23 00b27ed70904]:info2:eek:KAY [ 0.542s]
[00:02:23 00b27ed70904]:info2:Writing 'dsp'...
[00:02:23 00b27ed70904]:info2:eek:KAY [ 0.100s]
[00:02:23 00b27ed70904]:info2:Finished. Total time: 0.729s
[00:02:23 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash sec D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\sec.dat ||
[00:02:23 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:23 00b27ed70904]:info2:Sending 'sec' (0 KB)...
[00:02:23 00b27ed70904]:info2:eek:KAY [ 0.040s]
[00:02:23 00b27ed70904]:info2:Writing 'sec'...
[00:02:23 00b27ed70904]:info2:eek:KAY [ 0.024s]
[00:02:23 00b27ed70904]:info2:Finished. Total time: 0.128s
[00:02:23 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash splash D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\splash.img ||
[00:02:23 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:23 00b27ed70904]:info2:Sending 'splash' (1103 KB)...
[00:02:23 00b27ed70904]:info2:eek:KAY [ 0.061s]
[00:02:23 00b27ed70904]:info2:Writing 'splash'...
[00:02:23 00b27ed70904]:info2:eek:KAY [ 0.040s]
[00:02:23 00b27ed70904]:info2:Finished. Total time: 0.167s
[00:02:23 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash misc D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\misc.img ||
[00:02:24 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:24 00b27ed70904]:info2:Sending 'misc' (8 KB)...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.041s]
[00:02:24 00b27ed70904]:info2:Writing 'misc'...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.024s]
[00:02:24 00b27ed70904]:info2:Finished. Total time: 0.135s
[00:02:24 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash aboot D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\emmc_appsboot.mbn ||
[00:02:24 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:24 00b27ed70904]:info2:Sending 'aboot' (665 KB)...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.050s]
[00:02:24 00b27ed70904]:info2:Writing 'aboot'...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.028s]
[00:02:24 00b27ed70904]:info2:Finished. Total time: 0.139s
[00:02:24 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash abootbak D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\emmc_appsboot.mbn ||
[00:02:24 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:24 00b27ed70904]:info2:Sending 'abootbak' (665 KB)...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.050s]
[00:02:24 00b27ed70904]:info2:Writing 'abootbak'...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.027s]
[00:02:24 00b27ed70904]:info2:Finished. Total time: 0.147s
[00:02:24 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash boot_a D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\boot.img ||
[00:02:24 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:24 00b27ed70904]:info2:Sending 'boot_a' (16007 KB)...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.421s]
[00:02:24 00b27ed70904]:info2:Writing 'boot_a'...
[00:02:24 00b27ed70904]:info2:eek:KAY [ 0.105s]
[00:02:24 00b27ed70904]:info2:Finished. Total time: 0.601s
[00:02:24 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash boot_b D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\boot.img ||
[00:02:25 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:25 00b27ed70904]:info2:Sending 'boot_b' (16007 KB)...
[00:02:25 00b27ed70904]:info2:eek:KAY [ 0.382s]
[00:02:25 00b27ed70904]:info2:Writing 'boot_b'...
[00:02:25 00b27ed70904]:info2:eek:KAY [ 0.096s]
[00:02:25 00b27ed70904]:info2:Finished. Total time: 0.542s
[00:02:25 00b27ed70904]:info1:$fastboot -s 00b27ed70904 flash system_a D:\tissot_images_V10.0.24.0.PDHMIXM_9.0\images\system.img ||
[00:02:53 00b27ed70904]:info2:target reported max download size of 534773760 bytes
[00:02:53 00b27ed70904]:info2:Erasing 'system_a'...
[00:02:53 00b27ed70904]:info2:eek:KAY [ 0.643s]
[00:02:53 00b27ed70904]:info2:Sending sparse 'system_a' 1/6 (522236 KB)...
[00:02:53 00b27ed70904]:info2:eek:KAY [ 11.978s]
[00:02:53 00b27ed70904]:info2:Writing 'system_a' 1/6...
[00:02:53 00b27ed70904]:info2:FAILED (remote: size too large)
[00:02:53 00b27ed70904]:info2:Finished. Total time: 27.909s
[00:02:53 00b27ed70904]:info1:"Flash system_a error"
[00:02:54 00b27ed70904]:process exit id 12804 name cmd
[00:02:54 00b27ed70904]:error:FAILED (remote: size too large)
[00:02:54 00b27ed70904]:error:FAILED (remote: size too large)
[00:02:54 00b27ed70904]:process exit.
[00:02:54 00b27ed70904]:flashSuccess False
[00:02:54 00b27ed70904]:isFactory False CheckCPUID False
[00:02:54 00b27ed70904]:before:flashSuccess is False set IsUpdate:True set IsDone True
[00:02:54 00b27ed70904]:after:flashSuccess is False set IsUpdate:false set IsDone true