[Tutorial] Full Flash Backup And Restore

Search This thread

frostt420

Member
Apr 1, 2023
8
1
Use the following codes to create backup of LG V60. You need more than 60GB of free space on the drive Qfil is installed.
LUN0
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=5910055 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=4096 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
how about LUN6 num sector? whats number?
 

alkaA!

Member
Jan 8, 2016
9
0
Hi netmsm, i try this guide
my phone is in the correct edm mode, its a LG V60
1684420490250-png.5913479


i use the firehose file from this thread
1684420728266-png.5913489


i'm stuck here in A - 7
1684420838334-png.5913491


if i try to open partion manager
1684422232485.png


Is it possible that I am using the wrong firehose file, its from the V60 unlock bootlooder thread?

EDIT
i found a other firehose file here in Post #742
 
Last edited:

Surgemanxx

Senior Member
Jun 21, 2022
369
156
LG V30
LG G7 ThinQ
Hi netmsm, i try this guide
my phone is in the correct edm mode, its a LG V60
1684420490250-png.5913479


i use the firehose file from this thread
1684420728266-png.5913489


i'm stuck here in A - 7
1684420838334-png.5913491


if i try to open partion manager
View attachment 5913517

Is it possible that I am using the wrong firehose file, its from the V60 unlock bootlooder thread?

EDIT
i found a other firehose file here in Post #742
Try this firehose here.It includes the engineering Abl file as well.
 

Attachments

  • V60_prog _ufs_firehose_sm8250_lge.zip
    511.1 KB · Views: 18
  • Like
Reactions: alkaA!

mycom

Member
Jan 3, 2015
18
0
Ho Chi Minh City
Use the following codes to create backup of LG V60. You need more than 60GB of free space on the drive Qfil is installed.
LUN0
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=5910055 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=4096 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
Thanks you for your post,it's really useful,i have used this code to backup my lg v60.but now i want to restore it.how must I do? thanks bro.

I have used this code to restore but error.

LUN0
fh_loader.exe --port=\\.\COM7 --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM7 --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM7 --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM7 --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM7 --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM7 --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
 

Attachments

  • COM7_PartitionsList.xml
    20.3 KB · Views: 11
  • 無1.jpg
    無1.jpg
    323 KB · Views: 21
Last edited:

Surgemanxx

Senior Member
Jun 21, 2022
369
156
LG V30
LG G7 ThinQ
it says fhloader.exe is not recognised as an internal or external command.
what to do?
Extract this to a folder,and copy all LUN's backup files in to that folder.Next,put the device in EDL mode and open Qfil and then open the partition manager.Leave the partition manager open,and then run the commands to restore.Not to terrible this way to backup and restore a device in Luns format.
 

Attachments

  • FH Loader.zip
    254.3 KB · Views: 21

Surgemanxx

Senior Member
Jun 21, 2022
369
156
LG V30
LG G7 ThinQ
Thanks you for your post,it's really useful,i have used this code to backup my lg v60.but now i want to restore it.how must I do? thanks bro.

I have used this code to restore but error.

LUN0
fh_loader.exe --port=\\.\COM7 --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\COM7 --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\COM7 --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\COM7 --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\COM7 --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\COM7 --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
These are the start sectors I use all the time to backup full firmware for the V60.I'll include the restore as well.Change the com port to the one you're using.

Backup LUN files

LUN 0
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=5924903 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=4091 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

Restore LUN files

LUN0
fh_loader.exe --port=\\.\com6 --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\com6 --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\com6 --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\com6 --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\com6 --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\com6 --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\com6 --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
 
  • Like
Reactions: mycom

mycom

Member
Jan 3, 2015
18
0
Ho Chi Minh City
These are the start sectors I use all the time to backup full firmware for the V60.I'll include the restore as well.Change the com port to the one you're using.

Backup LUN files

LUN 0
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=5924903 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=4091 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

Restore LUN files

LUN0
fh_loader.exe --port=\\.\com6 --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\com6 --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\com6 --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\com6 --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\com6 --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\com6 --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\com6 --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
thanks bro..LUN6 is no need. LUN6 backup has not included..
 
Last edited:

mycom

Member
Jan 3, 2015
18
0
Ho Chi Minh City
Extract this to a folder,and copy all LUN's backup files in to that folder.Next,put the device in EDL mode and open Qfil and then open the partition manager.Leave the partition manager open,and then run the commands to restore.Not to terrible this way to backup and restore a device in Luns format.
yes, i have used this method to creat backup and succssed.thanks bro
 

mycom

