[P8lite Q&A, Help & Troubleshooting] naced:
Hi all

My phone is in bootloop since many day. I was on Lineage 18.1 with deezer and google maps installed (only theses 2 apps)

After turning off (for the first time) because there was no battery left. It never restarted

And even worse, the erecoevery is no longer accessible, the TWRP is broken ..

I only have access to Fastboot.

I tested flashing a TWRP or booting on a TWRP via fastboot command ... Impossible. It crashes before splash to the TWRP. (which appears an half second)

I tested hisuite which recognizes my phone in fastboot but does not recognize the model and refuses to restore a system: "device not supported"

I am trying to flash a complete system (via command terminal or via ZRK tool) = impossible to reboot

Bellow the result of my commands

Does anyone have a suggestion for me ?

./fastboot erase system -w
Erasing 'system' OKAY [ 75.573s]
Finished. Total time: 75.632s

./fastboot flash cache CACHE.img
Sending 'cache' (6200 KB) OKAY [ 0.175s]
Writing 'cache' OKAY [ 0.176s]
Finished. Total time: 0.379s

./fastboot flash crc CRC.img
Sending 'crc' (235 KB) OKAY [ 0.013s]
Writing 'crc' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash curver CURVER.img
Sending 'curver' (0 KB) OKAY [ 0.007s]
Writing 'curver' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash dts DTS.img
Sending 'dts' (23678 KB) OKAY [ 0.679s]
Writing 'dts' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash efi EFI.img
Sending 'efi' (17 KB) OKAY [ 0.007s]
Writing 'efi' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash kernel KERNEL.img
Sending 'kernel' (24576 KB) OKAY [ 0.698s]
Writing 'kernel' OKAY [ 0.865s]
Finished. Total time: 1.590s

./fastboot flash modem_fw MODEM_FW.img
Sending 'modem_fw' (98304 KB) OKAY [ 2.745s]
Writing 'modem_fw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash modemnvm_update MODEMNVM_UPDATE.img
Sending 'modemnvm_update' (14224 KB) OKAY [ 0.396s]
Writing 'modemnvm_update' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash odm ODM.img
Sending 'odm' (109702 KB) OKAY [ 3.108s]
Writing 'odm' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash package_type PACKAGE_TYPE.img
Sending 'package_type' (0 KB) OKAY [ 0.007s]
Writing 'package_type' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash product PRODUCT.img
Sending 'product' (113532 KB) OKAY [ 3.186s]
Writing 'product' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash ramdisk RAMDISK.img
Sending 'ramdisk' (16384 KB) OKAY [ 0.464s]
Writing 'ramdisk' OKAY [ 0.398s]
Finished. Total time: 0.890s

./fastboot flash recovery_ramdisk RECOVERY_RAMDISK.img
Sending 'recovery_ramdisk' (32768 KB) OKAY [ 0.930s]
Writing 'recovery_ramdisk' OKAY [ 0.800s]
Finished. Total time: 1.760s

./fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
Sending 'recovery_vbmeta' (6 KB) OKAY [ 0.007s]
Writing 'recovery_vbmeta' OKAY [ 0.030s]
Finished. Total time: 0.067s

./fastboot flash recovery_vendor RECOVERY_VENDOR.img
Sending 'recovery_vendor' (16384 KB) OKAY [ 0.464s]
Writing 'recovery_vendor' OKAY [ 0.401s]
Finished. Total time: 0.896s

./fastboot flash sensorhub SENSORHUB.img
Sending 'sensorhub' (820 KB) OKAY [ 0.027s]
Writing 'sensorhub' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash system SYSTEM.img
Sending sparse 'system' 1/6 (460799 KB) OKAY [ 13.234s]
Writing 'system' OKAY [ 12.118s]
Sending sparse 'system' 2/6 (460074 KB) OKAY [ 13.597s]
Writing 'system' OKAY [ 12.556s]
Sending sparse 'system' 3/6 (460751 KB) OKAY [ 13.416s]
Writing 'system' OKAY [ 11.778s]
Sending sparse 'system' 4/6 (453466 KB) OKAY [ 13.196s]
Writing 'system' OKAY [ 11.609s]
Sending sparse 'system' 5/6 (454756 KB) OKAY [ 12.975s]
Writing 'system' OKAY [ 11.150s]
Sending sparse 'system' 6/6 (418060 KB) OKAY [ 11.904s]
Writing 'system' OKAY [ 10.762s]
Finished. Total time: 148.684s

./fastboot flash teeos TEEOS.img
Sending 'teeos' (2576 KB) OKAY [ 0.075s]
Writing 'teeos' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash trustfirmware TRUSTFIRMWARE.img
Sending 'trustfirmware' (115 KB) OKAY [ 0.010s]
Writing 'trustfirmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash vbmeta VBMETA.img
Sending 'vbmeta' (9 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.027s]
Finished. Total time: 0.060s

./fastboot flash vendor VENDOR.img
Sending sparse 'vendor' 1/2 (460710 KB) OKAY [ 13.273s]
Writing 'vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash verlist VERLIST.img
Sending 'verlist' (0 KB) OKAY [ 0.007s]
Writing 'verlist' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

./fastboot flash xloader XLOADER.img
Sending 'xloader' (68 KB) OKAY [ 0.008s]
Writing 'xloader' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed