Skip to content

Latest commit

 

History

History
110 lines (82 loc) · 4.01 KB

README.md

File metadata and controls

110 lines (82 loc) · 4.01 KB

QFIL Helper was 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…

Buy Me a Coffee at ko-fi.com


Features:

◆ Backup LUNs

  • Performs an automated backup of LUNs 0-1-2-4-5.
  • LUN0 backup will exclude Userdata due to its size.

◆ Backup Partitions

  • Performs an automated backup of all available partitions.
  • Userdata will be skipped due to its size.

◆ Detect connected COM ports

  • QFIL Helper will continuously 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.

◆ Command line

  • Enables advanced options: -advanced
  • Enables NTFS compression: -NTFS

◆ GPT (GGUID Partition Table) Edition Update

  • PartitionsList.xml no longer needed
  • LUN and partition info is pulled directly from the GPT headers
  • The app now has access to all the info about hidden partitions and LUNs
  • Backward compatibility with back-ups created with previous veriouns (except for hidden partitions/LUNs)
  • Added optional NTFS compression: - NTFS
  • Added userdata backup (with compression enabled, takes at-least 40 mins on a "good" hardware)
  • Added option to erase partitions (not fully tested)
  • Added option to manually specify what partitions/LUNs to backup

How to use:

  • Connect your phone to the PC in EDL mode
  • Launch QFIL and open Partition Manager
  • Leave QFIL running with Partition Manager open
  • Run QFIL helper

Things to remember:

⚑ Every time you make a backup with QFIL Helper, the files will be saved in: Backup-Year-Month-Day-Hour-Minute-Seconds

For Example, if today's date is 2022-07-20 and current time is 18:14:44,
then the backup directory would be named like this:

Backup-2022-07-20-18-14-44

⚑ 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

Tested with:

LG V45, V50, V50S, V60, G8, G8S, G8X, Samsung Galaxy A52s

18/06/2024

  • Japanese translation kindly provided by reindex-ot
  • To run the app with Japanese support, please use this command line: QFILHelper.exe -ja -utf8

12/10/2023

  • Chinese translation kindly added by wellqrg
  • To run the app with Chinese support, please use this command line: QFILHelper.exe -zh -utf8

09/01/2024

  • Motorola Edge 30 support added
  • Many thanks to s4704 for testing the app and providing GPT headers for device emulation

Big thanks to FreeMaan, marahuan(v500N), from 4pda.io, leavve(v50s) from the TG group, for testing this app with their phones.