[Tutorial] Rescue From HARD BRICK

Search This thread

luislasonbra

Member
Jul 20, 2012
13
2
Don't worry!
Everything's gonna be alright ;)

You may accidentally erase all partitions and GPT on your phone. Nothing is shown in "Partition Manager". Since there's no Rawprogram XML file we need an alternative method to get the phone back on again.
This tutorial shows how to recover from a hard brick state. Be aware that identity data of the phone are stored in LUN5 (modemst1, modemst2, fsg and fsc) and are incapable of recovering. So, you need to repair IMEI.
Except using IMEI repair tool box, there is only one possible way to rewrite IMEI but as far as I know the phone will throw an error that this phone is permanently locked.
On the SDM855 flash we have 7 LUNs. Each Lun is devided into several partitions where data are stored. Some of the partitions are necessary in order that phone can turn on. They are in LUN0, LUN1 and LUN4. If you have no backup you need to extract the necessary or all partitions from a KDZ. So, do a search for how to extract the new KDZ files, learn and do it. There are some difficulties with extracting OP partition so make sure you do it correctly. Since, it's been explained in this forum I'm not gonna re-explain anything.
So, let's get started =)


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


Preparation
1. Install QPST and Qualcomm USB Driver.


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

A) I have a backup.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D) or restore partitions using "Partition Manager". ONLY USE YOUR BACKUP FILES.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

B) I have no backup.
Ba) I was not on Sprint or ATT last time before hard brick.

1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D). You need to extract and use the necessary partitions from the same KDZ which you had flashed on the phone last time before hard brick or it may not work.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

Bb) I was on Sprint or ATT last time right before hard brick.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash all the partitions using FH_Loader, just side a, extracted from any KDZ (Part E). To test your luck, extract and use the necessary partitions of an A10 KDZ.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

C) Flashing GPT Files.
1. Move GPT files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=LUN0.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

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

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

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

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

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

fh_loader.exe --port=\\.\com --sendimage=LUN6.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

D) Flash The Necessary Partitions.
Note: Necessary partitions are the ones that make the phone capable of turning on and going to Download Mode.
abl_a
akmu_a
aop_a
cmnlib_a
cmnlib64_a
devcfg_a
dsp_a
dtbo_a
hyp_a
keymaster_a
laf_a
power
tz_a
uefisecapp_a
vbmeta_a
xbl_a
xbl_config_a
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

E) Flash All Partitions.
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=mpt.img --start_sector=6 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=drm.img --start_sector=8198 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=p_persist_lg.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sns.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ssd.img --start_sector=15366 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persist.img --start_sector=15368 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=misc.img --start_sector=23560 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ftm.img --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=encrypt.img --start_sector=43272 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eksst.img --start_sector=43400 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=rct.img --start_sector=43528 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=fota.img --start_sector=43656 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=srtc.img --start_sector=46216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=pstore.img --start_sector=48264 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=els.img --start_sector=48776 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=operatorlogging.img --start_sector=52872 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eri.img --start_sector=56968 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=carrier.img --start_sector=59016 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persdata.img --start_sector=71304 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=metadata.img --start_sector=87688 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vendor_a.img --start_sector=91784 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=system_a.img --start_sector=962184 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=product_a.img --start_sector=2926216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=OP_a.img --start_sector=3974792 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN1
fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN4
fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=hyp_a.img --start_sector=1158 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=modem_a.img --start_sector=1290 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtpsecapp_a.img --start_sector=57610 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtp_a.img --start_sector=58634 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=boot_a.img --start_sector=83722 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=qupfw_a.img --start_sector=108586 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=imagefv_a.img --start_sector=127566 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=raw_resources_a.img --start_sector=128078 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=core_nhlos_a.img --start_sector=130126 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sid_a.img --start_sector=173646 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------Common

fh_loader.exe --port=\\.\com --sendimage=secdata.img --start_sector=347542 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devinfo.img --start_sector=347549 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dip.img --start_sector=347550 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=apdp.img --start_sector=347806 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=msadp.img --start_sector=347870 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=spunvm.img --start_sector=347934 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=splash.img --start_sector=349982 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=toolsfv.img --start_sector=358339 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logfs.img --start_sector=358595 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cateloader.img --start_sector=360643 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logdump.img --start_sector=361155 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=storsec.img --start_sector=377539 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgoem.img --start_sector=377571 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgqti.img --start_sector=377579 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefivarstore.img --start_sector=377587 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catefv.img --start_sector=377715 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catecontentfv.img --start_sector=377843 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=last_parti_after_catecontentfv.img --start_sector=378099 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.


Note: LUN files I provide have ".bin" extension and other files should have ".img" extension, otherwise you need to modify the codes.

