yashsingh1/xdaforums huggingface dataset:
[LG G8X ThinQ Guides, News, & Discussion] Starfox:
I managed to root the UM9 variant (Sprint) without any issues, but then again, I didn't quite follow the OP's steps.

For those who are having issues with crashing, you will most likely need to get someone who has the same variant/patch level and have them extract boot_a/b for you. You can use the Magisk's patch file feature to create a patched image, which should prevent issues with crashing and sound not working. You should also flash the stock boot image, the reason I'm explaining below.

For those who have yet to do this, I suggest extracting boot_a/b at the same time you flash the abl image. Prior to doing the fastboot oem unlock, use the Magisk patch file option (installed on the same or another device, and doesn't need to be rooted) to create a rooted boot image using adb push/pull. Once you fastboot oem unlock, go back into the bootloader and instead of fastboot flash boot, you can fastboot boot magisk_patched.img.

Once you go through the setup, you can open Magisk, which will download and install the full Manager app, at which point it will most likely reboot. You will need to fastboot boot again, and you should be able to do a normal Magisk install. I've usually found that as long as the patched boot is of the same Android version and within a few month of the patch level, it'll boot happily enough to do this. Afterwards, you can restore your abl image as you no longer need to use fastboot commands.

Doing this allows Magisk to save the stock boot image, and also allows you to get OTA updates by restoring the stock image right before any updates. Otherwise you will never be able to do an OTA update as it checks if the boot partition has been modified before installing the updates. Since there are no kdz for the US carrier models, your only other option would be to "brick" your device to try get your carrier's service center to restore a working firmware image.

Unfortunately, it looks like the loss of FP is something that's baked into the firmware when the device is unlocked, and not something that can be easily circumvented. I'm really not happy about this as neither Google nor Samsung disables biometrics when unlocked (Samsung & Knox is another story), and makes for securing the device a PITA. Also, since it seems that LG still hasn't gotten with the times and is using block-based encryption instead of FBE (file based encryption), unlocking actually seems to blast away the keystore so trying to save the data partition is meaningless.

-- Starfox
[LG G8X ThinQ Guides, News, & Discussion] rainbowtuba:
I managed to find a kdz for the US variant of the G8x, please correct me if I'm wrong. I'm downloading it now to fix my phone
[LG G8X ThinQ Guides, News, & Discussion] Starfox:
If you are using the unlocked US model (850QM), then that is the kdz for the phone. But if you have a carrier-branded (Sprint/AT&T/Canadian) model (850UM), then only the carrier has the kdz.

-- Starfox
[LG G8X ThinQ Guides, News, & Discussion] tylercat701:
This is my first post on XDA, but here goes:

Shortly after I unlocked the bootloader on my G8X, I started messing around with getting TWRP booted. I figured I would mess around with applying the G8X's DTBs to other TWRP images' embedded kernels. After fiddling for a while, I got one to boot. Not only does it boot, it is the correct resolution (or looks correct, anyways) and touchscreen works perfectly.

Long story short, the TWRP kernel I appended the DTBs to was an image for the Motorola Z2 Force (nash). The exact image I got the kernel and initrd from was labeled "twrp-3.3.1-0-nash.img"

Please excuse my lack of XDA-etiquette. If there is somewhere else I should post this, please do let me know.

-Tyler
[LG G8X ThinQ Guides, News, & Discussion] rainbowtuba:
I didn't even notice the root method had an Indian only version of Magisk. OP, can you please make that a little more obvious in this and the root guide post? I realize I'm having issues because I didn't read the entirety of two threads before trying this, but a bigger warning in the beginning would prevent others from having an unrooted phone with no sound by the time they get to that info..
[LG G8X ThinQ Guides, News, & Discussion] eddlt2:
I think I flashed the wrong boot_a.img. Anyone have the Sprint back up that I can use. I don't think that they should be unique to each phone
[LG G8X ThinQ Guides, News, & Discussion] camlin:
Hi,

There may be a solution for the FP problem.

Disable/remove all device protections and delete all fingerprints BEFORE starting the unlock process.

Could someone try this out ?

This method could allow use of FP with unlocked bootloader.
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
I have a backup taken from QFIL my device model is LM-G850UM carrier is AT&T if i can help lmk
[LG G8X ThinQ Guides, News, & Discussion] eddlt2:
Thanks for the offer, I already fixed the problem. Starfox send me his sprint images. I do think we need to start building a collection of boot images though.
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
Even after restoring abl_a, abl_b, boot_a, boot_b from a different device (still AT&T) variant my phone is still in bootloop, it has an unlocked bootloader but nothing else, my device is currently bricked. I do have a separate operable device of the exact same model, is there anything I can do to fix mine possibly?
[LG G8X ThinQ Guides, News, & Discussion] rafyvitto:
If its bootlooping on boot animation, it probably means encryption is broken, boot into recovery and format internal data, but it is bootlooping on lg logo screen, that could be an incompatible boot.img(kernel).
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
I am stuck on Lg G8x ThinQ splash screen, how can I boot to recovery?
[LG G8X ThinQ Guides, News, & Discussion] Starfox:
Confused download mode and recovery mode... Correct info below.

-- Starfox
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
Device will not boot into recovery, I am using stock abl and boot img with unlocked bootloader using the button combinations you provided. I am currently stuck at AT&T boot animation.

UPDATE: I cannot get device to go past LG G8X ThinQ splash screen, I had it past once but tried to reboot and haven't seen it again :( I don't know what to do anymore
[LG G8X ThinQ Guides, News, & Discussion] Starfox:
To boot recovery, make sure you have a USB cable connected to the device, boot (or reboot) the device with Power+Volume Down held down.

-- Starfox
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
I have relocked the bootloader, I am taking to AT&T service center so they can fix it. This way I can get clean fw and new backups. I hope they will, however I'm not sure if they will want too..
[LG G8X ThinQ Guides, News, & Discussion] YASHWANT DHAKAD:
Can anyone confirm that after official bootloader unlocking ,

Fingerprint reader breaks or not ,

Like it breaks on Indian version which does not have official bootloader unlocking...
[LG G8X ThinQ Guides, News, & Discussion] Syrop:
LG answer:

"I contacted the fingerprint engineer and inquired that the fingerprint does not work in the unlocked state, and it is said that it is because the fingerprint calibration data cannot be accessed.

The first device is shown to be operational because it has been calibrated two times in the unlocked and locked state during production."

and

"You can't fix yourself.

It seems to be Factory defect that the fingerprint works in the unlocked state.

Factory or Service does not care about the unlock state at all, so it cannot be made to the state you want."

=))
[LG G8X ThinQ Guides, News, & Discussion] YASHWANT DHAKAD:
Sad to hear!
[LG G8X ThinQ Guides, News, & Discussion] Starfox:
I call LG's BS on this one. From what I'm seeing, there really isn't a "calibration" data that's preventing the FP reader from working, but looks like whatever's detecting root (be it LG's infamous RCT (Rooting Check Tool) or something else) is preventing access to FP data, most likely by not decrypting some files in /mnt/vendor/persist-lg/data. You can verify that FP reader works by starting the FP test in LG's Service Test - Manual Test:

