[Huawei P20 Lite Questions & Answers] user_name_duplicate:
Hello developers,

I bought a Huawei P20 lite a few days ago after verifing, that lineage is possible to install on those phones.

Now, after struggling for 3 days to install lineage, I decided to post here.

First some information about my phone:

Device: Huawei P20 lite dual SIM, 4GB RAM, 64GB internal (ANE-L21, i guess?)

Fastboot Info (I ran those commands when creating this post):

fastboot oem get-build-number: ANE-LX1 9.1.0.257(C432E6R1P7) (from what I understood, ANE-LX1 and ANE-L21 Firmwares are the same?)

fastboot oem get-product-model : ANE-LX1

fastboot getvar version: FALED, Command not allowed

fastboot getvar vendorcountry: HW/EU

When I got the phone, I got my bootloader unlock code first.

I then successfully updated the phone to the newest version (the official Huawei approach, using HiSuite).

After that, I unlocked the bootloader with no problems and flashed TWRP.

I needed to try a few versions to find one that's working as the official ones for that phone kept freezing, I finally found one by Pretorian08 that's working).

Then I formatted to get rid of encryption, did the wipe procedure, cleared the cache, data and system partition and installed the newest lineage build and GAPPS.

After rebooting, the Phone showed me the usual "your device has been unlocked and can't be trusted"- dialog, and tried to boot then.

From here on, nothing happened.

I tried every build I could find, including the most actual one from tonight (lineage-16.0-20201214-nightly-anne-signed.zip).

Some builds would reboot after some time and show the shortened warning message, then boot directly into Recovery.

I totally bricked my phone somewhere on the way (multiple times I think), but could unbrick it by flashing rescue_recovery_kernel, rescue_recovery_ramdisk and rescue_recovery_vendor with appropriate img files extracted from a "Anne-L01 Anne-L21 9.1.0.132(C432E5R1P7T8)" - Firmware and then going back to zero by installing a stockrom via dload and unlocking the bootloader again.

I then tried several other custom Roms, but the outcome is always the same: The phone just freezes with the warning message still visible while trying to boot up, or it boots into TWRP.

ROMs I've tried (I'll write the filenames to provide more info):

- Havoc OS-v3.2-20200215-ARM64AB-GSI.img

- Resurrection Remix ARM64_AB_20191205.img (this is the only custom ROM that will do ANYTHING at all: It will show the Red RessurectionMix Bootlogo, but sadly it won't boot past that point)

- Treble AOSP losq-v224-201017-arm64-bvN.img

With the above 3, installing GAPPS is not possible because "not enough free space in system partition"

- Every possible lineage build for that phone

As stated before, I'm struggling with the phone for 3 days now, so I followed a whole bunch of threads and advices, flashed multiple firmware files using different methods and tried like 7 different TWRP versions. With other words: I did a lot of things, which yould possibly mess up the phone and maybe I did something wrong at some point.

Maybe, I flashed a wrong Firmware while trying to unbrick or something like that. Can you guys help me understand what I'm doing wrong?