English
hello, following the steps indicated in this guide to be able to recover my "LG G8 AT&T" currently stuck in "Qualcom HS-USB QDLoader 9008", I extracted the firmware "G820NO20v_00_OPEN_KR_OP_0106.kdz", some files I can't find:
mdtpsecapp_a.img
mdtp_a.img
devinfo.img
dip.img
spunvm.img
splash.img
toolsfv.img
cateloader.img
logdump.img
multiimgqti.img
uefivarstore.img
catefv.img
catecontentfv.img
last_parti_after_catecontentfv.img

perform the process to obtain the correct "OP" of this guide
(https://bbs.lge.fun/thread-75.htm)

skipping these files I have them all, flash them, then close "Partition Manager", power cycle the device but it always goes into "EDL (Qualcom HS-USB QDLoader 9008)" mode.

I don't know what I'm doing wrong, before the brick it was in the original "AT&T" software, I follow the instructions and I can't recover it... any help or suggestion?


NOTE:
Before performing "Crossflash" copy of these files:
FTM.bin
Modem_A.bin
Modem_B.bin
OP_A.bin
OP_B.bin
SID_A.bin
SID_B.bin


Spanish
hola, realice los pasos indicados en esta guía para poder recuperar mi "LG G8 AT&T" actualmente estancado en "Qualcom HS-USB QDLoader 9008", extraje el firmwar "G820NO20v_00_OPEN_KR_OP_0106.kdz", algunos archivos no los encuentro:
mdtpsecapp_a.img
mdtp_a.img
devinfo.img
dip.img
spunvm.img
splash.img
toolsfv.img
cateloader.img
logdump.img
multiimgqti.img
uefivarstore.img
catefv.img
catecontentfv.img
last_parti_after_catecontentfv.img

realize el proceso para poder obtener el "OP" correcto de esta guia
(https://bbs.lge.fun/thread-75.htm)

omitiendo estos archivos los tengo todos, los flasheo, luego cierro el "Partition Manager", apago y enciendo el dispositivo pero siempre entra al modo "EDL (Qualcom HS-USB QDLoader 9008)".

no se lo que estoy haciendo mal, antes del brick estaba en el software original de "AT&T", sigo las instrucciones y no puedo recuperarlo... alguna ayuda o sugerencia?


NOTA:
Antes de realizar el "Crossflash" realize copia de estos archivos:
FTM.bin
Modem_A.bin
Modem_B.bi
OP_A.bin
OP_B.bin
SID_A.bin
SID_B.bin
 

luislasonbra

Member
Jul 20, 2012
13
2
Read the instructions where it says:

Flash all partitions.

English
Hello, thanks for answering.

I did these steps but I can't extract these files to be able to flash:
mdtpsecapp_a.img
mdtp_a.img
devinfo.img
dip.img
spunvm.img
splash.img
toolsfv.img
cateloader.img
logdump.img
multiimgqti.img
uefivarstore.img
catefv.img
catecontentfv.img
last_parti_after_catecontentfv.img

which are necessary for "part E:" of the tutorial, I still do not have these files and the device is still in "EDL (Qualcom HS-USB QDLoader 9008)"

Spanish
hola, gracias por responder.

realize estos pasos pero no logro extraer estos archivos para poder flashar:
mdtpsecapp_a.img
mdtp_a.img
devinfo.img
dip.img
spunvm.img
splash.img
toolsfv.img
cateloader.img
logdump.img
multiimgqti.img
uefivarstore.img
catefv.img
catecontentfv.img
last_parti_after_catecontentfv.img

los cuales son necesarios para la "parte E:" del tutorial, sigo sin estos archivos y el dispositivo sigue en "EDL (Qualcom HS-USB QDLoader 9008)"
 

irfan64672

Member
Jul 24, 2015
19
0
Don't worry!
Everything's gonna be alright ;)

You may accidentally erase all partitions and GPT on your phone. Nothing is shown in "Partition Manager". Since there's no Rawprogram XML file we need an alternative method to get the phone back on again.
This tutorial shows how to recover from a hard brick state. Be aware that identity data of the phone are stored in LUN5 (modemst1, modemst2, fsg and fsc) and are incapable of recovering. So, you need to repair IMEI.
Except using IMEI repair tool box, there is only one possible way to rewrite IMEI but as far as I know the phone will throw an error that this phone is permanently locked.
On the SDM855 flash we have 7 LUNs. Each Lun is devided into several partitions where data are stored. Some of the partitions are necessary in order that phone can turn on. They are in LUN0, LUN1 and LUN4. If you have no backup you need to extract the necessary or all partitions from a KDZ. So, do a search for how to extract the new KDZ files, learn and do it. There are some difficulties with extracting OP partition so make sure you do it correctly. Since, it's been explained in this forum I'm not gonna re-explain anything.
So, let's get started =)


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


Preparation
1. Install QPST and Qualcomm USB Driver.


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

A) I have a backup.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D) or restore partitions using "Partition Manager". ONLY USE YOUR BACKUP FILES.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

