[GUIDE] Guide to unlock bootloader for every LG SDM845 except G710TM (With PHOTOS)

Search This thread

BartmanEH

Member
Feb 24, 2019
33
2
Huawei Nexus 6P
LineageOS
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:
Screen Shot 2022-11-07 at 4.33.00 PM.png


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:
Laptop_screenshot.png


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:
IMG_4647.jpeg


...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:
IMG_4651.jpeg

So I'm getting close but right now LGUP does not recognize my device:
IMAGE 2022-11-08 14:05:16.jpg

Screen Shot 2022-11-08 at 2.05.48 PM.png


EDIT2: I’m not sure if it really helped but I switched slots in fast boot mode:
1667949602074.jpeg


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.
 
Last edited:

User5324

Member
Nov 9, 2022
5
1
Works for LG Velvet 4G LMG910EMW, which is very good since LG has shutdown their official unlock page. And other manualy like MTKclient seem not to work for G910.
The steps need to be followed exactly as described by EmanuelCN (thanks very much for the details steps, any word less, and i would have been lost).
Some remarks. Holding power+Minus for 8 secs and then frequently pressing Plus opens the "special" 9008 mode, keeping the mobile display completely blank. With the driver in his package, the device must appear in Windows device manager with "Qualcomm ..." (not Android device and also not ABD interface device).
For step 19-21, i did not find the sources for fastboot driver.zip, FixFastboot.zip, fastboot-tools.zip. For me the standard ADB platform-tools_r33.0.3-windows.zip worked. Plus, i googled for Fastboot driver-20221109T134015Z-001.zip. In the end, the device must be found as "ADB interface device" or similar in device manager.
For me, at step 24 there was an error after "erasing data" that the command did not finish successfully. Anyhow, retrying the command shows that "bootloader already unlocked". Cool.
Also reverting back the backup partitions was straight forward, a little bit nervous is normal is guess, not mixing up the wrong files or partitions :), but i was lucky.
The last step (28) was not required, i could just boot normally showing that bootloader could not be verified, then normal boot started. In developer options i see that OEM unlock is now greyed out which also indicated that the unlock worked.
Thanks you very much.
Cheers!
 

EmanuelCN

Senior Member
Mar 29, 2017
402
237
LG G7 ThinQ
Xiaomi Poco F3
Works for LG Velvet 4G LMG910EMW, which is very good since LG has shutdown their official unlock page. And other manualy like MTKclient seem not to work for G910.
The steps need to be followed exactly as described by EmanuelCN (thanks very much for the details steps, any word less, and i would have been lost).
Some remarks. Holding power+Minus for 8 secs and then frequently pressing Plus opens the "special" 9008 mode, keeping the mobile display completely blank. With the driver in his package, the device must appear in Windows device manager with "Qualcomm ..." (not Android device and also not ABD interface device).
For step 19-21, i did not find the sources for fastboot driver.zip, FixFastboot.zip, fastboot-tools.zip. For me the standard ADB platform-tools_r33.0.3-windows.zip worked. Plus, i googled for Fastboot driver-20221109T134015Z-001.zip. In the end, the device must be found as "ADB interface device" or similar in device manager.
For me, at step 24 there was an error after "erasing data" that the command did not finish successfully. Anyhow, retrying the command shows that "bootloader already unlocked". Cool.
Also reverting back the backup partitions was straight forward, a little bit nervous is normal is guess, not mixing up the wrong files or partitions :), but i was lucky.
The last step (28) was not required, i could just boot normally showing that bootloader could not be verified, then normal boot started. In developer options i see that OEM unlock is now greyed out which also indicated that the unlock worked.
Thanks you very much.
Cheers!
Yeah, it can work on any LG with sdm845 with exception of some models like T-mobile which uses a special locked down soc, i'm glad its been helpful for you.
 

brilljohn

Member
Oct 1, 2014
20
1
Thanks for this guide.

Quick question: If the ABL partition gets corrupted, is it still possible to enter EDL mode using combo buttons? Or do i need to find Test Points? In order to re-flash and fix ABL…
 

