Giter Site home page Giter Site logo

qfilhelper's Introduction

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…


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 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.

◆ Command line

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

◆ GPT Edition Update (beta testing)

  • 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
  • Beta test: Most of the functions were tested, but some bugs may still be present

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

v1.0.0.61 was tested sucefully with:

Android 9, LG V450PM, Qualcomm USB Driver v1.00.37, QPST v2.7.496. 

Update: 19-07-2022, v1.0.0.377: Tested sucefully with:

Android 10, LG V450PM, Qualcomm USB Driver v1.00.37, QPST v2.7.496. 

Update: 21-02-2023, v1.0.1.14b: Tested sucefully with:

Android 10/11/12, LG V50/G8S/G8X, Qualcomm USB Driver v1.00.57, QPST v2.7.496. 	

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

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

qfilhelper's People

Contributors

beliathal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.