B) I have no backup.
Ba) I was not on Sprint or ATT last time before hard brick.

1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D). You need to extract and use the necessary partitions from the same KDZ which you had flashed on the phone last time before hard brick or it may not work.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

Bb) I was on Sprint or ATT last time right before hard brick.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash all the partitions using FH_Loader, just side a, extracted from any KDZ (Part E). To test your luck, extract and use the necessary partitions of an A10 KDZ.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

C) Flashing GPT Files.
1. Move GPT files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=LUN0.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

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

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

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

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

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

fh_loader.exe --port=\\.\com --sendimage=LUN6.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

D) Flash The Necessary Partitions.
Note: Necessary partitions are the ones that make the phone capable of turning on and going to Download Mode.
abl_a
akmu_a
aop_a
cmnlib_a
cmnlib64_a
devcfg_a
dsp_a
dtbo_a
hyp_a
keymaster_a
laf_a
power
tz_a
uefisecapp_a
vbmeta_a
xbl_a
xbl_config_a
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

E) Flash All Partitions.
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=mpt.img --start_sector=6 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=drm.img --start_sector=8198 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=p_persist_lg.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sns.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ssd.img --start_sector=15366 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persist.img --start_sector=15368 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=misc.img --start_sector=23560 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ftm.img --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=encrypt.img --start_sector=43272 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eksst.img --start_sector=43400 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=rct.img --start_sector=43528 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=fota.img --start_sector=43656 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=srtc.img --start_sector=46216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=pstore.img --start_sector=48264 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=els.img --start_sector=48776 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=operatorlogging.img --start_sector=52872 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eri.img --start_sector=56968 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=carrier.img --start_sector=59016 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persdata.img --start_sector=71304 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=metadata.img --start_sector=87688 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vendor_a.img --start_sector=91784 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=system_a.img --start_sector=962184 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=product_a.img --start_sector=2926216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=OP_a.img --start_sector=3974792 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN1
fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN4
fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=hyp_a.img --start_sector=1158 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=modem_a.img --start_sector=1290 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtpsecapp_a.img --start_sector=57610 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtp_a.img --start_sector=58634 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=boot_a.img --start_sector=83722 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=qupfw_a.img --start_sector=108586 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=imagefv_a.img --start_sector=127566 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=raw_resources_a.img --start_sector=128078 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=core_nhlos_a.img --start_sector=130126 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sid_a.img --start_sector=173646 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------Common

fh_loader.exe --port=\\.\com --sendimage=secdata.img --start_sector=347542 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devinfo.img --start_sector=347549 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dip.img --start_sector=347550 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=apdp.img --start_sector=347806 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=msadp.img --start_sector=347870 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=spunvm.img --start_sector=347934 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=splash.img --start_sector=349982 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=toolsfv.img --start_sector=358339 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logfs.img --start_sector=358595 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cateloader.img --start_sector=360643 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logdump.img --start_sector=361155 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=storsec.img --start_sector=377539 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgoem.img --start_sector=377571 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgqti.img --start_sector=377579 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefivarstore.img --start_sector=377587 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catefv.img --start_sector=377715 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catecontentfv.img --start_sector=377843 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=last_parti_after_catecontentfv.img --start_sector=378099 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.


Note: LUN files I provide have ".bin" extension and other files should have ".img" extension, otherwise you need to modify the codes.
hey thanks for the help know my phone is working but I have an issue. I am Verizon V60 user and used the backup file of AT&T to restore my partitions after that I flashed stock verizon A11 kdz. now my phone is permanently locked with network. but I had the backup of modemst1&2 modem a&b , fsc, fsg, ftm and misc from Stock A12 Verizon. but the problem is when I restore them my IMEI is not comming back its zero and phone is in locked state. is there anyway to pass it?
 

netmsm

Senior Member
Oct 3, 2010
444
205
Esfahan
hey thanks for the help know my phone is working but I have an issue. I am Verizon V60 user and used the backup file of AT&T to restore my partitions after that I flashed stock verizon A11 kdz. now my phone is permanently locked with network. but I had the backup of modemst1&2 modem a&b , fsc, fsg, ftm and misc from Stock A12 Verizon. but the problem is when I restore them my IMEI is not comming back its zero and phone is in locked state. is there anyway to pass it?
It depends on whether or not the phone is factory unlocked. If yes, so there are some user level methods to repair IMEI and get the phone working, and if no, the IMEI may only be repaired via Octopus box. There are much talks on how to repair IMEI and NT-Code in this thread. Hope you can find and use them.
 

irfan64672

