[LG G Flex 2] Afshin44:
Nobody helps me ??, This community for lg g flex 2 sucks!!!

Anyways, I have made some progress trying to revive my lg g flex 2 h959 from qualcomm qload 9008 mode,

After extensive research and staying up nights, I have finally compiled a MPGR8994.hex programmer for this device, I have found the prog_emmc_firehose_8994_lite.mbn and I am currently trying to compile the 8994msimage.mbn file. After that I will be able to use the emmcdownload from qpst software pack to restore my phone partition table and set the phone into qualcomm qload 9006 mode.

I have problem compiling the 8994msimage.mbn; This image is basically contains the fastboot bootloader. Now if anyone here lends me the fastboot boot loader of their device it would be nice.

Follow this and make one for me, because I don't have the parts necessary, you can pull those parts using adb commands.

Okey here is the full partition table of All Lg G Flex 2 variants, and they all share this same, it is extracted from the PrimaryGPT.bin and it follows :

Starting to parse GPT
Size of GPT file is 524288
Parsing GPT
-- GPT STARTs--
name: modem
startLBA: 32768
endLBA: 196607
size: 0x0000000005000000 bytes
attributes: 0x0

name: pmic
startLBA: 196608
endLBA: 197631
size: 0x0000000000080000 bytes
attributes: 0x0

name: sbl1
startLBA: 197632
endLBA: 199679
size: 0x0000000000100000 bytes
attributes: 0x0

name: tz
startLBA: 199680
endLBA: 201727
size: 0x0000000000100000 bytes
attributes: 0x0

name: sdi
startLBA: 201728
endLBA: 202751
size: 0x0000000000080000 bytes
attributes: 0x0

name: hyp
startLBA: 202752
endLBA: 203775
size: 0x0000000000080000 bytes
attributes: 0x0

name: rpm
startLBA: 203776
endLBA: 204799
size: 0x0000000000080000 bytes
attributes: 0x0

name: aboot
startLBA: 204800
endLBA: 208895
size: 0x0000000000200000 bytes
attributes: 0x0

name: sbl1bak
startLBA: 208896
endLBA: 210943
size: 0x0000000000100000 bytes
attributes: 0x0

name: pmicbak
startLBA: 210944
endLBA: 211967
size: 0x0000000000080000 bytes
attributes: 0x0

name: tzbak
startLBA: 211968
endLBA: 214015
size: 0x0000000000100000 bytes
attributes: 0x0

name: hypbak
startLBA: 214016
endLBA: 215039
size: 0x0000000000080000 bytes
attributes: 0x0

name: rpmbak
startLBA: 215040
endLBA: 216063
size: 0x0000000000080000 bytes
attributes: 0x0

name: abootbak
startLBA: 216064
endLBA: 220159
size: 0x0000000000200000 bytes
attributes: 0x0

name: sdibak
startLBA: 220160
endLBA: 221183
size: 0x0000000000080000 bytes
attributes: 0x0

name: limits
startLBA: 221184
endLBA: 222207
size: 0x0000000000080000 bytes
attributes: 0x0

name: devinfo
startLBA: 222208
endLBA: 223231
size: 0x0000000000080000 bytes
attributes: 0x0

name: apdp
startLBA: 223232
endLBA: 224255
size: 0x0000000000080000 bytes
attributes: 0x0

name: msadp
startLBA: 224256
endLBA: 225279
size: 0x0000000000080000 bytes
attributes: 0x0

name: dpo
startLBA: 225280
endLBA: 226303
size: 0x0000000000080000 bytes
attributes: 0x0

name: misc
startLBA: 229376
endLBA: 262143
size: 0x0000000001000000 bytes
attributes: 0x0

name: persist
startLBA: 262144
endLBA: 327679
size: 0x0000000002000000 bytes
attributes: 0x0

name: modemst1
startLBA: 327680
endLBA: 330751
size: 0x0000000000180000 bytes
attributes: 0x0

name: modemst2
startLBA: 330752
endLBA: 333823
size: 0x0000000000180000 bytes
attributes: 0x0

name: fsg
startLBA: 333824
endLBA: 336895
size: 0x0000000000180000 bytes
attributes: 0x0

name: fsc
startLBA: 336896
endLBA: 337919
size: 0x0000000000080000 bytes
attributes: 0x0

name: ssd
startLBA: 337920
endLBA: 338943
size: 0x0000000000080000 bytes
attributes: 0x0

name: keystore
startLBA: 338944
endLBA: 339967
size: 0x0000000000080000 bytes
attributes: 0x0

name: DDR
startLBA: 339968
endLBA: 344063
size: 0x0000000000200000 bytes
attributes: 0x0

