[Xiaomi Mi A2 / 6X Guides, News, & Discussion] usernametaken53:
gets stuck on

C:\Users\jns\Downloads\OTA_V.2_(PIE)>cd adb

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash bluetooth_a bluetooth.img

Sending 'bluetooth_a' (556 KB) OKAY [ 0.022s]

Writing 'bluetooth_a' OKAY [ -0.000s]

Finished. Total time: 0.022s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash bluetooth_b bluetooth.img

Sending 'bluetooth_b' (556 KB) OKAY [ 0.016s]

Writing 'bluetooth_b' OKAY [ 0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash devcfg_a devcfg.img

Sending 'devcfg_a' (48 KB) OKAY [ -0.000s]

Writing 'devcfg_a' OKAY [ -0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash devcfg_b devcfg.img

Sending 'devcfg_b' (48 KB) OKAY [ 0.022s]

Writing 'devcfg_b' OKAY [ 0.000s]

Finished. Total time: 0.022s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash dsp_a dsp.img

Sending 'dsp_a' (16384 KB) OKAY [ 0.347s]

Writing 'dsp_a' OKAY [ -0.000s]

Finished. Total time: 0.347s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash dsp_b dsp.img

Sending 'dsp_b' (16384 KB) OKAY [ 0.353s]

Writing 'dsp_b' OKAY [ 0.000s]

Finished. Total time: 0.353s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash modem_a modem.img

Sending 'modem_a' (108196 KB) OKAY [ 2.324s]

Writing 'modem_a' OKAY [ -0.000s]

Finished. Total time: 2.324s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash modem_b modem.img

Sending 'modem_b' (108196 KB) OKAY [ 2.322s]

Writing 'modem_b' OKAY [ -0.000s]

Finished. Total time: 2.338s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash xbl_a xbl.img

Sending 'xbl_a' (2508 KB) OKAY [ 0.069s]

Writing 'xbl_a' OKAY [ -0.000s]

Finished. Total time: 0.069s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash xbl_b xbl.img

Sending 'xbl_b' (2508 KB) OKAY [ 0.069s]

Writing 'xbl_b' OKAY [ 0.000s]

Finished. Total time: 0.069s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash pmic_a pmic.img

Sending 'pmic_a' (40 KB) OKAY [ -0.000s]

Writing 'pmic_a' OKAY [ -0.000s]

Finished. Total time: -0.000s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash pmic_b pmic.img

Sending 'pmic_b' (40 KB) OKAY [ 0.007s]

Writing 'pmic_b' OKAY [ 0.000s]

Finished. Total time: 0.022s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash rpm_a rpm.img

Sending 'rpm_a' (220 KB) OKAY [ 0.016s]

Writing 'rpm_a' OKAY [ 0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash rpm_b rpm.img

Sending 'rpm_b' (220 KB) OKAY [ -0.000s]

Writing 'rpm_b' OKAY [ 0.016s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash tz_a tz.img

Sending 'tz_a' (1924 KB) OKAY [ 0.053s]

Writing 'tz_a' OKAY [ 0.000s]

Finished. Total time: 0.053s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash tz_b tz.img

Sending 'tz_b' (1924 KB) OKAY [ 0.053s]

Writing 'tz_b' OKAY [ 0.000s]

Finished. Total time: 0.053s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash hyp_a hyp.img

Sending 'hyp_a' (272 KB) OKAY [ 0.016s]

Writing 'hyp_a' OKAY [ -0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash hyp_b hyp.img

Sending 'hyp_b' (272 KB) OKAY [ -0.000s]

Writing 'hyp_b' OKAY [ 0.016s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash keymaster_a keymaster.img

Sending 'keymaster_a' (308 KB) OKAY [ 0.022s]

Writing 'keymaster_a' OKAY [ 0.000s]

Finished. Total time: 0.022s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash keymaster_b keymaster.img

Sending 'keymaster_b' (308 KB) OKAY [ 0.016s]

Writing 'keymaster_b' OKAY [ 0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash cmnlib64_a cmnlib64.img

Sending 'cmnlib64_a' (268 KB) OKAY [ 0.000s]

Writing 'cmnlib64_a' OKAY [ 0.016s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash cmnlib64_b cmnlib64.img

Sending 'cmnlib64_b' (268 KB) OKAY [ 0.022s]

Writing 'cmnlib64_b' OKAY [ -0.000s]

Finished. Total time: 0.022s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash cmnlib_a cmnlib.img

Sending 'cmnlib_a' (220 KB) OKAY [ -0.000s]

Writing 'cmnlib_a' OKAY [ -0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash cmnlib_b cmnlib.img

Sending 'cmnlib_b' (220 KB) OKAY [ 0.000s]

Writing 'cmnlib_b' OKAY [ 0.016s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash abl_a abl.img

Sending 'abl_a' (148 KB) OKAY [ -0.000s]

Writing 'abl_a' OKAY [ -0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash abl_b abl.img

Sending 'abl_b' (148 KB) OKAY [ 0.016s]

Writing 'abl_b' OKAY [ -0.000s]

Finished. Total time: 0.016s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash boot_a boot.img

Sending 'boot_a' (55556 KB) OKAY [ 1.185s]

Writing 'boot_a' OKAY [ 0.016s]

Finished. Total time: 1.201s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash boot_b boot.img

Sending 'boot_b' (55556 KB) OKAY [ 1.200s]

Writing 'boot_b' OKAY [ -0.000s]

Finished. Total time: 1.200s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash system_a system.img

Invalid sparse file format at header magic

Sending sparse 'system_a' 1/4 (524286 KB) OKAY [ 11.575s]

Writing sparse 'system_a' 1/4 OKAY [ 0.016s]

Sending sparse 'system_a' 2/4 (524285 KB) OKAY [ 14.145s]

Writing sparse 'system_a' 2/4 OKAY [ -0.000s]

Sending sparse 'system_a' 3/4 (524286 KB) OKAY [ 13.967s]

Writing sparse 'system_a' 3/4 OKAY [ -0.000s]

Sending sparse 'system_a' 4/4 (483657 KB) OKAY [ 12.434s]

Writing sparse 'system_a' 4/4 OKAY [ 0.000s]

Finished. Total time: 56.939s

C:\Users\jns\Downloads\OTA_V.2_(PIE)\adb>fastboot flash system_b system.img

bootloader is unlocked and i also did fastboot flashing unlock_critical.

drivers are installed correctly.

no clue what to do from here, already restarted the process twice, still no luck. maybe try another usb port ?

edit: now i get an "unknown error" when writing the b partitions -.-

edit 2: now this shows > "FAILED (command write failed (No error))

finished. total time: -0.000s"