[Android General] an.mythenmetz:
Although not everything is working (yet) I wanted to write up my version of the Guide to flash LineageOS to PVG100E

As you can see this relies heavyly on the work of @PapaBrickolini, @tgraneberg and everybody that else that contributed before.

So the credit goes to all these wonderful folks.

PREREQUISITES

QPST 2.7.496 (Bundled version containing QFIL)

Qualcomm USB QDLoader Drivers

Option I

Option II

Not sure if both are required, but at least one worked for me

PVG100E firmware (provided by @tgraneberg here)

This zip contains the pepito_VDF_NPRG_firehose.elf needed for QFIL

Palm TWRP recovery image (provided by @snoopy20 here)

LineageOS image

Phone to PC USB Cable

I found this EDL cable really (!) usefull and therefore haven't tried any of the other options to boot into EDL

Minimal ADB and Fastboot package

Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip

[Optional] GAPPS (for ARM64 / Android 9.0)

STEPS

Install USB QDLoader Drivers

Reboot PC

Install QPST

Extract the PVG100E.zip firmware archive to the root of your drive (usually that "C:\")

Rename the firehose file from "pepito_VDF_NPRG_firehose.elf" to "pepito_VDF_NPRG_firehose.mbn"

Make a copy of the TWRP recovery image.

Rename that copy to "recovery.bin"

Copy this "recovery.bin" into "C:\PVG100E" replacing the "recovery.bin" file therein

Make a copy of the LineageOS image

Rename that copy to "system.bin"

Copy this "system.bin" into "C:\PVG100E" replacing the "system.bin" file therein

Within the Qualcomm > QPST programme folder go to > bin and launch "QFIL.exe"

In QFIL:

Select Build Type: "Flat Build"

Select Programmer: Navigate to the the firehose file "C:\PVG100E\pepito_VDF_NPRG_firehose.mbn" via Browse

Search Path should be filled automatically with "C:\PVG100E"

Click "Load XML" button

Select "rawprogramm0.xml" hit open

In the next pop-up file selctor hit "cancel"

Now QFIL is ready to flash as soons as you enter EDL mode

Start or reboot the phone, imediatly pressing the button on the EDL cable

Upon release of the button the phone should be in EDL mode. If that's the case the "No Port Available" in QFIL should change and show the port

Now press the "Download" button in QFIL

When you get the message in the status window "Download Successful. Download finished" after a few minutes, reboot the phone by pressing and holding the key

Keep holding the key to keep rebooting. Upon the 4th reboot 'Entering Recovery Mode' will appear in red in the upper left corner.

Release the key to boot into TWRP

In TWRP go to Wipe > Advanced > select "System" and swipe to wipe

Now go to Wipe > Format Data. Type in 'yes' to confirm and click enter / check

Then reboot again via TWRP Main Menu > Reboot > Recovery

Mount the System partition by selecting / checking 'System' under Mount in TWRP

Load up Minimal ADB & Fast Boot

Push and flash the LineageOS image via these two adb commands:

adb push C:\"...PATH-TO.."\lineage-16.0-20191017-UNOFFICIAL-treble_arm64_avN.img /sdcard/
adb shell /sbin/simg2img /sdcard/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_avN.img /dev/block/mmcblk0p47

Note the change to mmcblk0p47 compared to mmcblk0p27 for PVG100

Format data again via TWRP

Wipe data, cache and dalvk

Move "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip" to the Internal Storage of the PVG100E, which should be mounted to Windows by this point

Install "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip" via Install in TWRP

[Optional] Install GAPPS at this point the same way.

Reboot to System

(At this point you get asked whether to install TWRP App or not)

Your PALM PVG100E should boot into LineageOS