Which partition should I flash with a treble image (sytem does not exist)

Search This thread
Dec 5, 2020
8
1
The phone is a Wiko Y81. Trying to install a treble image (Resurrection Remix) i tried using fastboot flash system system.img. Then an error appeared:
Sending sparse 'system' 1/9 (131068 KB) OKAY [ 3.621s]
Writing 'system' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed


When trying to list the partitions, executing fastboot getvar all I got this information:

Code:
(bootloader) max-download-size: 0x8000000
(bootloader) variant:
(bootloader) logical-block-size: 0x200
(bootloader) erase-block-size: 0x80000
(bootloader) hw-revision: ca01
(bootloader) battery-soc-ok: yes
(bootloader) battery-voltage: 4401mV
(bootloader) partition-size:sgpt: 4200
(bootloader) partition-type:sgpt: raw data
(bootloader) partition-size:flashinfo: 1000000
(bootloader) partition-type:flashinfo: raw data
(bootloader) partition-sizetp: 2b00000
(bootloader) partition-typetp: raw data
(bootloader) partition-size:userdata: 65ecfbe00
(bootloader) partition-type:userdata: f2fs
(bootloader) partition-size:cache: 7000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:vbmeta: b84000
(bootloader) partition-type:vbmeta: raw data
(bootloader) partition-size:super: a247c000
(bootloader) partition-type:super: raw data
(bootloader) partition-size:carrier: a600000
(bootloader) partition-type:carrier: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:dtbo: 800000
(bootloader) partition-type:dtbo: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:boot: 2000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk2: 100000
(bootloader) partition-type:lk2: raw data
(bootloader) partition-size:lk: 100000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:nvram: 4000000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:gz2: 1000000
(bootloader) partition-type:gz2: raw data
(bootloader) partition-size:gz1: 1000000
(bootloader) partition-type:gz1: raw data
(bootloader) partition-size:sspm_2: 100000
(bootloader) partition-type:sspm_2: raw data
(bootloader) partition-size:sspm_1: 100000
(bootloader) partition-type:sspm_1: raw data
(bootloader) partition-size:scp2: 100000
(bootloader) partition-type:scp2: raw data
(bootloader) partition-size:scp1: 100000
(bootloader) partition-type:scp1: raw data
(bootloader) partition-size:spmfw: 100000
(bootloader) partition-type:spmfw: raw data
(bootloader) partition-size:md1img: 6400000
(bootloader) partition-type:md1img: raw data
(bootloader) partition-sizeroinfo: 300000
(bootloader) partition-typeroinfo: raw data
(bootloader) partition-size:sec1: 200000
(bootloader) partition-type:sec1: raw data
(bootloader) partition-sizeersist: 3000000
(bootloader) partition-typeersist: ext4
(bootloader) partition-size:seccfg: 800000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-sizerotect2: ade000
(bootloader) partition-typerotect2: ext4
(bootloader) partition-sizerotect1: 800000
(bootloader) partition-typerotect1: ext4
(bootloader) partition-size:metadata: 2000000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:md_udc: 169a000
(bootloader) partition-type:md_udc: ext4
(bootloader) partition-size:nvdata: 4000000
(bootloader) partition-type:nvdata: ext4
(bootloader) partition-size:nvcfg: 2000000
(bootloader) partition-type:nvcfg: ext4
(bootloader) partition-size:frp: 100000
(bootloader) partition-type:frp: raw data
(bootloader) partition-size:vbmeta_vendor: 800000
(bootloader) partition-type:vbmeta_vendor: raw data
(bootloader) partition-size:vbmeta_system: 800000
(bootloader) partition-type:vbmeta_system: raw data
(bootloader) partition-size:expdb: 1400000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-sizeara: 80000
(bootloader) partition-typeara: raw data
(bootloader) partition-size:recovery: 2000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot_para: 100000
(bootloader) partition-type:boot_para: raw data
(bootloader) partition-sizegpt: 8000
(bootloader) partition-typegpt: raw data
(bootloader) partition-sizereloader: 40000
(bootloader) partition-typereloader: raw data
(bootloader) serialno: <removed>
(bootloader) off-mode-charge: 1
(bootloader) warranty: no
(bootloader) unlocked: yes
(bootloader) secure: no
(bootloader) kernel: lk
(bootloader) product: v680
(bootloader) is-userspace: no
(bootloader) slot-count: 0
(bootloader) version-baseband: MOLY.LR12A.R3.MP.V107.4.P4
(bootloader) version-bootloader: v680-7564e5daa7-20201228101717-20210126
(bootloader) version-preloader:
(bootloader) version: 0.5