Member
Jul 24, 2015
19
0
It depends on whether or not the phone is factory unlocked. If yes, so there are some user level methods to repair IMEI and get the phone working, and if no, the IMEI may only be repaired via Octopus box. There are much talks on how to repair IMEI and NT-Code in this thread. Hope you can find and use them.
this guide is for cross flash. there is nothing to repair IMEI in this guide.
 

NhatAnhNguyen

New member
Aug 10, 2022
1
0
nó xuất hiện lỗi này:
17:14:55: INFO: 3. Gọi fopen ('C: \ Program Files (x86) \ Qualcomm \ QPST \ bin \ port_trace.txt') bằng AccessMode = 'w'


_____
| ___ |
| | __ _ __ _ __ ___ _ __
| __ | '__ | '__ / _ \ | '__ |
| | __ | | | | | (_) | |
\ ____ / _ | | _ | \ ___ / | _ |


17:14:55: {LỖI: Gọi fopen với chế độ truy cập 'w' trên 'C: \ Program Files (x86) \ Qualcomm \ QPST \ bin \ port_trace.txt KHÔNG thành công'}

LỖI: Không thể thêm vào 'port_trace.txt'

Nhật ký là 'C: \ Program Files (x86) \ Qualcomm \ QPST \ bin \ port_trace.txt'

XIN LỖI ĐÃ CỐ ĐỊNH TÔI PHẢI CẤP QUYỀN TRUY CẬP ADMIN TRONG CÁC THUỘC TÍNH
CHÍNH XÁC TÔI PHẢI ĐẶT. \ Fh_loader.exe
i have same. how to fix ???
 
Last edited:

jchwz0415

New member
Aug 10, 2022
2
0
fh_loader.exe --port=\\.\com --sendimage=splash.img --start_sector=349982 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
I cannot find this img file. anyone can share it to me
 

buglike

Member
Aug 12, 2022
8
0
So, I bricked my LM-850UM...yeah, I know.
I downloaded (3) different KDZ files, extracted them and the DZ files.....
I did not find the files needed to restore to "download" mode - and my partitions don't "line up" any longer.
Does anyone have, or know how to retrieve, the partition imgs noted in the "Spoiler" for Step D?
abl_a, akmu_a, aop_a.....etc

Update - I did find the files I needed...they are attached. Phone is now it download mode.
How to find the files?
 

buglike

Member
Aug 12, 2022
8
0
Don't worry!
Everything's gonna be alright ;)

You may accidentally erase all partitions and GPT on your phone. Nothing is shown in "Partition Manager". Since there's no Rawprogram XML file we need an alternative method to get the phone back on again.
This tutorial shows how to recover from a hard brick state. Be aware that identity data of the phone are stored in LUN5 (modemst1, modemst2, fsg and fsc) and are incapable of recovering. So, you need to repair IMEI.
Except using IMEI repair tool box, there is only one possible way to rewrite IMEI but as far as I know the phone will throw an error that this phone is permanently locked.
On the SDM855 flash we have 7 LUNs. Each Lun is devided into several partitions where data are stored. Some of the partitions are necessary in order that phone can turn on. They are in LUN0, LUN1 and LUN4. If you have no backup you need to extract the necessary or all partitions from a KDZ. So, do a search for how to extract the new KDZ files, learn and do it. There are some difficulties with extracting OP partition so make sure you do it correctly. Since, it's been explained in this forum I'm not gonna re-explain anything.
So, let's get started =)


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


Preparation
1. Install QPST and Qualcomm USB Driver.


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

A) I have a backup.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D) or restore partitions using "Partition Manager". ONLY USE YOUR BACKUP FILES.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

B) I have no backup.
Ba) I was not on Sprint or ATT last time before hard brick.

1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D). You need to extract and use the necessary partitions from the same KDZ which you had flashed on the phone last time before hard brick or it may not work.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

Bb) I was on Sprint or ATT last time right before hard brick.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash all the partitions using FH_Loader, just side a, extracted from any KDZ (Part E). To test your luck, extract and use the necessary partitions of an A10 KDZ.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

C) Flashing GPT Files.
1. Move GPT files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=LUN0.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

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

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

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

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

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

fh_loader.exe --port=\\.\com --sendimage=LUN6.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

D) Flash The Necessary Partitions.
Note: Necessary partitions are the ones that make the phone capable of turning on and going to Download Mode.
abl_a
akmu_a
aop_a
cmnlib_a
cmnlib64_a
devcfg_a
dsp_a
dtbo_a
hyp_a
keymaster_a
laf_a
power
tz_a
uefisecapp_a
vbmeta_a
xbl_a
xbl_config_a
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

E) Flash All Partitions.
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=mpt.img --start_sector=6 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=drm.img --start_sector=8198 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=p_persist_lg.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sns.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ssd.img --start_sector=15366 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persist.img --start_sector=15368 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=misc.img --start_sector=23560 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ftm.img --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=encrypt.img --start_sector=43272 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eksst.img --start_sector=43400 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=rct.img --start_sector=43528 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=fota.img --start_sector=43656 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=srtc.img --start_sector=46216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=pstore.img --start_sector=48264 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=els.img --start_sector=48776 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=operatorlogging.img --start_sector=52872 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eri.img --start_sector=56968 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=carrier.img --start_sector=59016 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persdata.img --start_sector=71304 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=metadata.img --start_sector=87688 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vendor_a.img --start_sector=91784 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=system_a.img --start_sector=962184 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=product_a.img --start_sector=2926216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=OP_a.img --start_sector=3974792 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN1
fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN4
fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=hyp_a.img --start_sector=1158 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=modem_a.img --start_sector=1290 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtpsecapp_a.img --start_sector=57610 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtp_a.img --start_sector=58634 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=boot_a.img --start_sector=83722 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=qupfw_a.img --start_sector=108586 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=imagefv_a.img --start_sector=127566 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=raw_resources_a.img --start_sector=128078 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=core_nhlos_a.img --start_sector=130126 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sid_a.img --start_sector=173646 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------Common

fh_loader.exe --port=\\.\com --sendimage=secdata.img --start_sector=347542 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devinfo.img --start_sector=347549 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dip.img --start_sector=347550 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=apdp.img --start_sector=347806 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=msadp.img --start_sector=347870 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=spunvm.img --start_sector=347934 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=splash.img --start_sector=349982 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=toolsfv.img --start_sector=358339 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logfs.img --start_sector=358595 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cateloader.img --start_sector=360643 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logdump.img --start_sector=361155 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=storsec.img --start_sector=377539 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgoem.img --start_sector=377571 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgqti.img --start_sector=377579 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefivarstore.img --start_sector=377587 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catefv.img --start_sector=377715 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catecontentfv.img --start_sector=377843 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=last_parti_after_catecontentfv.img --start_sector=378099 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.


Note: LUN files I provide have ".bin" extension and other files should have ".img" extension, otherwise you need to modify the codes.
emmm...
I fixed the partitions according to this thread,and then restarted phone. Nothing happened, and I was unable to enter EDL mode
 

AbdullahAwan

Member
Jan 4, 2020
12
2
Don't worry!
Everything's gonna be alright ;)

You may accidentally erase all partitions and GPT on your phone. Nothing is shown in "Partition Manager". Since there's no Rawprogram XML file we need an alternative method to get the phone back on again.
This tutorial shows how to recover from a hard brick state. Be aware that identity data of the phone are stored in LUN5 (modemst1, modemst2, fsg and fsc) and are incapable of recovering. So, you need to repair IMEI.
Except using IMEI repair tool box, there is only one possible way to rewrite IMEI but as far as I know the phone will throw an error that this phone is permanently locked.
On the SDM855 flash we have 7 LUNs. Each Lun is devided into several partitions where data are stored. Some of the partitions are necessary in order that phone can turn on. They are in LUN0, LUN1 and LUN4. If you have no backup you need to extract the necessary or all partitions from a KDZ. So, do a search for how to extract the new KDZ files, learn and do it. There are some difficulties with extracting OP partition so make sure you do it correctly. Since, it's been explained in this forum I'm not gonna re-explain anything.
So, let's get started =)


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


Preparation
1. Install QPST and Qualcomm USB Driver.


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

A) I have a backup.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D) or restore partitions using "Partition Manager". ONLY USE YOUR BACKUP FILES.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

B) I have no backup.
Ba) I was not on Sprint or ATT last time before hard brick.

1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash the necessary partitions using FH_Loader (Part D). You need to extract and use the necessary partitions from the same KDZ which you had flashed on the phone last time before hard brick or it may not work.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

Bb) I was on Sprint or ATT last time right before hard brick.
1. Download GPT files (get).
2. Flash GPT files using FH_Loader (Part C).
3. Flash all the partitions using FH_Loader, just side a, extracted from any KDZ (Part E). To test your luck, extract and use the necessary partitions of an A10 KDZ.
4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

C) Flashing GPT Files.
1. Move GPT files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=LUN0.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

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

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

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

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

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

fh_loader.exe --port=\\.\com --sendimage=LUN6.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

D) Flash The Necessary Partitions.
Note: Necessary partitions are the ones that make the phone capable of turning on and going to Download Mode.
abl_a
akmu_a
aop_a
cmnlib_a
cmnlib64_a
devcfg_a
dsp_a
dtbo_a
hyp_a
keymaster_a
laf_a
power
tz_a
uefisecapp_a
vbmeta_a
xbl_a
xbl_config_a
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.

