joschaeff:
super partition missing
@joschaeff
You can still try to manually flash the file super.img
from Image fastbootROM V12.5.7.0.RKFEUXM:
Boot into fastboot-Mode …
fastboot devices > will return your device ID to indicate it has recognized your device
fastboot reboot fastboot > boots into fastboot’D’ mode (= not bootloader mode)
fastboot erase super.img > If an error message appears - ignore it.
fastboot flash super super.img > flashing super.img
fastboot reboot > Return systen mow
It is important that all other files from V12.5.7.0.RKFEUXM are already installed on the device.
If the install-script aborts the flash process after the error message regarding “super.img”, you can flash the remaining files manually.
Sadly, I think fastbootd mode is not working. When issuing “fastboot reboot fastboot”, at the end, when the device boots again, fastboot command outputs:
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
I removed all the “exit” commands from the flash_all.bat in order to flash everything even in case of error. I tried to flash this way firmvare v12 and v14.
Still the same, I can only boot in fastboot. As I understand it, fastboot is not able to create a super partition in order to flash the super.img file (same with vbmeta, also the error message is slightly different.
For the sake of completeness, I paste here all the output:
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>(set CURRENT_ANTI_VER=3 )
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>if [3] EQU [] set CURRENT_ANTI_VER=0
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>for /F "tokens=2 delims=: " %i in ('fastboot getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>(set version=3 )
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>if [3] EQU [] set version=0
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>set anticheck="antirollback check pass"
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>if 3 GTR 3 set anticheck="Current device antirollback version is greater than this pakcage"
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>echo "antirollback check pass" | findstr /r /c:"pass" ||
"antirollback check pass"
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot getvar product 2>&1 | findstr /r /c:"^product: *sweet" || echo Missmatching image and device
product: sweet
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot getvar product 2>&1 | findstr /r /c:"^product: *sweet" || exit /B 1
product: sweet
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot erase boot ||
Erasing 'boot' OKAY [ 0.016s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash crclist Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\crclist.txt ||
Warning: skip copying crclist image avb footer (crclist partition size: 0, crclist image size: 785).
Sending 'crclist' (0 KB) OKAY [ 0.015s]
Writing 'crclist' OKAY [ 0.000s]
Finished. Total time: 0.048s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash sparsecrclist Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\sparsecrclist.txt ||
Warning: skip copying sparsecrclist image avb footer (sparsecrclist partition size: 0, sparsecrclist image size: 247).
Sending 'sparsecrclist' (0 KB) OKAY [ 0.000s]
Writing 'sparsecrclist' OKAY [ 0.000s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash xbl Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\xbl.elf ||
Sending 'xbl' (3729 KB) OKAY [ 0.110s]
Writing 'xbl' OKAY [ 0.172s]
Finished. Total time: 0.344s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash xblbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\xbl.elf ||
Sending 'xblbak' (3729 KB) OKAY [ 0.109s]
Writing 'xblbak' OKAY [ 0.204s]
Finished. Total time: 0.360s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash xbl_config Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\xbl_config.elf ||
Sending 'xbl_config' (86 KB) OKAY [ 0.000s]
Writing 'xbl_config' OKAY [ 0.016s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash xbl_configbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\xbl_config.elf ||
Sending 'xbl_configbak' (86 KB) OKAY [ 0.000s]
Writing 'xbl_configbak' OKAY [ 0.015s]
Finished. Total time: 0.030s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash abl Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\abl.elf ||
Sending 'abl' (204 KB) OKAY [ 0.016s]
Writing 'abl' OKAY [ 0.000s]
Finished. Total time: 0.046s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash ablbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\abl.elf ||
Sending 'ablbak' (204 KB) OKAY [ 0.016s]
Writing 'ablbak' OKAY [ 0.015s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash tz Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\tz.mbn ||
Sending 'tz' (2016 KB) OKAY [ 0.062s]
Writing 'tz' OKAY [ 0.063s]
Finished. Total time: 0.203s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash tzbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\tz.mbn ||
Sending 'tzbak' (2016 KB) OKAY [ 0.048s]
Writing 'tzbak' OKAY [ 0.062s]
Finished. Total time: 0.172s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash hyp Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\hyp.mbn ||
Sending 'hyp' (384 KB) OKAY [ 0.015s]
Writing 'hyp' OKAY [ 0.016s]
Finished. Total time: 0.078s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash hypbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\hyp.mbn ||
Sending 'hypbak' (384 KB) OKAY [ 0.016s]
Writing 'hypbak' OKAY [ 0.016s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash devcfg Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\devcfg.mbn ||
Sending 'devcfg' (42 KB) OKAY [ 0.016s]
Writing 'devcfg' OKAY [ 0.000s]
Finished. Total time: 0.032s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash devcfgbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\devcfg.mbn ||
Sending 'devcfgbak' (42 KB) OKAY [ 0.015s]
Writing 'devcfgbak' OKAY [ 0.000s]
Finished. Total time: 0.015s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash storsec Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\storsec.mbn ||
Sending 'storsec' (20 KB) OKAY [ 0.016s]
Writing 'storsec' OKAY [ 0.000s]
Finished. Total time: 0.032s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash bluetooth Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\BTFM.bin ||
Sending 'bluetooth' (780 KB) OKAY [ 0.016s]
Writing 'bluetooth' OKAY [ 0.031s]
Finished. Total time: 0.094s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash cmnlib Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\cmnlib.mbn ||
Sending 'cmnlib' (389 KB) OKAY [ 0.016s]
Writing 'cmnlib' OKAY [ 0.015s]
Finished. Total time: 0.078s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash cmnlibbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\cmnlib.mbn ||
Sending 'cmnlibbak' (389 KB) OKAY [ 0.015s]
Writing 'cmnlibbak' OKAY [ 0.015s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash cmnlib64 Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\cmnlib64.mbn ||
Sending 'cmnlib64' (507 KB) OKAY [ 0.032s]
Writing 'cmnlib64' OKAY [ 0.016s]
Finished. Total time: 0.093s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash cmnlib64bak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\cmnlib64.mbn ||
Sending 'cmnlib64bak' (507 KB) OKAY [ 0.016s]
Writing 'cmnlib64bak' OKAY [ 0.016s]
Finished. Total time: 0.063s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash modem Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\NON-HLOS.bin ||
Sending 'modem' (154892 KB) OKAY [ 3.875s]
Writing 'modem' OKAY [ 4.859s]
Finished. Total time: 9.845s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash dsp Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\dspso.bin ||
Sending 'dsp' (65536 KB) OKAY [ 1.688s]
Writing 'dsp' OKAY [ 2.047s]
Finished. Total time: 3.766s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot erase metadata ||
Erasing 'metadata' OKAY [ 0.016s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash metadata Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\metadata.img ||
Sending 'metadata' (48 KB) OKAY [ 0.000s]
Writing 'metadata' OKAY [ 0.000s]
Finished. Total time: 0.048s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash keymaster Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\km41.mbn ||
Sending 'keymaster' (257 KB) OKAY [ 0.016s]
Writing 'keymaster' OKAY [ 0.016s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash keymasterbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\km41.mbn ||
Sending 'keymasterbak' (257 KB) OKAY [ 0.016s]
Writing 'keymasterbak' OKAY [ 0.000s]
Finished. Total time: 0.046s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash logo Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\logo.img ||
Sending 'logo' (30404 KB) OKAY [ 0.751s]
Writing 'logo' OKAY [ 0.938s]
Finished. Total time: 1.954s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash misc Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\misc.img ||
Sending 'misc' (4096 KB) OKAY [ 0.108s]
Writing 'misc' OKAY [ 0.125s]
Finished. Total time: 0.266s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash aop Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\aop.mbn ||
Sending 'aop' (160 KB) OKAY [ 0.016s]
Writing 'aop' OKAY [ 0.000s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash aopbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\aop.mbn ||
Sending 'aopbak' (160 KB) OKAY [ 0.016s]
Writing 'aopbak' OKAY [ 0.017s]
Finished. Total time: 0.048s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash qupfw Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\qupv3fw.elf ||
Sending 'qupfw' (48 KB) OKAY [ 0.000s]
Writing 'qupfw' OKAY [ 0.016s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash qupfwbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\qupv3fw.elf ||
Sending 'qupfwbak' (48 KB) OKAY [ 0.015s]
Writing 'qupfwbak' OKAY [ 0.000s]
Finished. Total time: 0.048s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash imagefv Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\imagefv.elf ||
Sending 'imagefv' (28 KB) OKAY [ 0.016s]
Writing 'imagefv' OKAY [ 0.015s]
Finished. Total time: 0.046s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash uefisecapp Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\uefi_sec.mbn ||
Sending 'uefisecapp' (123 KB) OKAY [ 0.016s]
Writing 'uefisecapp' OKAY [ 0.015s]
Finished. Total time: 0.031s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash uefisecappbak Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\uefi_sec.mbn ||
Sending 'uefisecappbak' (123 KB) OKAY [ 0.015s]
Writing 'uefisecappbak' OKAY [ 0.000s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash multiimgoem Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\multi_image.mbn ||
Sending 'multiimgoem' (32 KB) OKAY [ 0.016s]
Writing 'multiimgoem' OKAY [ 0.000s]
Finished. Total time: 0.032s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash super Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\super.img ||
Sending sparse 'super' 1/11 (722464 KB) OKAY [ 18.765s]
Writing 'super' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
"Flash super error"
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash vbmeta Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\vbmeta.img ||
Sending 'vbmeta' (8 KB) OKAY [ 0.000s]
Writing 'vbmeta' OKAY [ 0.000s]
Finished. Total time: 0.031s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash vbmeta_system Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\vbmeta_system.img ||
Warning: skip copying vbmeta_system image avb footer (vbmeta_system partition size: 0, vbmeta_system image size: 4096).
Sending 'vbmeta_system' (4 KB) OKAY [ 0.015s]
Writing 'vbmeta_system' FAILED (remote: '(vbmeta_system) No such partition')
fastboot: error: Command failed
"Flash vbmeta_system error"
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash dtbo Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\dtbo.img ||
Sending 'dtbo' (32768 KB) OKAY [ 0.828s]
Writing 'dtbo' OKAY [ 1.016s]
Finished. Total time: 1.891s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash cache Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\cache.img ||
Sending 'cache' (120 KB) OKAY [ 0.000s]
Writing 'cache' OKAY [ 0.000s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash userdata Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\userdata.img ||
Sending sparse 'userdata' 1/3 (741172 KB) OKAY [ 19.173s]
Writing 'userdata' OKAY [ 0.000s]
Sending sparse 'userdata' 2/3 (720896 KB) OKAY [ 35.797s]
Writing 'userdata' OKAY [ 0.000s]
Sending sparse 'userdata' 3/3 (298004 KB) OKAY [ 31.717s]
Writing 'userdata' OKAY [ 0.000s]
Finished. Total time: 86.984s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash recovery Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\recovery.img ||
Sending 'recovery' (131072 KB) OKAY [ 3.297s]
Writing 'recovery' OKAY [ 4.094s]
Finished. Total time: 20.218s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot erase secdata ||
Erasing 'secdata' OKAY [ 0.000s]
Finished. Total time: 0.000s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash cust Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\cust.img ||
Sending 'cust' (634316 KB) OKAY [ 15.719s]
Writing 'cust' OKAY [ 0.000s]
Finished. Total time: 20.031s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot flash boot Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images\boot.img ||
Sending 'boot' (131072 KB) OKAY [ 3.359s]
Writing 'boot' OKAY [ 4.079s]
Finished. Total time: 34.609s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0>fastboot reboot ||
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
If you try different firmware versions, you have to take into account that Xiaomi has built an anti-rollback protection into the installation script. But let’s leave the script flash_all:*
For the installation of sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0
use an SP_Flash-Tool. If this fails despite the existence of the file prog_ufs_firehose_sm7150_ddr.elf
or for other reasons, …
…then flash each of the following commands individually by hand (ignore the error message, but show it to me):
Do nothing else than listed here!!!
sweet_fastboot
fastboot erase boot
fastboot flash crclist crclist.txt
fastboot flash sparsecrclist sparsecrclist.txt
fastboot flash xbl xbl.elf
fastboot flash xblbak xbl.elf
fastboot flash xbl_config xbl_config.elf
fastboot flash xbl_configbak xbl_config.elf
fastboot flash abl abl.elf
fastboot flash ablbak abl.elf
fastboot flash tz tz.mbn
fastboot flash tzbak tz.mbn
fastboot flash hyp hyp.mbn
fastboot flash hypbak hyp.mbn
fastboot flash devcfg devcfg.mbn
fastboot flash devcfgbak devcfg.mbn
fastboot flash storsec storsec.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash cmnlib cmnlib.mbn
fastboot flash cmnlibbak cmnlib.mbn
fastboot flash cmnlib64 cmnlib64.mbn
fastboot flash cmnlib64bak cmnlib64.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash dsp dspso.bin
fastboot erase metadata
fastboot flash metadata metadata.img
fastboot flash keymaster km41.mbn
fastboot flash keymasterbak km41.mbn
fastboot flash logo logo.img
fastboot flash misc misc.img
fastboot flash aop aop.mbn
fastboot flash aopbak aop.mbn
fastboot flash qupfw qupv3fw.elf
fastboot flash qupfwbak qupv3fw.elf
fastboot flash imagefv imagefv.elf
fastboot flash uefisecapp uefi_sec.mbn
fastboot flash uefisecappbak uefi_sec.mbn
fastboot flash multiimgoem multi_image.mbn
fastboot erase system_a
fastboot erase vendor_a
fastboot erase product_a
fastboot erase system_b
fastboot erase vendor_b
fastboot erase product_b
fastboot erase super
fastboot flash super super.img
fastboot erase vbmeta
fastboot flash vbmeta vbmeta.img
fastboot erase vbmeta_system
fastboot flash vbmeta_system vbmeta_system.img
fastboot erase dtbo
fastboot flash dtbo dtbo.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase userdata
fastboot flash userdata serdata.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase secdata
fastboot flash cust cust.img
fastboot flash boot boot.img
fastboot reboot
Please ignore any failure messages, but show them to me!!
MiFlashTool just stops after the error on the super partition.
I issued exactly the commands you suggested. Here is the ouput
Erasing 'boot' OKAY [ 0.000s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash crclist crclist.txt
Warning: skip copying crclist image avb footer (crclist partition size: 0, crclist image size: 785).
Sending 'crclist' (0 KB) OKAY [ 0.000s]
Writing 'crclist' OKAY [ 0.000s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash sparsecrclist sparsecrclist.txt
Warning: skip copying sparsecrclist image avb footer (sparsecrclist partition size: 0, sparsecrclist image size: 247).
Sending 'sparsecrclist' (0 KB) OKAY [ 0.000s]
Writing 'sparsecrclist' OKAY [ 0.016s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash xbl xbl.elf
Sending 'xbl' (3729 KB) OKAY [ 0.094s]
Writing 'xbl' OKAY [ 0.203s]
Finished. Total time: 0.360s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash xblbak xbl.elf
Sending 'xblbak' (3729 KB) OKAY [ 0.094s]
Writing 'xblbak' OKAY [ 0.203s]
Finished. Total time: 0.360s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash xbl_config xbl_config.elf
Sending 'xbl_config' (86 KB) OKAY [ 0.000s]
Writing 'xbl_config' OKAY [ 0.000s]
Finished. Total time: 0.030s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash xbl_configbak xbl_config.elf
Sending 'xbl_configbak' (86 KB) OKAY [ 0.000s]
Writing 'xbl_configbak' OKAY [ 0.015s]
Finished. Total time: 0.046s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash abl abl.elf
Sending 'abl' (204 KB) OKAY [ 0.016s]
Writing 'abl' OKAY [ 0.017s]
Finished. Total time: 0.064s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash ablbak abl.elf
Sending 'ablbak' (204 KB) OKAY [ 0.016s]
Writing 'ablbak' OKAY [ 0.015s]
Finished. Total time: 0.046s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash tz tz.mbn
Sending 'tz' (2016 KB) OKAY [ 0.062s]
Writing 'tz' OKAY [ 0.078s]
Finished. Total time: 0.173s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash tzbak tz.mbn
Sending 'tzbak' (2016 KB) OKAY [ 0.063s]
Writing 'tzbak' OKAY [ 0.078s]
Finished. Total time: 0.155s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash hyp hyp.mbn
Sending 'hyp' (384 KB) OKAY [ 0.016s]
Writing 'hyp' OKAY [ 0.015s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash hypbak hyp.mbn
Sending 'hypbak' (384 KB) OKAY [ 0.016s]
Writing 'hypbak' OKAY [ 0.031s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash devcfg devcfg.mbn
Sending 'devcfg' (42 KB) OKAY [ 0.015s]
Writing 'devcfg' OKAY [ 0.000s]
Finished. Total time: 0.015s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash devcfgbak devcfg.mbn
Sending 'devcfgbak' (42 KB) OKAY [ 0.016s]
Writing 'devcfgbak' OKAY [ 0.000s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash storsec storsec.mbn
Sending 'storsec' (20 KB) OKAY [ 0.000s]
Writing 'storsec' OKAY [ 0.000s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash bluetooth BTFM.bin
Sending 'bluetooth' (780 KB) OKAY [ 0.031s]
Writing 'bluetooth' OKAY [ 0.032s]
Finished. Total time: 0.079s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash cmnlib cmnlib.mbn
Sending 'cmnlib' (389 KB) OKAY [ 0.016s]
Writing 'cmnlib' OKAY [ 0.016s]
Finished. Total time: 0.063s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash cmnlibbak cmnlib.mbn
Sending 'cmnlibbak' (389 KB) OKAY [ 0.000s]
Writing 'cmnlibbak' OKAY [ 0.015s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash cmnlib64 cmnlib64.mbn
Sending 'cmnlib64' (507 KB) OKAY [ 0.015s]
Writing 'cmnlib64' OKAY [ 0.015s]
Finished. Total time: 0.063s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash cmnlib64bak cmnlib64.mbn
Sending 'cmnlib64bak' (507 KB) OKAY [ 0.031s]
Writing 'cmnlib64bak' OKAY [ 0.016s]
Finished. Total time: 0.078s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash modem NON-HLOS.bin
Sending 'modem' (154892 KB) OKAY [ 3.922s]
Writing 'modem' OKAY [ 4.843s]
Finished. Total time: 9.798s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash dsp dspso.bin
Sending 'dsp' (65536 KB) OKAY [ 1.610s]
Writing 'dsp' OKAY [ 2.047s]
Finished. Total time: 3.687s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase metadata
******** Did you mean to fastboot format this ext4 partition?
Erasing 'metadata' OKAY [ 0.000s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash metadata metadata.img
Sending 'metadata' (48 KB) OKAY [ 0.016s]
Writing 'metadata' OKAY [ 0.000s]
Finished. Total time: 0.046s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash keymaster km41.mbn
Sending 'keymaster' (257 KB) OKAY [ 0.016s]
Writing 'keymaster' OKAY [ 0.015s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash keymasterbak km41.mbn
Sending 'keymasterbak' (257 KB) OKAY [ 0.015s]
Writing 'keymasterbak' OKAY [ 0.000s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash logo logo.img
Sending 'logo' (30404 KB) OKAY [ 0.766s]
Writing 'logo' OKAY [ 0.953s]
Finished. Total time: 1.938s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash misc misc.img
Sending 'misc' (4096 KB) OKAY [ 0.109s]
Writing 'misc' OKAY [ 0.126s]
Finished. Total time: 0.266s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash aop aop.mbn
Sending 'aop' (160 KB) OKAY [ 0.000s]
Writing 'aop' OKAY [ 0.015s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash aopbak aop.mbn
Sending 'aopbak' (160 KB) OKAY [ 0.000s]
Writing 'aopbak' OKAY [ 0.016s]
Finished. Total time: 0.047s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash qupfw qupv3fw.elf
Sending 'qupfw' (48 KB) OKAY [ 0.000s]
Writing 'qupfw' OKAY [ 0.000s]
Finished. Total time: 0.048s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash qupfwbak qupv3fw.elf
Sending 'qupfwbak' (48 KB) OKAY [ 0.000s]
Writing 'qupfwbak' OKAY [ 0.015s]
Finished. Total time: 0.030s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash imagefv imagefv.elf
Sending 'imagefv' (28 KB) OKAY [ 0.016s]
Writing 'imagefv' OKAY [ 0.000s]
Finished. Total time: 0.030s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash uefisecapp uefi_sec.mbn
Sending 'uefisecapp' (123 KB) OKAY [ 0.015s]
Writing 'uefisecapp' OKAY [ 0.000s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash uefisecappbak uefi_sec.mbn
Sending 'uefisecappbak' (123 KB) OKAY [ 0.016s]
Writing 'uefisecappbak' OKAY [ 0.000s]
Finished. Total time: 0.063s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash multiimgoem multi_image.mbn
Sending 'multiimgoem' (32 KB) OKAY [ 0.000s]
Writing 'multiimgoem' OKAY [ 0.000s]
Finished. Total time: 0.031s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase system_a
Erasing 'system_a' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase vendor_a
Erasing 'vendor_a' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase product_a
Erasing 'product_a' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase system_b
Erasing 'system_b' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase vendor_b
Erasing 'vendor_b' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase product_b
Erasing 'product_b' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase super
Erasing 'super' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash super super.img
Sending sparse 'super' 1/11 (722464 KB) OKAY [ 18.531s]
Writing 'super' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase vbmeta
Erasing 'vbmeta' OKAY [ 0.000s]
Finished. Total time: 0.000s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash vbmeta vbmeta.img
Sending 'vbmeta' (8 KB) OKAY [ 0.015s]
Writing 'vbmeta' OKAY [ 0.000s]
Finished. Total time: 0.015s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase vbmeta_system
Erasing 'vbmeta_system' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash vbmeta_system vbmeta_system.img
Warning: skip copying vbmeta_system image avb footer (vbmeta_system partition size: 0, vbmeta_system image size: 4096).
Sending 'vbmeta_system' (4 KB) OKAY [ 0.000s]
Writing 'vbmeta_system' FAILED (remote: '(vbmeta_system) No such partition')
fastboot: error: Command failed
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase dtbo
Erasing 'dtbo' OKAY [ 0.000s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash dtbo dtbo.img
Sending 'dtbo' (32768 KB) OKAY [ 0.797s]
Writing 'dtbo' OKAY [ 1.032s]
Finished. Total time: 1.829s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase cache
******** Did you mean to fastboot format this ext4 partition?
Erasing 'cache' OKAY [ 0.016s]
Finished. Total time: 0.016s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash cache cache.img
Sending 'cache' (120 KB) OKAY [ 0.000s]
Writing 'cache' OKAY [ 0.013s]
Finished. Total time: 0.062s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase userdata
******** Did you mean to fastboot format this f2fs partition?
Erasing 'userdata' OKAY [ 0.391s]
Finished. Total time: 0.422s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash userdata serdata.img
fastboot: error: cannot load 'serdata.img': No such file or directory
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase recovery
Erasing 'recovery' OKAY [ 0.000s]
Finished. Total time: 0.000s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash recovery recovery.img
Sending 'recovery' (131072 KB) OKAY [ 3.313s]
Writing 'recovery' OKAY [ 4.094s]
Finished. Total time: 7.438s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot erase secdata
Erasing 'secdata' OKAY [ 0.000s]
Finished. Total time: 0.000s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash cust cust.img
Sending 'cust' (634316 KB) OKAY [ 16.062s]
Writing 'cust' OKAY [ 0.000s]
Finished. Total time: 20.079s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot flash boot boot.img
Sending 'boot' (131072 KB) OKAY [ 3.297s]
Writing 'boot' OKAY [ 4.078s]
Finished. Total time: 34.421s
Z:\sweet_eea_global_images_V14.0.9.0.TKFEUXM_13.0\images>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
@joschaeff
If you can’t get any further in Emergency DownLoad Mode (EDL mode) with SP_Flash-Tool … there is certainly a solution, but I don’t know it.
N.B.: Improve (edit) this command: fastboot flash userdata u serdata.img
@joschaeff , one last try:
downlaod all files: lineage-21.0-20250104-microG-sweet
In fastboot-mode try:
fastboot set_active a
fastboot reboot bootloader
fastboot flash boot lineage-21.0-20250104-microG-sweet-boot.img
fastboot flash dtbo lineage-21.0-20250104-microG-sweet-dtbo.img
fastboot flash vbmeta lineage-21.0-20250104-microG-sweet-vbmeta.img
fastboot flash recocery lineage-21.0-20250104-microG-sweet-recovery.img
fastboot wipe-super
fastboot flash super lineage-21.0-20250104-microG-sweet-super_empty.img
fastboot wipe-super lineage-21.0-20250104-microG-sweet-super_empty.img
Now reboot into recovery to verify the installation = IMPORTANT!
With the device powered off, hold Volume Up + Power . Keep holding both buttons until the MI-Redmi logo appears on the screen, then release.
If you are in recovery again, tap Factory Reset , then Format data / factory reset and continue with the formatting process.
Return to the recovery main menu.
On the device, select Apply Update then Apply from ADB to begin sideload.
On the host machine, sideload the package using: adb sideload lineage-21.0-20250104-microG-sweet.zip
Reboot system now
> fastboot set_active a
fastboot: error: Device does not support slots
> fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.001s]
Finished. Total time: 0.003s
I doubt the device went actually in bootloader mode, always the same screen after reboot.
I continue:
Z:\>cd LineageOS_Sweet
Z:\LineageOS_Sweet>dir
Volume in drive Z is VBOX_Téléchargements
Volume Serial Number is 0000-FE01
Directory of Z:\LineageOS_Sweet
09/03/2025 20:53 <DIR> .
09/03/2025 20:44 <DIR> ..
09/03/2025 20:46 3 523 download.sh
04/01/2025 18:28 134 217 728 lineage-21.0-20250104-microG-sweet-boot.img
04/01/2025 18:28 110 lineage-21.0-20250104-microG-sweet-boot.img.sha256sum
04/01/2025 18:28 33 554 432 lineage-21.0-20250104-microG-sweet-dtbo.img
04/01/2025 18:28 110 lineage-21.0-20250104-microG-sweet-dtbo.img.sha256sum
04/01/2025 18:28 134 217 728 lineage-21.0-20250104-microG-sweet-recovery.img
04/01/2025 18:28 114 lineage-21.0-20250104-microG-sweet-recovery.img.sha256sum
04/01/2025 18:28 4 644 lineage-21.0-20250104-microG-sweet-super_empty.img
04/01/2025 18:28 117 lineage-21.0-20250104-microG-sweet-super_empty.img.sha256sum
04/01/2025 18:28 8 192 lineage-21.0-20250104-microG-sweet-vbmeta.img
04/01/2025 18:28 112 lineage-21.0-20250104-microG-sweet-vbmeta.img.sha256sum
04/01/2025 18:28 1 321 122 225 lineage-21.0-20250104-microG-sweet.zip
04/01/2025 18:28 105 lineage-21.0-20250104-microG-sweet.zip.sha256sum
21/01/2025 05:18 134 217 728 lineage-22.1-20250121-microG-sweet-boot.img
21/01/2025 05:18 110 lineage-22.1-20250121-microG-sweet-boot.img.sha256sum
21/01/2025 05:18 33 554 432 lineage-22.1-20250121-microG-sweet-dtbo.img
21/01/2025 05:18 110 lineage-22.1-20250121-microG-sweet-dtbo.img.sha256sum
21/01/2025 05:18 134 217 728 lineage-22.1-20250121-microG-sweet-recovery.img
21/01/2025 05:18 114 lineage-22.1-20250121-microG-sweet-recovery.img.sha256sum
21/01/2025 05:18 4 644 lineage-22.1-20250121-microG-sweet-super_empty.img
21/01/2025 05:18 117 lineage-22.1-20250121-microG-sweet-super_empty.img.sha256sum
21/01/2025 05:18 8 192 lineage-22.1-20250121-microG-sweet-vbmeta.img
21/01/2025 05:18 112 lineage-22.1-20250121-microG-sweet-vbmeta.img.sha256sum
21/01/2025 05:18 1 338 331 773 lineage-22.1-20250121-microG-sweet.zip
21/01/2025 05:18 105 lineage-22.1-20250121-microG-sweet.zip.sha256sum
19/02/2025 04:37 134 217 728 lineage-22.1-20250219-microG-sweet-boot.img
19/02/2025 04:37 110 lineage-22.1-20250219-microG-sweet-boot.img.sha256sum
19/02/2025 04:37 33 554 432 lineage-22.1-20250219-microG-sweet-dtbo.img
19/02/2025 04:37 110 lineage-22.1-20250219-microG-sweet-dtbo.img.sha256sum
19/02/2025 04:37 134 217 728 lineage-22.1-20250219-microG-sweet-recovery.img
19/02/2025 04:37 114 lineage-22.1-20250219-microG-sweet-recovery.img.sha256sum
19/02/2025 04:37 4 644 lineage-22.1-20250219-microG-sweet-super_empty.img
19/02/2025 04:37 117 lineage-22.1-20250219-microG-sweet-super_empty.img.sha256sum
19/02/2025 04:37 8 192 lineage-22.1-20250219-microG-sweet-vbmeta.img
19/02/2025 04:37 112 lineage-22.1-20250219-microG-sweet-vbmeta.img.sha256sum
09/03/2025 20:53 196 493 312 lineage-22.1-20250219-microG-sweet.zip
36 File(s) 3 761 985 480 bytes
2 Dir(s) 171 453 992 960 bytes free
Z:\LineageOS_Sweet>fastboot flash boot lineage-21.0-20250104-microG-sweet-boot.img
Sending 'boot' (131072 KB) OKAY [ 3.338s]
Writing 'boot' OKAY [ 0.609s]
Finished. Total time: 3.990s
Z:\LineageOS_Sweet>fastboot flash dtbo lineage-21.0-20250104-microG-sweet-dtbo.img
Sending 'dtbo' (32768 KB) OKAY [ 0.835s]
Writing 'dtbo' OKAY [ 0.162s]
Finished. Total time: 1.025s
Z:\LineageOS_Sweet>fastboot flash vbmeta lineage-21.0-20250104-microG-sweet-vbmeta.img
Sending 'vbmeta' (8 KB) OKAY [ 0.006s]
Writing 'vbmeta' OKAY [ 0.002s]
Finished. Total time: 0.026s
Z:\LineageOS_Sweet>fastboot flash recocery lineage-21.0-20250104-microG-sweet-recovery.img
Warning: skip copying recocery image avb footer (recocery partition size: 0, recocery image size: 134217728).
Sending 'recocery' (131072 KB) OKAY [ 3.264s]
Writing 'recocery' FAILED (remote: '(recocery) No such partition')
fastboot: error: Command failed
Note that vbmeta seems to have been created. (confirmed later by a fastboot getvar all output)
Z:\LineageOS_Sweet>fastboot wipe-super
fastboot: error: ANDROID_PRODUCT_OUT not set
Z:\LineageOS_Sweet>fastboot flash super lineage-21.0-20250104-microG-sweet-super_empty.img
Warning: skip copying super image avb footer (super partition size: 0, super image size: 4644).
Sending 'super' (4 KB) OKAY [ 0.006s]
Writing 'super' FAILED (remote: '(super) No such partition')
fastboot: error: Command failed
As I understood from other documentations, ANDROID_PRODUCT_OUT
has to be set to a directory containing only super_empty.img. So I did it:
Z:\LineageOS_Sweet>copy lineage-21.0-20250104-microG-sweet-super_empty.img C:\Users\jonathan\Desktop\super_empty\super_empty.img
Z:\LineageOS_Sweet>set ANDROID_PRODUCT_OUT=C:\Users\jonathan\Desktop\super_empty
Z:\LineageOS_Sweet>fastboot wipe-super
Warning: skip copying super image avb footer (super partition size: 0, super image size: 270404).
Sending 'super' (264 KB) OKAY [ 0.015s]
Writing 'super' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Z:\LineageOS_Sweet>fastboot flash super lineage-21.0-20250104-microG-sweet-super_empty.img
Warning: skip copying super image avb footer (super partition size: 0, super image size: 4644).
Sending 'super' (4 KB) OKAY [ 0.016s]
Writing 'super' FAILED (remote: '(super) No such partition')
fastboot: error: Command failed
Z:\LineageOS_Sweet>fastboot wipe-super lineage-21.0-20250104-microG-sweet-super_empty.img
Warning: skip copying super image avb footer (super partition size: 0, super image size: 270404).
Sending 'super' (264 KB) OKAY [ 0.031s]
Writing 'super' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
After that, no way to boot into recovery …
I’m going to investigate how super_empty can be flashed. Maybe I was doing it wrong.
Also tried it in the native linux (where fastboot seems to work worse than on my windows virtualbox).
Can it be a problem with buggy USB, and should I try on another computer ?
Buggy USB hypothesis invalidated.
My device having a qualcom chipset, is there a way to updload a brand new system using Qualcom tools ?