[P8lite Q&A, Help & Troubleshooting] IceMeltt:
Hello,

I have a small problem with my old phone. After ~3 months ago of the last use I decided to launch P8 Lite. Yesterday I just wanted to flash LineageOS on it. Unfortunately, everytime that I'm trying to launch this phone, it welcomes me with just a red lightning symbol and with an animation of huawei logo.

Some details about my phone:

- P8 Lite has an unlocked bootloader

- Command "fastboot oem get-bootinfo" sends "(bootloader) unlocked" message.

Okay, let's go.

At first - I've downloaded stock ROM. I've exported cust, recovery, boot, and system (.img) files with HuaweiUpdateExtractor from update.app.

Unfortunately, when I've tried to flash boot and recovery, fastboot sends unpleasant output in the console.

$ ./fastboot flash boot BOOT.img
Sending 'boot' (22672 KB) OKAY [ 0.590s]
Writing 'boot' FAILED (remote: 'flash writeprim vrl failure')
fastboot: error: Command failed

It doesn't look good.

Corrupted flash memory isn't the option too, because when I've tried to flash modded BOOT and RECOVERY files from xda - fastboot passed me with flashing.

Trying to flash CUST and SYSTEM's .img files goes well.

Let's try the other way. Let's check if "./fastboot erase data" is working.

$ ./fastboot erase data
Erasing 'data' FAILED (remote: 'Command notallowed')
fastboot: error: Command failed

It doesn't work too.

If the stock recovery can't be flashed to my phone, how about flashing the other recovery, like TWRP?

$ ./fastboot flash recovery twrp/RECOVERY.img
Sending 'recovery' (36166 KB) OKAY [ 0.940s]
Writing 'recovery' OKAY [ 0.634s]
Finished. Total time: 1.622s

Well, It works! But, I think that P8 Lite doesn't want to work with me aswell.

[IMG="Photo with corrupted recovery"]https://i.imgur.com/IU3QPq1.jpg[/IMG]

The errors shown on the bottom side of the screen can be different - depending on the img file that I've flashed as recovery.

Well, so let's try to boot TWRP manually using "fastboot boot" command

$ ./fastboot boot twrp/RECOVERY.img
Sending 'boot.img' (36166 KB) OKAY [ 0.941s]
Booting FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

:mad:

Maybe let's try to check if I have unlocked bootloader for sure.

Let's try to relock my bootloader... nah

$ ./fastboot oem lock
FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
===
$ ./fastboot oem relock
FAILED (remote: 'data parse fail')
fastboot: error: Command failed

So... self-factory reset from sdcard is the only way?

Unluckily, this option isn't available too. I've removed all files from my SD Card, I've created "dload" folder and I've put update.app file in it.

Interestingly, when I'm holding VOL+, VOL- and POWER button at once during the launch - phone moves to the Huawei's eRecovery screen.

As long as "clear cache" option is possible to do, "wipe data & factory reset" option is undoable. Trying that option shows red, exclamation mark and "Operation was unsuccesful" label on the screen.

Moreover, huawei corrupted my SD Card. How? I don't know, but on every phone that I'm trying to mount this SD Card - they doesn't detect it :(

At this moment I don't have any ideas. I'm determined to repair this P8 Lite, but the question is - what should I do? I need help for 3 questions:

1. What steps should I do to unbrick my phone?

2. Is there any way to pass over "Command not allowed" message in he fastboot, so I could do anything?

3. How can I turn back my SD Card to work? :P

Here is the list of commands that returns "Command not allowed" message to me:

./fastboot boot
./fastboot oem - in some cases
./fastboot erase
./fastboot flashing unlock

Thanks for every help! :D