E) Flash All Partitions.
1. Move files to the "bin" folder in QPST installation folder.
2. While you are in "bin" folder, open CMD there.
Note: Remember you need to have "Partition Manager" opened.
3. Find the port number of the phone from "Device Manager".
4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
fh_loader.exe --port=\\.\com --sendimage=mpt.img --start_sector=6 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=drm.img --start_sector=8198 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=p_persist_lg.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sns.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ssd.img --start_sector=15366 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persist.img --start_sector=15368 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=misc.img --start_sector=23560 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=ftm.img --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=encrypt.img --start_sector=43272 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eksst.img --start_sector=43400 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=rct.img --start_sector=43528 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=fota.img --start_sector=43656 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=srtc.img --start_sector=46216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=pstore.img --start_sector=48264 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=els.img --start_sector=48776 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=operatorlogging.img --start_sector=52872 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=eri.img --start_sector=56968 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=carrier.img --start_sector=59016 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=persdata.img --start_sector=71304 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=metadata.img --start_sector=87688 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vendor_a.img --start_sector=91784 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=system_a.img --start_sector=962184 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=product_a.img --start_sector=2926216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=OP_a.img --start_sector=3974792 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN1
fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------LUN4
fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=hyp_a.img --start_sector=1158 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=modem_a.img --start_sector=1290 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtpsecapp_a.img --start_sector=57610 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=mdtp_a.img --start_sector=58634 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=boot_a.img --start_sector=83722 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=qupfw_a.img --start_sector=108586 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=imagefv_a.img --start_sector=127566 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=raw_resources_a.img --start_sector=128078 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=core_nhlos_a.img --start_sector=130126 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=sid_a.img --start_sector=173646 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

---------------------Common

fh_loader.exe --port=\\.\com --sendimage=secdata.img --start_sector=347542 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=devinfo.img --start_sector=347549 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=dip.img --start_sector=347550 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=apdp.img --start_sector=347806 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=msadp.img --start_sector=347870 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=spunvm.img --start_sector=347934 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=splash.img --start_sector=349982 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=toolsfv.img --start_sector=358339 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logfs.img --start_sector=358595 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=cateloader.img --start_sector=360643 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=logdump.img --start_sector=361155 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=storsec.img --start_sector=377539 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgoem.img --start_sector=377571 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=multiimgqti.img --start_sector=377579 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=uefivarstore.img --start_sector=377587 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catefv.img --start_sector=377715 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=catecontentfv.img --start_sector=377843 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

fh_loader.exe --port=\\.\com --sendimage=last_parti_after_catecontentfv.img --start_sector=378099 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
5. Modify the codes and use them in the CMD.
6. If anything goes wrong you may get the "error" message instead of "done" message.


Note: LUN files I provide have ".bin" extension and other files should have ".img" extension, otherwise you need to modify the codes.



hello. your tutorial looks amazing, but i just wanted to ask if the LUN files you provided will work with my korean v50? it also has no partitions.....
 

AbdullahAwan

