Join us on Tl   Wh

Hovatek Forum MOBILE Android [Please help] Spflash ERROR:status_invalid_gpt(0xC0030008) Format whole flash except Bootloader

[Please help] Spflash ERROR:status_invalid_gpt(0xC0030008) Format whole flash except Bootloader

[Please help] Spflash ERROR:status_invalid_gpt(0xC0030008) Format whole flash except Bootloader

PLOYSHERMAN
PLOYSHERMAN
PLOYSHERMAN
Newbie
4
04-01-2024, 06:44 AM
#1



Spflash ERRORConfusedtatus_invalid_gpt(0xC0030008) after Format whole flash except Bootloader
vivo y81i got bricked with Red State
Your device has failed verification and may not work properly.
Please download boot image with correct signature or disable verified boot.
Your device will reboot in 5 seconds and logo bootloop

i try unlock bootloader in mtkclient but it work nothing (before that i already backup whole flash via mtk client so i reassure) 

i'm already flashing multiple stock rom both  with spflash and mtkclient whole night but bootloop still doesn't go away,
at that time i'd decided to make thing go south with FORMAT ALL EXCEPT BOOTLOADER, i'm not afraid, i had imei backup and all, BUT when i went back to flash DOWNLOAD ONLY, and the TERROR hits me

The STATUS_INVALID_GPT (0xC0030008) pop up from no where made my heart beating fast in panic (becuz this is not my first time do format whole flash except bootloader with mtk devices, i never see this error before)

i tried FIRMWARE UPGRADE and it give ERROR: FAILED TO GET PMT INFO,
and when i tried do FORMAT ALL + DOWNLOAD  ERROR: STATUS_INVALID_GPT (0xC0030008) appear too

[Image: e3c9680e896d8a93ee19a2caa0f64660]

with panic in mind, i went to mtkclient-main folder and open mtk_gui.bat, i take off my vivo y81i batteries off and put it back, did vol up + vol down and did brom mode and this is what i get 


(   Preloader -    CPU:                    MT6761/MT6762/MT3369/MT8766B(Helio A20/P22/A22/A25/G25)
Preloader -    HW version:            0x0
Preloader -    WDT:                    0x10007000
Preloader -    Uart:                  0x11002000
Preloader -    Brom payload addr:      0x100a00
Preloader -    DA payload addr:        0x201000
Preloader -    CQ_DMA addr:            0x10212000
Preloader -    Var1:                  0x25
Preloader - Disabling Watchdog...
Preloader - HW code:                    0x717
Preloader - Target config:              0xe5
Preloader -    SBC enabled:            True
Preloader -    SLA enabled:            False
Preloader -    DAA enabled:            True
Preloader -    SWJTAG enabled:        True
Preloader -    EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT:  False
Preloader -    Root cert required:    False
Preloader -    Mem read auth:          True
Preloader -    Mem write auth:        True
Preloader -    Cmd 0xC8 blocked:      True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader -    HW subcode:            0x8a00
Preloader -    HW Ver:                0xca01
Preloader -    SW Ver:                0x200
Preloader - ME_ID:                      4CF4BB63C105F3A7D706D364A8D3D4A9
Preloader - SOC_ID:                    10E45712E188F1EC7C42A192B94501C14A6C6F591DB1D2AA19BEA37243C4ABEC
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
Preloader
Preloader - [LIB]: ←[31mStatus: Handshake failed, retrying...←[0m


.Preloader -    CPU:                    MT6761/MT6762/MT3369/MT8766B(Helio A20/P22/A22/A25/G25)
Preloader -    HW version:            0x0
Preloader -    WDT:                    0x10007000
Preloader -    Uart:                  0x11002000
Preloader -    Brom payload addr:      0x100a00
Preloader -    DA payload addr:        0x201000
Preloader -    CQ_DMA addr:            0x10212000
Preloader -    Var1:                  0x25
Preloader - Disabling Watchdog...
Preloader - HW code:                    0x717
Preloader - Target config:              0xe5
Preloader -    SBC enabled:            True
Preloader -    SLA enabled:            False
Preloader -    DAA enabled:            True
Preloader -    SWJTAG enabled:        True
Preloader -    EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT:  False
Preloader -    Root cert required:    False
Preloader -    Mem read auth:          True
Preloader -    Mem write auth:        True
Preloader -    Cmd 0xC8 blocked:      True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader -    HW subcode:            0x8a00
Preloader -    HW Ver:                0xca01
Preloader -    SW Ver:                0x200
Preloader - ME_ID:                      4CF4BB63C105F3A7D706D364A8D3D4A9
Preloader - SOC_ID:                    10E45712E188F1EC7C42A192B94501C14A6C6F591DB1D2AA19BEA37243C4ABEC
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
None

[Image: f2215af57a282a100c78e9dd65ef83a0] )



and python mtk wl >my backup folder< give couldn't detect partition error which i afraid the most (


...Port - Device detected Smile
Preloader -    CPU:                    MT6761/MT6762/MT3369/MT8766B(Helio A20/P22/A22/A25/G25)
Preloader -    HW version:            0x0
Preloader -    WDT:                    0x10007000
Preloader -    Uart:                  0x11002000
Preloader -    Brom payload addr:      0x100a00
Preloader -    DA payload addr:        0x201000
Preloader -    CQ_DMA addr:            0x10212000
Preloader -    Var1:                  0x25
Preloader - Disabling Watchdog...
Preloader - HW code:                    0x717
Preloader - Target config:              0xe5
Preloader -    SBC enabled:            True
Preloader -    SLA enabled:            False
Preloader -    DAA enabled:            True
Preloader -    SWJTAG enabled:        True
Preloader -    EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT:  False
Preloader -    Root cert required:    False
Preloader -    Mem read auth:          True
Preloader -    Mem write auth:        True
Preloader -    Cmd 0xC8 blocked:      True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader -    HW subcode:            0x8a00
Preloader -    HW Ver:                0xca01
Preloader -    SW Ver:                0x200
Preloader - ME_ID:                      4CF4BB63C105F3A7D706D364A8D3D4A9
Preloader - SOC_ID:                    10E45712E188F1EC7C42A192B94501C14A6C6F591DB1D2AA19BEA37243C4ABEC
PLTools - Loading payload from mt6761_payload.bin, 0x264 bytes
Exploitation - Kamakiri Run
Exploitation - Done sending payload...
PLTools - Successfully sent payload: F:\mtk\mtkclient-main\mtkclient-main\mtkclient\payloads\mt6761_payload.bin
Port - Device detected Smile
DA_handler - Device is protected.
DA_handler - Device is in BROM mode. Trying to dump preloader.
DAXFlash - Uploading xflash stage 1 from MTK_AllInOne_DA_5.2228.bin
xflashext - Patching da1 ...
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "hash_check" in preloader
xflashext
xflashext - [LIB]: ←[33mError on patching da1 version check...←[0m
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "get_vfy_policy" in preloader
xflashext - Patching da2 ...
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DAXFlash - Sending emi data ...
DAXFlash - DRAM setup passed.
DAXFlash - Sending emi data succeeded.
DAXFlash - Uploading stage 2...
DAXFlash - Upload data was accepted. Jumping to stage 2...
DAXFlash - Successfully uploaded stage 2
DAXFlash - EMMC FWVer:      0x0
DAXFlash - EMMC ID:        HAG4a2
DAXFlash - EMMC CID:        90014a484147346132a51da3c06c75a5
DAXFlash - EMMC Boot1 Size: 0x400000
DAXFlash - EMMC Boot2 Size: 0x400000
DAXFlash - EMMC GP1 Size:  0x0
DAXFlash - EMMC GP2 Size:  0x0
DAXFlash - EMMC GP3 Size:  0x0
DAXFlash - EMMC GP4 Size:  0x0
DAXFlash - EMMC RPMB Size:  0x400000
DAXFlash - EMMC USER Size:  0x3ab400000
DAXFlash - HW-CODE        : 0x717
DAXFlash - HWSUB-CODE      : 0x8A00
DAXFlash - HW-VERSION      : 0xCA01
DAXFlash - SW-VERSION      : 0x200
DAXFlash - CHIP-EVOLUTION  : 0x0
DAXFlash - DA-VERSION      : 1.0
DAXFlash - Extensions were accepted. Jumping to extensions...
DAXFlash - DA Extensions successfully added
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: backup
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: boot
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: boot1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: boot2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: boot_para
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: cust
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: efuse
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: expdb
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: flashinfo
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: frp
, skipping←[0m
DA_handler - Writing partition gpt
DAXFlash
DAXFlash - [LIB]: ←[31mError on sending parameter: Read parttbl failed (0xc0040007)←[0m
Failed to write gpt to sector 0
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: gpt_backup
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: gz1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: gz2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: lk
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: lk2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: logo
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: md1img
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: metadata
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: nvcfg
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: nvdata
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: nvram
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: odmdtbo
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: otp
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: para
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: persist
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: proinfo
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: protect1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: protect2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: recovery
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: reserved
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: rpmb
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: scp1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: scp2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: sec1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: seccfg
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: spmfw
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: sspm_1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: sspm_2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: survival
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: system
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: tee1
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: tee2
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: vbmeta
, skipping←[0m
DA_handler
DA_handler - [LIB]: ←[31mError: Couldn't detect partition: vendor
, skipping←[0m

F:\mtk\mtkclient-main\mtkclient-main> )

actually i never did ever confront these error / problem with format all except bootloader before 
and here i am  Undecided

i did try sp flash only preloader, it success but yeah that's it 

only option i found online is set gpt partition with ufi box but i don't have that expensive tool   Sad

is there any other way for me to bring back my partition? i have whole backup, is there not any used? pls help
AutoResponder
AutoResponder
AutoResponder
Verified Account
609
04-01-2024, 06:44 AM
#2
Thank you for reaching out for support. Due to high demand, our free support services may experience some delays in response time. We apologize for any inconvenience this may cause.
Alternatively, we offer private support where you can receive dedicated attention and prompt support. These sessions are designed to provide personalized solutions to your specific needs.
If you are interested in scheduling a private session, please visit https://www.hovatek.com/remote
PLOYSHERMAN
PLOYSHERMAN
PLOYSHERMAN
Newbie
4
04-01-2024, 11:14 AM
#3
i try mtkclient write offset command (...........
Port - Device detected Smile
Preloader - CPU: MT6761/MT6762/MT3369/MT8766B(Helio A20/P22/A22/A25/G25)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
Preloader - HW code: 0x717
Preloader - Target config: 0xe5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: True
Preloader - Mem write auth: True
Preloader - Cmd 0xC8 blocked: True
Preloader - Get Target info
Preloader - BROM mode detected.
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca01
Preloader - SW Ver: 0x200
Preloader - ME_ID: 4CF4BB63C105F3A7D706D364A8D3D4A9
Preloader - SOC_ID: 10E45712E188F1EC7C42A192B94501C14A6C6F591DB1D2AA19BEA37243C4ABEC
PLTools - Loading payload from mt6761_payload.bin, 0x264 bytes
Exploitation - Kamakiri Run
Exploitation - Done sending payload...
PLTools - Successfully sent payload: F:\mtk\mtkclient-main\mtkclient-main\mtkclient\payloads\mt6761_payload.bin
Port - Device detected Smile
DA_handler - Device is protected.
DA_handler - Device is in BROM mode. Trying to dump preloader.
DAXFlash - Uploading xflash stage 1 from MTK_AllInOne_DA_5.2228.bin
xflashext - Patching da1 ...
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "hash_check" in preloader
xflashext
xflashext - [LIB]: ←[33mError on patching da1 version check...←[0m
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "get_vfy_policy" in preloader
xflashext - Patching da2 ...
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DAXFlash - Sending emi data ...
DAXFlash - DRAM setup passed.
DAXFlash - Sending emi data succeeded.
DAXFlash - Uploading stage 2...
DAXFlash - Upload data was accepted. Jumping to stage 2...
DAXFlash - Successfully uploaded stage 2
DAXFlash - EMMC FWVer: 0x0
DAXFlash - EMMC ID: HAG4a2
DAXFlash - EMMC CID: 90014a484147346132a51da3c06c75a5
DAXFlash - EMMC Boot1 Size: 0x400000
DAXFlash - EMMC Boot2 Size: 0x400000
DAXFlash - EMMC GP1 Size: 0x0
DAXFlash - EMMC GP2 Size: 0x0
DAXFlash - EMMC GP3 Size: 0x0
DAXFlash - EMMC GP4 Size: 0x0
DAXFlash - EMMC RPMB Size: 0x400000
DAXFlash - EMMC USER Size: 0x3ab400000
DAXFlash - HW-CODE : 0x717
DAXFlash - HWSUB-CODE : 0x8A00
DAXFlash - HW-VERSION : 0xCA01
DAXFlash - SW-VERSION : 0x200
DAXFlash - CHIP-EVOLUTION : 0x0
DAXFlash - DA-VERSION : 1.0
DAXFlash - Extensions were accepted. Jumping to extensions...
DAXFlash - DA Extensions successfully added
DA_handler - Writing offset 0x0 with length 0x40000
DAXFlash
DAXFlash - [LIB]: ←[31mError on sending parameter: Read parttbl failed (0xc0040007)←[0m
Failed to write F:\mtk\mtkclient-main\mtkclient-main\vivo 81i\boot1.bin to offset 0x0 with length 0x40000.

F:\mtk\mtkclient-main\mtkclient-main>)

[LIB]: ←[31mError on sending parameter: Read parttbl failed (0xc0040007) is there anything i cando
maxpayne
maxpayne
maxpayne
Intern
3,913
17-01-2024, 01:07 PM
#4
(04-01-2024, 06:44 AM)PLOYSHERMAN ..
only option i found online is set gpt partition with ufi box but i don't have that expensive tool   Sad

is there any other way for me to bring back my partition? i have whole backup, is there not any used? pls help

You said you did a backup before flashing. Do you still have it? Share screenshot of the backup

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 2 Guest(s)
Users browsing this thread:
 2 Guest(s)
Join us
WhTlYt