[One (M9) Q&A, Help & Troubleshooting] jwshields:
Hi all,

I'm having some problems with my M9, it's a Verizon phone, unlocked bootloader, S-Off; I was running stock ROM, flashed TWRP as my recovery and attempted to flash the Xposed beta for 5.0.2 from here: Xposed for arm64 devices | 5.1 and 5.0 versions available and then that's where things went bad. the device wouldn't boot past the Verizon loading screen and logcat was spamming a bunch of messages.

It's a soft-brick right now.

I am able to get into fastboot/recovery/download mode, but whenever I try to flash the signed zip, I get some errors.

So I attempted to make a full backup using TWRP, it worked, and then I tried to do a wipe from download mode, and then using TWRP to flash the zip files from the SD card, no dice. So that's when I went to fastboot, did a rebootruu and did a flash zip and flash system [img], the flash system [img] appeared to work, but when I rebooted, it started sitting at the HTC loading screen. It's not responding on ADB nor fastboot

[CODE]JaredS-MBP:platform-tools jared_shields$ ./fastboot-mac oem rebootRUU

... OKAY

JaredS-MBP:platform-tools jared_shields$ ./fastboot flash system RUU.zip

target reported max download size of 800000000 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 1599664651 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 827306507 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 26227211 is not a multiple of the block size 4096

erasing 'system'...

OKAY [ 0.439s]

sending sparse 'system' (779748 KB)...

error: write_sparse_skip_chunk: don't care size 1599664651 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 1599664651 is not a multiple of the block size 4096

OKAY [ 44.522s]

writing 'system'...

(bootloader) HOSD CL#511781

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 23.584s]

sending sparse 'system' (752394 KB)...

error: write_sparse_skip_chunk: don't care size 827306507 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 827306507 is not a multiple of the block size 4096

OKAY [ 42.855s]

writing 'system'...

(bootloader) HOSD CL#511781

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 22.232s]

sending sparse 'system' (780908 KB)...

error: write_sparse_skip_chunk: don't care size 26227211 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 26227211 is not a multiple of the block size 4096

OKAY [ 44.893s]

writing 'system'...

(bootloader) HOSD CL#511781

(bootloader) start@1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 23.044s]

sending sparse 'system' (25532 KB)...

OKAY [ 2.542s]

writing 'system'...

(bootloader) HOSD CL#511781

(bootloader) start@1

(bootloader) ERR SPARSE data size=-1

(bootloader) system@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 2.623s]

finished. total time: 206.734s

[/CODE]

[CODE]JaredS-MBP:platform-tools jared_shields$ ./fastboot-mac oem rebootRUU

JaredS-MBP:platform-tools jared_shields$ ./fastboot-mac flash zip RUU.zip

error: cannot load 'RUU.zip'

[/CODE]

I'm not really sure how to proceed to get my device back to stock/normal, any help would be much appreciated.