adb shell am start -n com.lge.servicemenu/com.lge.servicemenu.ServiceTest

By going through the Optical FingerPrint Test, it will activate the FP reader even while root, but while some of it passes, Data Save fails.

If you actually have a device that works both locked and unlocked, I'd like to see a file list of /mnt/vendor/persist-lg, and also a find -mtime after adding another fingerprint, which should narrow down the list of files that the FP is modifying.

-- Starfox
[LG G8X ThinQ Guides, News, & Discussion] Nvwa:
Could lgv50s unlock bootloader with this guide?

8+256 Korean variant
[LG G8X ThinQ Guides, News, & Discussion] Syrop:
removed
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
The best thing to do is backup your device, take the stock boot.img from it patch it with magisk yourself for compatibility on another device then use the guide to gain fastboot access, unlock the bootloader, replace the factory things and then use your magisk modified img and see if it boots, there are no guarantees here as sad as it is..
[LG G8X ThinQ Guides, News, & Discussion] yorkz:
I guess I'm having similar problem. Attached is the screenshots, thank you so much.
[LG G8X ThinQ Guides, News, & Discussion] yorkz:
So basically, I'm stuck in the step "How to backup EFS (xqcn) through QPST?". When I connect my phone to the PC, nothing changes on my phone and therefore there is no way for me to select the "File transfer" mode. Please help, thanks in advance!
[LG G8X ThinQ Guides, News, & Discussion] nekinik:
On android 9 FP works with unlocked bootloader and rooted with official unlocking. Europe version
[LG G8X ThinQ Guides, News, & Discussion] lefttobleed:
Your phone is not in file transfer mode. Pull down notification panel. The options to change to file transfer mode will be there. FYI this method is tested on g850emw Indian only.
[LG G8X ThinQ Guides, News, & Discussion] sahil27:
Does it work with LG G8x Flipkart variant??