name: sec
startLBA: 344064
endLBA: 345087
size: 0x0000000000080000 bytes
attributes: 0x0

name: encrypt
startLBA: 345088
endLBA: 346111
size: 0x0000000000080000 bytes
attributes: 0x0

name: eksst
startLBA: 346112
endLBA: 347135
size: 0x0000000000080000 bytes
attributes: 0x0

name: rct
startLBA: 347136
endLBA: 347151
size: 0x0000000000002000 bytes
attributes: 0x0

name: persistent
startLBA: 347152
endLBA: 355343
size: 0x0000000000400000 bytes
attributes: 0x0

name: laf
startLBA: 360448
endLBA: 458751
size: 0x0000000003000000 bytes
attributes: 0x0

name: boot
startLBA: 458752
endLBA: 540671
size: 0x0000000002800000 bytes
attributes: 0x0

name: recovery
startLBA: 540672
endLBA: 622591
size: 0x0000000002800000 bytes
attributes: 0x0

name: drm
startLBA: 622592
endLBA: 638975
size: 0x0000000000800000 bytes
attributes: 0x0

name: sns
startLBA: 638976
endLBA: 655359
size: 0x0000000000800000 bytes
attributes: 0x0

name: mpt
startLBA: 655360
endLBA: 720895
size: 0x0000000002000000 bytes
attributes: 0x0

name: factory
startLBA: 720896
endLBA: 815103
size: 0x0000000002e00000 bytes
attributes: 0x0

name: fota
startLBA: 815104
endLBA: 835583
size: 0x0000000000a00000 bytes
attributes: 0x0

name: raw_resources
startLBA: 835584
endLBA: 843775
size: 0x0000000000400000 bytes
attributes: 0x0

name: raw_resourcesbak
startLBA: 843776
endLBA: 851967
size: 0x0000000000400000 bytes
attributes: 0x0

name: system
startLBA: 851968
endLBA: 8191999
size: 0x00000000e0000000 bytes
attributes: 0x0

name: cust
startLBA: 8192000
endLBA: 8716287
size: 0x0000000010000000 bytes
attributes: 0x0

name: cache
startLBA: 8716288
endLBA: 11239423
size: 0x000000004d000000 bytes
attributes: 0x0

name: userdata
startLBA: 11239424
endLBA: 60981247
size: 0x00000005ee000000 bytes
attributes: 0x0

name: grow
startLBA: 60981248
endLBA: 61071326
size: 0x0000000002bfbe00 bytes
attributes: 0x0

-- GPT ENDs --

Exited with success

Now Please someone who know, tell me which is the fastboot partition and someone exract it for me using adb and the dd command, It doesn't matter which variant for now.

This guide below is only general and I need the appropriate parts for 8994msimage.mbn

How to generate the 8660_msimage.mbn

8660_msimage.mbn is released in SW by default, actually, it includes the all the boot images and partition table there. MPRG8660.hex will download this image and reset to mass-storage mode. If customers have different HW settings, such as GPIO/DDR, the default 8660_msimage.mbn may not work for them, so customers need build their own 8660_msimage.mbn by themselves with following ways.

1. Have the QPST 2.7.366 or higher version installed.
2. Make a local folder, copy sbl1/sbl2/sbl3/rpm/tz images to this folder.
3. copy the emmcswdownload.exe from C:\Program Files\Qualcomm\QPST\bin to this folder.
4. Prepare the partition_boot.xml as below and copy the partition_boot.xml to the same folder as above.
<?xml version="1.0"?>
<image>
<physical_partition number="0">
<primary order="1" type="4d" bootable="true" label="SBL1" size="1000" readonly="false">
<file name="sbl1.mbn" offset="0"/>
</primary>
<primary order="2" type="51" bootable="false" label="SBL2" size="3000" readonly="false">
<file name="sbl2.mbn" offset="0"/>
</primary>
<primary order="3" type="45" bootable="false" label="SBL3" size="1500" readonly="false">
<file name="sbl3.mbn" offset="0"/>
</primary>
<primary order="4" type="5" bootable="false" label="EXT" size="1000000">
<extended order="1" type="47" label="RPM" size="1000" readonly="false">
<file name="rpm.mbn" offset="0"/>
</extended>
<extended order="2" type="46" label="TZ" size="1000" readonly="false">
<file name="tz.mbn" offset="0"/>
</extended>
</primary>
</physical_partition>
</image>
5. Run the emmcswdownload.exe tool to create OEM boot image with a command below.
emmcswdownload.exe -f 8660_msimage.mbn -x partition_boot.xml -s 1G -g 4M
6. The 8660_msimage.mbn will be generated in the folder.