thanks, this works perfectlyTry this!Extract this,and place your LUN files in the same folder with FH_Loader and run CMD inside that folder.Open Qfil,and open the partition manager.Leave it open,and then paste the write commands to restore.
thanks, this works perfectlyTry this!Extract this,and place your LUN files in the same folder with FH_Loader and run CMD inside that folder.Open Qfil,and open the partition manager.Leave it open,and then paste the write commands to restore.
That's because your start points are incorrect in your command lines.Which model and variant are you using?I ask that because others are trying to backup and restore but they're different models other than a G8.i tried this method and it just gives the data corrupted which then promt me to reset the whole thing, the errors as far asa i can tell happends in LUN 5 both backing up and restoring, while LUN 4 only gives error when restoring according to the error files
even when backing up and restoring in the same edl mode session it still corrupts some one the files, most noticable are the screenshot album since the forced restart and taking screenshots shares the same key combination
somehow i managed to keep the IMEI and OTA despite the errors which is nice
My phone is alive now but lost imei and sn serial number how can i fix it.Try this!Extract this,and place your LUN files in the same folder with FH_Loader and run CMD inside that folder.Open Qfil,and open the partition manager.Leave it open,and then paste the write commands to restore.
Just flash LUN 5 and it's back.I hope you made a backup!My phone is alive now but lost imei and sn serial number how can i fix it.
ok i tried using all of your commands, dumping and restoring all said done in the cmd, but it stills give the corrupted errorThat's because your start points are incorrect in your command lines.Which model and variant are you using?I ask that because others are trying to backup and restore but they're different models other than a G8.
Edit:Ok,I see v40 in the error text for your model,is that correct?If so,use these here!Just change your com port of course!That should give you a complete backup with no errors.
Creating LUNs Backup
Spoiler
LUN 0
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=3248901 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN1
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN2
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN3
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --num_sectors=2048 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN4
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --num_sectors=221179 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN5
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN6
fh_loader.exe --port=\\.\COM25 --convertprogram2read --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --num_sectors=1024 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
Restoring LUNs Backup
Spoiler
LUN0
fh_loader.exe --port=\\.\COM25 --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN1
fh_loader.exe --port=\\.\COM25 --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN2
fh_loader.exe --port=\\.\COM25 --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN3
fh_loader.exe --port=\\.\COM25 --sendimage=LUN3_Complete.bin --start_sector=0 --lun=3 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN4
fh_loader.exe --port=\\.\COM25 --sendimage=LUN4_Complete.bin --start_sector=0 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN5
fh_loader.exe --port=\\.\COM25 --sendimage=LUN5_Complete.bin --start_sector=0 --lun=5 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN6
fh_loader.exe --port=\\.\COM25 --sendimage=LUN6_Complete.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
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. 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![]()
Yes but not using these codes. They must be altered. The size of LUNs and offset values are different. You can make your own code if you have those numbers. By the way, you can find/calculate them from inside the partitionlist.xml file which can be generated using Qfil.Thanks.. this is awesome.
I'm curious, can we do this to LG V30 too? Any tutorial?
Thank you
Got it..Yes but not using these codes. They must be altered. The size of LUNs and offset values are different. You can make your own code if you have those numbers. By the way, you can find/calculate them from inside the partitionlist.xml file which can be generated using Qfil.
Anytime =)Got it..
I was trying to alter it myself but looks like I can't pass the 1st step, lol.
For example, your code has "3248901" but I can't find it in my g8 (or V60? cant remember) partitionlist.xml. Mind to share on how to do it?
Thank you
Anytime =)
Just some simple calculations to find the size of each LUNs.
Add the value of "start_sector" to value "num_partition_sectors" of the last partition in each LUN. Then you'll have the size for each LUN. For the LUN1 of your device it becomes 2952 + 5235 = 8187.
(This part is not necessary) As you see 8187 is not divisible by 8 and it needs 5 more sectors wich we add to. So it becomes 8192 (8192/8=1024). Do this for other LUNs.
For the LUN0 we don't need to include "userdata" partition so we exclude it. To do this, we subtract 1 from the "start_sector" of "userdata" partition. In your case, "userdata" starts at 1954182 so the sectors of LUN0 we need to make backup of will be 1954181.
The calculation is correct and I guess LUN1 and LUN2 are both built of 2048 sectors since LUNs are physical partitions and GPTs cannot change their sizes they only make logical partitions inside LUNs.Is my calculation incorrect? or for G8 Verizon it's indeed 2016?
I see that.The calculation is correct and I guess LUN1 and LUN2 are both built of 2048 sectors since LUNs are physical partitions and GPTs cannot change their sizes they only make logical partitions inside LUNs.
In this case, you can put the calculated number, 2011 or 2016, or the number in my codes which is 2048.
Great.
A question though..
I took it from my G8 (vzw) partitionlist.xml, made it less than an hour ago.
On the 2nd partition:
<partition label="xbl_config_a" physical_partition_number="1" start_sector="902" num_partition_sectors="32" type="5A325AE4-4276-B66D-0ADD-3494DF27706A" guid="2BCE8D0F-5D7D-7B1C-E59F-DBB3CC8AAE23" />
<partition label="last_parti" physical_partition_number="1" start_sector="934" num_partition_sectors="1109" type="00000000-0000-0000-0000-000000000000" guid="45C1364A-C41E-C22A-E9F4-D6F562B836DA" />
My calculation is
902+1109 = 2011
The nearest value divisible by 8 is 2016.
But your code said "num_sectors=2048".
Is my calculation incorrect? or for G8 Verizon it's indeed 2016?
Thanks again
There is no difference from A12 to A13.I used the same start sectors,and made the LUNS backup last night I posted in the V60 section.
Sure there is.Under configuration and then firehose configuration look towards the bottom you'll see Partition Setting.Put a check in Customize Physical Partitions then add 0,1,2,3,4,5,6.That will show all 7 LUN parttions.Found something strange.
There's no LUN 3 in the partition list. Is it okay?
Here is my settings for the G8x which should work for the G8 to. One thing I do want to add,you can over compensate for the size a little and it will still make valid copies.As an example.If LUN 1 is 2032 and you have the settings at 2048 it will still make a valid working copy with a little blank data that really doesn't matter I have found.
Here is my settings for the G8x which should work for the G8 to. One thing I do want to add,you can over compensate for the size a little and it will still make valid copies.As an example.If LUN 1 is 2032 and you have the settings at 2048 it will still make a valid working copy with a little blank data that really doesn't matter I have found.
LUN 0
fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN0_Complete.bin --start_sector=0 --lun=0 --num_sectors=4863623 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN1
fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN1_Complete.bin --start_sector=0 --lun=1 --num_sectors=2043 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
LUN2
fh_loader.exe --port=\\.\COM --convertprogram2read --sendimage=LUN2_Complete.bin --start_sector=0 --lun=2 --num_sectors=2043 --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=3067 --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
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.it says fhloader.exe is not recognised as an internal or external command.
what to do?
Hi =)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.Hi netmsm, i try this guide
my phone is in the correct edm mode, its a LG V60
![]()
i use the firehose file from this thread
![]()
i'm stuck here in A - 7
![]()
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
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.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
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.
Subtract 1 from "start_sector" of the "user data" partition when creating a backup of LUN0 excluding the "user data" partition.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?
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.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. 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![]()