Member
Jan 3, 2015
18
0
Ho Chi Minh City
These are the start sectors I use all the time to backup full firmware for the V60.I'll include the restore as well.Change the com port to the one you're using.

Backup LUN files

LUN 0
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=5924903 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=4091 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\com6 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

Restore LUN files

LUN0
fh_loader.exe --port=\\.\com6 --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN1
fh_loader.exe --port=\\.\com6 --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN2
fh_loader.exe --port=\\.\com6 --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN3
fh_loader.exe --port=\\.\com6 --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN4
fh_loader.exe --port=\\.\com6 --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN5
fh_loader.exe --port=\\.\com6 --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

LUN6
fh_loader.exe --port=\\.\com6 --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
bro, i have retored my lg v60 from LUN0 to LUN5 but when i boot it was stuck in logo "lg v60 thinq".
 
Last edited:

Surgemanxx

Senior Member
Jun 21, 2022
369
156
LG V30
LG G7 ThinQ
thanks bro..LUN6 is no need. LUN6 backup has not included..
Yes most of the time Lun 6 isn't needed because it's just FRP data,but have seen some instances it wouldn't boot as you're describing.Have you tried doing a factory reset in recovery?Also,which Lun's files are you using for the restore?I have all the backups I post saved,and can send you Lun 6 if it's my backups to try.
 
  • Like
Reactions: mycom

mycom