Because it does not have bootloader in it.
[LG G8X ThinQ Guides, News, & Discussion] yorkz:
Thanks for the help @lefttobleed. As you said, the mode selection is available in the pull down notification panel, but my phone was already in the file transfer mode.

However, I've finally solved the problem by installing the "LG Mobile Driver" downloaded from LG website. So now the USB Serial Port is available, and I was able to add the COM port in QPST. However, I'm now facing a new problem preventing me from backing up EFS (xqcn), i.e., when I hit the "Start" button, it reported failure. I've attached the screenshot, please help if you can.
[LG G8X ThinQ Guides, News, & Discussion] lefttobleed:
This looks like an issue with your PC. I think you should try on a different PC/laptop.
[LG G8X ThinQ Guides, News, & Discussion] yorkz:
I've tried it in both Windows 7 and Windows 10 with the exact same result. However, I'm using Windows virtual machine hosted on Linux system. This maybe related to using VM, but the problem is that I don't have a physical Windows machine.
[LG G8X ThinQ Guides, News, & Discussion] lefttobleed:
I highly doubt such an advanced chip level software will work through VM.

Just explore if there is a linux version of this. Or no option but to find a PC.
[LG G8X ThinQ Guides, News, & Discussion] yorkz:
If QPST is well written, it should work because I think from the PC software's point of view, it's still just serial port communication. I have other device communicating with software via USB Serial Port on Windows VM hosted on Linux, and works perfectly well.
[LG G8X ThinQ Guides, News, & Discussion] lefttobleed:
Then look online for a different setup file. Or if higher version is available.
[LG G8X ThinQ Guides, News, & Discussion] foenicxxx:
Everything went well. Removed the details posted.
[LG G8X ThinQ Guides, News, & Discussion] johndaniel:
can you please send me the boot.img and recovery etc , i tried to flash unlocked us version kdz using qfil on at&t lg g8x to try open all bands and remove the bloat but now iam stuck on lg logo bootloop. thanks in advance
[LG G8X ThinQ Guides, News, & Discussion] johndaniel:
i was able to load boot img a and b but now i face 'OPID mismatched' and on bootloop.. now i need full kdz of AT&T lg g8x.

special thanks to Mr.Conkel for the boot img.
[LG G8X ThinQ Guides, News, & Discussion] dracinn:
This is what i get when trying to boot into EDL.
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
I am facing the exactly same error when using [QFIL]....

sahara_rx_data:276 Unable to read packet header. Only read 0 bytes.

Does anyone know how to fix this? I redownloaded firehose file twice...seems no difference
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
Just reboot to edl and hope it doesn't happen again. This happens on random and is not under your control. Keep trying until it works. That's the only method I've seen 😂
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
Oh...I tried twice and same thing so I thought its constant... I will try more.
[LG G8X ThinQ Guides, News, & Discussion] Mr.Conkel:
Well at least for me. You could be having a completely unrelated issue. If you can try starting from normal mode > edl > load firehose
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
let me try another machine maybe its driver issue.

I just finished my oneplus 8t conversion also used EDL mode so maybe driver is different.
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
Hows your ATT G8x? got it back from service center?
[LG G8X ThinQ Guides, News, & Discussion] dracinn:
Do you have the Qualcomm drivers installed because that was my issue.
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
Will try more...
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
anyone with a ATT g8x on 20e firmware, can dump there boot_a and boot_b images, i replaced mines and did not back them up, stupid i know..
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
this is what is happening to me, im guessing you did not backup your boot.img? this happens when the firmware and boot img dont match. I am really trying to find someone with an ATT g8x with firmware close to 20e or at 20e, so i can restore my boot.img and root it/twrp it.
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
Att g8x 20e firmware magisked patched boot images.

This can be flashed with fastboot or qpst, and ofc you need bootloader unlock first.
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
Finally done root with my Sprint G8x with 20f.

1. QCOMM Driver need to install with option ETHERNET-DHCP (2nd option)

2. BACKUP abl_a/b boot_a/b modemst1/2

3. for fastboot driver, need [Disable Driver Signature Verification] for win 10.

4. after root w magisk, can flash back your backed up abl_a/b

