[Guide - HOW TO] Recover LG G7 (or other newer LG phones) from EDL or 9008 mode.

Search This thread

Michael852688

New member
Aug 1, 2022
1
0
Hi guys,

i bricked my G170EM when trying to install a Custom ROM. Orangefox Recovery is still working. I am not able to find a valid link for Stock FW Kdz to follow this Guide.
Is there anybody who can provide me the G710EM EM30F or even EM30H files?

Thanks in Advance!

Edit: I was successful at https://lgrom.com and unbricked my phone. Thanks for this Guide!
 
Last edited:

AbdullahAwan

Member
Jan 4, 2020
13
2
Hello all. Is this thread still active? If it is then id like to share that i have the same problem as some few others here. I have a v50 v500n with ALL PARTITIONS WIPED, meaning i have an empty partition manager in qfil.

I have a complete backup of partitions taken from a sprint v50 , but as i have no partitions left, i cant use these to restore my phone... i know that by know my imei is wiped, but still id like someone to tell me what to do next, and how to create partitions.xml and how to use them.....

Any help will be appreciated

edit: i have the required firhose file, but i need rawprogram + patch and whatever else is needed for e.g the partition.xml.....
 

urover

Senior Member
Nov 19, 2013
83
11
Hello all. Is this thread still active? If it is then id like to share that i have the same problem as some few others here. I have a v50 v500n with ALL PARTITIONS WIPED, meaning i have an empty partition manager in qfil.

I have a complete backup of partitions taken from a sprint v50 , but as i have no partitions left, i cant use these to restore my phone... i know that by know my imei is wiped, but still id like someone to tell me what to do next, and how to create partitions.xml and how to use them.....

Any help will be appreciated

edit: i have the required firhose file, but i need rawprogram + patch and whatever else is needed for e.g the partition.xml.....
Please see my comment on this thread and if it helps: https://forum.xda-developers.com/t/lg-g710eaw-partitions-corrupted.4457827/#post-87146685.

I was in the same situation as you. You need to flash firmware via QFIL and then you can restore your partitions for IMEI etc. I was able to restore my LG G7 finally even though the OP of this thread is no longer responsive.
 

AbdullahAwan

Member
Jan 4, 2020
13
2
Please see my comment on this thread and if it helps: https://forum.xda-developers.com/t/lg-g710eaw-partitions-corrupted.4457827/#post-87146685.

I was in the same situation as you. You need to flash firmware via QFIL and then you can restore your partitions for IMEI etc. I was able to restore my LG G7 finally even though the OP of this thread is no longer responsive.
thanks but ive already fixed it with this guide.
first i restored the partition table with LUN files provided in this thread, then i extracted all partitions from a korean V50 KDZ, and flashed all partitions 1 by 1 in qfil.
after that i was able to boot into download mode and flashed a new stock kdz, so thats it!
 
  • Like
Reactions: urover

urover

Senior Member
Nov 19, 2013
83
11
So, although my device is recovered, I'm stuck in "IMPL 1" / "Phone is permanently locked" land.

How do I go about fixing this?
 

Hasford

New member
Jul 7, 2018
1
0
Hello guys I accidentally wiped entire partitions of my lg g7. All have all the partition and raw file plus got file but I don't know how to flash it any help
 

mi123

Member
Jul 24, 2007
5
0
Please, help,
my phone is recognized only by fastboot, no EDL mode.
I try erase parts and stoping at:
-----------------------------------------------
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase abl
erasing 'abl'...
FAILED (remote: Erase is not allowed in Lock State)
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>
-------------------------------------------------

fastboot getvar all said:
------------------------------------------------
(bootloader) eio_count:0
(bootloader) dm_count:0
(bootloader) lock_count:1
(bootloader) unlock_count:0
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4236
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) variant:SDM UFS
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x280000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0x11B800000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:7
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:7
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) ufs-bootlun:1(a)
(bootloader) slot-count:2
(bootloader) secure:no
(bootloader) serialno:LMV350N638xxxx
(bootloader) product:QC_Reference_Phone
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
--------------------------------------


What is wrong? How to fix it?
 
Last edited:

sourabh7625

Senior Member
Jul 20, 2014
78
20
India
Please, help,
my phone is recognized only by fastboot, no EDL mode.
I try erase parts and stoping at:
-----------------------------------------------
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase abl
erasing 'abl'...
FAILED (remote: Erase is not allowed in Lock State)
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>
-------------------------------------------------

fastboot getvar all said:
------------------------------------------------
(bootloader) eio_count:0
(bootloader) dm_count:0
(bootloader) lock_count:1
(bootloader) unlock_count:0
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4236
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) variant:SDM UFS
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x280000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0x11B800000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:7
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:7
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) ufs-bootlun:1(a)
(bootloader) slot-count:2
(bootloader) secure:no
(bootloader) serialno:LMV350N638xxxx
(bootloader) product:QC_Reference_Phone
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
--------------------------------------