Which partition should I flash with the treble image? (I tried with userdata but it got stuck in a bootloop and I had to reboot to recovery)
 
Last edited:

sd_shadow

Recognized Contributor
  • Sep 21, 2011
    17,738
    1
    8,281
    South Dakota
    goo.gl
    Moto X4
    Moto G7 Power
    The phone is a Wiko Y81. Trying to install a treble image (Resurrection Remix) i tried using fastboot flash system system.img. Then an error appeared:
    Sending sparse 'system' 1/9 (131068 KB) OKAY [ 3.621s]
    Writing 'system' FAILED (remote: 'This partition doesn't exist')
    fastboot: error: Command failed


    When trying to list the partitions, executing fastboot getvar all I got this information:

    (bootloader) max-download-size: 0x8000000
    (bootloader) variant:
    (bootloader) logical-block-size: 0x200
    (bootloader) erase-block-size: 0x80000
    (bootloader) hw-revision: ca01
    (bootloader) battery-soc-ok: yes
    (bootloader) battery-voltage: 4401mV
    (bootloader) partition-size:sgpt: 4200
    (bootloader) partition-type:sgpt: raw data
    (bootloader) partition-size:flashinfo: 1000000
    (bootloader) partition-type:flashinfo: raw data
    (bootloader) partition-size:eek:tp: 2b00000
    (bootloader) partition-type:eek:tp: raw data
    (bootloader) partition-size:userdata: 65ecfbe00
    (bootloader) partition-type:userdata: f2fs
    (bootloader) partition-size:cache: 7000000
    (bootloader) partition-type:cache: ext4
    (bootloader) partition-size:vbmeta: b84000
    (bootloader) partition-type:vbmeta: raw data
    (bootloader) partition-size:super: a247c000
    (bootloader) partition-type:super: raw data
    (bootloader) partition-size:carrier: a600000
    (bootloader) partition-type:carrier: raw data
    (bootloader) partition-size:tee2: 500000
    (bootloader) partition-type:tee2: raw data
    (bootloader) partition-size:tee1: 500000
    (bootloader) partition-type:tee1: raw data
    (bootloader) partition-size:dtbo: 800000
    (bootloader) partition-type:dtbo: raw data
    (bootloader) partition-size:logo: 800000
    (bootloader) partition-type:logo: raw data
    (bootloader) partition-size:boot: 2000000
    (bootloader) partition-type:boot: raw data
    (bootloader) partition-size:lk2: 100000
    (bootloader) partition-type:lk2: raw data
    (bootloader) partition-size:lk: 100000
    (bootloader) partition-type:lk: raw data
    (bootloader) partition-size:nvram: 4000000
    (bootloader) partition-type:nvram: raw data
    (bootloader) partition-size:gz2: 1000000
    (bootloader) partition-type:gz2: raw data
    (bootloader) partition-size:gz1: 1000000
    (bootloader) partition-type:gz1: raw data
    (bootloader) partition-size:sspm_2: 100000
    (bootloader) partition-type:sspm_2: raw data
    (bootloader) partition-size:sspm_1: 100000
    (bootloader) partition-type:sspm_1: raw data
    (bootloader) partition-size:scp2: 100000
    (bootloader) partition-type:scp2: raw data
    (bootloader) partition-size:scp1: 100000
    (bootloader) partition-type:scp1: raw data
    (bootloader) partition-size:spmfw: 100000
    (bootloader) partition-type:spmfw: raw data
    (bootloader) partition-size:md1img: 6400000
    (bootloader) partition-type:md1img: raw data
    (bootloader) partition-size:proinfo: 300000
    (bootloader) partition-type:proinfo: raw data
    (bootloader) partition-size:sec1: 200000
    (bootloader) partition-type:sec1: raw data
    (bootloader) partition-size:persist: 3000000
    (bootloader) partition-type:persist: ext4
    (bootloader) partition-size:seccfg: 800000
    (bootloader) partition-type:seccfg: raw data
    (bootloader) partition-size:protect2: ade000
    (bootloader) partition-type:protect2: ext4
    (bootloader) partition-size:protect1: 800000
    (bootloader) partition-type:protect1: ext4
    (bootloader) partition-size:metadata: 2000000
    (bootloader) partition-type:metadata: raw data
    (bootloader) partition-size:md_udc: 169a000
    (bootloader) partition-type:md_udc: ext4
    (bootloader) partition-size:nvdata: 4000000
    (bootloader) partition-type:nvdata: ext4
    (bootloader) partition-size:nvcfg: 2000000
    (bootloader) partition-type:nvcfg: ext4
    (bootloader) partition-size:frp: 100000
    (bootloader) partition-type:frp: raw data
    (bootloader) partition-size:vbmeta_vendor: 800000
    (bootloader) partition-type:vbmeta_vendor: raw data
    (bootloader) partition-size:vbmeta_system: 800000
    (bootloader) partition-type:vbmeta_system: raw data
    (bootloader) partition-size:expdb: 1400000
    (bootloader) partition-type:expdb: raw data
    (bootloader) partition-size:para: 80000
    (bootloader) partition-type:para: raw data
    (bootloader) partition-size:recovery: 2000000
    (bootloader) partition-type:recovery: raw data
    (bootloader) partition-size:boot_para: 100000
    (bootloader) partition-type:boot_para: raw data
    (bootloader) partition-size:pgpt: 8000
    (bootloader) partition-type:pgpt: raw data
    (bootloader) partition-size:preloader: 40000
    (bootloader) partition-type:preloader: raw data
    (bootloader) serialno: <removed>
    (bootloader) off-mode-charge: 1
    (bootloader) warranty: no
    (bootloader) unlocked: yes
    (bootloader) secure: no
    (bootloader) kernel: lk
    (bootloader) product: v680
    (bootloader) is-userspace: no
    (bootloader) slot-count: 0
    (bootloader) version-baseband: MOLY.LR12A.R3.MP.V107.4.P4
    (bootloader) version-bootloader: v680-7564e5daa7-20201228101717-20210126
    (bootloader) version-preloader:
    (bootloader) version: 0.5


    Which partition should I flash with the treble image? (I tried with userdata but it got stuck in a bootloop and I had to reboot to recovery)

    Please do not mind the emojis. Those were put by theirselves. Substitute :p with ":p" and :eek with ":eek"
    Use the Code option "</>" it's in "more option" next to the "insert table"
    so you don't get the emojis, like this
    Code:
    (bootloader) partition-size:pgpt: 8000
    (bootloader) partition-type:pgpt: raw data
    (bootloader) partition-size:preloader: 40000
    (bootloader) partition-type:preloader: raw data
    (bootloader) serialno: <removed>

    My guess is you have a supersystem partition
    with dynamic partitions within the super partition
    Code:
    (bootloader) partition-size:super: a247c000
    (bootloader) partition-type:super: raw data

    but the real issue may be that your device uses the new fastbootd
    relocated fastboot implementation from bootloader to user space
    try
    Code:
    fastboot reboot fastboot
    fastboot flash system system.img
    fastboot -w
    fastboot erase userdata (if this command doesn't work type fastboot reboot bootloader then fastboot erase userdata)
    fastboot reboot
     
    Dec 5, 2020
    8
    1
    tried with it but now it says
    Code:
    Invalid sparse file format at header magic (This line sometimes shows)
    Resizing 'system'                                  FAILED (remote: 'Not enough space to resize partition')
    fastboot: error: Command failed

    (There's a screen with fastbootd written)
    I don't know if this is relevant, but I'm trying to load a android 9 image in an android 10 phone
     
    Last edited:
    Dec 5, 2020
    8
    1
    Found the solution: you have to flash the stock vbmeta.img. The problem is that i've flashed the blank one from google and Wiko doesn't give the ROMs for download.
     
    Last edited:
    • Like
    Reactions: sd_shadow

    Top Liked Posts

    • There are no posts matching your filters.
    • 1
      Found the solution: you have to flash the stock vbmeta.img. The problem is that i've flashed the blank one from google and Wiko doesn't give the ROMs for download.