Member
Jan 3, 2015
18
0
Ho Chi Minh City
Yes most of the time Lun 6 isn't needed because it's just FRP data,but have seen some instances it wouldn't boot as you're describing.Have you tried doing a factory reset in recovery?Also,which Lun's files are you using for the restore?I have all the backups I post saved,and can send you Lun 6 if it's my backups to try.
yes, i can not factory reset right now, EDL and download mode only. i have restored from LUN0 to LUN5 only, LUN6 was not backuped. if you have time, can you send LUN6 to me, i will try to restore it,please..Thanks bro.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    This tutorial shows how to make a full backup of the phone flash and how to restore it. Codes fit LG G8 which with some minor modifications they can be used for any other Qualcomm based devices. If you provide me the "PartitionsList.xml" of other SDM855 devices maybe I'll modify codes for them too.

    Be aware I'm not responsible if the phone gets harmed or backups get corrupted or harmful or any other jinx happens to the phone. You can just use the manual way to create backup, with the help of "partition manager".

    Note 1: Phone must be in EDL mode. This is up to you to figure that out and get the phone into EDL mode. There are information in type of tubes and posts that tell how to do this.
    Note 2: We can make backup of individual partitions or LUNs. In the process of restoring backup, the former can prove more efficient and I'd prepare such codes if OP partition didn't vary from one carrier/KDZ to another. So, thinking of a universal method, it will be concluded in making backup of LUNs. Since, some partitions are vital I prepared additional codes to create backup of them.
    Note 3: There are 7 LUNs numbered from 0 to 6. The last LUN keeps FRP data and so is hidden; Qfil does not show any of this LUN. Be careful with that :D. There are some alignments and 4 other hidden partitions that are not shown in "partition manager". DevInfo and Limits in LUN4 whereas DDR and CDT in LUN3 are hidden. LUN3 itself is also completely hidden like LUN6. Anyway, in partition manager you can see what other LUNs are keeping. The provided codes make backup of all alignments and hidden partitions too.
    Note 4: User data partition is not getting backed up due to the large size and yet not being necessary.
    Note 5: The partition on the computer where QPST is installed should have at least 25GB free space.


    Requisites
    QPST and Qualcomm USB Driver (get)
    LGE SM8150 Firehose (get)


    Preparation
    1. Install QPST and Qualcomm USB Driver.


    Steps A
    1. Open QFIL.
    2. Change "Storage Type" to UFS.
    3. Select "Flat Build".
    4. Browse for "LGE SM8150 Firehose" and pick it.
    5. Now, connect the phone to PC and boot into EDL mode.
    6. Open "Select Port" and select the phone, press OK.
    7. In "Tools" open the "Partition Manager". Keep the "Partition Manager" for the entire process.

    Note 6: To dump partitions we use fh_loader which requires the "partition manager" to be opened so do not close it until after all get done, otherwise the phone may become bricked.
    Note 7: In the following codes you need to add the port number of the phone right after "fh_loader.exe --port=\\.\COM". If yours is 3 then it should become "fh_loader.exe --port=\\.\COM3"

    Steps B (Using fh_loader)
    1. Go to QPST installation folder then go to bin folder.
    2. Open CMD there.
    3. In "partition manager" hit on "save partition file".
    4. Go to "C:\Users\YOUR_USER_NAME\AppData\Roaming\Qualcomm\QFIL".
    5. Open file named "COM#_PartitionsList.xml". (# is your phone port number)
    6. Find the phrase "userdata" using search tool.
    7. In this line, find "start_sector". There is a number in front of it, subtract 1 from this number and put it in place of "???????" in the code for LUN0.
    For example: In VRZ a10, we see the number in front of "userdata" is 5285640 which we subtract 1 from it. The result will be 5285639 which we use in place of "???????" in LUN0 Code.
    8. Put the following codes in CMD (make sure your phone's port number is added to codes).

    Creating LUNs Backup
    LUN 0
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=??????? --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3072 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN6
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Note 8: Restoration process is the same as the making backup process, in preparation and all other stuff. All backup files should be placed in bin folder of QPST installation folder before running codes.

    Restoring LUNs Backup
    LUN0
    fh_loader.exe --port=\\.\COM --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN6
    fh_loader.exe --port=\\.\COM --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Creating Backup of Vital Partitions (FTM, Modemst1, Modemst2, FSG, FSC)
    FTM
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=ftm.bin --start_sector=23816 --lun=0 --num_sectors=8192 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst1
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=modemst1.bin --start_sector=32 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst2
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=modemst2.bin --start_sector=544 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSG
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=fsg.bin --start_sector=1056 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSC
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=fsc.bin --start_sector=1568 --lun=5 --num_sectors=32 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Restoring Partitions
    FTM
    fh_loader.exe --port=\\.\COM --sendimage=ftm.bin --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst1
    fh_loader.exe --port=\\.\COM --sendimage=modemst1.bin --start_sector=32 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst2
    fh_loader.exe --port=\\.\COM --sendimage=modemst2.bin --start_sector=544 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSG
    fh_loader.exe --port=\\.\COM --sendimage=fsg.bin --start_sector=1056 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSC
    fh_loader.exe --port=\\.\COM --sendimage=fsc.bin --start_sector=1568 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Note 9: Where are the backup files stored? QPST installation folder/bin.
    Note10: Can I restore my phone's backup to my friend's phone? Yes, but do not expect it to cure IMEI problems of the second phone.


    And, that's it =)
    I'll see you around ;)
    5
    Use the following codes to create backup of LG V60. You need more than 60GB of free space on the drive Qfil is installed.
    LUN0
    fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=5910055 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM8 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=4096 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
    4
    I wrote a small console app, based on your guide.
    QFIL Helper v1.0.0.61

    In its current state It’s capable of:
    • Making a fully automated backup of all visible partitions
    • Looking for hidden partitions (still in testing stages)
    • Making automated LUN backup for LUNs: 0,1,2,4,5
    • Making manual LUN backup for LUNs: 3 and 6
    I left the backup of LUN #3 and LUN #6 in the capable hands of the user, since there’s no way for me to calculate the exact sizes of those partitions based on the PartitionsList.xml alone, and because they’d probably differ for every Android version and phone model.

    The app was tested with:
    • Android 9 / LG v50 (V450PM Sprint)
    • Qualcomm USB Driver v1.00.37
    • QPST v2.7.496
    I haven't upgraded my phone yet, so I can't guarantee that this app will work with Android 10 or above.
    2
    For the V60 I was pulling the same under the XML file.I've always used this under userdata,and the backups always work 100% for LUNS 0.This was pulled from an AT&T variant, and it starts at 5924904 and of course subtract 1?
    Subtract 1 from "start_sector" of the "user data" partition when creating a backup of LUN0 excluding the "user data" partition.
    2
    This tutorial shows how to make a full backup of the phone flash and how to restore it. Codes fit LG G8 which with some minor modifications they can be used for any other Qualcomm based devices. If you provide me the "PartitionsList.xml" of other SDM855 devices maybe I'll modify codes for them too.

    Be aware I'm not responsible if the phone gets harmed or backups get corrupted or harmful or any other jinx happens to the phone. You can just use the manual way to create backup, with the help of "partition manager".

    Note 1: Phone must be in EDL mode. This is up to you to figure that out and get the phone into EDL mode. There are information in type of tubes and posts that tell how to do this.
    Note 2: We can make backup of individual partitions or LUNs. In the process of restoring backup, the former can prove more efficient and I'd prepare such codes if OP partition didn't vary from one carrier/KDZ to another. So, thinking of a universal method, it will be concluded in making backup of LUNs. Since, some partitions are vital I prepared additional codes to create backup of them.
    Note 3: There are 7 LUNs numbered from 0 to 6. The last LUN keeps FRP data and so is hidden; Qfil does not show any of this LUN. Be careful with that :D. There are some alignments and 4 other hidden partitions that are not shown in "partition manager". DevInfo and Limits in LUN4 whereas DDR and CDT in LUN3 are hidden. LUN3 itself is also completely hidden like LUN6. Anyway, in partition manager you can see what other LUNs are keeping. The provided codes make backup of all alignments and hidden partitions too.
    Note 4: User data partition is not getting backed up due to the large size and yet not being necessary.
    Note 5: The partition on the computer where QPST is installed should have at least 25GB free space.


    Requisites
    QPST and Qualcomm USB Driver (get)
    LGE SM8150 Firehose (get)


    Preparation
    1. Install QPST and Qualcomm USB Driver.


    Steps A
    1. Open QFIL.
    2. Change "Storage Type" to UFS.
    3. Select "Flat Build".
    4. Browse for "LGE SM8150 Firehose" and pick it.
    5. Now, connect the phone to PC and boot into EDL mode.
    6. Open "Select Port" and select the phone, press OK.
    7. In "Tools" open the "Partition Manager". Keep the "Partition Manager" for the entire process.

    Note 6: To dump partitions we use fh_loader which requires the "partition manager" to be opened so do not close it until after all get done, otherwise the phone may become bricked.
    Note 7: In the following codes you need to add the port number of the phone right after "fh_loader.exe --port=\\.\COM". If yours is 3 then it should become "fh_loader.exe --port=\\.\COM3"

    Steps B (Using fh_loader)
    1. Go to QPST installation folder then go to bin folder.
    2. Open CMD there.
    3. In "partition manager" hit on "save partition file".
    4. Go to "C:\Users\YOUR_USER_NAME\AppData\Roaming\Qualcomm\QFIL".
    5. Open file named "COM#_PartitionsList.xml". (# is your phone port number)
    6. Find the phrase "userdata" using search tool.
    7. In this line, find "start_sector". There is a number in front of it, subtract 1 from this number and put it in place of "???????" in the code for LUN0.
    For example: In VRZ a10, we see the number in front of "userdata" is 5285640 which we subtract 1 from it. The result will be 5285639 which we use in place of "???????" in LUN0 Code.
    8. Put the following codes in CMD (make sure your phone's port number is added to codes).

    Creating LUNs Backup
    LUN 0
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=??????? --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3072 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN6
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Note 8: Restoration process is the same as the making backup process, in preparation and all other stuff. All backup files should be placed in bin folder of QPST installation folder before running codes.

    Restoring LUNs Backup
    LUN0
    fh_loader.exe --port=\\.\COM --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN6
    fh_loader.exe --port=\\.\COM --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Creating Backup of Vital Partitions (FTM, Modemst1, Modemst2, FSG, FSC)
    FTM
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=ftm.bin --start_sector=23816 --lun=0 --num_sectors=8192 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst1
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=modemst1.bin --start_sector=32 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst2
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=modemst2.bin --start_sector=544 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSG
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=fsg.bin --start_sector=1056 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSC
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=fsc.bin --start_sector=1568 --lun=5 --num_sectors=32 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Restoring Partitions
    FTM
    fh_loader.exe --port=\\.\COM --sendimage=ftm.bin --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst1
    fh_loader.exe --port=\\.\COM --sendimage=modemst1.bin --start_sector=32 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst2
    fh_loader.exe --port=\\.\COM --sendimage=modemst2.bin --start_sector=544 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSG
    fh_loader.exe --port=\\.\COM --sendimage=fsg.bin --start_sector=1056 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSC
    fh_loader.exe --port=\\.\COM --sendimage=fsc.bin --start_sector=1568 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Note 9: Where are the backup files stored? QPST installation folder/bin.
    Note10: Can I restore my phone's backup to my friend's phone? Yes, but do not expect it to cure IMEI problems of the second phone.


    And, that's it =)
    I'll see you around ;)
    I have edited your write up to make it more noob friendly. I hope I am posting this in a way it will not be annoying. I think some may find this usefull.

    Requisites
    QPST and Qualcomm USB Driver (get)
    LGE SM8150 Firehose.elf (get)


    Preparation
    1. Install Qualcomm USB Driver (QUD.WIN.1.1_Installer-10037.3_Setup.exe)
    2. Install QPST (QPST_2.7.496.exe)


    Part 1
    1. Open QFIL from start menu. (Using version 2.0.3.5 for this tutorial)
    2. Change "Storage Type" to UFS at bottom right corner of QFIL window.
    3. Up top in "Select Build Type" choose "Flat Build".
    4. In "Select Programmer" browse for "LGE SM8150 Firehose.elf" you downloaded and pick it.
    5. Now, connect the phone to PC and boot into EDL mode. Youtube how to boot into EDL mode for your phone.
    6. Up top click "Select Port" and select the phone, (Should read Qualcomm HS-USB QDLoader 9008 for LG G8) press OK.
    7. In "Tools" open the "Partition Manager". Keep the "Partition Manager" open for this entire process. Do not close it before finishing or you run the risk of a bricking your device.


    Part 2 (Using fh_loader from the bin folder)
    1. Open CMD. use "cd C:\Program Files (x86)\Qualcomm\QPST\bin" to navigate to the QPST/bin folder.
    2. Back in "Partition Manager" click on "Save Partition File".
    3. Go to "C:\Users\YOUR_USER_NAME\AppData\Roaming\Qualcomm\QFIL".
    4. Open file named "COM#_PartitionsList.xml". (# is your phone port number)
    5. Find the phrase "userdata" using search tool.
    6. In this line, find "start_sector". Subtract 1 from the number it ='s and put it in place of "???????" in the code for LUN0 below.

    *For example: In VRZ a10, we see the number in front of "userdata" is 5285640 which we subtract 1 from it. The result will be 5285639 which we use in place of "???????" in LUN0 Code.*

    *In the following codes you need to add the port number of the phone right after "fh_loader.exe --port=\\.\COM". If yours is 3 then it should become "fh_loader.exe --port=\\.\COM3"*

    7. Add your phone's port number to all the codes below and right click paste them into the CMD window pointed to the QPST/bin folder.


    --------------------
    Creating LUNs Backup
    --------------------
    LUN 0
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=??????? --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=383995 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=3072 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN6
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs


    -----------------------------------------------------------------------
    Creating Backup of Vital Partitions (FTM, Modemst1, Modemst2, FSG, FSC)
    -----------------------------------------------------------------------
    FTM
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=ftm.bin --start_sector=23816 --lun=0 --num_sectors=8192 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst1
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=modemst1.bin --start_sector=32 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst2
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=modemst2.bin --start_sector=544 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSG
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=fsg.bin --start_sector=1056 --lun=5 --num_sectors=512 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSC
    fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=fsc.bin --start_sector=1568 --lun=5 --num_sectors=32 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs


    ------------
    Backup Notes
    ------------
    *All backups will be created in the QPST/bin folder where CMD ran fh_loader.exe from.*

    *Their names will be: "LUN 0_Complete.bin", "LUN1_Complete.bin", "LUN2_Complete.bin", "LUN3_Complete.bin", "LUN4_Complete.bin", "LUN5_Complete.bin", "LUN6_Complete.bin", "ftm.bin", "modemst1.bin", "modemst2.bin", "fsg.bin", and "fsc.bin".*

    *You will also have a log file called "port_trace".*


    ---------------
    Restoring Notes
    ---------------
    *Restoration process is the same as the making backup process, in preparation and all other stuff.*

    *All backup files should be placed in bin folder of QPST installation folder before running codes.*

    *The codes to restore are different than backing up, be sure to use the correct codes.*


    ---------------------
    Restoring LUNs Backup
    ---------------------

    LUN0
    fh_loader.exe --port=\\.\COM --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN1
    fh_loader.exe --port=\\.\COM --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN2
    fh_loader.exe --port=\\.\COM --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN3
    fh_loader.exe --port=\\.\COM --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN4
    fh_loader.exe --port=\\.\COM --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN5
    fh_loader.exe --port=\\.\COM --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    LUN6
    fh_loader.exe --port=\\.\COM --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs


    --------------------
    Restoring Partitions
    --------------------
    FTM
    fh_loader.exe --port=\\.\COM --sendimage=ftm.bin --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst1
    fh_loader.exe --port=\\.\COM --sendimage=modemst1.bin --start_sector=32 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    Modemst2
    fh_loader.exe --port=\\.\COM --sendimage=modemst2.bin --start_sector=544 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSG
    fh_loader.exe --port=\\.\COM --sendimage=fsg.bin --start_sector=1056 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    FSC
    fh_loader.exe --port=\\.\COM --sendimage=fsc.bin --start_sector=1568 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs


    ---------------------------
    Finishing Notes & Questions
    ---------------------------
    *You may close CMD, Partition Manager, and exit QPST when finished*

    *Hold power and vol- until your phone boots. It may take a moment, wait til the phone turns on and release.*

    *Can I restore my phone's backup to my friend's phone? Yes, but do not expect it to cure IMEI problems of the second phone.*