yashsingh1/xdaforums huggingface dataset:
[LG G7 ThinQ  Guides, News, & Discussion] Mr.Conkel:
Is there any possibility that you can restore partitions? As my device has nothing to select in Edl mode so I cannot restore it, meaning nothing is in the partition data but I do have full access to edl..
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
I am aware about this kinda bootloop, probably it's a result of flashing either different firmware or an older firmware and perhaps disconnecting or exit LGUP before letting the phone goes into system completely.

I suggest you to try flashing latest firmware available for your device through LGUP(select refurbish) and let it boot into system successfully and wait about 3-5 minutes to let LGUP finalizing flashing before disconnecting phone or exit LGUP.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
As I said if you bricked your phone you must have known how to connect in EDL mode(apart from EDL mode it's really hard to brick 845 phone).

well if you can flash through fastboot then flash fastboot section from step8 and then open LGUP first only after that connect phone in download mode, now it should be in list.

* 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.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
Perhaps your device have a corrupt PrimaryGPT(which is a some kind of partitions table list container and it is absent in LG G7 firmware kdz)

Qfil rely on data read from device in partition manager but "flat and meta build" option is still there which forces the device to flash partitions regarding the information in rawprogram.xml and patch.xml files.

Unfortunately I don't have these files but I'll update you for an alternative solution.
[LG G7 ThinQ  Guides, News, & Discussion] Mr.Conkel:
Well I seen this forum looking for answer but this is not my particular device however I will explain . I have an Lg G8x ThinQ and when we got root I was naive and had accidentally clicked erase entire flash thinking it would just erase the partition data of the one I had selected. This was not the case and it completely erased it leaving me with a blank slate with no download or even a charge screen it is basically dead unless plugged into a pc in which it will boot straight into Edl. I am not expecting your full support but I do have a device backup that I know will work with the device problem being I can't restore it because there's nothing to select! Normally I would restore the partitions one by one as you do but this is not possible since they seem to have been erased in this state. If you have any information on QFIL that would be greatly appreciated I know we're not working on the exact same device but the process is much of the same.

Cheers!
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
Alright now we know what's the problem. Best I am suggesting you to search for how to generate partition xml rawprogram xml and patch xml (or you can easily generate latter two from former one) for any newer lg device i.e. G7,V35,V40,G8s,G8X,V50 method for using any of these will work.

I am working on finding universal solution to problem.
[LG G7 ThinQ  Guides, News, & Discussion] kyon007:
[QUOTE = "sourabh7625, bài: 84338561, thành viên: 5955016"]

Được rồi, bây giờ chúng tôi biết vấn đề là gì. Tốt nhất tôi khuyên bạn nên tìm kiếm cách tạo phân vùng xml rawprogram xml và patch xml (hoặc bạn có thể dễ dàng tạo hai thứ sau từ cái cũ) cho bất kỳ thiết bị lg nào mới hơn, tức là phương pháp G7, V35, V40, G8s, G8X, V50 để sử dụng bất kỳ cái nào trong số này sẽ hoạt động.

Tôi đang nghiên cứu để tìm ra giải pháp chung cho vấn đề.

[/TRÍCH DẪN]

Tôi cũng đã gặp phải vấn đề tương tự và đang hy vọng có cách giải quyết. Tôi sử dụng g7
[LG G7 ThinQ  Guides, News, & Discussion] kyon007:
[QUOTE = "kyon007, bài đăng: 84341753, thành viên: 11250663"]

[QUOTE = "sourabh7625, bài: 84338561, thành viên: 5955016"]

Được rồi, bây giờ chúng tôi biết vấn đề là gì. Tốt nhất tôi đề nghị bạn nên tìm kiếm cách tạo phân vùng xml rawprogram xml và patch xml (hoặc bạn có thể dễ dàng tạo thứ hai sau cái cũ) cho bất kỳ lg thiết bị nào mới hơn, tức là G7, V35 phương pháp , V40, G8s, G8X, V50 để sử dụng bất kỳ cái nào trong số này sẽ hoạt động.

Tôi đang nghiên cứu để tìm ra giải pháp chung cho các vấn đề.

[/ TRÍCH DẪN]

Tôi cũng gặp phải vấn đề tương tự và tôi hy vọng có cách giải quyết. Tôi sử dụng g7

[/TRÍCH DẪN]
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
from the first image, click save partition file and share here that generated xml.

also share rawprogram xml you are using.
[LG G7 ThinQ  Guides, News, & Discussion] kyon007:
[QUOTE = "sourabh7625, bài đăng: 84344379, thành viên: 5955016"]

từ hình ảnh đầu tiên, nhấp vào lưu tệp phân vùng và chia sẻ tại đây xml đã tạo.

cũng chia sẻ rawprogram xml mà bạn đang sử dụng.

[/TRÍCH DẪN]

Tôi sử dụng file from dzextracted

[URL opensurl = "true"] https://xdaforums.com/t/how-to-recover-from-any-hardbrick-or-red-case-in-9008-mode-without-any- hộp.4052841 / [/ URL]
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
As I thought your phone have a blank storage ufs like a new HDD which does not have any physical partitions. physical partitions must be made first before anything.

Currently I can offer only stock original partition0.xml for LG G7, which is a physical partitions table. if you can use any other tool to make partitions through it, let me know..

If you can use english that will be time saving for other members and might also help you.
[LG G7 ThinQ  Guides, News, & Discussion] kyon007:
can you give me your misc partition file

I want to try some things
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
you can get misc image file from stock kdz of your device model using lg firmware extractor.
[LG G7 ThinQ  Guides, News, & Discussion] Michael852688:
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!
[LG G7 ThinQ  Guides, News, & Discussion] kilotek:
I successfully flashed the KDZ in DL mode and it still boots into fastboot...
[LG G7 ThinQ  Guides, News, & Discussion] AbdullahAwan:
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.....
[LG G7 ThinQ  Guides, News, & Discussion] urover:
Please see my comment on this thread and if it helps: https://xdaforums.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.
[LG G7 ThinQ  Guides, News, & Discussion] AbdullahAwan:
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!
[LG G7 ThinQ  Guides, News, & Discussion] urover:
So, although my device is recovered, I'm stuck in "IMPL 1" / "Phone is permanently locked" land.

How do I go about fixing this?
[LG G7 ThinQ  Guides, News, & Discussion] Hasford:
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
[LG G7 ThinQ  Guides, News, & Discussion] mi123:
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?
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
you device has locked bootloader. to make it erase partitions in fastboot it must has an unlocked bootloader or perhaps V35 bootloader might help.
[LG G7 ThinQ  Guides, News, & Discussion] mi123:
Thanx for reply. What bootloader, please?
[LG G7 ThinQ  Guides, News, & Discussion] shadowalker2014:
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
[LG G7 ThinQ  Guides, News, & Discussion] jhr5474:
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
[LG G7 ThinQ  Guides, News, & Discussion] zeeshan151:
brother i have lg velvet i thingis a snapdragon 760 5g its on 9008 portant slution
[LG G7 ThinQ  Guides, News, & Discussion] Surgemanxx:
This section is for the LG G7.I will say if you have a LG Velvet in EDL Mode,you'll need the firehose to bring it back.As of yet,there isn't any firehose for LG devices that use the 765g Qualcomm chipset.These devices being the LG Velvet,LG Wing,and the LG Q92.
[LG G7 ThinQ  Guides, News, & Discussion] YB123:
please help i erased everything on my lg v50 and i don't know where to get the necessary files for qfil
[LG G7 ThinQ  Guides, News, & Discussion] yuvrajsp:
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?
[LG G7 ThinQ  Guides, News, & Discussion] aaabro2002:
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.
[LG G7 ThinQ  Guides, News, & Discussion] radio883:
Hi, I need help. I follow properly all the instructions and complete all the way to flash kdz in LGUP. But it stuck to logo "LGG7 ThinkQ Powered by Android".
[LG G7 ThinQ  Guides, News, & Discussion] Tuynom:
How do I fix my LG G8X which I accidentally erased all the partitions in the EDL mode.
[LG G7 ThinQ  Guides, News, & Discussion] dadiaz05:
Can you help me please? I have not been able to get past this step, due to the error that appears.
[LG G7 ThinQ  Guides, News, & Discussion] saviorz:
hello, i tried this step and got into step where need to change from edl to fastboot adn managed to do it. now i need to run cmd in adb folder but it cant run the script. anybody knows how to solve it?
[LG G7 ThinQ  Guides, News, & Discussion] Brilliant204:
could you please share your patch0.xml and rawprogram0.xml? I erased the entire flash accidentially
[LG G7 ThinQ  Guides, News, & Discussion] Surgemanxx:
Try these and see if they work?
[LG G7 ThinQ  Guides, News, & Discussion] Brilliant204:
I wish it can work. It has been stucking here for a long time.
[LG G7 ThinQ  Guides, News, & Discussion] Surgemanxx:
Which variant do you have?I have a LUNS backup of a G710VM and G710ULM I can place on my G-Drive if you need it?You could always flash one of those,and then go in to Download mode and restore it with LGUP with your variants firmware if yours is different?
[LG G7 ThinQ  Guides, News, & Discussion] atkzxz:
could you please share your patch0.xml and rawprogram0.xml? I erased the entire flash accidentially G710VM
[LG G7 ThinQ  Guides, News, & Discussion] Shakier786:
Hi Have you managed to fix your problem? I have the same problem with a LG Velvet 5G G900EM 765G, please let me know
[LG G7 ThinQ  Guides, News, & Discussion] Surgemanxx:
Look in the LG Velvet section for the firehose file,and grab one of my LUN backups and flash it with Qfil.Then use LGUP to restore it with the correct firmware as a refurbish.
[LG G7 ThinQ  Guides, News, & Discussion] Shakier786:
Can you share a link of Lun Backups please
[LG G7 ThinQ  Guides, News, & Discussion] kyon007:
sorry i can't find it in extracted file. can you send me no
[LG G7 ThinQ  Guides, News, & Discussion] kyon007:
sorry. i couldn't find it in extracted file. Can you take a moment to send it to me
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
LG G7+ is my primary(and currently only) device. You must wait longer if you want to get my phone's misc image.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
my device misc partition backup file.
[LG G7 ThinQ  Guides, News, & Discussion] ToaruTaikun:
When I extracted my dz files, I found all of' those files above are .bin files instead of other extensions. As a result, I daren't select them in QFIL partition manager. Did I use the wrong kdz file or there's other reason?
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
your device model? and kdz you used ?

kdz/dz file you used is corrupt as you can see in logs summary.
[LG G7 ThinQ  Guides, News, & Discussion] ToaruTaikun:
My device model is LMG710PM, but I used the ULM version kdz pack.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
can you boot into download mode in your device (LGUP flashing mode)?

if not, then

1.disconnect phone from PC

2.first open LGUP(my guide's attached version)

3.completely switch off phone

4.connect your phone to PC while long press vol+ button.
[LG G7 ThinQ  Guides, News, & Discussion] cebutech43:
thanks for this.
[LG G7 ThinQ  Guides, News, & Discussion] auroraguy123:
I am so glad to see this thread. I have a LG Q stylo+ ( LM-Q710WA). About a month ago, the phone suddenly ran very very slow ( I was running multiple apps at the same time ). Because that problem happened before, so I tried to soft reset the phone. I held power and volume down key, but the phone failed to reset and went to black screen. Then I tried to power on, still black screen, but with interval vibration ( like once every half minute ) until the battery drained out. I put the phone on charging, the screen was lit, only showed fastboot mode. ( picture as shown https://xdaforums.com/t/my-lg-q-stylo-plus-bricked-please-help-save.4223161/ ). I tried to use fastboot and adb to reboot but failed as unknown command. I don't know if I can use this method to unbrick my phone? Thanks!
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
*comment deleted
[LG G7 ThinQ  Guides, News, & Discussion] emmauss:
Hello, the mega folder seems to be dead.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
links are fixed.
[LG G7 ThinQ  Guides, News, & Discussion] wolvnote:
i have follow ur guide step by step, but when i try to extract DZ files, it stuck on system_6

i have tried to reopen the lg firmware extract app, downloading new kdz files. but the same error happen to me. any suggestion that can help?
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
you can always use KDZ tools (which is an one key extraction tool, it's a standalone program works even without python) from tools required section of this guide, that will be better for you.

do you have access to EDL mode in your device ??
[LG G7 ThinQ  Guides, News, & Discussion] wolvnote:
i have done that process already. it seems the extraction fail to extract all file in DZ mode. So I try another extract tools and it work out. But now i have another problem, im doing fine until step 8 but when i try to do step 9 which is need LGUP it says "There's no handset connected".

i have tried many way to fix this problem but still i cant get it right.

Do you have any suggestion? thx bro
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
connect your switched off device while holding vol+ after it shows "There's no handset connected".

check your inbox..
[LG G7 ThinQ  Guides, News, & Discussion] Behymoth:
hi guys, i've erase entire partition on my lg g8s (lm810eaw) and now my phone is on permanent edl mode.. adb no releave device. i can operating only with QFIL bit i've not rawprogram..xml and patch.

please help me ...
[LG G7 ThinQ  Guides, News, & Discussion] Behymoth:
i've kdz for lm810eaw

file abl xbl and more

but i've not rawprogram and patch
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
okay,

maybe I can help. you need to extract your kdz through LG firmware extractor(link in first page of this guide) and extracted files must have 7 files gptmain_0.bin ....... to ....... gptmain_6.bin.

share these gpt files to me.
[LG G7 ThinQ  Guides, News, & Discussion] rvadnai:
@sourabh7625 You are a lifesaver! I followed many instructions in the past but none were as simple, precise AND as successful as yours. Great work and God Bless You!
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
most cheerful comment.

that's the most important thing which motivates developers to keep goin...
[LG G7 ThinQ  Guides, News, & Discussion] PentiumPowe:
i have a bricked lg g7 one in 9008 mode and given its one of the andriod one variants with no kdz to speak of what could be done to get it flashedand unbricked? . there is a fourm post on xda here: https://xdaforums.com/t/ota-lg-g7-one-ota-collection.3942569/ for ota collections. will exract the ota payload.bin to see what i can find
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
what is the current state of device?

is fastboot accessible?

are all physical partitions present?
[LG G7 ThinQ  Guides, News, & Discussion] PentiumPowe:
Hello, thanks for the reply luckily i got my phone up and running again it was in 9008 modes and stuck in that mode I was however able to extract the payload.bin of firmware OTA update Andriod 10 October 2020 Q910UM30o and flash the corresponding a and b partitions of the img files. and once all were flash i rebooted out of edl and to my amazement to an lg logo then all i had to do was perform a factory reset with a button combo and voila phone restored but not without some issues which were the following: camera doesn't work (probably software issue) and youtube app infinitely loads, unable to update chrome ( very weird).

there is supposedly the android 11 update for the g7 one coming out this month which then ill try and flash that to see what results I might get.

Where I grabbed my OTA file from:

https://xdaforums.com/t/ota-lg-g7-one-ota-collection.3942569/

Tool I used from a guide i used extract OTA Payload.bins (Full OTA'S Only!) : https://drive.google.com/file/d/1QpsywAbNroDKEDz4TytQl8UlK6v2gJSi/view

And then the guide i used to extract the payload.bin:

Extract Android OTA Payload.bin File using Payload Dumper Tool

Learn how to dump and extract Android OTA Payload.bin file to get the boot.img (for rooting with Magisk), vendor.img, and other other important partition images.

www.thecustomdroid.com
[LG G7 ThinQ  Guides, News, & Discussion] alula31313:
I mistakenly deleted the entire partition on lg g7, but I saved it thanks to the instructions on xda.

Even so it is offline (due to imei loss) (This phone is permanently locked and can not be unlocked) and I cannot crossflash to verizon either.

Could your above tutorial help me? Thanks for reading it.
[LG G7 ThinQ  Guides, News, & Discussion] alula31313:
Can anyone answer for me
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
Once device's complete flash storage is erased, IMEI n SN will be lost and your device will be in locked state or null network signal, same applies to you.

only solution is you must fix 0 IMEI problem to get it able to being on network.

no, my method is only applies to recover from boot problem n download mode.
[LG G7 ThinQ  Guides, News, & Discussion] Laika87:
I'm missing a couple of the partitions (like tz_z and hyp_z) in my partition list. I tried loading all of the others, but my phone doesn't appear in adb as a device in the next step. I can get to EDL and fastboot modes. But otherwise, I just see the red triangle. Is there anything else I can try?
[LG G7 ThinQ  Guides, News, & Discussion] hasnawtahmed:
is this thread still active?

can someone help me my phone showed a kernal crash screen and now i it is stuck at the loading animation of download mode. these were the steps that i did.
[LG G7 ThinQ  Guides, News, & Discussion] martellxD1:
Hi, my pc does not detect my device in fastboot (I have installed the drivers a thousand times) and the download mode stays on my cell phone in less than a second and lgup appears that the headset is not connected.
[LG G7 ThinQ  Guides, News, & Discussion] martellxD1:
I was able to, it was because of a damn 20h2 windows 10 error.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
which windows version are you using ??

device model ?

so you can access EDL and LG download mode & fastboot successfully.
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
all right. so now you can do it yourself, right..
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
I think you must try LG bridge's recovery option called "update error recovery" first before moving to unofficial alternatives.
[LG G7 ThinQ  Guides, News, & Discussion] davidelk:
Hello, first of all thanks for this thread, I need some help. I can´t extract the dz file, I tried with at least 4 kdz firmwares i download already, always get the same result , my phone is lg g710VM but I managed to install AWM canadian android 10 through LGUP so, maybe with the abl_a it would return to being able to get into download mode cause I loaded v35 over android 10AWM... but no luck with lg extractor
[LG G7 ThinQ  Guides, News, & Discussion] sourabh7625:
use python extractor.

or this one

13.3 MB file on MEGA

mega.nz
[LG G7 ThinQ  Guides, News, & Discussion] knnsz:
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

Where do I find these img files?