[Google Pixel 4 Questions & Answers] powertools1234:
I got a Pixel 4 today, and attempted to root it and royally messed it up. I seem to be soft bricked at the bootloader screen, recovery and factory reset do nothing, and flash-all.bat from the google factory files does not work also. I have been trying to fix it, running various commands from around the internet all day to no avail. I am not really sure what to do other than taking it in to a shop and seeing if they can do anything.

My biggest mistake was flashing a magisk modified .img file to the phone, which I wrongfully downloaded the oldest version for android 10, and once I flashed to my A13 phone it hasnt worked since. Just locked at the bootloader. I get a corrupted data warning also when booting

This is my log when trying to use flash-all.bat

When I attempt to flash them one by one from the contained zip file in the factory software, I get a similar sparse file error. I'm not too familiar with TWRP but I have tried multiple resets, repairs and other things with the storage on the phone. I'm not sure if TWRP will even boot anymore as it was having issues earlier

All I want to do now is just reset it to the stock version but I'm not sure if its even possible.

Any help would be really greatly appreciated

Sending 'bootloader_a' (8853 KB) OKAY [ 0.379s]

Writing 'bootloader_a' (bootloader) Flashing Pack version c2f2-0.5-8906123

(bootloader) Flashing partition table for Lun = 0

(bootloader) Flashing partition table for Lun = 1

(bootloader) Flashing partition table for Lun = 2

(bootloader) Flashing partition table for Lun = 4

(bootloader) Flashing partition table for Lun = 5

(bootloader) Flashing partition xbl_a

(bootloader) Flashing partition xbl_config_a

(bootloader) Flashing partition aop_a

(bootloader) Flashing partition tz_a

(bootloader) Flashing partition hyp_a

(bootloader) Flashing partition abl_a

(bootloader) Flashing partition keymaster_a

(bootloader) Flashing partition devcfg_a

(bootloader) Flashing partition qupfw_a

(bootloader) Flashing partition uefisecapp_a

(bootloader) Flashing partition msadp_a

(bootloader) Flashing partition logfs

OKAY [ 0.259s]

Finished. Total time: 0.902s

Rebooting into bootloader OKAY [ 0.049s]

Finished. Total time: 0.051s

Sending 'radio_a' (82724 KB) OKAY [ 2.319s]

Writing 'radio_a' (bootloader) Flashing Pack version SSD:g8150-00123-220708-B-8810441

(bootloader) Flashing partition modem_a

OKAY [ 0.654s]

Finished. Total time: 3.237s

Rebooting into bootloader OKAY [ 0.049s]

Finished. Total time: 0.050s

--------------------------------------------

Bootloader Version...: c2f2-0.5-8906123

Baseband Version.....: g8150-00123-220708-B-8810441

Serial Number........: 9B111FFAZ0047T

--------------------------------------------

extracting android-info.txt (0 MB) to RAM...

Checking 'product' OKAY [ 0.058s]

Checking 'version-bootloader' OKAY [ 0.067s]

Checking 'version-baseband' OKAY [ 0.066s]

Setting current slot to 'a' OKAY [ 0.079s]

extracting boot.img (64 MB) to disk... took 0.189s

archive does not contain 'boot.sig'

Sending 'boot_a' (65536 KB) OKAY [ 1.839s]

Writing 'boot_a' OKAY [ 0.460s]

archive does not contain 'init_boot.img'

extracting dtbo.img (8 MB) to disk... took 0.017s

archive does not contain 'dtbo.sig'

Sending 'dtbo_a' (8192 KB) OKAY [ 0.299s]

Writing 'dtbo_a' OKAY [ 0.130s]

archive does not contain 'dt.img'

archive does not contain 'pvmfw.img'

archive does not contain 'recovery.img'

extracting vbmeta.img (0 MB) to disk... took 0.001s

archive does not contain 'vbmeta.sig'

Sending 'vbmeta_a' (8 KB) OKAY [ 0.139s]

Writing 'vbmeta_a' OKAY [ 0.075s]

extracting vbmeta_system.img (0 MB) to disk... took 0.000s

archive does not contain 'vbmeta_system.sig'

Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.139s]

Writing 'vbmeta_system_a' OKAY [ 0.076s]

archive does not contain 'vbmeta_vendor.img'

archive does not contain 'vendor_boot.img'

archive does not contain 'vendor_kernel_boot.img'

extracting super_empty.img (0 MB) to disk... took 0.000s

extracting product.img (2440 MB) to disk... took 9.712s

extracting system.img (821 MB) to disk... took 3.327s

extracting system_ext.img (298 MB) to disk... took 1.156s

extracting system_other.img (23 MB) to disk... took 0.104s

extracting vendor.img (824 MB) to disk... took 3.368s

archive does not contain 'vendor_other.img'

Sending sparse 'super' 1/1 (4194303 KB) FAILED (Sparse file is too large or invalid)

fastboot: error: Command failed

Press any key to exit...