[One (M7) Android Development] Astarax:
Cannot flash ROM

Hey everyone,

I have my m7 laying around and thought about reanimating it...

Rooted it many years ago and installed ViperOne, currently in Version 9, i guess it's time for something new...

So I've upgraded twrp to 3.2.1-0, cleaned everything and tried to install this ROM, but i get the following error:

E1001: Failed to update system image.error: 1001
Updater process ended with ERROR: 7

Tried to find out why this is happening but without any luck... :(

Debug Information:

partition type: ext4

fastboot getvar all:

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: ***
(bootloader) imei: ***
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4304mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!

And the partial logfile:

I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/_IMAGES/8 Oreo/aicp_m7_o-13.1-UNOFFICIAL-20180531.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsTarget: htc/m7_google/m7:5.1/LMY47O.H18/666675:user/release-keysTarget: htc/m7_google/m7:5.1/LMY47O.H18/666675:user/release-keys
Extracted file "/tmp/install/bin/backuptool.functions"
Extracted file "/tmp/install/bin/otasigcheck.sh"
Extracted file "/tmp/install/bin/backuptool.sh"
Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
run_program: child exited with status 127
******************************************************************************************
* ##### ####**** ########**** ** ##### ####**** ########**** *
* ############**** ##########****** ** ############**** ##########****** *
* #### ####****##### **** ***** ** #### ####****##### **** ***** *
* ### ###****#### **** **** ** ### ###****#### **** **** *
* ### ###****#### **** **** ** ### ###****#### **** **** *
* #### ####****##### **** ***** ** #### ####****##### **** ***** *
* ############**** ##########****** ** ############**** ##########****** *
* ##### ####**** ########**** ** ##### ####**** ########**** *
* **** ** **** *
* **** ** **** *
* - Get your flash ON ** - Get your flash ON *
******************************************************************************************
******************************************************************************************
************* AICP BUILD ************************** AICP BUILD *************
******************************************************************************************
Compiled: Thu May 31 15:42:15 EDT 2018 Compiled: Thu May 31 15:42:15 EDT 2018
Device: One (m7) Device: One (m7)
******************************************************************************************
Patching system image unconditionally...Patching system image unconditionally...
performing update
blockimg version is 4
maximum stash entries 0
using existing stash /cache/recovery/5a79362318d00cf4c316e86435b3ed38dd35082d/
erasing 270229 blocks
writing 1024 blocks of new data
Decompression failed with DICTIONARY
missing 1565404 bytes of new data
failed to execute command [new 2,0,1024]
script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.error: 1001
Updater process ended with ERROR: 7
I:Install took 1 second(s).
Error installing zip file '/sdcard/_IMAGES/8 Oreo/aicp_m7_o-13.1-UNOFFICIAL-20180531.zip'
Updating partition details...
I:Data backup size is 0MB, free: 19443MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1

Any ideas?

Reinstalling ViperOne 9 works fine instead.