What is wrong? How to fix it?
you device has locked bootloader. to make it erase partitions in fastboot it must has an unlocked bootloader or perhaps V35 bootloader might help.
 

shadowalker2014

Senior Member
Nov 7, 2014
139
32
offa
LG V40
I'm having similar problem on LG v40. I Hardbrick my device when I was trying to fix bootloop using qfil backup, now my device only show empty partitions list in qfil partition manager. Please how can I generate partition.xml to recover my phone
 
Last edited:

jhr5474

Senior Member
Sep 20, 2010
1,474
470
Holley, Oregon
ok, i have been messing with this for hours now and from what i see step 3 and step 4 are the same thing. when i try to extract with one click it says file not found, all files processed? I put the kdz file in the folder as mentioned but it wont extract it. Please help. I am confused, step 3 says to extract kdz and dz and i do that then the next step says put kdz in toos folder and extract, as mentioned, it doesnt do anything. and of course the download mode thing doesnt work
 

zeeshan151

New member
Feb 21, 2023
1
0
****** Unbrick all LG G7 models ******
********** This guide has updated into two methods **********


(i). Recover from any boot problem to system or download mode.(which is defined below)

This technique have been very useful to me for fixing my device and there is no any particular guide to fix brick device easily. That's why it is a must to share.
* As long as you can access EDL(9008) mode in your device you can fix your bricked device *


There are so many developers online if you can find who claim to fix or unbrick your bricked device by charging a hefty amount even after that you can not trust them.

****** I am here just to help you so if you want you can donate to me on paypal ******

