LG G6 TestPoints for EDL Mode (9008)

Search This thread

badmaan

Senior Member
Jan 10, 2016
71
85
Istanbul
Simple af. Just short them.
edlV1.jpg

For incase that doesn't work;
edlV2.jpg
 

Attachments

  • edlV1.jpg
    edlV1.jpg
    245.2 KB · Views: 2,183
  • edlV2.jpg
    edlV2.jpg
    101.5 KB · Views: 2,141
Last edited:
D

Deleted member 7547471

Guest
Simple af. Just short them.
edlV1.jpg

For incase that doesn't work;
edlV2.jpg

It works! My phone was 100% dead and now I am in Qualcomm 9008 mode! (using the test points under the flash)

unfortunately it seems to be another dead path with this phone. No firehose and no xml to flash with QFIL :(:(
 

draekko

Senior Member
Apr 22, 2013
208
138
draekko.com
try using the firehose from here. https://xdaforums.com/t/lg-g6-unbrick-new-method.3935924/

i had been given a dead G6 no partitions (fried) and none of the tools work for reflashing. found a bunch of tools to use in Linux since the drivers/windows kept reseting the connection every time i plugged in and was getting no response so it always ended up in failure. (Note if really is dead bricked as mine was you literally have to pull the pins and get back to edl using the test points every time for each operation as it resets and stops responding after each)

Managed to create proper rawprogram0-6.xml using https://github.com/ANEP-ET/kdztools

unkdz -f myfile.kdz -x
undz -f kdzextracted/myfile.dz -c
undz -f kdzextracted/myfile.dz -r
(creates rawprogram xml files for each primary_gpt file you likely have)

cp rawprogram*.xml dzextracted/

make sure to edit all the separate rawprogram files and edit the files to match the letters associated with the extracted files in dzextracted.

for example in rawprogram1.xml prefix all the files listed in there with B.
for rawprogram2.xml prefix all the files listed in there with C.
and so on. BUT do not rename the first file, rawprogram0.xml does not need to append A. to it as the first one did not get created as such.

tried this tool where it was getting the phone was getting detected properly and the programmer file was uploaded but it was iffy to get it to do anything but cool tool and lots of programmer files with it https://github.com/bkerler/edl

what finally worked with my newly created rawprogam files and the programm was using Qualcoms qdl tool (requires compiling it in Linux, port on github) from here https://github.com/andersson/qdl
by doing

qdl --storage ufs prog_ufs_firehose_lge_g6.elf rawprogram0.xml

and repeat for all the rawprogram files 0 through 6 (or however many there was autogenerated) you generated from above making sure to pull the battery and force it back into edl mode if its reseting the connection afterward like it did for me. Note the name for the firehose there might be something else for you just replace the name with the right file.
 
Last edited:
  • Like
Reactions: ze7zez and NeonHD

draekko

Senior Member
Apr 22, 2013
208
138
draekko.com
Lastly before i forget this as well run qdl from within the dzextracted directory so i can find all the bin/image files enumerated in the rawprogram xml files that you copied over into and flash them properly.
 

kurogami555

Senior Member
Jul 26, 2014
256
38
LG G6
OnePlus 8
try using the firehose from here. https://xdaforums.com/t/lg-g6-unbrick-new-method.3935924/

i had been given a dead G6 no partitions (fried) and none of the tools work for reflashing. found a bunch of tools to use in Linux since the drivers/windows kept reseting the connection every time i plugged in and was getting no response so it always ended up in failure. (Note if really is dead bricked as mine was you literally have to pull the pins and get back to edl using the test points every time for each operation as it resets and stops responding after each)

Managed to create proper rawprogram0-6.xml using https://github.com/ANEP-ET/kdztools

unkdz -f myfile.kdz -x
undz -f kdzextracted/myfile.dz -c
undz -f kdzextracted/myfile.dz -r
(creates rawprogram xml files for each primary_gpt file you likely have)

cp rawprogram*.xml dzextracted/

make sure to edit all the separate rawprogram files and edit the files to match the letters associated with the extracted files in dzextracted.

for example in rawprogram1.xml prefix all the files listed in there with B.
for rawprogram2.xml prefix all the files listed in there with C.
and so on. BUT do not rename the first file, rawprogram0.xml does not need to append A. to it as the first one did not get created as such.

tried this tool where it was getting the phone was getting detected properly and the programmer file was uploaded but it was iffy to get it to do anything but cool tool and lots of programmer files with it https://github.com/bkerler/edl

what finally worked with my newly created rawprogam files and the programm was using Qualcoms qdl tool (requires compiling it in Linux, port on github) from here https://github.com/andersson/qdl
by doing

qdl --storage ufs prog_ufs_firehose_lge_g6.elf rawprogram0.xml

and repeat for all the rawprogram files 0 through 6 (or however many there was autogenerated) you generated from above making sure to pull the battery and force it back into edl mode if its reseting the connection afterward like it did for me. Note the name for the firehose there might be something else for you just replace the name with the right file.
Good to hear that there is some hope, i bricked my G6 (h870) 2 months ago while in download mode the laptop turn off. I tried the new unbricked method but got same issue of connection reset. Will try this and update. Also can you share rawprogram xmls please.
 

draekko

Senior Member
Apr 22, 2013
208
138
draekko.com
Good to hear that there is some hope, i bricked my G6 (h870) 2 months ago while in download mode the laptop turn off. I tried the new unbricked method but got same issue of connection reset. Will try this and update. Also can you share rawprogram xmls please.
Nope it was an H873 canadian model. You can make your own using the kdz for your model as i described though.
 
  • Like
Reactions: kurogami555
try using the firehose from here. https://xdaforums.com/t/lg-g6-unbrick-new-method.3935924/

i had been given a dead G6 no partitions (fried) and none of the tools work for reflashing. found a bunch of tools to use in Linux since the drivers/windows kept reseting the connection every time i plugged in and was getting no response so it always ended up in failure. (Note if really is dead bricked as mine was you literally have to pull the pins and get back to edl using the test points every time for each operation as it resets and stops responding after each)

Managed to create proper rawprogram0-6.xml using https://github.com/ANEP-ET/kdztools

unkdz -f myfile.kdz -x
undz -f kdzextracted/myfile.dz -c
undz -f kdzextracted/myfile.dz -r
(creates rawprogram xml files for each primary_gpt file you likely have)

cp rawprogram*.xml dzextracted/

make sure to edit all the separate rawprogram files and edit the files to match the letters associated with the extracted files in dzextracted.

for example in rawprogram1.xml prefix all the files listed in there with B.
for rawprogram2.xml prefix all the files listed in there with C.
and so on. BUT do not rename the first file, rawprogram0.xml does not need to append A. to it as the first one did not get created as such.

tried this tool where it was getting the phone was getting detected properly and the programmer file was uploaded but it was iffy to get it to do anything but cool tool and lots of programmer files with it https://github.com/bkerler/edl

what finally worked with my newly created rawprogam files and the programm was using Qualcoms qdl tool (requires compiling it in Linux, port on github) from here https://github.com/andersson/qdl
by doing

qdl --storage ufs prog_ufs_firehose_lge_g6.elf rawprogram0.xml

and repeat for all the rawprogram files 0 through 6 (or however many there was autogenerated) you generated from above making sure to pull the battery and force it back into edl mode if its reseting the connection afterward like it did for me. Note the name for the firehose there might be something else for you just replace the name with the right file.
Good solid info. Thanks
 

kurogami555

Senior Member
Jul 26, 2014
256
38
LG G6
OnePlus 8
try using the firehose from here. https://xdaforums.com/t/lg-g6-unbrick-new-method.3935924/

i had been given a dead G6 no partitions (fried) and none of the tools work for reflashing. found a bunch of tools to use in Linux since the drivers/windows kept reseting the connection every time i plugged in and was getting no response so it always ended up in failure. (Note if really is dead bricked as mine was you literally have to pull the pins and get back to edl using the test points every time for each operation as it resets and stops responding after each)

Managed to create proper rawprogram0-6.xml using https://github.com/ANEP-ET/kdztools

unkdz -f myfile.kdz -x
undz -f kdzextracted/myfile.dz -c
undz -f kdzextracted/myfile.dz -r
(creates rawprogram xml files for each primary_gpt file you likely have)

cp rawprogram*.xml dzextracted/

make sure to edit all the separate rawprogram files and edit the files to match the letters associated with the extracted files in dzextracted.

for example in rawprogram1.xml prefix all the files listed in there with B.
for rawprogram2.xml prefix all the files listed in there with C.
and so on. BUT do not rename the first file, rawprogram0.xml does not need to append A. to it as the first one did not get created as such.

tried this tool where it was getting the phone was getting detected properly and the programmer file was uploaded but it was iffy to get it to do anything but cool tool and lots of programmer files with it https://github.com/bkerler/edl

what finally worked with my newly created rawprogam files and the programm was using Qualcoms qdl tool (requires compiling it in Linux, port on github) from here https://github.com/andersson/qdl
by doing

qdl --storage ufs prog_ufs_firehose_lge_g6.elf rawprogram0.xml

and repeat for all the rawprogram files 0 through 6 (or however many there was autogenerated) you generated from above making sure to pull the battery and force it back into edl mode if its reseting the connection afterward like it did for me. Note the name for the firehose there might be something else for you just replace the name with the right file.
Ok, so i tried this method in Ubuntu but Qdl just waits for EDL device nothing happens. I check the attached usb devices there it shows that Qualcomm 9008 is connected but Qdl script doesn't detect it. Some help please.
 

draekko

Senior Member
Apr 22, 2013
208
138
draekko.com
Ok, so i tried this method in Ubuntu but Qdl just waits for EDL device nothing happens. I check the attached usb devices there it shows that Qualcomm 9008 is connected but Qdl script doesn't detect it. Some help please.
did you reset the device by pulling the battery and putting it back into edl mode for each time you ran qdl? if you don't it won't work as the connect resets every time and will stop communicating after each command sent. Also make sure you have the right programmer file.
 

kurogami555

Senior Member
Jul 26, 2014
256
38
LG G6
OnePlus 8
did you reset the device by pulling the battery and putting it back into edl mode for each time you ran qdl? if you don't it won't work as the connect resets every time and will stop communicating after each command sent. Also make sure you have the right programmer file.
yes, i removed battery again and again short circuited the edl pin the device immediately gets detected as Qualcomm 9008 in usb list but the Qdl script still shows waiting for Edl device.
 

draekko

Senior Member
Apr 22, 2013
208
138
draekko.com
what command should i run to check if the firehose is good or not ?
try anything that reads data, try printpgt for example. If it doesn't list the cpu type and serial number it means you have the wrong programmer file for your device. Note that it may fail to actually print any data as it failed on mine but will show the SN/cpu information with the right one.
 
Last edited:

kurogami555

Senior Member
Jul 26, 2014
256
38
LG G6
OnePlus 8
try anything that reads data, try printpgt for example. If it doesn't list the cpu type and serial number it means you have the wrong programmer file for your device. Note that it may fail to actually print any data as it failed on mine but will show the SN/cpu information with the right one.
Sorry for this but i don't get how to use this edl script it's too complicated. Can you please check whether the firehose i attached is good or not. Please.
 

Attachments

  • prog_ufs_firehose_8996.zip
    173.9 KB · Views: 143

draekko

Senior Member
Apr 22, 2013
208
138
draekko.com
Sorry for this but i don't get how to use this edl script it's too complicated. Can you please check whether the firehose i attached is good or not. Please.
I can't do that the phone is sealed up now and can't be thrown back into edl mode.

Try the loaders github repo for edl, 0005f0e100310000_2cf7619a278d2607_fhprg_peek.bin should theoretically be the right one. https://github.com/bkerler/Loaders

If you install the edl tool per instructions it should include that file as well.

If that fails might be totally bricked or require one of the boxes to revive it.
 
  • Like
Reactions: kurogami555

kurogami555

Senior Member
Jul 26, 2014
256
38
LG G6
OnePlus 8
I can't do that the phone is sealed up now and can't be thrown back into edl mode.

Try the loaders github repo for edl, 0005f0e100310000_2cf7619a278d2607_fhprg_peek.bin should theoretically be the right one. https://github.com/bkerler/Loaders

If you install the edl tool per instructions it should include that file as well.

If that fails might be totally bricked or require one of the boxes to revive it.
What I do not understand is that how to use firehose in that EDl script. After I connect the phone in edl mode than what ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Simple af. Just short them.
    edlV1.jpg

    For incase that doesn't work;
    edlV2.jpg
    2
    try using the firehose from here. https://xdaforums.com/t/lg-g6-unbrick-new-method.3935924/

    i had been given a dead G6 no partitions (fried) and none of the tools work for reflashing. found a bunch of tools to use in Linux since the drivers/windows kept reseting the connection every time i plugged in and was getting no response so it always ended up in failure. (Note if really is dead bricked as mine was you literally have to pull the pins and get back to edl using the test points every time for each operation as it resets and stops responding after each)

    Managed to create proper rawprogram0-6.xml using https://github.com/ANEP-ET/kdztools

    unkdz -f myfile.kdz -x
    undz -f kdzextracted/myfile.dz -c
    undz -f kdzextracted/myfile.dz -r
    (creates rawprogram xml files for each primary_gpt file you likely have)

    cp rawprogram*.xml dzextracted/

    make sure to edit all the separate rawprogram files and edit the files to match the letters associated with the extracted files in dzextracted.

    for example in rawprogram1.xml prefix all the files listed in there with B.
    for rawprogram2.xml prefix all the files listed in there with C.
    and so on. BUT do not rename the first file, rawprogram0.xml does not need to append A. to it as the first one did not get created as such.

    tried this tool where it was getting the phone was getting detected properly and the programmer file was uploaded but it was iffy to get it to do anything but cool tool and lots of programmer files with it https://github.com/bkerler/edl

    what finally worked with my newly created rawprogam files and the programm was using Qualcoms qdl tool (requires compiling it in Linux, port on github) from here https://github.com/andersson/qdl
    by doing

    qdl --storage ufs prog_ufs_firehose_lge_g6.elf rawprogram0.xml

    and repeat for all the rawprogram files 0 through 6 (or however many there was autogenerated) you generated from above making sure to pull the battery and force it back into edl mode if its reseting the connection afterward like it did for me. Note the name for the firehose there might be something else for you just replace the name with the right file.
    1
    Good to hear that there is some hope, i bricked my G6 (h870) 2 months ago while in download mode the laptop turn off. I tried the new unbricked method but got same issue of connection reset. Will try this and update. Also can you share rawprogram xmls please.
    Nope it was an H873 canadian model. You can make your own using the kdz for your model as i described though.
    1
    Sorry for this but i don't get how to use this edl script it's too complicated. Can you please check whether the firehose i attached is good or not. Please.
    I can't do that the phone is sealed up now and can't be thrown back into edl mode.

    Try the loaders github repo for edl, 0005f0e100310000_2cf7619a278d2607_fhprg_peek.bin should theoretically be the right one. https://github.com/bkerler/Loaders

    If you install the edl tool per instructions it should include that file as well.

    If that fails might be totally bricked or require one of the boxes to revive it.
    1
    For best results as soon as it hits 9008.. When the hose is open.. on whatever your using start transferring files or running whatever operation it is.