[Honor 7X  ROMs, Kernels, Recoveries, & Other Devel] retrotechnologik:
I get occasionally a 4GB Honor 7x, not being aware that time that it is actually a huawei device, so... :)

Anyway i decided to try to flash a custom rom, so i found this ROM:

https://xdaforums.com/t/rom-8-1-openkirins-rros-oreo-v6-0-0-for-honor-7x-update-01-04-2018.3765201/

Firstly i went to developer options and have enabled oem unlock and usb debugging

To proceed with system flash, i started to unlock the bootloader with this instruction using PotatoNV:

GitHub - mashed-potatoes/PotatoNV: Unlock bootloader of Huawei devices on Kirin 960/95x/65x/620

Unlock bootloader of Huawei devices on Kirin 960/95x/65x/620 - mashed-potatoes/PotatoNV

github.com

Some additional info from PotatoNV i got:

Model: BND-L21

Build number: BND-L21 9.1.0.194(C432E7R1P1)

FBLOCK state: unlocked

I successfully got the unlock code and have the bootloader unlocked via

fastboot oem unlock [the code]

The phone prompted that this would cause a factory reset (which was), so i do not have performed this step manually again.

After phone reboots and finishes factory reset, i went again into fastboot mode and tried to flash the custom rom system image from the first link with

fastboot flash system system.img

But this returns an error:

Sending sparse 'system' 1/4 (460796 KB) OKAY [ 17.798s]

Writing 'system' FAILED (remote: 'sparse flash write failure')

fastboot: error: Command failed

After that, the device falls in a bootloop.

What i have tried so far:

*) flashing the stock ROM image also included in the first link, the same error

*) fastboot erase system; erasing successful, but not changes the error while system flashing

*) using eRecovery and HiSuite to restore the system, but the serwer not responds (eRecovery) or the function is not supported for my device (HiSuite)

*) factory reset using eRecovery is disabled. Once it was not, it was not successful

*) flashing TWRP with fastboot flash recovery recovery.img; returns similar error:

Sending 'recovery' (25158 KB) OKAY [ 0.800s]

Writing 'recovery' FAILED (remote: 'partition length get error')

fastboot: error: Command failed

*) booting TWRP with fastboot boot recovery.img,

Sending 'boot.img' (9100 KB) OKAY [ 0.294s]

Booting FAILED (remote: 'invalid command')

fastboot: error: Command failed

*) flashing TWRP with fastboot flash recovery_ramdisk recovery.img. The flash works, but the recovery not. I have tried 3 TWRP recovery images. The first two even not starts (phone goes to error mode, and then switches to fastboot mode). The third seems to start the TWRP init screen, but after 1-2 seconds it turns off and switches to boot system (which is in bootloop)

Running out of my ideas, there are two questions:

1) obviously, how to revive the phone again ?

2) and maybe what went wrong ?

I suppose that it could be that i shall after the factory reset followed by the bootloader unlock, go again thru the phone configuration in order to reach developer options and enable usb debugging and oem unlock again. But it was not mentioned in the instruction, so i missed this step.

Any ideas? If it is hopeless now, i would at least want to understand why, to have at least a useful lesson from this ****ty device.

Any idea is welcome !