Let me know if anyone wants my backup files or magisk patched boots.
[LG G8X ThinQ Guides, News, & Discussion] spopellbell:
well done! is your fingerprint scanner working?
[LG G8X ThinQ Guides, News, & Discussion] wangsu10:
No, its not. I think it wont work unless you relock the bootloader or android 9?
[LG G8X ThinQ Guides, News, & Discussion] manhtam922004:
I try to unlock bootloader with my G8x 850FMW. But there is no oem unlock button.

I have loaded 2 abl files but fastboot can't unlock it. (flashing unlock is not allowed).

Please help me!
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
i can share my frp, see if that enables your oem unlock option, let me know if you need it.
[LG G8X ThinQ Guides, News, & Discussion] e20140:
This firehose will not work on firmware G850UM20g (AT&T version), so it seems. Any idea?

Here's part of the log.

2021-01-08 15:58:55.063 15:58:55: ERROR: function: sahara_rx_data:277 Unable to read packet header. Only read 0 bytes.

2021-01-08 15:58:55.063 15:58:55: ERROR: function: sahara_main:983 Sahara protocol error

2021-01-08 15:58:55.063 15:58:55: ERROR: function: main:320 Uploading Image using Sahara protocol failed

2021-01-08 15:58:55.079 Download Fail:Sahara Fail:QSaharaServer Fail:Process fail

2021-01-08 15:58:55.079 Finish Get GPT
[LG G8X ThinQ Guides, News, & Discussion] Dapeplezchamp:
Does anyone know if there is or will be a magisk patch for g850u20i?
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
Magisk 20.04 doesn't work on it?
[LG G8X ThinQ Guides, News, & Discussion] Dapeplezchamp:
Sorry,I mean the magisk patched image to root.
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
well if you dump yours with qpst, i can root it for you, if your not able.
[LG G8X ThinQ Guides, News, & Discussion] Dapeplezchamp:
Can I message you and you walk me through it?
[LG G8X ThinQ Guides, News, & Discussion] zhlvf:
Hello, I can´t backup the xqcn file with QPST. Every time I choose Backup and hit start the windows freezes for some seconds and closes or nothing happens. The file is not saved. I tried with two different Windows 10 PCs and two different QPST versions. BTW I wasn´t able to download your QPST version from Google drive...
[LG G8X ThinQ Guides, News, & Discussion] robnitro:
Can;t boot into EDL or even fastboot g850UM sprint with 20j firmware.

I've tried the EDL instructions, the *#546368#*850# doesn't do anything either...

And OEM unlock is CHECKED, so what gives?
[LG G8X ThinQ Guides, News, & Discussion] Adminislayer:
Okay I was having an issue booting to EDL... then I realized you are not supposed to let go of volume- and power while also hitting volume+ repeatedly.. Once I did that it went straight to EDL mode immediately. Thank you for the walk through, I successfully unlocked my 20b US variant Q8X
[LG G8X ThinQ Guides, News, & Discussion] Adminislayer:
phone is working well.. have an nt code error on start up, which i can dismiss amd have no issues... but would like to get rid of it if someone knows how.

Current version is not available for user. Can't find matched carrier. Check NT-Code: 0

I opened up root had no cust file so i created it but I'm pretty sure there is a text file i need in there. Im on the 20b US unlocked varriant.
[LG G8X ThinQ Guides, News, & Discussion] davidchezmoa:
Hi,

I'm new to android and I want to root my LG G8X, but the very first step causing me issue already :

In the step : How to backup EFS (xqcn) through QPST