Member
Jan 4, 2020
12
2
emmm...
I fixed the partitions according to this thread,and then restarted phone. Nothing happened, and I was unable to enter EDL mode
if that is the case, try connecng the phone to the pc, hold vol-and power while holding these, keep quickly pressing the vol+ until it shows as qloader 9008 in device manager. If you've already tried this then good luck, idk whats wrong :oops:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    bro i restore imei by editing meodem.bin
    1
    I've extracted the KDZ A11, but some of the files are missing, or am I missing something... right now, I only can gain access to EDL, can't enter download mode or even the splash screen. Right before I flashed, I was on 20b A10(sprint), so I flashed a backup (A11) thinking that it should work fine, but I was wrong. I did backup my LUN 5 just incase, I didn't delete any partitions. I should have sticked the A10 if I knew it was gonna be this hard.
    Read and follow instructions. If you need backup files of Sprint ROM check this.
    1
    So bad news, my G8X no longer show any signs of life, can't boot into EDL mode anymore, reinstalled the driver and QPST, I guess my only option now is opening the back and short the EDL pins.. or is there another way around this?
    Plug in the USB cable and hold power and vol- then rapidly press the vol+, do it a lot.
    1
    follow your guide I managed to turn on the phone but it gives me the permanent lock error I have and I do not have a backup how can I solve it
    LUN5 partitions must be restored using backups of the same phone if it's not available the only way to solve permanent lock is to perform Repair IMEI using Octopus box.
    1
    I need the LUN files for the G850UM (SPRINT) do you have them?
    Download from post #3.
  • 6
    Don't worry!
    Everything's gonna be alright ;)

    You may accidentally erase all partitions and GPT on your phone. Nothing is shown in "Partition Manager". Since there's no Rawprogram XML file we need an alternative method to get the phone back on again.
    This tutorial shows how to recover from a hard brick state. Be aware that identity data of the phone are stored in LUN5 (modemst1, modemst2, fsg and fsc) and are incapable of recovering. So, you need to repair IMEI.
    Except using IMEI repair tool box, there is only one possible way to rewrite IMEI but as far as I know the phone will throw an error that this phone is permanently locked.
    On the SDM855 flash we have 7 LUNs. Each Lun is devided into several partitions where data are stored. Some of the partitions are necessary in order that phone can turn on. They are in LUN0, LUN1 and LUN4. If you have no backup you need to extract the necessary or all partitions from a KDZ. So, do a search for how to extract the new KDZ files, learn and do it. There are some difficulties with extracting OP partition so make sure you do it correctly. Since, it's been explained in this forum I'm not gonna re-explain anything.
    So, let's get started =)

    For other models than LG G8 please read post #2.

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

    Other Downloads
    Sprint dumped ROM (get) [optional]
    Necessary files for LG G8X (get from this post) thanks to @davembg [optional]
    LG V50 GPT files (get) [optional]

    Preparation
    1. Install QPST and Qualcomm USB Driver.


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

    A) I have a backup.
    1. Download GPT files (get).
    2. Flash GPT files using FH_Loader (Part C).
    3. Flash the necessary partitions using FH_Loader (Part D) or restore partitions using "Partition Manager". ONLY USE YOUR BACKUP FILES.
    4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
    5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
    6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

    B) I have no backup.
    Ba) I was not on Sprint or ATT last time before hard brick.

    1. Download GPT files (get).
    2. Flash GPT files using FH_Loader (Part C).
    3. Flash the necessary partitions using FH_Loader (Part D). You need to extract and use the necessary partitions from the same KDZ which you had flashed on the phone last time before hard brick or it may not work.
    4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
    5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
    6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

    Bb) I was on Sprint or ATT last time right before hard brick.
    1. Download GPT files (get).
    2. Flash GPT files using FH_Loader (Part C).
    3. Flash all the partitions using FH_Loader, just side a, extracted from any KDZ (Part E). To test your luck, extract and use the necessary partitions of an A10 KDZ.
    4. Close "Partition Manager" wait for about 5 seconds then press and hold Vol- and Power for 10 seconds.
    5. After restart quickly release buttons and press and hold Vol+ to get into "Download Mode".
    6. Flash any KDZ but use instruction in this thread (Part C) to avoid "OPID Mismatched Error".

    C) Flashing GPT Files.
    1. Move GPT files to the "bin" folder in QPST installation folder.
    2. While you are in "bin" folder, open CMD there.
    Note: Remember you need to have "Partition Manager" opened.
    3. Find the port number of the phone from "Device Manager".
    4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
    4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
    fh_loader.exe --port=\\.\com --sendimage=LUN0.bin --start_sector=0 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

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

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

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

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

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

    fh_loader.exe --port=\\.\com --sendimage=LUN6.bin --start_sector=0 --lun=6 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
    5. Modify the codes and use them in the CMD.
    6. If anything goes wrong you may get the "error" message instead of "done" message.

    D) Flash The Necessary Partitions.
    Note: Necessary partitions are the ones that make the phone capable of turning on and going to Download Mode.
    abl_a
    akmu_a
    aop_a
    cmnlib_a
    cmnlib64_a
    devcfg_a
    dsp_a
    dtbo_a
    hyp_a
    keymaster_a
    laf_a
    power
    tz_a
    uefisecapp_a
    vbmeta_a
    xbl_a
    xbl_config_a
    1. Move files to the "bin" folder in QPST installation folder.
    2. While you are in "bin" folder, open CMD there.
    Note: Remember you need to have "Partition Manager" opened.
    3. Find the port number of the phone from "Device Manager".
    4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
    4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
    fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
    5. Modify the codes and use them in the CMD.
    6. If anything goes wrong you may get the "error" message instead of "done" message.

    E) Flash All Partitions.
    1. Move files to the "bin" folder in QPST installation folder.
    2. While you are in "bin" folder, open CMD there.
    Note: Remember you need to have "Partition Manager" opened.
    3. Find the port number of the phone from "Device Manager".
    4. Add the the number (port number) right after "fh_loader.exe --port=\\.\com" in the following codes.
    4.1. For example, mine is "3" so it would be "fh_loader.exe --port=\\.\com3".
    fh_loader.exe --port=\\.\com --sendimage=mpt.img --start_sector=6 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=drm.img --start_sector=8198 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=p_persist_lg.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=sns.img --start_sector=11782 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=ssd.img --start_sector=15366 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=persist.img --start_sector=15368 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=misc.img --start_sector=23560 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=ftm.img --start_sector=23816 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=power.img --start_sector=32008 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=encrypt.img --start_sector=43272 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=eksst.img --start_sector=43400 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=rct.img --start_sector=43528 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=fota.img --start_sector=43656 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=srtc.img --start_sector=46216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=pstore.img --start_sector=48264 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=els.img --start_sector=48776 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=operatorlogging.img --start_sector=52872 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=eri.img --start_sector=56968 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=carrier.img --start_sector=59016 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=persdata.img --start_sector=71304 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=metadata.img --start_sector=87688 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=vendor_a.img --start_sector=91784 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=system_a.img --start_sector=962184 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=product_a.img --start_sector=2926216 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=OP_a.img --start_sector=3974792 --lun=0 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    ---------------------LUN1
    fh_loader.exe --port=\\.\com --sendimage=xbl_a.img --start_sector=6 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=xbl_config_a.img --start_sector=902 --lun=1 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    ---------------------LUN4
    fh_loader.exe --port=\\.\com --sendimage=aop_a.img --start_sector=6 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=tz_a.img --start_sector=134 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=hyp_a.img --start_sector=1158 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=modem_a.img --start_sector=1290 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=mdtpsecapp_a.img --start_sector=57610 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=mdtp_a.img --start_sector=58634 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=abl_a.img --start_sector=66826 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=dsp_a.img --start_sector=67082 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=keymaster_a.img --start_sector=83466 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=akmu_a.img --start_sector=83594 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=boot_a.img --start_sector=83722 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=cmnlib_a.img --start_sector=108298 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=cmnlib64_a.img --start_sector=108426 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=devcfg_a.img --start_sector=108554 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=qupfw_a.img --start_sector=108586 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=laf_a.img --start_sector=108606 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=vbmeta_a.img --start_sector=120894 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=dtbo_a.img --start_sector=120910 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=uefisecapp_a.img --start_sector=127054 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=imagefv_a.img --start_sector=127566 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=raw_resources_a.img --start_sector=128078 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=core_nhlos_a.img --start_sector=130126 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=sid_a.img --start_sector=173646 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    ---------------------Common

    fh_loader.exe --port=\\.\com --sendimage=secdata.img --start_sector=347542 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=devinfo.img --start_sector=347549 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=dip.img --start_sector=347550 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=apdp.img --start_sector=347806 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=msadp.img --start_sector=347870 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=spunvm.img --start_sector=347934 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=splash.img --start_sector=349982 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=toolsfv.img --start_sector=358339 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=logfs.img --start_sector=358595 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=cateloader.img --start_sector=360643 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=logdump.img --start_sector=361155 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=storsec.img --start_sector=377539 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=multiimgoem.img --start_sector=377571 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=multiimgqti.img --start_sector=377579 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=uefivarstore.img --start_sector=377587 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=catefv.img --start_sector=377715 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=catecontentfv.img --start_sector=377843 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs

    fh_loader.exe --port=\\.\com --sendimage=last_parti_after_catecontentfv.img --start_sector=378099 --lun=4 --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=ufs
    5. Modify the codes and use them in the CMD.
    6. If anything goes wrong you may get the "error" message instead of "done" message.


    Note: LUN files I provide have ".bin" extension and other files should have ".img" extension, otherwise you need to modify the codes.
    2
    the partitions which carry imei / s/n are ftm, fsg, modem, modemst1 and modemst2.
    FTM is a temp place and its data are regenerated after flashing the phone. Changing IMEI in FTM will not change the phone IMEI.
    FSG is the backup of Modemsts. Repairing IMEI process can alter Modemsts but not FSG.
    LG has put a new lock in NVM to prevent identity data from getting changed. In addition, the bridge to Modemsts is Modem partition which carry another lock called IMEIPROT.
    When we erase all partitions, NVM is cleared but IMEIPROT still exists in Modem. The only way to rewrite IMEI is to modify Modem by removing IMEIPROT. However, losing NVM will awake another lock which prevents Modem from detecting Sim, resulting in the error "this phone is permanently locked" even after rewriting IMEI.
    2
    So, I bricked my LM-850UM...yeah, I know.
    I downloaded (3) different KDZ files, extracted them and the DZ files.....
    I did not find the files needed to restore to "download" mode - and my partitions don't "line up" any longer.
    Does anyone have, or know how to retrieve, the partition imgs noted in the "Spoiler" for Step D?
    abl_a, akmu_a, aop_a.....etc

    Update - I did find the files I needed...they are attached. Phone is now it download mode.
    1
    Nice write up. Pretty sure the partitions which carry imei / s/n are ftm, fsg, modem, modemst1 and modemst2.

    Those are the partitions they indicate on v40 tele group anyway, last I looked.

    cheers
    1
    Did you do it according to the suggested instructions?
    Would you try Korean A9?
    I tried flashing open_kr A11 and it actually booted. Thank you for your help!