This guide has been compiled to fix all the phones which are in bricked state and completely dead state as long as you can access EDL mode(which is a Qualcomm's hidden flashing mode bult into hardware) you are able to fix your phones.

This guide applies to all the following problems :
Boot loop.
Fastboot boot loop(looping in fastboot).
Stuck at LG logo.
No recovery mode.
No fastboot mode.
Red triangle(security error).
"Press key to shut" message displays.
Seems like No sign of life.
And when connects to PC :
QHSUSB BULK or QLOADER or something like that when connects to PC or red LED.

Why are you facing this problem??
Downgrading android version of your phone.
Flashing wrong recovery image.
Flashing wrong firmware/ROM.
Flashing wrong bootloader/fastboot image.
While playing with your phone just for fun.
And many more....

Tools required :
- Qualcomm USB drivers. https://mega.nz/file/YAVhFIiC#nF-cChZklhcsxMHk24GhsB6rlE119erQqmXuBu21c6c
- LG mobile drivers. https://mega.nz/file/4UU3RSJb#iJu32uFbPsSrhIPoVr-BS1f2RqHnqL95lePDhDnK7NY
- LGUP tool lab version and LGUP common dll. https://mega.nz/file/MJdjxCqb#THo7EpmCqFUNa5VHMQcWI5D6M4QcR5p2vhQ77le0Gzo
- LG V35 abl image. https://mega.nz/file/wBV3UaQK#G0bF9gYz9Jb8FjdJsCAP0wmIOSqHrOFUjvUiPOsj91Q
- LG firmware extractor. https://mega.nz/file/oZMzGS6Q#JmYlsH9YgU_CmR5Ra0gjIOg_4S6fNVFPgl3UV0BRz0s
- KDZ tools. https://mega.nz/file/hJNVWAyY#KL8dypxmDXOJ3I9njzQW2TYE-ZgrHaiwnmenNbBcGRs
- QFIL tool. https://mega.nz/file/4AdjXCAS#tWf6XUYO3OxHjZ_XDJZopOtQpVkggW2170QIKDW0JK8
- Snapdragon 845 UFS firehose. https://mega.nz/file/8Zk0AAJQ#-WBO38OBXo6TnykCoOaoXeV2zBxHaUyoq3sR6lmFTtQ
- ADB tool. https://mega.nz/file/URtWmAxZ#TRNwkp9ZQw4BG1we2cxu623fT-6O6XJsBcylNevSF0g
- Stock f/w KDZ for your particuar device no less than last working andriod and build version.
- Knowledge how to boot into EDL (without shorting test pin it can fuse device board).


* Steps :
Step 1 : uninstall all the phone related drivers and restart PC.

Step 2 : to successfully install drivers and software follow below guide -
a. open commant prompt with admin rights run these commands so windows can allow to install driver properly.
- bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
- bcdedit.exe -set TESTSIGNING ON
(these will disable driver signature enforcement and put windows into test mode)
and restart
c. install Qualcomm drivers
d. install LG mobile drivers
e. install QPST
f. install LGUP lab version and place LGUP_Common.dll in C:\Program Files (x86)\LG Electronics\LGUP\model\common\LGUP_Common.dll and restart PC

*** When you boot your phone in download mode and instead it goes into fastboot then you should first open LGUP and then connect phone in download mode because I as experienced this time somehow LGUP forces the phone to stay in download mode rather than switching to fastboot ***
(
if thuis works proceed to step 9 else not then step 3)

Step 3 : open LG firmware extract and click open in KDZ row and select downloaded firmware kdz and let it load then check G710xx something from list and click extract if there is any error in log then your kdz file is corrupted, if success then it will produce a DZ file and now in DZ row click open and select DZ file now tool will show you a long list, now select all the items and extract. This will produce so many files in LG firmware extractor folder.

Step 4 : place your kdz file in KDZ tools folder and select OneKeyExtraction.bat type Y, it will produce a dz file and several img files in a folder named as your firmware KDZ's name. copy boot_a.img , abl_a.img , laf_a.img to adb folder for fastboot flashing.

Step 5 : open QFIL from it's installation location and check build type to flat build and in programm file select prog_ufs_firehose_Sdm845_lge.elf file and in lower right corner select storage type to UFS.

Step 6 : connect your device to PC and boot into EDL mode by
a. if it is in any ON condition : POWER button + VOLUME DOWN and prepare to press VOLUME UP repeatedly as soon as phone switches off
b. if it is in dead condition : connecting to PC automatically boot into EDL mode.
if phone is connected in EDL mode now Device manager must show a device under ports tree somehting named as Qualcom HS-USB QLOADER 9008(Com_X)
* if you have bricked your device then I assume you already know how to boot into EDL mode.

Step 7 : now in QFIL select port and select your device, select Tools from QFIL toolbar and select Partition Manger, in warning window ckick OK if you've selected right 845's firehose elf file and after success it must show a list of many partions of your phone.
flashing : it's time for flashing.

*Note: select all the image files one by one in Lg firmware extract folder by typing name in file name control like as showed in screenshot Files_location.jpg.View attachment 5181205

it will take patience because it's a manual one, order must be followed coz tha's the thing that matters...

- find select and right click on "xbl_a" then manage partition data and select load then select "xbl.elf_6"
- find select and right click on "xbl_config_a" then manage partition data and select load then select "xbl_config.ebl_902"
- find select and right click on "xbl_b" then manage partition data and select load then select "xbl.elf_6"
- find select and right click on "xbl_config_b" then manage partition data and select load then select "xbl_config.ebl_902"
- find select and right click on "tz_a" then manage partition data and select load then select "tz.mbn_134"
- find select and right click on "hyp_a" then manage partition data and select load then select "hyp.mbn_646"
- find select and right click on "boot_a" then manage partition data and select load then select "boot.img_163830"
- find select and right click on "cmnlib_a" then manage partition data and select load then select "cmnlib.mbn_81670"
- find select and right click on "cmnlib64_a" then manage partition data and select load then select "cmnlib64.mbn_81798"
- find select and right click on "boot_b" then manage partition data and select load then select "boot.img_163830"
- find select and right click on "cmnlib_b" then manage partition data and select load then select "cmnlib.mbn_81670"
- find select and right click on "cmnlib64_b" then manage partition data and select load then select "cmnlib64.mbn_81798"
- find select and right click on "abl_a" then manage partition data and select load then select "V35abl.img"
- find select and right click on "abl_b" then manage partition data and select load then select "V35abl.img"
- find select and right click on "raw_Resources_a" then manage partition data and select load then select "raw_resources.img_194918"
- find select and right click on "tz_b" then manage partition data and select load then select "tz.mbn_134"
- find select and right click on "hyp_b" then manage partition data and select load then select "hyp.mbn_646"
- find select and right click on "laf_a" then manage partition data and select load then select "laf.img_81990"
- find select and right click on "laf_b" then manage partition data and select load then select "laf.img_81990"

close partition manager and let it restart device into EDL again.

Step 8 : boot your device in fasboot which is currently in EDL mode, to do so press Power + Volume down button and ready to leave Power as soon as phone restart while keep pressing Volume down
a. open command prompt in adb folder and verify device connectivity by
fastboot devices
* it must show a device something like LMV35EAWx.
b. perform these commands, order must be followed coz tha's the thing that matters:
fastboot erase boot
fastboot erase boot_a
fastboot erase boot_b
fastboot erase abl
fastboot erase abl_a
fastboot erase abl_b
fastboot erase laf
fastboot erase laf_a
fastboot erase laf_b
fastboot flash boot boot_a.img
fastboot flash boot_b boot_a.img
fastboot flash boot_a boot_a.img
fastboot flash abl abl_a.img
fastboot flash abl_b abl_a.img
fastboot flash abl_a abl_a.img
fastboot flash laf laf_a.img
fastboot flash laf_b laf_a.img
fastboot flash laf_a laf_a.img
and let your device as it is in fastboot.
we already flashed these partions in EDL mode and flashing in fastboot confirms that partitions do not get overwritten.

Step 9 : open LGUP and somehow proceed to flashing window, where you'll find device list option and many flashing options and a firmware list below, in flashing options select Refurbish and drop your KDZ file in firmware list and follow
View attachment 5181207
a. now from phone's fastboot menu select restart and hold Volume Up now phone will show download mode bar and in few seconds LGUP will recognise your device in list same as above screenshot.
b. flash you KDZ and let your device boot into system.


Now you have a fully working device.


(ii). Recover from dead boot or no partitions list in QFIL partition manager.(hard brick)
**if you have urgency you can donate money so I can focus on yours**


I worked around G7's stock kdz and fortunately end up generating flashing file for a single partition but there are so many(100+) partitions and this single one took 1+ hour, which was hardly to arrange. You can imagine how much time 100+ partitions would take to be prepared.
Problem is I have a time consuming job so I can not waste my time on this unless you donate some money and get your device guaranteed recovered ASAP.

** UPDATE **
The guide I was working on, was more complex for noob to understand.
be patience I am slowly working with python scripts and a easy guide which will help you to flash empty device.

***use rawprogram and patch at your risk because it will result in 0 IMEI problem that causes no network signal but your device will be fixed***
And if anyone want to flash firmware through QFIL in that case I am also attaching G710EAW partition.xml , rawprograms.xml, patch.xml and flashable gpt_main & gpt_backup bin.


Thanks for your support.
Questions are welcome.


THANKS SO MUCH
brother i have lg velvet i thingis a snapdragon 760 5g its on 9008 portant slution
 

YB123

Member
Feb 21, 2023
35
2
LG V50 ThinQ
****** Unbrick all LG G7 models ******
********** This guide has updated into two methods **********


(i). Recover from any boot problem to system or download mode.(which is defined below)

This technique have been very useful to me for fixing my device and there is no any particular guide to fix brick device easily. That's why it is a must to share.
* As long as you can access EDL(9008) mode in your device you can fix your bricked device *


There are so many developers online if you can find who claim to fix or unbrick your bricked device by charging a hefty amount even after that you can not trust them.

****** I am here just to help you so if you want you can donate to me on paypal ******

This guide has been compiled to fix all the phones which are in bricked state and completely dead state as long as you can access EDL mode(which is a Qualcomm's hidden flashing mode bult into hardware) you are able to fix your phones.

This guide applies to all the following problems :
Boot loop.
Fastboot boot loop(looping in fastboot).
Stuck at LG logo.
No recovery mode.
No fastboot mode.
Red triangle(security error).
"Press key to shut" message displays.
Seems like No sign of life.
And when connects to PC :
QHSUSB BULK or QLOADER or something like that when connects to PC or red LED.

Why are you facing this problem??
Downgrading android version of your phone.
Flashing wrong recovery image.
Flashing wrong firmware/ROM.
Flashing wrong bootloader/fastboot image.
While playing with your phone just for fun.
And many more....

Tools required :
- Qualcomm USB drivers. https://mega.nz/file/YAVhFIiC#nF-cChZklhcsxMHk24GhsB6rlE119erQqmXuBu21c6c
- LG mobile drivers. https://mega.nz/file/4UU3RSJb#iJu32uFbPsSrhIPoVr-BS1f2RqHnqL95lePDhDnK7NY
- LGUP tool lab version and LGUP common dll. https://mega.nz/file/MJdjxCqb#THo7EpmCqFUNa5VHMQcWI5D6M4QcR5p2vhQ77le0Gzo
- LG V35 abl image. https://mega.nz/file/wBV3UaQK#G0bF9gYz9Jb8FjdJsCAP0wmIOSqHrOFUjvUiPOsj91Q
- LG firmware extractor. https://mega.nz/file/oZMzGS6Q#JmYlsH9YgU_CmR5Ra0gjIOg_4S6fNVFPgl3UV0BRz0s
- KDZ tools. https://mega.nz/file/hJNVWAyY#KL8dypxmDXOJ3I9njzQW2TYE-ZgrHaiwnmenNbBcGRs
- QFIL tool. https://mega.nz/file/4AdjXCAS#tWf6XUYO3OxHjZ_XDJZopOtQpVkggW2170QIKDW0JK8
- Snapdragon 845 UFS firehose. https://mega.nz/file/8Zk0AAJQ#-WBO38OBXo6TnykCoOaoXeV2zBxHaUyoq3sR6lmFTtQ
- ADB tool. https://mega.nz/file/URtWmAxZ#TRNwkp9ZQw4BG1we2cxu623fT-6O6XJsBcylNevSF0g
- Stock f/w KDZ for your particuar device no less than last working andriod and build version.
- Knowledge how to boot into EDL (without shorting test pin it can fuse device board).


* Steps :
Step 1 : uninstall all the phone related drivers and restart PC.

Step 2 : to successfully install drivers and software follow below guide -
a. open commant prompt with admin rights run these commands so windows can allow to install driver properly.
- bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
- bcdedit.exe -set TESTSIGNING ON
(these will disable driver signature enforcement and put windows into test mode)
and restart
c. install Qualcomm drivers
d. install LG mobile drivers
e. install QPST
f. install LGUP lab version and place LGUP_Common.dll in C:\Program Files (x86)\LG Electronics\LGUP\model\common\LGUP_Common.dll and restart PC

*** When you boot your phone in download mode and instead it goes into fastboot then you should first open LGUP and then connect phone in download mode because I as experienced this time somehow LGUP forces the phone to stay in download mode rather than switching to fastboot ***
(
if thuis works proceed to step 9 else not then step 3)

Step 3 : open LG firmware extract and click open in KDZ row and select downloaded firmware kdz and let it load then check G710xx something from list and click extract if there is any error in log then your kdz file is corrupted, if success then it will produce a DZ file and now in DZ row click open and select DZ file now tool will show you a long list, now select all the items and extract. This will produce so many files in LG firmware extractor folder.

Step 4 : place your kdz file in KDZ tools folder and select OneKeyExtraction.bat type Y, it will produce a dz file and several img files in a folder named as your firmware KDZ's name. copy boot_a.img , abl_a.img , laf_a.img to adb folder for fastboot flashing.

Step 5 : open QFIL from it's installation location and check build type to flat build and in programm file select prog_ufs_firehose_Sdm845_lge.elf file and in lower right corner select storage type to UFS.

Step 6 : connect your device to PC and boot into EDL mode by
a. if it is in any ON condition : POWER button + VOLUME DOWN and prepare to press VOLUME UP repeatedly as soon as phone switches off
b. if it is in dead condition : connecting to PC automatically boot into EDL mode.
if phone is connected in EDL mode now Device manager must show a device under ports tree somehting named as Qualcom HS-USB QLOADER 9008(Com_X)
* if you have bricked your device then I assume you already know how to boot into EDL mode.

Step 7 : now in QFIL select port and select your device, select Tools from QFIL toolbar and select Partition Manger, in warning window ckick OK if you've selected right 845's firehose elf file and after success it must show a list of many partions of your phone.
flashing : it's time for flashing.

*Note: select all the image files one by one in Lg firmware extract folder by typing name in file name control like as showed in screenshot Files_location.jpg.View attachment 5181205

it will take patience because it's a manual one, order must be followed coz tha's the thing that matters...

- find select and right click on "xbl_a" then manage partition data and select load then select "xbl.elf_6"
- find select and right click on "xbl_config_a" then manage partition data and select load then select "xbl_config.ebl_902"
- find select and right click on "xbl_b" then manage partition data and select load then select "xbl.elf_6"
- find select and right click on "xbl_config_b" then manage partition data and select load then select "xbl_config.ebl_902"
- find select and right click on "tz_a" then manage partition data and select load then select "tz.mbn_134"
- find select and right click on "hyp_a" then manage partition data and select load then select "hyp.mbn_646"
- find select and right click on "boot_a" then manage partition data and select load then select "boot.img_163830"
- find select and right click on "cmnlib_a" then manage partition data and select load then select "cmnlib.mbn_81670"
- find select and right click on "cmnlib64_a" then manage partition data and select load then select "cmnlib64.mbn_81798"
- find select and right click on "boot_b" then manage partition data and select load then select "boot.img_163830"
- find select and right click on "cmnlib_b" then manage partition data and select load then select "cmnlib.mbn_81670"
- find select and right click on "cmnlib64_b" then manage partition data and select load then select "cmnlib64.mbn_81798"
- find select and right click on "abl_a" then manage partition data and select load then select "V35abl.img"
- find select and right click on "abl_b" then manage partition data and select load then select "V35abl.img"
- find select and right click on "raw_Resources_a" then manage partition data and select load then select "raw_resources.img_194918"
- find select and right click on "tz_b" then manage partition data and select load then select "tz.mbn_134"
- find select and right click on "hyp_b" then manage partition data and select load then select "hyp.mbn_646"
- find select and right click on "laf_a" then manage partition data and select load then select "laf.img_81990"
- find select and right click on "laf_b" then manage partition data and select load then select "laf.img_81990"

close partition manager and let it restart device into EDL again.

Step 8 : boot your device in fasboot which is currently in EDL mode, to do so press Power + Volume down button and ready to leave Power as soon as phone restart while keep pressing Volume down
a. open command prompt in adb folder and verify device connectivity by
fastboot devices
* it must show a device something like LMV35EAWx.
b. perform these commands, order must be followed coz tha's the thing that matters:
fastboot erase boot
fastboot erase boot_a
fastboot erase boot_b
fastboot erase abl
fastboot erase abl_a
fastboot erase abl_b
fastboot erase laf
fastboot erase laf_a
fastboot erase laf_b
fastboot flash boot boot_a.img
fastboot flash boot_b boot_a.img
fastboot flash boot_a boot_a.img
fastboot flash abl abl_a.img
fastboot flash abl_b abl_a.img
fastboot flash abl_a abl_a.img
fastboot flash laf laf_a.img
fastboot flash laf_b laf_a.img
fastboot flash laf_a laf_a.img
and let your device as it is in fastboot.
we already flashed these partions in EDL mode and flashing in fastboot confirms that partitions do not get overwritten.

Step 9 : open LGUP and somehow proceed to flashing window, where you'll find device list option and many flashing options and a firmware list below, in flashing options select Refurbish and drop your KDZ file in firmware list and follow
View attachment 5181207
a. теперь из меню быстрой загрузки телефона выберите перезагрузить и удерживать Громкость сейчас телефон покажет панель режима загрузки и через несколько секунд LGUP распознает ваше устройство в списке, как и выше скриншот.
b. прошить KDZ и позволить вашему устройству загрузиться в систему.


Теперь у вас есть полностью работающее устройство.


(ii). Восстановление из мертвой загрузки или списка без разделов в диспетчере разделов QFIL. (твердый кирпич)
Я работал вокруг стандартного kdz G7 и, к счастью, в конечном итоге сгенерировал мигающий файл для одного раздела, но есть так много (100 +) разделов, и этот один занял 1 + час, что вряд ли можно было организовать. Вы можете себе представить, сколько времени потребуется для подготовки более 100 разделов.
Проблема в том, что у меня трудоемкая работа, поэтому я не могу тратить свое время на это, есливы не жертвуете немного денег и гарантированно восстанавливаете свое устройство как можно скорее.

** ОБНОВЛЯТЬ**
Руководство, над которым я работал, было более сложным для понимания нубом.
Будьте терпеливы, я медленно работаю со скриптами python и простым руководством, которое поможет вам прошить пустое устройство.

используйте rawprogram и патч на свой страх и риск, потому что это приведет к проблеме 0 IMEI, которая не вызывает сетевого сигнала, но ваше устройство будет исправлено***
И если кто-то хочет прошить прошивку через QFIL в этом случае, я также присоединяю раздел G710EAW.xml, rawprograms.xml, патч.xml и мигаемые gpt_main & gpt_backup bin.


Спасибо за поддержку.
Вопросы приветствуются.


БОЛЬШОЕ СПАСИБО
please help i erased everything on my lg v50 and i don't know where to get the necessary files for qfil
 

yuvrajsp

Member
Feb 2, 2020
11
1
Thanks, @sourabh7625 for your time and effort on this guide. I have tried to follow the steps and I'm guessing I may have missed something. I get a message on my LG G7 Plus that says Device State - locked. (See attached image)

Any tips or suggestions?

09921ca8-a218-41a8-bb4b-f87ac6b6e8c6.jpeg
 

aaabro2002

Member
Nov 15, 2012
31
2
lg g7 thinq tmobile hard brick not recover my phone like dead just only on EDL mode no any sucsses.
I try lot of methods from XDA but not sucsses.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    ****** Unbrick all LG G7 models ******
    ********** This guide has updated into two methods **********


    (i). Recover from any boot problem to system or download mode.(which is defined below)

    This technique have been very useful to me for fixing my device and there is no any particular guide to fix brick device easily. That's why it is a must to share.
    * As long as you can access EDL(9008) mode in your device you can fix your bricked device *


    There are so many developers online if you can find who claim to fix or unbrick your bricked device by charging a hefty amount even after that you can not trust them.

    ****** I am here just to help you so if you want you can donate to me on paypal ******

    This guide has been compiled to fix all the phones which are in bricked state and completely dead state as long as you can access EDL mode(which is a Qualcomm's hidden flashing mode bult into hardware) you are able to fix your phones.

    This guide applies to all the following problems :
    Boot loop.
    Fastboot boot loop(looping in fastboot).
    Stuck at LG logo.
    No recovery mode.
    No fastboot mode.
    Red triangle(security error).
    "Press key to shut" message displays.
    Seems like No sign of life.
    And when connects to PC :
    QHSUSB BULK or QLOADER or something like that when connects to PC or red LED.

    Why are you facing this problem??
    Downgrading android version of your phone.
    Flashing wrong recovery image.
    Flashing wrong firmware/ROM.
    Flashing wrong bootloader/fastboot image.
    While playing with your phone just for fun.
    And many more....

    Tools required :
    - Qualcomm USB drivers. https://mega.nz/file/YAVhFIiC#nF-cChZklhcsxMHk24GhsB6rlE119erQqmXuBu21c6c
    - LG mobile drivers. https://mega.nz/file/4UU3RSJb#iJu32uFbPsSrhIPoVr-BS1f2RqHnqL95lePDhDnK7NY
    - LGUP tool lab version and LGUP common dll. https://mega.nz/file/MJdjxCqb#THo7EpmCqFUNa5VHMQcWI5D6M4QcR5p2vhQ77le0Gzo
    - LG V35 abl image. https://mega.nz/file/wBV3UaQK#G0bF9gYz9Jb8FjdJsCAP0wmIOSqHrOFUjvUiPOsj91Q
    - LG firmware extractor. https://mega.nz/file/oZMzGS6Q#JmYlsH9YgU_CmR5Ra0gjIOg_4S6fNVFPgl3UV0BRz0s
    - KDZ tools. https://mega.nz/file/hJNVWAyY#KL8dypxmDXOJ3I9njzQW2TYE-ZgrHaiwnmenNbBcGRs
    - QFIL tool. https://mega.nz/file/4AdjXCAS#tWf6XUYO3OxHjZ_XDJZopOtQpVkggW2170QIKDW0JK8
    - Snapdragon 845 UFS firehose. https://mega.nz/file/8Zk0AAJQ#-WBO38OBXo6TnykCoOaoXeV2zBxHaUyoq3sR6lmFTtQ
    - ADB tool. https://mega.nz/file/URtWmAxZ#TRNwkp9ZQw4BG1we2cxu623fT-6O6XJsBcylNevSF0g
    - Stock f/w KDZ for your particuar device no less than last working andriod and build version.
    - Knowledge how to boot into EDL (without shorting test pin it can fuse device board).


    * Steps :
    Step 1 : uninstall all the phone related drivers and restart PC.

    Step 2 : to successfully install drivers and software follow below guide -
    a. open commant prompt with admin rights run these commands so windows can allow to install driver properly.
    - bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
    - bcdedit.exe -set TESTSIGNING ON
    (these will disable driver signature enforcement and put windows into test mode)
    and restart
    c. install Qualcomm drivers
    d. install LG mobile drivers
    e. install QPST
    f. install LGUP lab version and place LGUP_Common.dll in C:\Program Files (x86)\LG Electronics\LGUP\model\common\LGUP_Common.dll and restart PC

    *** When you boot your phone in download mode and instead it goes into fastboot then you should first open LGUP and then connect phone in download mode because I as experienced this time somehow LGUP forces the phone to stay in download mode rather than switching to fastboot ***
    (
    if thuis works proceed to step 9 else not then step 3)

    Step 3 : open LG firmware extract and click open in KDZ row and select downloaded firmware kdz and let it load then check G710xx something from list and click extract if there is any error in log then your kdz file is corrupted, if success then it will produce a DZ file and now in DZ row click open and select DZ file now tool will show you a long list, now select all the items and extract. This will produce so many files in LG firmware extractor folder.

    Step 4 : place your kdz file in KDZ tools folder and select OneKeyExtraction.bat type Y, it will produce a dz file and several img files in a folder named as your firmware KDZ's name. copy boot_a.img , abl_a.img , laf_a.img to adb folder for fastboot flashing.

    Step 5 : open QFIL from it's installation location and check build type to flat build and in programm file select prog_ufs_firehose_Sdm845_lge.elf file and in lower right corner select storage type to UFS.

    Step 6 : connect your device to PC and boot into EDL mode by
    a. if it is in any ON condition : POWER button + VOLUME DOWN and prepare to press VOLUME UP repeatedly as soon as phone switches off
    b. if it is in dead condition : connecting to PC automatically boot into EDL mode.
    if phone is connected in EDL mode now Device manager must show a device under ports tree somehting named as Qualcom HS-USB QLOADER 9008(Com_X)
    * if you have bricked your device then I assume you already know how to boot into EDL mode.

    Step 7 : now in QFIL select port and select your device, select Tools from QFIL toolbar and select Partition Manger, in warning window ckick OK if you've selected right 845's firehose elf file and after success it must show a list of many partions of your phone.
    flashing : it's time for flashing.

    *Note: select all the image files one by one in Lg firmware extract folder by typing name in file name control like as showed in screenshot Files_location.jpg.
    Files_location.jpg


    it will take patience because it's a manual one, order must be followed coz tha's the thing that matters...

    - find select and right click on "xbl_a" then manage partition data and select load then select "xbl.elf_6"
    - find select and right click on "xbl_config_a" then manage partition data and select load then select "xbl_config.ebl_902"
    - find select and right click on "xbl_b" then manage partition data and select load then select "xbl.elf_6"
    - find select and right click on "xbl_config_b" then manage partition data and select load then select "xbl_config.ebl_902"
    - find select and right click on "tz_a" then manage partition data and select load then select "tz.mbn_134"
    - find select and right click on "hyp_a" then manage partition data and select load then select "hyp.mbn_646"
    - find select and right click on "boot_a" then manage partition data and select load then select "boot.img_163830"
    - find select and right click on "cmnlib_a" then manage partition data and select load then select "cmnlib.mbn_81670"
    - find select and right click on "cmnlib64_a" then manage partition data and select load then select "cmnlib64.mbn_81798"
    - find select and right click on "boot_b" then manage partition data and select load then select "boot.img_163830"
    - find select and right click on "cmnlib_b" then manage partition data and select load then select "cmnlib.mbn_81670"
    - find select and right click on "cmnlib64_b" then manage partition data and select load then select "cmnlib64.mbn_81798"
    - find select and right click on "abl_a" then manage partition data and select load then select "V35abl.img"
    - find select and right click on "abl_b" then manage partition data and select load then select "V35abl.img"
    - find select and right click on "raw_Resources_a" then manage partition data and select load then select "raw_resources.img_194918"
    - find select and right click on "tz_b" then manage partition data and select load then select "tz.mbn_134"
    - find select and right click on "hyp_b" then manage partition data and select load then select "hyp.mbn_646"
    - find select and right click on "laf_a" then manage partition data and select load then select "laf.img_81990"
    - find select and right click on "laf_b" then manage partition data and select load then select "laf.img_81990"

    close partition manager and let it restart device into EDL again.

    Step 8 : boot your device in fasboot which is currently in EDL mode, to do so press Power + Volume down button and ready to leave Power as soon as phone restart while keep pressing Volume down
    a. open command prompt in adb folder and verify device connectivity by
    fastboot devices
    * it must show a device something like LMV35EAWx.
    b. perform these commands, order must be followed coz tha's the thing that matters:
    fastboot erase boot
    fastboot erase boot_a
    fastboot erase boot_b
    fastboot erase abl
    fastboot erase abl_a
    fastboot erase abl_b
    fastboot erase laf
    fastboot erase laf_a
    fastboot erase laf_b
    fastboot flash boot boot_a.img
    fastboot flash boot_b boot_a.img
    fastboot flash boot_a boot_a.img
    fastboot flash abl abl_a.img
    fastboot flash abl_b abl_a.img
    fastboot flash abl_a abl_a.img
    fastboot flash laf laf_a.img
    fastboot flash laf_b laf_a.img
    fastboot flash laf_a laf_a.img
    and let your device as it is in fastboot.
    we already flashed these partions in EDL mode and flashing in fastboot confirms that partitions do not get overwritten.

    Step 9 : open LGUP and somehow proceed to flashing window, where you'll find device list option and many flashing options and a firmware list below, in flashing options select Refurbish and drop your KDZ file in firmware list and follow
    LGUP.jpg

    a. now from phone's fastboot menu select restart and hold Volume Up now phone will show download mode bar and in few seconds LGUP will recognise your device in list same as above screenshot.
    b. flash you KDZ and let your device boot into system.


    Now you have a fully working device.


    (ii). Recover from dead boot or no partitions list in QFIL partition manager.(hard brick)
    I worked around G7's stock kdz and fortunately end up generating flashing file for a single partition but there are so many(100+) partitions and this single one took 1+ hour, which was hardly to arrange. You can imagine how much time 100+ partitions would take to be prepared.
    Problem is I have a time consuming job so I can not waste my time on this unless you donate some money and get your device guaranteed recovered ASAP.

    ** UPDATE **
    The guide I was working on, was more complex for noob to understand.
    be patience I am slowly working with python scripts and a easy guide which will help you to flash empty device.

    ***use rawprogram and patch at your risk because it will result in 0 IMEI problem that causes no network signal but your device will be fixed***
    And if anyone want to flash firmware through QFIL in that case I am also attaching G710EAW partition.xml , rawprograms.xml, patch.xml and flashable gpt_main & gpt_backup bin.


    Thanks for your support.
    Questions are welcome.


    THANKS SO MUCH
    2
    Yes, i completed all previous steps. I try holding LGUP Model list window opened, but nothing change.

    My device's status is bootloop (sometimes and go off); download mode fail (pause on download mode icon appear, then turn off); fastboot fail on stock abl but success on v35abl.

    ps: on v35abl, go to download mode is error red case.

    Edit: I just saw a message on my screen after waiting bootloop (in my attach file)

    did your device had a unlocked bootloader ?
    what is your device model ?

    and once more perform step 8 and 9 again as follow :

    in step 8 do this one also in addition to all others.
    -find select and right click on "persist" then manage partition data and select load then select "persist(_something)"

    in step 9 do this one also in addition to all others.
    fastboot erase xbl
    fastboot erase xbl_a
    fastboot erase xbl_b
    -------
    fastboot flash xbl xbl_a.img
    fastboot flash xbl_b xbl_a.img
    fastboot flash xbl_a xbl_a.img

    * boot into fastboot using V35abl. and all the images be flashed in fastboot must come from stock firmware kdz.

    both of these step will ensure your device has a complete and secure qualcomm boot sequence.
    1
    Really good guide indeed, saved me from a hard brick a couple of months ago trying to unlock the bootloader.

    Thanks for sharing!

    I am glad it worked for you.
    1
    can you give me your misc partition file
    I want to try some things

    you can get misc image file from stock kdz of your device model using lg firmware extractor.
    1
    Please see my comment on this thread and if it helps: https://forum.xda-developers.com/t/lg-g710eaw-partitions-corrupted.4457827/#post-87146685.

    I was in the same situation as you. You need to flash firmware via QFIL and then you can restore your partitions for IMEI etc. I was able to restore my LG G7 finally even though the OP of this thread is no longer responsive.
    thanks but ive already fixed it with this guide.
    first i restored the partition table with LUN files provided in this thread, then i extracted all partitions from a korean V50 KDZ, and flashed all partitions 1 by 1 in qfil.
    after that i was able to boot into download mode and flashed a new stock kdz, so thats it!