[Guide - HOW TO] Recover LG G7 from hardbrick or Qualcomm hs-usb qdloader 9008 mode.

sourabh7625

Member
Jul 20, 2014
14
1
33
****** Unbrick all LG G7 models ******


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.
- LG mobile drivers.
- LGUP tool lab version and LGUP common dll.
- LG V35 abl image.
- LG firmware extractor.
- KDZ tools.
- QFIL tool.
- Snapdragon 845 UFS firehose
- ADB tool.
- Stock KDZ for your particuar device no less than last working andriod and build version
(it must be exact firmware for your device)
download from here -> https://lg-firmwares.com/
- Knowledge how to boot into EDL (without shorting test pin it can fuse device board).
Single link to all required tools -> download in a single folder and unzipped all compressed files within their respective folder

* 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

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 KDZtools 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 repeatedly VOLUME UP 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 "persist" then manage partition data and select load then select "persist.img_13446"
- 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_z" then manage partition data and select load then select "tz.mbn_134"
- find select and right click on "hyp_z" 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" (which you downloaded earlier)
- find select and right click on "abl_b" then manage partition data and select load then select "V35abl.img" (which you downloaded earlier)
- 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.

Questions are welcome.



THANKS SO MUCH
 
Last edited:
  • Like
Reactions: isaac.caudillo

sourabh7625

Member
Jul 20, 2014
14
1
33
Please, help me. My LG got Red Case, can not enter edl mode or download mode. What shouold i do?

As far as I know Red Case is mostly a result of messing with your phone through EDL.

I have already explained how to boot in EDL :
(i). POWER button + VOLUME DOWN and prepare to press repeatedly VOLUME UP as soon as phone switches off

once your device connected in EDL mode Device manager must show a device under ports tree something named as Qualcom HS-USB QLOADER 9008(Com_X)
 
Last edited: