yashsingh1/xdaforums huggingface dataset:
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
This method is now considered obsolete, Please checkout the EDL process as it is safer and easier to do

https://xdaforums.com/lg-g7-thinq/how-to/howto-unlock-bootloader-root-g7s-t-mo-t4077105

In this guide we will be using the ULM firmware to do the needed unlocking so if you have any data you need to keep, then please backup any all data before starting.

Sprint users will be stuck on ULM and T-Mobile DO NOT TRY THIS!!

This instruction was made for testing and educational purposes. Use this instruction only at your own risk. Contributors or someone else are not responsible for bricked or broken devices.

First you will need to flash ULM firmware to proceed with the guide by using this link to flash the firmware:

Url to guide to flash firmware:
https://xdaforums.com/lg-g7-thinq/how-to/cross-flash-oreo-pie-firmwares-lg-g7-g7-t3915303
Firmware needed:
https://lg-firmwares.com/downloads-file/17341/G710ULM11g_01_NAO_US_OP_1112.kdz

After you have flashed ULM 11G rom check if you can still enter bootloader.

Easy way to check if doing the following command:

adb reboot bootloader

If you can then boot using the following boot image 710ULM11g_rootedboot.img with:

Boot image download:
https://www.androidfilehost.com/?fid=1899786940962574205
Command to boot it:
fastboot boot 710ULM11g_rootedboot.img

After that install magisk manager as the boot image is pre-rooted with Magisk.

Enable usb debugging in developer settings, also enable oem unlock in dev settings, and copy over file abl_a.img to internal storage

Now use adb shell to run the following command as SU:

(yes this is 2 different commands!! And they will fail if not run as SU)

ABL_A image download:
https://www.androidfilehost.com/?fid=1899786940962574206
Commands to flash abl_a:
dd if=/sdcard/abl_a.img of=/dev/block/bootdevice/by-name/abl_a
dd if=/sdcard/abl_a.img of=/dev/block/bootdevice/by-name/abl_b

Now reboot to bootloader by doing:

adb reboot bootloader

Now issue this fastboot command:

This will erase all data!

fastboot oem unlock

Thats it! You are now bootloader unlocked.

If you are on sprint you are stuck on ULM which is fine, but updating to ULM Pie will lose fastboot so stay on oreo for now!

Any other device other than G710PM can use lgup to flash back to there respective firmware, but as of now only EM/EMW/ULM current have root till others create a rooted firmware to flash to or twrp is created for the other firmwares.

Credits to: Lame Monster & Hạo Thiên
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
This post will serve for any other important information.

Sprint

Once you are on ULM the data/wifi will continue to disconnect, so try your best to skip thru setup.

Then once past setup, fill in your correct apn settings:

Name: internet
APN: x.ispsn
Proxy: Not Set
Port: Not Set
Username: Not Set
Password: Not Set
Server: Not Set
MMSC: http://mms.sprintpcs.com
MMS Proxy: oap7.sprintpcs.com
MMS Port: 80
MCC: 310
MNC: 120
Authentication Type: Not Set
APN Type: default,supl,mms,cbs,ia
APN Protocol: IPv4/IPv6
APN Roaming Protocol: IPv4
APN Enable/Disable: APN Enabled
Bearer: eHRPD, LTE
MVNO Type: None

Now let the LTE connection stabilize and once it does check your notification and press cancel on the sprintDM connection update.

Then disable sprintdm.apk which will now leave you will a fully functional working connection after reboot. If you happen to lose your profile settings for sprint or need to update connection settings like a profile update then re-enable sprintdm.apk
[LG G7 ThinQ  Guides, News, & Discussion] saba222:
Will it work on verizon?
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
It should, following this process will not brick your device as you will still have download mode available.

Also the VZW kdz is available.
[LG G7 ThinQ  Guides, News, & Discussion] joaovictor.me:
Can we lock bootloader again?
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
I would not, the attempts to do so have caused bricked phones.
[LG G7 ThinQ  Guides, News, & Discussion] brigantti:
Any hope fot t-mobile g7?
[LG G7 ThinQ  Guides, News, & Discussion] sandronejm:
Works for EMW?

Loved totally this tutorial!!!

Edit: I got my bootloader unlocked with success.
[LG G7 ThinQ  Guides, News, & Discussion] jeck00119:
Works for LG G7 + ThinQ (G710EAW) ?
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
I mentioned the ones it did not work for which is t-mobile so all others should be fine.
[LG G7 ThinQ  Guides, News, & Discussion] gilnfld:
Thanks for the guide and the custom boot image for the ULM release. I am currently running a Canadian AWM device, stock, with the latest official pie update. It does NOT have any access to fastboot and has never had any access to fastboot (unless it was flashed with the custom engineering V35 bootlaoader method via Octoplus). On stock unmodified, I have tried to cross flash several different ULM Oreo KDZ files and even EM kdz files with hopes of getting fastboot opened up but with zero luck; can never get it to enter bootloader mode.

gs
[LG G7 ThinQ  Guides, News, & Discussion] Inerent:
Well done! Nice!
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
Did the guide work for you?

In the guide we also use the v35 engineer bootloader to unlock. But with the ULM being used in the guide it gives us access to fastboot.

It was the same for PM devices, we had no access to fastboot unless we flashed ULM oreo and then we could atleast load a custom boot.
[LG G7 ThinQ  Guides, News, & Discussion] mr3p:
Are you saying you were unable to crossflash to ULM Oreo or that after flashing Oreo kdz you still do not have fastboot?
[LG G7 ThinQ  Guides, News, & Discussion] gilnfld:
Hello folks,

Sorry I should have been a bit more clear in my earlier message. What I meant to say is that while, no, there is no problem crossflashing the ULM kdz file or any other kdz file from the EM, EMW etc versions this will NOT open up access to fastboot if the device did not have such access on Oreo to begin with, which is the case for the AWM version. I cannot speak about other versions of the G7ThinQ, but with the Canadian model, -- the G710AWM -- booting up a unit with stock, locked bootloader to fastboot/bootloader mode is simply not possible regardless of which KDZ you cross flash on it; I have tried them all. I believe there is a flag in the original bootloader that prevents access to fastboot. The only way to do this with the AWM model is to flash a modified Bootloader using Octoplus or other such programming software.

gs
[LG G7 ThinQ  Guides, News, & Discussion] mr3p:
Just to confirm, you flashed G710ULM10g_00_NAO_US_OP_0913.kdz and you still had no fastboot?
[LG G7 ThinQ  Guides, News, & Discussion] gilnfld:
Hmmm, no I didn't try that specific KDZ as it is the 10g firmware and not the one used in the guide which is a newer ULM Oreo firmware, the 11G. Is there something special about the firmware you are asking about?
[LG G7 ThinQ  Guides, News, & Discussion] mr3p:
10g is GFI, 11g is BPT. I doubt it matters but you might confirm.
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
The multiple firmwares have different restrictions as google fi might be more open to fastboot but not unlocking and bpt may restrict everything.
[LG G7 ThinQ  Guides, News, & Discussion] 244631232:
G710tm is crying
[LG G7 ThinQ  Guides, News, & Discussion] xer565:
Ok thanks will try it
[LG G7 ThinQ  Guides, News, & Discussion] toff007:
Now use adb shell to run the following command as SU:

i cant understand this please help. thanks
[LG G7 ThinQ  Guides, News, & Discussion] SirFoxx:
Anyone have any insight on this?
[LG G7 ThinQ  Guides, News, & Discussion] lucci06225:
not working :(
[LG G7 ThinQ  Guides, News, & Discussion] dexx121:
Yes. I am on t mobile with sprint to ulm, with unlocked bootloader right now. Been running flawlessly for months now.
[LG G7 ThinQ  Guides, News, & Discussion] allinkiran:
Follow the steps in the op or page 10 iirc exactly. The firmwares compatible with the tutorial are not interchangeable.
[LG G7 ThinQ  Guides, News, & Discussion] washwash:
so... this is a method to obtain unlocked bl and root without using the official method and keep warranty? correct?
[LG G7 ThinQ  Guides, News, & Discussion] PlutoHades:
Sadly, I have a Sprint device and flash a ULM pie. Now, I lost my fastboot mode. Is there any solution?
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
Flash back to the original firmware listed in op, pie does not have a working fastboot due to changes in abl partition.
[LG G7 ThinQ  Guides, News, & Discussion] lolwatpear:
Does download mode/fastboot mode work at the end of all of this (when all is said and done) after you have installed your boot a, b, and 20d? You're other post says "Theoretically you can just boot slot_b to get back Download mode, so fastboot on slot_a and download mod on slot_b. ". Why is this theoretic? How do you boot anything if one or both of these modes isn't available in the first place?
[LG G7 ThinQ  Guides, News, & Discussion] PlutoHades:
I don't know how to flash back without fastboot. LGUP also need reboot to fastboot to flash .kdz.
[LG G7 ThinQ  Guides, News, & Discussion] jsergan:
Download mode works, not fastboot.

You have to erase download mode to get fastboot, but fastboot is useless on VZW and Sprint, because many commands are blocked - that's why theoretically.

With fastboot on slot_a (erased download mode) and working fastboot (not for Verizon, Sprint and maybe some other branded phones) you can just boot slot_b and get download mode.

---------- Post added at 10:49 AM ---------- Previous post was at 10:44 AM ----------

Use download mode, you don't need fastboot for this.
[LG G7 ThinQ  Guides, News, & Discussion] Awesomeslayerg:
I keep getting unknown device device descriptor failed code 43 when in fadtboot mode??
[LG G7 ThinQ  Guides, News, & Discussion] PlutoHades:
Oh, thank you very much. My mistake, I tried the wrong mode.
[LG G7 ThinQ  Guides, News, & Discussion] Awesomeslayerg:
How do i install pie and twrp? I fixed my problem eith 43
[LG G7 ThinQ  Guides, News, & Discussion] lolwatpear:
Thanks.

My goal is to simply get on pie with TWRP and flash treble roms. The issue with my Verizon model is that cellular services don’t work on the euro treble roms, so I can’t simply use that to keep the fastboot. But I’m thinking if I back up Verizon modem.img while under Oreo and flash it over the euro rom, everything might work? Not sure.
[LG G7 ThinQ  Guides, News, & Discussion] Awesomeslayerg:
When i flash boot_a and boot_b the magisk patched it wont boot on 11g ulm and when i go to LGUP it tells me unknown model after words.
[LG G7 ThinQ  Guides, News, & Discussion] Z333D:
Can this work on LM-G710N Android 9 software version G710N20j. I want to root plz.

Thanks and regards.
[LG G7 ThinQ  Guides, News, & Discussion] ocorner543:
Any other device other than G710PM can use lgup to flash back to there respective firmware, but as of now only EM/EMW/ULM current have root till others create a rooted firmware to flash to or twrp is created for the other firmwares.

Superb! Thanks!
[LG G7 ThinQ  Guides, News, & Discussion] ThuyenDuongAn:
I stopped at step 2, i can't unlock the bootloader, kdz 11g can't get fastboot access
[LG G7 ThinQ  Guides, News, & Discussion] TrueHAVOC:
any help would be great ty

PS C:\Program Files (x86)\LG Electronics\LGUP> cmd

Microsoft Windows [Version 10.0.18363.535]

(c) 2019 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\LG Electronics\LGUP>lgup_cmd.exe com4 "C:\Program Files (x86)\LG Electronics\LGUP\model\common\LGUP_Common.dll" "D:\Phone\lgthinqg7\G710ULM11g_01_NAO_US_OP_1112.k dz"

Selected Port : COM0

DLL Path : C:\Program Files (x86)\LG Electronics\LGUP\model\common\LGUP_Common.dll

Subject Name: LG Electronics Inc.

The file "???????????????????????????????????l??????3" is signed and the signature was verified.

Subject Name: LG Electronics Inc.

The file "???????????????????????????e" is signed and the signature was verified.

Subject Name: LG Electronics Inc.

The file "???????????????????????????e" is signed and the signature was verified.

No CUPSS Model.!!!

Download Info Check OK.

Initializing

1%

2%

3%

4%

Error! Click here to continue.

DoDownload Error!!!

Error:

yes I am in download mode... ahhh help lol

tried to partition... yeah don't lol but after it crashed it to a download mode bootloop the above method worked instantly first try ty
[LG G7 ThinQ  Guides, News, & Discussion] mariopainkiller:
Hi guys, this is the first time I try to root an LG phone and maybe I made some mistake. I followed all the steps of the guide, but when I try to get su on adb shell (with the pre rooted image mounted), it says "Permission denied", and obviously the dd command didn't work. What can I do? Thanks.
[LG G7 ThinQ  Guides, News, & Discussion] brex91:
If anyone has some ideas, I think i'm stuck.

I got all the way through the lgup with the .dll and .kdz file. My phone showed up under com5.

When it completed, the phone automatically reboots, but when i check, it's still on g710awm11g. (canadian?) That's what i started on.

No access to bootloader either. Thanks for any help
[LG G7 ThinQ  Guides, News, & Discussion] TrueHAVOC:
I am on the firmware in the tutorial and have only used instructed method but

not only is this my only problem but

After that install magisk manager as the boot image is pre-rooted with Magisk.

yeah so I do this click it install it and I only have one green check mark and it is that the manager is up to date says magisk is not installed I can get no further at this point I have tried to install seems to just crash my phone and it will not boot to system only error

when I open Magisk and do a safetynet check I get

ctsprofile false basic

integrity true

says 20.2 is the latest still can not seem to install

I have other questions after reading these comments many say android should say upgrading after rootedimg nothing happens only magisk is there and I have no root

C:\Program Files (x86)\LG Electronics\LGUP>adb reboot bootloader

C:\Program Files (x86)\LG Electronics\LGUP>fastboot boot 710ULM11g_rootedboot.img

Sending 'boot.img' (23712 KB) OKAY [ 0.555s]

Booting OKAY [ 0.039s]

Finished. Total time: 0.664s

C:\Program Files (x86)\LG Electronics\LGUP>adb push "C:\Program Files (x86)\LG Electronics\LGUP\abl_a.img" /sdcard/.

C:\Program Files (x86)\LG Electronics\LGUP\abl_a.img: 1 file pushed. 16.4 MB/s (1048576 bytes in 0.061s)

C:\Program Files (x86)\LG Electronics\LGUP>adb shell

judyln:/ $ su

Permission denied

1|judyln:/ $
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
I managed to update magisk manager after that when I enter su in cmd it says permission denied and I cant go any further. Also says magisk manager is up to date. No su can't find any answers as to why.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
I just gave up. Ive tried atleast 3 times. I update magisk manager then no su to run the command for abl_a image.
[LG G7 ThinQ  Guides, News, & Discussion] AverytheFurry:
How about for google fi?

It says to not try for tmobile, but what about google fi?
[LG G7 ThinQ  Guides, News, & Discussion] way2aware:
This comment is to address the last three comments. I found that I was in the same boat as you- followed the tutorial (which worked just fine on the first G7 ThinQ that I unlocked with this method). Only now, Magisk was not installed, by booting the 'rootedboot. img' in fastboot, and thus no root, and no way to update Magisk. I kept trying, and then gave up on 11G at least for rooting. The KDZ DID install, just not rooted, nor rootable. I then tried to install another rom, this one a 'pie' rom (20E) that I also had a rooted boot image for, and that worked for me previously. This one almost made it through the install, but stopped at the end and gave an error (LAF partition error, something like that). This phone is now unbootable, it only boots to fastboot, no system. Trying to boot it to download mode results in success for maybe half a second, then it immediately switches over to fastboot... but fastboot with a locked bootloader. Cannot use any LGUP to install anything else because the phone is now only recognized as "unknown model".

I even have an Octoplus Pro box, but cannot figure out a way to get back to a working system as the box itself doesn't seem to recognize the phone, or the mode its in.

My point is that you may be stuck with this 11G Oreo ROM now, trying to change it can cause a useless fastboot mode and no operating system or other phone functionality.

Edit: Not the comment from Averythefurry, but the 3 above it. Also, my phone is a ULM model.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
Oh wow im sorry. My lg v30 was the same way however I had paid a guy to remotely fix it with octoplus. Im ULM to I was able to update to 20e no problems. Seems like having no root is safer then trying to root. My lg v30 was sprint converted to us998 and was easy to root but this g7 is a pain in the a@$ lol
[LG G7 ThinQ  Guides, News, & Discussion] Yeedatoy:
You have to go into magisk and click superuser and Grant "shell" root access, than when you type SU, it will be granted.

---------- Post added at 02:28 PM ---------- Previous post was at 02:26 PM ----------

Im on 11g rooted, after completing this process on my G7 Google Fi.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
Tried that 3 times theres only settings option in magisk, no superuser, modules or downloads oprions

---------- Post added at 04:04 PM ---------- Previous post was at 04:02 PM ----------

Ill give it another try later
[LG G7 ThinQ  Guides, News, & Discussion] loonycgb2:
The octoplus box pro requires you to connect the phone via jtag, actually open it up and connect to test points.

But booting from rooted img with a locked bootloader was just so you can dd the correct abl img to bootunlock..

It would not have let you install magisk even if you tried on a locked bootloader
[LG G7 ThinQ  Guides, News, & Discussion] Yeedatoy:
When you enter settings in Magisk, is Core Only mode disabled? It should be disabled. Can you see the option to change superuser access from prompt to Grant, and make sure superuser access is enabled for "apps & adb?" I know some of these are seemingly obvious solutions but Im just thinking of anything that could be causing the issue, because I had the same problem initially until I granted shell root access, which I didn't see written in the tutorial.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
I followed everything the problem is when i update magisk manager then type adb shel and then su in cmd no prompt pops up at all to grant access. Im ginna give it another shot later tonight. Ill check to see if core only is disabled or not.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
So I gave it another try I took a screenshot of magisk settings and a pic of my cmd
[LG G7 ThinQ  Guides, News, & Discussion] kattolo:
Magisk version?

I have experienced the same issue with Magisk, when I installed the latest version I had the same exact issue experienced by lingo2012 with no SU setting whatsoever

I had to install an older version of Magisk Manager to make it work. I used MagiskManager-v6.1.0.apk

https://github.com/topjohnwu/Magisk/releases/download/manager-v6.1.0/MagiskManager-v6.1.0.apk

but given the version of Magisk showing as installed on the rooted boot image within magisk manager (v18) possibly Magisk Manager 7 would have worked even better (in my case 6.1.0 worked just fine)

The official github has all of the old Magisk Managers too so it should not be hard to download and install any of them directly on the phone in case any of you want to test any of the other versions (I can personally confirm that 7.5.1 does not work, and while 5.7.0 and 5.8.3 show all the settings, they do not allow to grant su privileges to adb shell nor terminal emulator running on the phone itself as the su request appears for a tiny fraction of a second in the notifications bar and disappear without an actual prompt).

Once you do the final reboot from the rooted image do not let Magisk Manager update right away to 7.5.1 or you might not be able to install it on the stock boot, reinstall version 6.1.0 or 7.0.0 and then have it both install the latest Magisk to boot and update Magisk Manager
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
Thanks I'll give that try and let you know how it works out.

---------- Post added at 04:51 PM ---------- Previous post was at 04:48 PM ----------

I downloaded magisk manager 6.1.0 and put it on my sdcard so I can install right away instead of waiting for it to download after i install rootedboot.img
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
Thank you it worked. Magisk 6.1.0 worked. I really think this should be in the op. Thank you again!
[LG G7 ThinQ  Guides, News, & Discussion] Yeedatoy:
It's an indescribable feeling of satisfaction to have root on this phone after over a year isn't it!? I've started trying to flash back to Pie 20e and I took a break after the phone wouldn't allow me to click "ok" when the computer asked for adb access. It's a bit uncomfortable not having TWRP. I've stayed on 11g and it's a rocket regardless. For anyone hesitant, these are all of the Magisk modules I'm running with no issues. Input Power Control didn't work for me so Im using the Advanced charging control app.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
Im coming from my lg v30 Ive had this phone for about 1 week. My fiance upgraded so I took her phone. I was thinking about updating to 20e to have twrp but Im not so sure yet. Anyway Im running font changer, oneui sounds,miui sounds and dts tuning mod so far.
[LG G7 ThinQ  Guides, News, & Discussion] Yeedatoy:
Sweet, I'm going to Install One UI sounds now. If you flash Ainur, disable DTS Tuning. I reached out to John Fawkes under suspicion that having both was redundant, and he informed me that Ainur has DTS Tuning built in. Running FDE.AI makes the phone ridiculously quick, but I noticed that the CPU never reached deep sleep so it's killer on battery life.

I'm running Ice Box, Greenify, Naptime, Servicely, GMS Doze and have everything I don't use disabled with Package Disabler Pro...Lol, and that helps dramatically. I actually have 1.5 Gb of free ram at many times. I'm sure there's a much better solution but I haven't done enough tinkering. De-bloating with terminal emulator just reboots the phone immediately.
[LG G7 ThinQ  Guides, News, & Discussion] lingo2012:
Im messing around lol. Pretty happy with I have right now so far
[LG G7 ThinQ  Guides, News, & Discussion] sharan singh:
Can you help me unlock the bootloader of the EAW variant?

Been trying but have had no luck
[LG G7 ThinQ  Guides, News, & Discussion] sharan singh:
Can you help me out?
[LG G7 ThinQ  Guides, News, & Discussion] allinkiran:
So I have noticed this after a few months of having my bootloader unlocked. Neither USB tethering nor WIFI hotspot work.

Usb tethering switches off automatically while no devices are able to connect to the mobile hotspot. Any thing that could be done(features used extremely rarely so can do without them if it means going back to no root)
[LG G7 ThinQ  Guides, News, & Discussion] cookieman g:
permission denied

I have booted with the rooted.img file and tried to update magisk but when i try to it doesn't seem to update still says not installed but magisk manager says up to date

When I do the shell su commands you have listed I keep getting permission denied

I don't get anything that pops up on the phone asking for permission like some users say should happen

My phone is listed with adb devices

Any Suggestions would be helpful

Gary

Update: Ok so reading through all the posts there were a few that had the same problem, even though their solution didn't work for me I had to find the Magisk version that granted me SU as the one in the rooted img file didn't.

After that everything worked

Thanks
[LG G7 ThinQ  Guides, News, & Discussion] donmecca81:
Can you tell me if this is still possible or if it ever was possible for my phone. It's a euro model I was told, just bought it and runs on my Canadian provider.

IMEI SW VERSION 11

Model LM-G710AWM20c

Hardware Version Rev 1.0