I can't see any serial port :
[LG G8X ThinQ Guides, News, & Discussion] 4jesse:
Can the 20b version (US unlocked) be bootloader unlocked? The steps here don't work for me. Can't bring up QFIL Partition Manager. I get the Sahara failure. I've redownloaded the firehose file. I confirmed I set to Flat and changed that ufs is selected in the bottom right. I've changed PCs and rebooted phone but I still get the Sahara error. I'm guessing that this process doesn't work with the 20b variant...
[LG G8X ThinQ Guides, News, & Discussion] amindavid11:
Where you able to unlock bands on your phone? I am trying to do the same
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
flash the original abl that you back up when bootloader unlocking, you will lose fastboot, but wont matter if you have twrp installed.
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
yes it can thats my version, any version can be Bootloader unlocked
[LG G8X ThinQ Guides, News, & Discussion] 4jesse:
Awesome! What I'm running into is that I can't bring up QFIL Partition Manager. I get the Sahara failure. I've redownloaded the firehose file. I confirmed I set to Flat and changed that ufs is selected in the bottom right. I've changed PCs and rebooted phone but I still get the Sahara error.
[LG G8X ThinQ Guides, News, & Discussion] foenicxxx:
I'm sure, here your problems can be discussed and sorted out
[LG G8X ThinQ Guides, News, & Discussion] 4jesse:
Thanks. I'll discuss there.
[LG G8X ThinQ Guides, News, & Discussion] erandjazaj:
hello, can you please help me with lg g8x Sprint versione stucked in fastboot and edl mode, no recovery and no system
[LG G8X ThinQ Guides, News, & Discussion] erandjazaj:
can you insert any link to download Sprint Images
[LG G8X ThinQ Guides, News, & Discussion] erandjazaj:
I have a problem with lg g8x Sprint version, it stucked in fastboot mode and don't let me run the comand "fastboot oem unlock" . I didn't backuped abl a/b and other files. Can you please help me?
[LG G8X ThinQ Guides, News, & Discussion] erandjazaj:
can you please give a link with backup files to download
[LG G8X ThinQ Guides, News, & Discussion] Dapeplezchamp:
And the magisk patched boots?
[LG G8X ThinQ Guides, News, & Discussion] erandjazaj:
Yes please. Important for me is to recover the phone with or without root access
[LG G8X ThinQ Guides, News, & Discussion] DrUnkeN_TiGeR:
Hello im trying to flash back to stock i have lg flash tool 2014 running however i doesnt see the phone i have no exclamation points in device manager. i have installed every driver i can find im at a loss ..

I have since gotten what i believe is into download mode and now i get an exclamation point and unknown usb device in the device manager.... i have tried to reinstall ever driver i can find and none of them are the correct driver and no flash tool finds the phone im on windows 10
[LG G8X ThinQ Guides, News, & Discussion] DrUnkeN_TiGeR:
I'm up and running again thanks to Namendu
[LG G8X ThinQ Guides, News, & Discussion] #Rooty_Mikes#:
I'm having an issue with the touch screen working with the TWRP I flashed in Magisk :/
[LG G8X ThinQ Guides, News, & Discussion] conbak49:
Can anyone confirm whether this process works on a ATT G8X- model LM-G850UM on Pie G850UM10o? I haven't installed Cricket SIM yet and not sure if it will update to Android 10.
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
It works on every g8x.
[LG G8X ThinQ Guides, News, & Discussion] conbak49:
Will this work on Pie as well as 10? Unfortunately my AT&T g8x will not update to 10 while on Cricket even though Cricket is AT&T MVNO. Probably going to send it back since updates are a necessity.
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
mostlikelly not, since the eng bootloader is 10. you will need to update somehow. probably pop a pre paid sim form att.
[LG G8X ThinQ Guides, News, & Discussion] #Rooty_Mikes#:
I would love OTA updates, but im a root junky and a rooted phone is a must! Then with the g8x with development practically non existent; I either have to wait for a custom kernel or make one so i can have updates with a GSI so i dont brick it with a kernel panic..smh
[LG G8X ThinQ Guides, News, & Discussion] conbak49:
I may be wrong but I think you can still do OTAs if you're rooted. You just have to flash back the original boot.img's, take the OTA, repatch the new boot.img with Magisk and re-flash it for root.
[LG G8X ThinQ Guides, News, & Discussion] #Rooty_Mikes#:
[LMG850UM10F] Got my bootloader unlocked, got it rooted, and TWRP running with no issues. Is their a way to Modify the "raw_resources_a" to do away with the "Device Unlocked, Lock your bootloader" screen at boot"?
[LG G8X ThinQ Guides, News, & Discussion] #Rooty_Mikes#:
I tried that :/
[LG G8X ThinQ Guides, News, & Discussion] siulmagic:
he also needs original abl. eng one wont let him receive otas. also gotta check if ota check for bootloader unlock, if they do it mmight not work.
[LG G8X ThinQ Guides, News, & Discussion] #Rooty_Mikes#:
Sounds like alot of trouble.I wonder if it would work if I installed EdXposed and ran the module Firefds kit[Pie]? Never used it but it is sposed to make the UI and UI SECURITY think that your running official everything. I just never liked EdXposed on Android 9 due to major bugs.

Im not that good with LG yet, lets say now I am on LMG850UM10F 9.0; can I extract the Kdz and DZ, run a system bin and just flash the images to the correct partitions with the firmware in the OTA "LMG850UM20F 10 Q"?
[LG G8X ThinQ Guides, News, & Discussion] Traxter1995:
a