[LG V50 ThinQ Guides, News, & Discussion] Beliathal:
QFIL Helper is a console app created out of the necessity to automate the process of partition backup with QFIL utility. As one of the “lucky” owners of the sprint branded LG v50, I was faced with the grim prospect of making manual backup of every available partition, every time I’d want to upgrade, downgrade, tamper with the system files or mess with Magisk modules.

While researching this subject, I've stumbled upon this guide explaining in great detail how to use fh_loader.exe supplied within QFIL (QPST) utility. Then I've decided to take it one step further and automate the entire process…

QFIL Helper v1.0.0.559 (GitHub)

Features:

◆ Backup Partitions

Performs an automated backup of all available partitions.

COM?_PartitionsList.xml must be up-to-date.

Userdata will be skipped due to its size.

◆ Backup LUNs

Performs an automated backup of LUNs 0-1-2-4-5.

LUN0 backup will exclude Userdata due to its size.

◆ Backup hidden partitions

Some partitions, like DDR, CDT (LUN3), DevInfo, Limits (LUN4) are hidden.

QFIL Partition manager won't display them nor export to PartitionsList.xml.

QFIL Helper will attempt to locate and save those partitions.

Enter the following command line argument to enable this option: -hidden

◆ Backup hidden LUNs

LUNs 3 and 6 are hidden and won't show-up in QFIL Partiton Manager.

There's no possible way for me to calculate the size of these LUNs properly for every model of v50/G8.

QFIL Helper will ask the user to enter LUN number (3,6) and its size in sectors.

Use this mode only if you're absolutely sure you know what you doing.

Enter the following command line argument to enable this option: -hidden

◆ Backup: ABL, Boot, LAF, XBL

Quick backup of all boot related partitions.

◆ Backup: FTM, Modemst, FSG, FSC

Quick backup of vital partitons.

◆ Detect connected COM ports

QFIL Helper will continiously query Windows for all connected devices.

If Qualcomm HS-USB QDLoader 9008 is detected, then your phone is connected in EDL mode.

◆ Flash firmware

Restore your partitions backup.

Restore your LUN backup.

Flash 3rd party images like Engineering ABL.

Use command line argument to enable flashing of entire LUN images: -advanced

The app was tested with Android 9/10 and LG V450PM. It'll probably work with G8, G8X and V60 as well. This release seems to be stable, backup of partitions and LUNs works without any issues. Flashing single partitions like abl or boot should be safe, flashing entire LUN backups or system/vendor/product/OP is probably safe too. I've tested this with my own phone as much as I could, but you never know... Last thing I want is for someone to brick their phones, so I've added a command line argument: -advanced. Without it, the program won't flash LUN backups.

When flashing firmware, the files must be placed in the "Flash" subfolder and named in compliance with any of the following formats:

lun#_partition_$.bin | parition_$.bin | partition.bin | lun#.bin | lun#_complete.bin

For example:

lun4_abl_a.bin - will be flashed into LUN4, Slot A

abl_a.bin - will also be flashed into LUN4, Slot A.

lun4.bin - will flash entire LUN4

How to use:

Connect your phone to the PC in EDL mode

Launch QFIL and open Partition Manager

Click on "Save Partition File"

Leave QFIL running with Partition Manager open

Run QFIL Helper