EmanuelCN

Senior Member
Mar 29, 2017
402
237
LG G7 ThinQ
Xiaomi Poco F3
Thanks for this guide.

Quick question: If the ABL partition gets corrupted, is it still possible to enter EDL mode using combo buttons? Or do i need to find Test Points? In order to re-flash and fix ABL…
It would automatly enter in edl so it should work right away without any combination unless your phone runs out of battery then you'd need test points.
 

joseph15two

Senior Member
Feb 24, 2018
130
21
Ontario
Samsung Galaxy Note 3
LG G5
Do I need to backup my data before attempting this guide? There doesn't seem to be anything about backing up user data only about backing up your partitions in QFIL. I need some clarification regarding whether or not unlocking bootloader erases user data. Thanks

Edit: looks like I do need to. I backed up everything just in case before I started the guide. I now have an unlocked bootloader + Pixel Experience Plus installed. Thanks for the guide OP!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    IMPORTANT: NEVER ERASE THE ENTIRE FLASH (IT WILL BRICK YOUR PHONE **STILL CAN BE RECOVERED**)
    IMPORTANT: FOLLOW ALL THE STEPS IN ORDER TO UNLOCK BOOTLOADER SUCCSSEFULLY;
    DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE BRICKS! YOU ARE FOLLOWING THIS GUIDE AND ITS YOUR CHOICE TO DO IT OR NOT TO DO IT AND YOU'RE THE ONE DOING IT. I JUST WANT TO HELP OTHERS OUT.


    Requirements:
    - Windows PC/Laptop;
    - USB-C cable;
    - Patience;
    - Unlock LG G7 ThinQ;


    STEPS:

    MAKE SURE THAT EACH STEP IS FOLLOWED IN ORDER NOT TO DAMAGE YOUR PHONE
    You can unlock the bootloader on any firmware.
    1. Download UnlockG7.zip and extract it;
    2. Install 9008 USB Driver;
    3. Install QPST.2.7.496.1.exe;
    4. Reboot the pc;
    5. Turn on usb debugging in developer options;
    6. Boot the phone in edl mode:
    I) Connect the phone to the PC;
    II) Hold VOL- and Power;
    III) As soon as the screen turns black repeatedly press VOL+ while holding VOL- & Power button.

    Video tutorial:
    7. On the windows PC go to device manager ---> Ports and it should say Qualcomm HS-USB QDLoader 9008 (COM x) or "QUSB_BULK_CID: xxxx_SN: xxxxxxxx";
    aMxsEBT.png

    9. Setting up QFIL:
    I) Run QFIL;
    II) Set Build Type to Flat Build;
    III) Programmer path: select the file "prog_ufs_firehose_Sdm845_lge.elf" inside the extracted UnlockG7.zip;
    IV) At the bottom right corner change device type to "UFS".

    JdO1AuC.gif

    8. QFIL should recognize the port of your phone, if not press on "SelectPort..." and select your phone's port;
    4DrGYV5.gif

    10. Press on "Tools" and then press on "Partition Manager";
    OlUOEEJ.gif

    11. A new window should show on your screen with every partition on your phone. If you get sahara error, you should make sure you installed the 9008 mode drivers right or reboot your pc, reboot your phone from edl mode by holding volume - and power button for 10-30 seconds, then getting back to edl mode (step 6);
    12. Search the partition called "abl_a" right click on it and press "Manage Partition Data" then press on "Read Data" (this will backup your current partition) then press on "Load image" and load the V35abl.img from UnlockG7 folder;
    13. Press win + R and run %appdata% , navigate to Qualcomm --> Qfil --> COM_X (the port that your phone was connected to in the step 7). In this directory you will find a .bin file called readata... rename it to Abl_abackup.bin;
    14. Redo step 12 & step 13 but instead of abl_a do it with abl_b;


    STEP 15 & 16 ARE NOT NEEDED IF YOU HAVE LG G7 EM/EMW/EAW.
    15. Search laf_a partition right click on it and press "Manage Paritition Data" then press on "Read Data" (to backup it), follow (step 13) again but name the file called readata... to laf_abackup.bin then you press on erase. (NOT "ERARSE ENTIRE FLASH");
    16. Follow (step 15) but instead laf_a repeat the process with laf_b;


    17. After you are done press on save partition file then close;
    18. Force reboot the phone (Hold volume - and power button for 8s) and immediately hold only volume + (For EM, EMW & EAW its volume -), it should get you in fastboot mode. (If it didn't work try again);
    19. Download & extract "fastboot driver.zip" and follow the instructions inside the README.txt;
    20. Download & extract "FixFastboot.zip" and follow the instructions inside the README.txt;
    21. Download & extract "fastboot-tools.zip";
    22. Open the CMD inside the extracted fastboot-tools.zip and type: fastboot flash frp (drag and drop over the cmd the frp.img), it should say OKAY;
    23. Press volume + until you see on your phone's screen "reboot to bootloader" then press power button and wait for it to reboot back in fastboot (bootloader);
    24. Type in the CMD: fastboot oem unlock . It should say "erasing userdata...." and wait until its done;
    25. Move the backups you have done in steps 12,13,14,15 (For EM,EMW & EAW models only from step 12 and 13) on desktop;
    26. Go back in EDL(9008) mode, open qfil -----> press on "tools" -----> press on partition manager ----> search abl_a ----> right click on it ---> load the abl_abackup.bin located on desktop. Repeat the process with abl_b(abl_bBackup.bin), laf_a(laf_abackup.bin), laf_b(laf_bBackup.bin). (EM, EMW & EAW models have to restore only abl_a & abl_b). After you are done press on save partition file then close;
    27. Get back in fastboot (redo step 18), unplug the phone and press volume up until you see "power off" on your screen and then press power button, your phone should be off;
    28. Hold volume + and plug the phone back to the computer, you should enter in download mode;
    29. Download & extract "How to flash KDZ Firmware.zip" and follow the instructions in README.txt.


    Congratulations! You have successfully unlocked the bootloader of your device.
    2
    Nevermind, I did it!

    (I really don't understand step 20 "20. Open the CMD inside the extracted fastboot-tools.zip and type: fastboot flash frp (drag and drop over the cmd the frp.img), it should say OKAY."

    I don't know what I have to do exactly. I open the cmd link in the platform-tools folder and I write "fastboot flash frp", but it says

    "
    unknown partition 'frp'
    fastboot: error: cannot determine image filename for 'frp'
    ")
    Because you didnt drag the frp image over the cmd so it introduces the path, it cant flash something that its not specified, when you drag the file over the cmd with your cursor it will automatly put the path for you.
    1
    Welcome... Very good progress. Even i sat and backed up my complete partitions tediously.

    Anyways, Doesnt that error mean your phone is already unlocked? Check in developer options if it is unlocked.

    If not unlocked, make sure you are making changes after cross flashing to an android 8 rom. Refer images in v40 guide linked inside verizon guide, to see how the bootloader should look if successfully flashed.

    That happens because you didnt check OEM Unlock in developer options because of that flassh the FRP image provided in guide i updated the guide so check now
    1
    My g7 is the sprint G710PM and currently it wont start. is it possible to unlock bootloader still and fix, or do i have to wait for LG's G710PM .kdz?
    ive tried a LOT of things to fix it but nothing has worked and probably did more harm than good, though i can still put it into 9008 mode for qfil. though i get RED case when booting to fastboot which wont allow a fastboot flash connection
    1
    Hello. I followed this guide and seem almost everything worked. My phone work fine. But i now can't get to fastboot and edl mode any more. Is that nomal?. I want to install magisk and root but i can't. Please halp.
    And sorry for my bad english.

    Edit: the only place I can screwup is the abl_a and abl_b file. if I load the abl_b backup on to abl_a then can my phone still be able to turn on ?.
    It is normal, only EAW,EMW and EM have fastboot mode, others would have to erase laf_a and laf_b in order to gain fastboot mode acces, but you lose access to download mode, you cant have both in the same time, its either one or another, so backup your laf partitions and restore them only when you need download mode.