Many thanks to EmanuelCN for documenting this process.
I have a LM-G710AWM model. I'm stuck on the last step "restoring" firmware--I cannot get LGUP to detect my device. QFIL still works.
Initially I was not able to restore my partitions with QFIL (flaky USB connection maybe?) so I used fastboot commands like this (path removed to protect the 'innocent'):
./fastboot flash abl_b "[path to]\Abl_bbackup.bin"
./fastboot flash abl_b "[path to]\Abl_bbackup.bin"
./fastboot flash laf_a "[path to]\laf_abackup.bin"
./fastboot flash laf_b "[path to]\laf_bbackup.bin"
all with success messages. But I just couldn't move on to the next step restoring firmware. So I tried again to restore my partitions with QFIL, this time with success. In fact, I've done it at least twice with QFIL for all four partitions: abl_a, abl_b, laf_a and laf_b from the backup files I made in the early steps.
But LGUP just shows this:
I purposely put Device Manager in the screenshot so you can see that I'm in EDL mode and the correct driver is running. Same issue on another Windows system:
I also tried a newer LGUP version and I tried UPPERCUT 1.0.0.0 but nothing enabled the device to be detected by LGUP.
I can switch between Fastboot mode:
...and EDL mode (black screen but with Qualcom 9008 device showing in Device Manager) but I cannot get LGUP to work. I think fastboot screen is showing that I have successfully unlocked bootloader and I have successfully restored my partitions because it doesn't say "PRODUCT_NAME - LM-U350AWM" anymore.
This is the KDZ firmware I downloaded that I think matches what my device was before I started this which showed "Software version G710AWM30e" in About:
lg-firmwares.com/downloads-file/25886/G710AWM30e_00_OPEN_CA_OP_0902
I cannot even power the device down--it just bootloops into fastboot mode (which I can intercept to get into EDL mode).
What have I done wrong? How do I restore the KDZ firmware?
EDIT: OK I have figured out that Download mode is different from EDL mode. It's very difficult to get my device into Download mode because it will not turn off--just immediately boots up in bootloader mode. 1 in 10 tries of timing pressing and holding the VOL+ key right when it starts up will finally get me into this Download mode:
So I'm getting close but right now LGUP does not recognize my device:
EDIT2: I’m not sure if it really helped but I switched slots in fast boot mode:
And then LGUP recognized my device when I went back into Download mode! I successfully completed the last step on the OP’s guide and reinstalled stock firmware so now I’m up and running with unlocked bootloader. Next step… root.